Issue Type: Bug Bug
Assignee: Unassigned
Created: 14/Aug/13 12:49 PM
Description:

Consider this code:

CoordinateReferenceSystem crs = shapefileFeatures.getSchema().getCoordinateReferenceSystem();

The above call returns null. It appears that ArcGIS 10.1 has modified the .prj syntax, adding a METADATA attribute, e.g.,

GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433],METADATA["North America - NAD83",167.65,14.93,-47.74,86.45,0.0,0.0174532925199433,0.0,1350]]

If I remove the METADATA attribute from the .prj file, the above code works fine (returns a non-null CoordinateReferenceSystem).

Project: GeoTools
Priority: Major Major
Reporter: Jim Greuel
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to