QueryByPoint problem

Stéphane RIFF stephane.riff at CERENE.FR
Thu Mar 10 05:32:57 PST 2005


I think i have to project the point.
But does this can work in phpmapscript :
  $proj_27582 = new projectionObj("init=esri:27582");

Stéphane RIFF wrote:

> Hi,
>
> I want to query my map with QueryByPoint layer function.
> The problem i face is :
>  my map projection is esri:27582
>  i have a layer which projection is epsg:4326 (the layer i want to query)
>
> To get coordinate from mouse click i use pix2geo function which is base
> on map projection
> so i get click coordinate in esri:27582.
> When i use queryByPoint it returns no results.
> My question is do i have to reproject my point in epsg:4326 before doing
> query
> or does mapserver handles it by itself ???
>
> Thanks
>
>



More information about the MapServer-users mailing list