RES: [mapserver-users] ENC: Openlayers Identify Problem

Eduardo Kanegae eduardo.kanegae at gmail.com
Mon Aug 15 08:16:39 PDT 2011


hi Steve,
sorry the late feedback but I wanted to let registered what I did wrong:
- in this case I'm not using traditional CGI MapServer. I'm running
OpenLayers and sending a query request through OpenLayers and my error
was that I was not setting map_size param at the url. So, the point
returned was never really clicking at the exact position.
Now, setting up the map_size with map.size openlayers object, query is
running fine:
http://host/cgi-bin/mapserv?img.x=304&img.y=241&mode=query&layer=my_layer&zoomdir=0&map=fde69e66887522e78c6f2db37d6ade66.map&savequery=true&imgext=-48.213636667768+-22.227481579782+-48.171253332232+-22.207988420218&map_size=1335+614
regards

--
Eduardo Patto Kanegae
http://www.webmapit.com

2011/7/5 Steve Lime <sdlime at gmail.com>
>
> Is that the exact error message?
>
> Sent from my iPad
> On Jul 2, 2011, at 12:48 PM, Eduardo Kanegae <eduardo.kanegae at gmail.com> wrote:
>
> Hi Steve,
> Just to drop a last note on topic http://lists.osgeo.org/pipermail/mapserver-users/2011-June/069053.html
> - the problem was solved: the layer template file was missing 'mapserver template' header tag.
> The strange thing: mapserver was reporting "no items found at this point".
> best
> --
> Eduardo Patto Kanegae
> http://www.webmapit.com.br
> +55(19)9610-8768
>
> _______________________________________________
> 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