[mapserver-users] GetFeatureInfo Problem in Mapserver5

kevin gomes kevingomes17 at gmail.com
Mon May 19 03:17:00 EDT 2008


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&
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&
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080519/2f73984d/attachment.html


More information about the mapserver-users mailing list