[Geomoose-users] Highlighting issue (Mapserver layer)
Matej Mailing
mailing at tam.si
Tue Oct 16 04:04:38 PDT 2012
Hi,
I have a Mapserver layer where I can get the results successfully
from. There is also a highlight mapsource defined in mapbook:
" <map-source name="highlight" type="mapserver">
<file/>
<layer name="highlight"/>
<param name="TRANSPARENT" value="TRUE"/>
</map-source>"
I can see in firebug that the following request is made:
URL/query.php?service=WMS&version=1.1.1&request=GetMap&styles=&format=image%2Fjpeg&TRANSPARENT=true&MAP=&FORMAT=image%2Fpng&HIGHLIGHT=true&LAYER0=name1%2Fname2&TEMPLATE0=itemquery&FIELDNAME0=mac&COMPARITOR0=like-icase&VALUE0=54&DOJO_PREVENTCACHE=1350384735029&LAYERS=highlight
...
However the resulting image is empty. There is a file highlight.map in
php/itemquery directory, should I include it somewhere else?
Parameters in the query that contain data and attributes are the same
as in the working query result. For others I am not sure - shouldn't I
include highlight.map somewhere by name in the mapbook.xml?
I believe I am missing something but can't find out what.
Thanks,
Matej
More information about the Geomoose-users
mailing list