Frank Warmerdam warmerdam at pobox.com
Thu Oct 4 15:58:50 EDT 2001

Paul Ramsey wrote:
> Frank Warmerdam wrote:
> > PROJ.4 doesn't have these services, but they are available as services on
> > the OGRSpatialReference object.  It can read/write WKT and also transform to
> > PROJ.4.
> > Let me know if you need details.
> I am afraid I am not a C, or C++ guru like you and Dave. The project I
> am doing right now is perl-on-mapscript, and the requirement is to
> direct mapserver to do projections using WKT. Since mapserver only does
> proj4 ... I am sort of at a loss. I have started writing a perl parser,
> but am sure there are more details in the conversion than namespace
> changes.
> In the long run, having proj4 do WKT directly seems like a nice goal.
> That way things like mapserver which use proj4 directly could use WKT
> for configuration.


OGRSpatialReference is linked into MapServer and used when the OGR link
is there.  We could look at some mechanism for exposing some of the
OGRSpatialReference capabilities to perl - they are already accessable

We could make cases for it belonging in PROJ or not, but for the time
I don't expect it to happen. 

For your specific needs would it be adequate to have an external
you could run to translate WKT into PROJ.4?  I could make you up such a
pretty quickly.


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 Programmer for Rent
PROJ.4 Discussion List
See http://www.remotesensing.org/proj for subscription, unsubscription
and other information.

More information about the Proj mailing list