Hi,<br><br> I'm trying to generate an image map so that the user can click on a point and then (at the moment) display the name of the point they clicked on. It all seems to work - the html of the generated page is what I'm expecting, but the actual gif file is not created anywhere - I've looked in every possible directory on my server and cannot find it! Does anyone know why or had a similar problem?
<br><br>I have tried uncommenting the web template (page.htm is at the bottom) and with this I get the image but the html for the imagemap is not gnerated.<br><br>Thanks in advance,<br>Sarah<br><br><span style="font-weight: bold;">
Map File:</span><br><br><span style="font-family: courier new,monospace;">MAP</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> NAME DARTMOOR</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> STATUS ON</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> SHAPEPATH "/usr/local/apache-tomcat-5.5.17/webapps/image_maps_2/"
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> EXTENT 249998.750000 60001.250000 279998.750000 90001.250000</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> SIZE 400 400</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> UNITS METERS</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> WEB</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> #TEMPLATE "
page.htm"</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> IMAGEPATH "/usr/local/apache-tomcat-5.5.17/webapps/ROOT/temp/"</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> IMAGEURL "/temp/"</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> END</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> LAYER</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> NAME "dartmoor_index"
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> STATUS ON</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
TILEINDEX "dartmoor_index.shp"</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> TILEITEM "Location"</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> TYPE RASTER</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> END</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> SYMBOL</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
NAME "circle"</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> TYPE ellipse</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
FILLED true</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> POINTS</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
1 1</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> END</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
END</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
LAYER</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> NAME "test_gis"</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
STATUS ON</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> TYPE POINT</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
CONNECTIONTYPE OGR</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> CONNECTION "test_gis.ovf"</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> #TEMPLATE "template.htm"</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> CLASS</span>
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> NAME "boxes"</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
SYMBOL 'circle'</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> COLOR 255 0 0</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
SIZE 10</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> #TEMPLATE "html/template.htm"</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> #HEADER "html/header.htm"</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> #FOOTER "html/footer.htm"
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> END</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
DATA "test_gis"</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> TEMPLATE "html/template.htm"</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> HEADER "html/header.htm"</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> FOOTER "html/footer.htm"
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> END</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> END<br><br></span><span style="font-weight: bold;">header.htm:</span><span style="font-family: courier new,monospace;">
<br><br><html><head></head><body><br><br><img src="[img]" usemap="#points"/><br><map id="mymap_id" name="points"><br><br><span style="font-weight: bold;">
footer.htm:</span><br><br></map><br></body><br></html><br><br></span><span style="font-weight: bold;">template.htm</span><span style="font-family: courier new,monospace;"><br><br><area shape="circle" coords="[shpxy precision=0 proj=image yf=",7" xf=","]" href="
<a href="http://localhost:8080/image_maps_2/displayServlet.do?region=[name]">http://localhost:8080/image_maps_2/displayServlet.do?region=[name]</a>" title="[name]" alt="[name]" /><br><br><span style="font-weight: bold;">
page.htm<br><br></span><html><br><head><title>Hello</title></head><br><body><br><form method="GET" action="[program]"><br> <input name="img" type="image" src="[img]" usemap="#points"/>
<br></form><br></body><br></html><br></span>