[mapserver-users] Problem using WMS GetFeatureInfo in OpenLayers with different projections
Rahkonen Jukka (Tike)
jukka.rahkonen at mmmtike.fi
Fri Jan 17 04:52:51 PST 2014
Hi,
Please show us the complete GetFeatureInfo requests for both cases. Server urls are not interesting but all the WMS parameters. Have you already tried to send them from browser? Testing with OpenLayers is waste of time because you can't control what really happens but with hand written requests you are the master.
-Jukka Rahkonen-
Lars Lingner wrote:
>
> On 17.01.2014 11:10, Dejan Gambin wrote:
> >> What is the mywms? MapServer binary, wrapper script, ...?
> > wrapper script. Something like:
> >
> > #! /bin/sh MS_MAPFILE=/path_to_my_map_file export MS_MAPFILE
> > /usr/lib/cgi-bin/mapserv6
> >
>
> AFAIK nothing wrong here.
>
> >>
> >> Did you check the actual requests? Does the bbox parameter fit to
> >> the srs? Could you compare a working GetFeatureInfo request in
> >> 900913 with a failing one in 4326?
> > Yes, bbox parameter fits to srs in both cases. So, if I put bbox/srs
> > params in 426 everything works, if I put them in 900913 then error
> > happens
>
> Does other maps work with 900913?
>
> I would check which pro4 epsg file mapserver is using, check if there is
> a definition for 90013 and if it looks like
>
> +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0
> +k=1.0 +units=m +nadgrids=@null +wktext +no_defs
>
> On the other hand, if GetMap ist working fine, projection definition
> should be fine too. Just thinking out loud...
>
>
> >>
> >> Raise the debug level to 3 at map level and layer level. You can
> >> let MapServer write its own error logfile, so your apache log stays
> >> clean.
>
> Could you find anything in the MapServer log file?
>
> Here I would identify a working 4326 GFI request and compare the
> corresponding log with a 900913 request. There should be a difference.
>
>
> Best wishes,
>
> Lars
>
> _______________________________________________
> 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