On Wed, Jun 13, 2012 at 2:19 PM, Murali Krishna <[email protected]> wrote: > I'm facing an issue in creating ESRI shape files using GDAL library. > > I want to create a layer with SpatialReference information set on it and > until now i'm creating SpatialReference by importing WellKnownText (wkt) > representation. > > Is there any way we can create the same SpatialReference from ESRI's > WellKnownId (wkid) using gdal ogr java bindings?
Murali, If you are importing ESRI Projection Engine strings (ESRI WKT) then after ingesting the WKT into an OGRSpatialReference object call the morphFromESRI() method to transform into "OGR standard" form. Best regards, -- ---------------------------------------+-------------------------------------- I set the clouds in motion - turn up | Frank Warmerdam, [email protected] light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | Geospatial Software Developer _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
