Hi all,
 
the php mapscript(4.8.1) 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

Reply via email to