Geotools-generated prj file incompatible with ESRI ArcMap
---------------------------------------------------------

                 Key: GEOT-2353
                 URL: http://jira.codehaus.org/browse/GEOT-2353
             Project: GeoTools
          Issue Type: Bug
          Components: core referencing, data shapefile
    Affects Versions: 2.4.4
         Environment: Linux OS, JDK 1.6
            Reporter: Larry Reeder
            Assignee: Martin Desruisseaux
            Priority: Minor


The prj file provided by the ArcMap distribution for WGS 84 / UTM Zone 35S is 
this:

PROJCS["WGS_1984_UTM_Zone_35S",GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137,298.257223563]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]],PROJECTION["Transverse_Mercator"],PARAMETER["Central_Meridian",27],PARAMETER["Latitude_Of_Origin",0],PARAMETER["Scale_Factor",0.9996],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",10000000],UNIT["Meter",1]

Geotools ShapefileDataStore generates this prj file when given a CRS with 
ShapefileDataStore.forceSchemaCRS():

PROJCS["WGS 84 / UTM zone 35S", GEOGCS["WGS 84", DATUM["World Geodetic System 
1984", SPHEROID["WGS 84", 6378137.0, 298.257223563, AUTHORITY["EPSG","7030"]], 
AUTHORITY["EPSG","6326"]], PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]], 
UNIT["degree", 0.017453292519943295], AXIS["Geodetic latitude", NORTH], 
AXIS["Geodetic longitude", EAST], AUTHORITY["EPSG","4326"]], 
PROJECTION["Transverse Mercator", AUTHORITY["EPSG","9807"]], 
PARAMETER["central_meridian", 27.0], PARAMETER["latitude_of_origin", 0.0], 
PARAMETER["scale_factor", 0.9996], PARAMETER["false_easting", 500000.0], 
PARAMETER["false_northing", 10000000.0], UNIT["m", 1.0], AXIS["Easting", EAST], 
AXIS["Northing", NORTH], AUTHORITY["EPSG","32735"]]

Among other dissimilarities, ArcMap doesn't recognize the Geotools-generated 
prj definition  because units are "m" instead of "Meter", and the datum name is 
"World Geodetic System 1984" versus "D_WGS_1984".  ArcMap 9.2 shows the units 
as "Unknown", and complains about the projection being different when the 
shapefile is layered on other shapefiles with the same projection.


See GEOS-830 for a similar complaint.


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

        

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to