[mapserver-users] Projection of shape objects in MapScript

Steve Lime Steve.Lime at dnr.state.mn.us
Thu Aug 7 11:23:48 EDT 2008


They are in the native projection of the data source.

Steve

>>> On 8/6/2008 at 8:14 PM, in message <489A4C5F.6060904 at alumni.uwaterloo.ca>, Mike
Leahy <mgleahy at alumni.uwaterloo.ca> wrote:
> Hello,
> 
> I have what I hope is an easy question: when I extract shapes from query 
> results in PHP MapScript, what projection would the shape be in?  The 
> map object usually has its own projection defined, as can the layer 
> object...and then there's the data source itself (presumably the same as 
> the layer object).  So if I produce WKT from the shapeObj::toWkt() 
> function, which reference system will the coordinates be in?  I know I 
> could figure this out on my own through experimentation, but I'm hoping 
> someone already knows the answer.  If it's in the documentation, then 
> I've missed it...and I didn't turn anything up with a few web searches.
> 
> Thanks for any help,
> Mike
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org 
> http://lists.osgeo.org/mailman/listinfo/mapserver-users



More information about the mapserver-users mailing list