[Proj] prj to xml
Gennady Khokhorin
gok at aerometric-ak.com
Tue Dec 18 16:41:29 EST 2007
Frank,
Did search a bit for prj<-->xml conversion tools and wonder if OGR
supports OpenGIS GeospatialXML standard:
http://www.opengeospatial.org/standards/ct
Any plans to adopt it?
Thank you.
Gennady
-----Original Message-----
From: Frank Warmerdam [mailto:warmerdam at pobox.com]
Sent: Tuesday, December 11, 2007 7:09 PM
To: PROJ.4 and general Projections Discussions
Subject: Re: [Proj] prj to xml
Gennady Khokhorin wrote:
> Hello, Frank.
> If you building gml tree what api I can use to translate it to xml?
> What routine/class can handle gml<-->prj conversion?
> Happy programming!
Gennady,
The C++ class used for this is OGRSpatialReference and it is part of my
GDAL/OGR library (http://www.gdal.org). The OGRSpatialReference class
supports translating between a variety of coordinate system formats,
including WKT (it's internal representaton), PROJ.4, GML (weak really),
and a few other esoteric options. A reasonable primer on the services
is available at:
http://www.gdal.org/ogr/osr_tutorial.html
Incidentally, this is the class uses to generate the PROJ.4 "epsg" init
file.
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 | President OSGeo,
http://osgeo.org
_______________________________________________
Proj mailing list
Proj at lists.maptools.org
http://lists.maptools.org/mailman/listinfo/proj
More information about the Proj
mailing list