reprojecting map context documents

Ken ken at SANDNARROWS.COM
Mon Dec 6 23:11:33 EST 2004


Using php mapscript is it possible to reproject a map object that was
created using loadMapContext?

I am loading up a context document and displaying some of its layers
into an existing map object. I go through the layers in the context
document and allow the user to select only the ones they want. It loads
them fine, but the projection of the layer from the context document is
off. I have tried reprojecting (using setprojection) the entire context
map object and the layer object, both without any luck. The only way I
can get the layer to line up is if I change my existing map object's
projection to match that of the context document.

Thoughts?

Ken



More information about the mapserver-users mailing list