[gdal-dev] GDAL spatial reference issue
Murali Krishna
muralikrishna50 at gmail.com
Wed Jun 13 14:50:43 PDT 2012
Frank,
I don't have access to ESRI WKT. I was given the following
SpatialReference information by ArcGIS Feature Server when i query for a
layer schema:
"spatialReference" : {
"wkid" : 102100,
"latestWkid" : 3857
}
So from the above "wkid" i need to create a shape file. Is there any way of
doing this in GDAL.
Regards
Murali
On Wed, Jun 13, 2012 at 10:39 PM, Frank Warmerdam <warmerdam at pobox.com>wrote:
> On Wed, Jun 13, 2012 at 2:19 PM, Murali Krishna
> <muralikrishna50 at gmail.com> 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,
> warmerdam at pobox.com
> light and sound - activate the windows | http://pobox.com/~warmerdam
> and watch the world go round - Rush | Geospatial Software Developer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20120613/9a849500/attachment.html>
More information about the gdal-dev
mailing list