Hello all,

I'm reprojecting a shapefile using geotools, but ArcMap doesn't
recognize the metadata in the PRJ.

The incoming shapefile is in geographic coordinates, and the output
projection is specified by an EPSG code.   In this specific case, I'm
using EPSG:32735 (UTM Zone 35S)

I'm using CRS.decode() to generate a CoordinateReferenceSystem, and
then I set the CoordinateReferenceSystem in the shapefile using
ShapefileDataStore.forceSchemaCRS.   The reprojection works great,
with the shape coordinates only being micrometers different from the
shapefile reprojection done in ArcMap.

However, there are some substantive differences in the prj file that's
written out by ShapefileDataStore.   ArcMap specifically seems to have
problems with the Linear Units, which in the geotools generated prj
file is "m", but in an ArcMap reprojected shapefile is "Meter", and
with the Datum, which in the geotools prj is "World Geodetic System
1984", but is "D_WGS_1984" in the ArcMap prj file.

Does anyone have any guidance on how I can get geotools to create a
more ESRI-friendly PRJ file?

I'm using ArcMap 9.2 and Geotools 2.4.4

Thanks..........            Larry

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to