[Geoserver-devel] [jira] Updated: (GEOT-3419) Support for Google Projection's unofficial code EPSG:900913 in gt-epsg-extension

Hello Andrea

I've been noticing you updating this issue's version.. Maybe I shouldn't had reopoened it: I just added an extra patch to remove a warning, that's all. So, the main issue is already resolved in the present version, but the fix for the warning hasn't been applied yet.

Don't know what's the best procedure in this case..

Cheers
Milton

On 19/3/2011 08:57, Andrea Aime (JIRA) wrote:

      [ http://jira.codehaus.org/browse/GEOT-3419?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrea Aime updated GEOT-3419:
------------------------------

     Fix Version/s: (was: 2.6.6)

Support for Google Projection's unofficial code EPSG:900913 in gt-epsg-extension
--------------------------------------------------------------------------------

                 Key: GEOT-3419
                 URL: http://jira.codehaus.org/browse/GEOT-3419
             Project: GeoTools
          Issue Type: Improvement
          Components: core referencing
    Affects Versions: 2.6.5
            Reporter: Milton Jonathan
            Assignee: Andrea Aime
            Priority: Minor
             Fix For: 2.7.0, 2.8-M1

         Attachments: geotools-tecgraf.2.6.x.epsg900913.patch, geotools-tecgraf.2.6.x.epsg900913.removeAXIS.patch

Currently, a call to CRS.decode("EPSG:900913") simply doesn't work (throws a NoSuchAuthorityCodeException). This code is popularly used for Google's Projection, whose official code is EPSG:3857.
This problem can be solved by adding a WKT to gt-epsg-extension's unnamed.properties file. The WKT added can be identical to EPSG:3857.
Attached patch was made against 2.6.x.

--

Milton Jonathan
Grupo GIS e Meio Ambiente
Tecgraf/PUC-Rio
Tel: +55-21-3527-2502