<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=281150211-20092004>Hallo
Liste,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=281150211-20092004></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=281150211-20092004>nach der
Aufforderung auf der Anwenderkonferenz auch "dumme" Fragen zu stellen,
kommt hier also meine erste : </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=281150211-20092004><FONT face=Arial size=2>Ich möchte über die
Funktion "querybypoint" mit phpMapscript die dBase-Spalten und
-werte eines Datensatzes auslesen. Trotz meines "tollen" scriptchen liefert
der Befehl $shape->values kein Array zurück. Warum ? </FONT></SPAN></DIV>
<DIV><SPAN class=281150211-20092004><FONT face=Arial size=2>Da sowohl der
shapeindex und die shape-Datei gefunden werden, vermute ich den Fehler in der
map-Datei ?!</FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=281150211-20092004>php-Skript:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=281150211-20092004>...</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2>if (($layer->queryByPoint($punkt, MS_SINGLE,
200))==MS_SUCCESS)
{<BR> $resultat=$layer->getResult(0);<BR> $index=$resultat->shapeindex;<BR>}</FONT></DIV>
<DIV><FONT><SPAN class=281150211-20092004></SPAN><FONT face=Arial size=2>.<SPAN
class=281150211-20092004>..</SPAN><BR>$shapefile = ms_newShapefileObj("Pfad",
-2);<BR>$shape=$shapefile->getShape($index);<BR>$wert=$shape->values;<BR> foreach
($wert as $key=>$value) { <BR> print
"<tr><td>".$key."</td><td>".$value."</td></tr>";<BR> }</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=281150211-20092004><FONT face=Arial
size=2>map-Datei:</FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=281150211-20092004>...</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=281150211-20092004>LAYER</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=281150211-20092004>
NAME "Gemarkungen"</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=281150211-20092004>
TYPE Polygon</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=281150211-20092004>
DATA gemarkung</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=281150211-20092004>
STATUS ON</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=281150211-20092004>
TEMPLATE info.php</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=281150211-20092004>
CLASS</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=281150211-20092004> OUTLINECOLOR
0 0 0 </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=281150211-20092004>
END</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=281150211-20092004>END</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=281150211-20092004></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=281150211-20092004>Vielen Dank im
voraus.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV>
<DIV><FONT face=Arial size=2>Claudia </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=281150211-20092004>P.S. großes Lob
an die <FONT size=2>Organisatoren und Vortragenden der Andwenderkonferenz - habe
viel gelernt.</FONT></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>< // ____________________</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><STRONG><FONT face=Arial>dcr geoinformatic</FONT></STRONG></DIV>
<DIV><FONT face=Arial size=2>Claudia Rodat</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#000000 size=2><A
href="mailto:claudia@rodat.de">claudia@rodat.de</A></FONT></DIV>
<DIV><FONT face=Arial size=2>mobil +49 (171) 49 23 225</FONT></DIV>
<DIV><FONT face=Arial size=2>fax +49 (7531) 45 41 20</FONT></DIV>
<DIV><FONT face=Arial size=2>fon +49 (7531) 73 145</FONT></DIV>
<DIV><FONT face=Arial size=2>Gabelsbergerstr. 11</FONT></DIV>
<DIV><FONT face=Arial size=2>D 78467 Konstanz</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>__________________________________
></FONT></DIV></DIV>
<DIV> </DIV></BODY></HTML>