Summary: | [cwc2 1.0.4] Legend widget: metadata issue | ||
---|---|---|---|
Product: | Chameleon | Reporter: | Dean Gadoury <dgadoury@dmsolutions.ca> |
Component: | Widget | Assignee: | chameleon-dev <chameleon-dev@lists.maptools.org> |
Status: | CLOSED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 1.0 | ||
Target Milestone: | 1.99 beta 3 | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: |
I just checked the context document and you have set queryable="1" for this layer so it should be showing up as queryable in the metadata for the layer. To be investigated.
This is still a problem. Changed target to 1.99 Beta 3.
added some code to layerinfo_body.phtml to make this test more robust but I can't test it right now
the code in mapserver has changed so that now the metadata wms_queriable is no longer set ... it relies on the mapserver 'queryable' test of having a value in TEMPLATE ... this now works when the context has queryable layers.
besides using the legendtemplate widget in a sample app, how can I further verifiey this? If queryable="1" works in a context how is it translated to the mapfile? Do I need to verifiy this with a mapfile?
I had to reread what paul route. I verified that the query widget works by using sample application. I also check to make sure the mapfile layers that were queryable contained the TEMPLATE "<a string>". Query worked for: http://localhost/chameleon/samples/sample_enhanced.phtml (which uses local shapefiles.) Query that did not work: http://localhost/chameleon/samples/sample_ogc.phtml (which uses local mapfile to request wms layers). eventhough the get capability of the WorldPOI was set to queryiable="1" and the TEMPLATE "ttt" was set in the mapfile. The layer was not queryable.
the issue reported in this bug is fixed, AFAIK. Steps to verify: 1. load sample_ogc.phtml 2. click on Tools 3. click on Open Context 4. click Browse and locate chameleon/cwc2/contexts/gmap_context.xml 5. click OK 6. after the context is loaded, click Legend 7. click Cities hyperlink 8. layer information dialog will open and Queryable is set to yes. The gmap_context.xml file has only one queryable layer by default, the Cities layer. The issue with the world map file not being queryable should be filed as a separate bug ... once you've tried changing the tolerance to a number other than 0 :)
verified on windows ie.6 using pauls instructions.
Verified on Fedora Core 2.