Josh, Thanks, but could you please elaborate this a bit? Do you mean that you 
are doing a reprojection in mapscript of the projected layer or that you are 
projecting the layer 'as saved' before mapserver gets to see i at all?

since the query is towards the map object, I cannot see how I can do any more 
reprojection of the layer, except what has been done when the layer was plotted.

-- 
Morten Sickel
Norwegian Radiation Protection Authority


-----Original Message-----
From: Josh Hevenor [mailto:jheve...@rogers.com] 
Sent: Thursday, January 28, 2010 8:42 PM
To: Morten Sickel
Subject: Re: [mapserver-users] Projection and mapquery

I have to wrap my head around this subject every time I come back to it.
I've only done this using $layer->queryByPoint() and I tend to project both the 
layer and the point into the map projection.

Not much of a hint but something to consider, Josh

Morten Sickel wrote:
> I presently have a set up in which I plot some measurements on some 
> background maps. Things work fine, but I want to add the possibility 
> to query the measurement data set by clicking on a measurement. The 
> measurements have coordinates in lat lon and I only manage to query 
> those data if I plot the entire map in the same projection. 

> Are there any ways to overcome this? As I am mostly working on maps from 60 
> deg north and upwards, geographical projection 
> is not the projection of choise and I would prefer not having to reproject 
> the measurement data.
>
> _______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to