[Geoserver-devel] [jira] Created: (GEOS-848) Reverse engineer the proper SRS from data when possible

Reverse engineer the proper SRS from data when possible
-------------------------------------------------------

                 Key: GEOS-848
                 URL: http://jira.codehaus.org/browse/GEOS-848
             Project: GeoServer
          Issue Type: Improvement
          Components: Configuration
    Affects Versions: 1.5.0-beta1, 1.4.0
            Reporter: Andrea Aime
         Assigned To: dblasby
             Fix For: 1.4.1, 1.5.0

Find a way to reverse engineer the SRS information from data when the data store has that kind of information.
This can be done in various ways, Simone suggests:

------------------------------------------------------------------------------------------------------------
Actually there is a possible (dumb?) optimization that is create a CRS
from the WKT and ask a code to it. Sometime there is an EPSG code
mebedded into the WKT this way you will spot it.

In the more general case we would need to extend EPSG factory based on
theEPSG sql definition in order to try a query directly to the db.

The last, worst option is a full search for equality :slight_smile: .
-------------------------------------------------------------------------------------------------------------

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira