[Mapserver-users] getFeatureInfo on dynamic layer - empty exception
Frieso ter Haseborg
ter-haseborg at sf-datentechnik.de
Tue Oct 28 23:47:56 PST 2003
Hi,
nope, no change of behavior with "DUMP TRUE".
Thanx,
Frieso
>-----Original Message-----
>From: Bart van den Eijnden [mailto:bartvde at xs4all.nl]
>Sent: Tuesday, October 28, 2003 10:31 PM
>To: Frieso ter Haseborg; mapserver-users at lists.gis.umn.edu
>Subject: Re: [Mapserver-users] getFeatureInfo on dynamic layer - empty
>exception
>
>
>Hi Frieso,
>
>perhaps adding a DUMP TRUE to the layer will help.
>
>Best regards,
>
>Bart
>
>On Tue, 28 Oct 2003 09:51:30 +0100, Frieso ter Haseborg
><ter-haseborg at sf-
>datentechnik.de> wrote:
>
>> Hi,
>>
>> I ran into a problem doing a getFeatureInfo-request on a
>dynamic layer.
>> I've got a PHP/Mapscript-component to build dynamic layers,
>this works
>> well on getMap-requests. Trying to do a getFeatureInfo-request I get
>> some strange results:
>>
>> When performin a request with a url like this:
>>
>>
>http://my.ip/cgi-bin/mapserv.exe?map=../htdocs/ims.map&version=
>1.1.0&req
>>
>uest=getFeatureInfo&query_layers=wms&x=251&y=329&INFO_FORMAT=te
>xt/plain&
>> BBOX=2574700,5752000,2589700,5767000
>>
>> I get an xml-doc with an empty exception statement:
>>
>> <?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?>
>> <!DOCTYPE ServiceExceptionReport SYSTEM
>> "http://www.digitalearth.gov/wmt/xml/exception_1_1_0.dtd">
>> <ServiceExceptionReport version="1.1.0">
>> <ServiceException>
>> </ServiceException>
>> </ServiceExceptionReport>
>>
>> This is the corresponding part of the mapfile:
>>
>> LAYER
>> NAME "wms"
>> TEMPLATE test.html
>> STATUS ON
>> TYPE POLYGON
>> CONNECTION "http://my.ip/kmvims/test4.php"
>> CONNECTIONTYPE WMS
>> TOLERANCE 3
>> METADATA
>> "wms_srs" "EPSG:26915 EPSG:42101 EPSG:4269 EPSG:4326
>> EPSG:42304"
>> "wms_name" "wms"
>> "wms_title" "test"
>> "wms_server_version" "1.1.0"
>> "wms_formatlist" "image/gif,image/png,image/jpeg,image/wbmp"
>> "wms_format" "image/gif"
>> "WMS_FEATURE_INFO_MIME_TYPE" "text/html"
>>
>> END
>> OFFSITE 255 255 255
>> END
>>
>> system-configuration: Win2k; Apache 2.0.47; MS 4.0; PHP
>4.3.2, MapScript
>> rev 1.177
>>
>> The getFeatureInfo-request works fine on my shape-layers but
>no success
>> on the dynamic layer. And what's oddest, the php in my dynamic layer
>> seems not to be executed at all. When doing a
>getFeatureInfo-request I
>> do just a echo "test"; and log the get-Parameters into a logfile. But
>> the log stays untouched, whereas the log works fine on the
>> getMap-request. Any ideas?
>>
>> Any hint would be appreciated.
>>
>> TIA,
>> Frieso ter Haseborg
>> - Software Development -
>> --
>>
>> -------------------------------------------------- S&F Datentechnik
>> GmbH&Co.KG Reimersstr. 41b 26789 Leer, Germany
>>
>>
>>
>> _______________________________________________
>> Mapserver-users mailing list
>> Mapserver-users at lists.gis.umn.edu
>> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>>
>>
>
>
>
>--
>
>
>
More information about the MapServer-users
mailing list