Yes, the problem is the "PROJECTION" is "New Zealand Map Grid", which is not exactly a standard projection (if you aren't in NZ, that is!) so is not currently supported in GeoTools.

Details are here: http://www.govt.nz/record?recordid=3030

P.

On Oct 5, 2005, at 7:10 PM, Jody Garnett (JIRA) wrote:

EPSG-WKT 27200 does not parse
-----------------------------

         Key: GEOT-713
         URL: http://jira.codehaus.org/browse/GEOT-713
     Project: GeoTools
        Type: Bug
  Components: referencing
 Environment: UDIG 1.0.4
 Reporter: Jody Garnett
 Assigned to: Martin Desruisseaux
     Fix For: 2.1.1


From email:

I have a problem trying to select one of the coordinate systems that we work with though. The "NZGD49 / New Zealand Map Grid (EPSG: 27200)" won't work when I select it. If I double click it in the CS dialog the dialog closes but the map CS doesn't change. If I select it and then click "Apply" it doesn't complain, but when I click OK the OK button disables and the dialog remains. I then have to click Cancel to return to the map (selecting another CS doesn't enable the OK button).

Also, when I select the "Custom CRS" tab the details remain the same as the previous CS, rather than changing like the others do.

Comments:
- it really must be a problem with the WKT

WKT from http://svn.geotools.org/geotools/branches/2.1.x/plugin/ epsg-wkt/src/org/geotools/referencing/crs/epsg.properties:

27200=PROJCS["NZGD49 / New Zealand Map Grid",GEOGCS["NZGD49",DATUM ["New_Zealand_Geodetic_Datum_1949",SPHEROID["International 1924", 6378388,297,AUTHORITY["EPSG","7022"]],TOWGS84 [59.47,-5.04,187.44,0.47,-0.1,1.024,-4.5993],AUTHORITY ["EPSG","6272"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT ["degree",0.01745329251994328,AUTHORITY["EPSG","9122"]],AUTHORITY ["EPSG","4272"]],PROJECTION["New_Zealand_Map_Grid"],PARAMETER ["latitude_of_origin",-41],PARAMETER["central_meridian", 173],PARAMETER["false_easting",2510000],PARAMETER["false_northing", 6023150],UNIT["metre",1,AUTHORITY["EPSG","9001"]],AUTHORITY ["EPSG","27200"]]


--
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



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel




-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to