wrong coords attribute using processquerytemplate
Rafael Szajbel
szajbel at WIDEMANN.DE
Mon Oct 2 03:52:07 PDT 2006
Hi all,
the php mapscript(4.8.4) function processquerytemplate generates double coordinates. The type of shapefile is multipoint.
Warning from Firefox JavaScript Console says: The "coords" attribute of the <area shape="circle"> tag is not in the "center-x,center-y,radius" format.
Example:
<area shape="circle" coords="349,240,7 415,80,7" title="2 Eichen (ND Nr. 6/92)" alt="2 Eichen (ND Nr. 6/92)">
I think there should be two area definitions with the same title but with different coordinates like:
<area shape="circle" coords="349,240,7" title="2 Eichen (ND Nr. 6/92)" alt="2 Eichen (ND Nr. 6/92)">
<area shape="circle" coords="415,80,7" title="2 Eichen (ND Nr. 6/92)" alt="2 Eichen (ND Nr. 6/92)">
Here is my Template Defintion:
<area shape="circle" coords="[shpxy precision=0 proj=image xf="," yf=",7"]"
title="[ND_TEXT_2] ([ND_TEXT_1])" alt="[ND_TEXT_2] ([ND_TEXT_1])">
Layer Defintion:
LAYER
NAME "Naturdenkmaeler"
TYPE POINT
STATUS OFF
DATA "../shapes/Naturdenkmaeler"
TEMPLATE "ndenkm_template.html"
CLASS
SYMBOL "denkmal"
COLOR 255 123 72
OUTLINECOLOR 0 0 0
NAME "Naturdenkmaeler"
END
END
Any suggestions?
Greetings
Rafael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20061002/55c6c139/attachment.htm>
More information about the MapServer-users
mailing list