[Chameleon] Query Widget and WMS layers added via WMSBrowser
ken at rockies.ca
Thu Dec 9 12:23:23 EST 2004
Thanks for the reply Paul, did what you suggested and I think I found
The WMS Browser is setting the type of the WMS layer, atleast in the
cases I have tried, to RASTER. If I manually edit the latest MAP file in
the sessions folder and change that to POLYGON then the identify on the
WMS layer works properly.
I tried several different WMS servers and different layers, along with
polygon and line features and every time the WMS Browser is setting
Is there something I can change to make the WMS Browser set the
appropriate type of layer instead of just RASTER?
PS - Pasting the LAYER info from the session map file below so you can
see it completely.
"wms_srs" "EPSG:42304 EPSG:42101 EPSG:4269 EPSG:4326 EPSG:26907
EPSG:26908 EPSG:26909 EPSG:26910 EPSG:26911 EPSG:26912 EPSG:26913
EPSG:26914 EPSG:26915 EPSG:26916 EPSG:26917 EPSG:26918 EPSG:26919
EPSG:26920 EPSG:26921 EPSG:26922 EPSG:32607 EPSG:32608 EPSG:32609
EPSG:32610 EPSG:32611 EPSG:32612 EPSG:32613 EPSG:32614 EPSG:32615
EPSG:32616 EPSG:32617 EPSG:32618 EPSG:32619 EPSG:32620 EPSG:32621
"wms_latlonboundingbox" "-179.23399 33.9634 -7.91397 85.1585"
"wms_formatlist" "image/png, image/jpeg, image/wbmp, text/html,
"wms_boundingbox" "EPSG:42304 -2600000 -875000 3200000 4000000"
Paul Spencer wrote:
> you will need to look at the difference between the layer you add
> manually and the layer that gets added using WMS Browser by finding the
> latest mapfile in the newest session directory in the tmp directory.
> There is probably some difference (perhaps subtle like tolerance) that
> is causing problems.
> Ken Sanderson wrote:
>> Trying to get this working and not seeming to have much luck.
>> If I put a WMS layer in my MAP file with a template specified then I
>> have no problems using the query tool to query a specific WMS layer.
>> However if I add the extact same WMS layer to my map using the WMS
>> Browser widget, it wont return anything from my query attempts, though
>> it does return:
>> The following layers did not return any results:
>> Which makes me think that its atleast trying. Is this possible, and is
>> there some trick to it that I obviously dont know?
>> Chameleon mailing list
>> Chameleon at lists.maptools.org
More information about the Chameleon