<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>Dear community,</div>
<div> </div>
<div>I have a problem with the identify service. I was looking for similar problems in posts, unfortunately they did not help.</div>
<div> </div>
<div>When I click on a point (or draw a box, the result is the same) with the identify cursor I get the message <em>"Error Calling the server:<br/>
TypeError: Application.getMapSource(...) is undefined"</em> on the screen. And when I open the POST query.php I get this code:</div>
<div> </div>
<div><em><results><script> GeoMOOSE.clearLayerParameters('highlight'); GeoMOOSE.turnLayerOff('highlight/highlight');</script><html><!-- MapServer Template --><br/>
Detailed information for the area you clicked on the map...<br/>
<table border="0"><br/>
<tr><br/>
<td colspan="2"><b><u>Ground Coordinates</u></b><br/>
<br><br/>
<b>X: </b>1609763.8373206<br/>
<br><br/>
<b>Y: </b>6648798.5513232</td><br/>
</tr><br/>
<tr><br/>
<td> </td><br/>
<td> </td><br/>
</tr><br/>
</table><br/>
<table border="0" cellpadding="1" cellspacing="2"><br/>
</html><footer><b>Disclaimer: This information is being distributed as demonstration data only. You should not use the data for any other purposes.</b><br/>
</footer></results></em></div>
<div> </div>
<div>I have followed the instructions at the GeoMOOSE documentation [<a href="http://docs.geomoose.org/2.6/howto/identify.html" target="_blank">http://docs.geomoose.org/2.6/howto/identify.html</a>] to configure the identify service.</div>
<div>So here are the configured files:</div>
<div> </div>
<div>the identify html file (unterkunft_identify.html)</div>
<div> </div>
<div>
<div><em><!-- MapServer Template --><br/>
<tr bgcolor="#ffc6c3"><td colspan="2"><b><u>Angebote</u></b></tr><br/>
<tr><br/>
<td align="right"><b>ID:</b></td><br/>
<td>[UNTERKUNFTID] <a href="javascript:GeoMOOSE.startService('feature_report', {'ID' : '[UNTERKUNFTID]', 'src' : 'poi/unterkunft'})">Report</a><br/>
</td><br/>
</tr><br/>
<tr><br/>
<td align="right"><b>Name:</b></td><br/>
<td>[NAME]</td><br/>
</tr><br/>
<tr><br/>
<td align="right"><b>Kategorie:</b></td><br/>
<td>[KATEGORIE]</td><br/>
</tr><br/>
<tr><br/>
<td align="right"><b>Ort:</b></td><br/>
<td>[ORT]</td><br/>
</tr><br/>
<tr><br/>
<td> </td><br/>
<td> </td><br/>
</tr></em></div>
<div> </div>
<div>the map file (unterkunft.map)</div>
<div> </div>
<div><em>MAP</em></div>
<div><em>...</em></div>
<div><em>LAYER<br/>
NAME 'unterkunft'<br/>
CONNECTIONTYPE postgis<br/>
CONNECTION "host=localhost dbname=postgis_testdb user=postgres password=test1234 port=5432"<br/>
DATA "geometry from angebote using unique unterkunftid using srid=4326"<br/>
DUMP true<br/>
TYPE POINT<br/>
STATUS ON<br/>
METADATA<br/>
WMS_TITLE "unterkunft"<br/>
'identify_record' 'unterkunft_identify.html'<br/>
END<br/>
PROJECTION<br/>
'init=epsg:4326' #projection of the layer<br/>
END<br/>
CLASS<br/>
NAME unsereunterkunft<br/>
STYLE<br/>
SYMBOL "../img/haus-kl.png"<br/>
SIZE 20<br/>
END<br/>
TEMPLATE "unterkunft_identify.html"<br/>
END<br/>
TOLERANCE 10000<br/>
TOLERANCEUNITS METERS<br/>
END</em></div>
<div><em>...</em></div>
<div><em>END</em></div>
<div> </div>
<div>the identify section in mapbook.xml</div>
<div> </div>
<div><em>...</em></div>
<div><em><service name="identify" title="Auswahl" display="true"><br/>
<url>php/identify.php</url><br/>
<step type="spatial" name="shape" line="false" polygon="false" jump-start="true" default="point" box="true" pan="false"><br/>
<header><br/>
Click on the map to see more detailed information.<br/>
</header><br/>
<input type="visiblelayers" name="layers" value="poi/unterkunft"/><br/>
<input type="projection" name="projection"/><br/>
<input type="hidden" name="layers" value="poi/unterkunft"/><br/>
</step><br/>
</service></em></div>
<div><em>...</em></div>
<div> </div>
<div>Is it right to write the fields in upper case in the mapserver template?</div>
<div> </div>
<div>I would be really grateful for any help!! Thank you!</div>
<div> </div>
<div>Greetings, Geograefin</div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
</div>
<div> </div></div></body></html>