[mapserver-users] GetFeatureInfo Problem in Mapserver5

Guillaume Sueur guillaume.sueur at neogeo-online.net
Mon May 19 00:54:40 PDT 2008


Hi,

I would say something is wrong in your mapfile - SCALEBAR section. Maybe 
some option has changed in version 5. Try to delete that section and 
test again.

Regards,

Guillaume

kevin gomes a écrit :
> Hello,
> I'm facing problems making the GetFeatureInfo request in Mapserver5.
> 
> The following GetFeatureInfo request, returns expected results in 
> Mapserver4.
> 
> *http://demo.binyasit.com/gvis/htdocs/protogis_wms.cgi?REQUEST=GetFeatureInfo&EXCEPTIONS=application/vnd.ogc.se_xml& 
> <http://demo.binyasit.com/gvis/htdocs/protogis_wms.cgi?REQUEST=GetFeatureInfo&EXCEPTIONS=application/vnd.ogc.se_xml&>
> BBOX=64.998443,15.821582,85.960357,21.578418&X=492&Y=119&INFO_FORMAT=text/html&QUERY_LAYERS=districts&
> FEATURE_COUNT=2&WIDTH=954&HEIGHT=262&VERSION=1.1.1&LAYERS=districts
> *
> But when i make the same request in Mapserver5, it asks for additional 
> parameters. Then i checked the Migration Docs and modified the request 
> as follows
> 
> *http://pcmcgisda.org.in/cgi-bin/mapserv.5b?format=image/png&SRS=EPSG:26915&map=/srv/release.pcmc.org/map/.config.map&REQUEST=GetFeatureInfo& 
> <http://pcmcgisda.org.in/cgi-bin/mapserv.5b?format=image/png&SRS=EPSG:26915&map=/srv/release.pcmc.org/map/.config.map&REQUEST=GetFeatureInfo&>
> EXCEPTIONS=application/vnd.ogc.se_xml&BBOX=356415.589844,2056761.035156,395041.410156,2067368.964844&X=440&Y=98&INFO_FORMAT=text/html&
> QUERY_LAYERS=watersupplyline,esr,valve&FEATURE_COUNT=2&WIDTH=954&HEIGHT=262&VERSION=1.1.1&LAYERS=watersupplyline,esr,valve&STYLES=
> 
> *But it returns the following error.*
> *
> 
> 
> <?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?>
> <!DOCTYPE ServiceExceptionReport SYSTEM "http://schemas.opengis.net/wms/1.1.1/exception_1_1_1.dtd">
> 
> <ServiceExceptionReport version="1.1.1">
> <ServiceException>
> msDrawScalebar(): General error message. Unsupported scalebar style.
> </ServiceException>
> </ServiceExceptionReport>
> 
> I am not able to make out what is wrong with the Request. Can you please 
> guide me.
> Regards,
> -- 
> Kevin Gomes ...enjoy being GIS maniacs
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> 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