[Mapserver-users] phpmapscript getShape ???

steff stephane.riff at cerene.fr
Fri Apr 11 08:33:25 EDT 2003


This is a multi-part message in MIME format.

------=_NextPart_000_0005_01C30037.4F816FF0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi all.

My problem is :

  I've got a postgis layer

LAYER
  CONNECTIONTYPE postgis
  NAME "Contour_Departements"
  CONNECTION "dbname=3Ddb port=3D5555 user=3Dapache"
  DATA "the_geom from giscontourdepartement"
  TYPE POLYGON
  STATUS OFF
  GROUP "Contour"
#  FILTER "shapdpt_id LIKE '%value%%'"
  HEADER blank.html
  FOOTER blank.html
  CLASS
    NAME "Contour_Departements1"
    EXPRESSION ([dept_id] =3D 0)
    SYMBOL "star"
    SIZE 8
    OUTLINECOLOR 255 0 0
    COLOR 255 0 255
    OVERLAYSYMBOL "downwarddiagonalfill"
    OVERLAYSIZE 6
    OVERLAYCOLOR 0 0 0
    TEMPLATE "itemquery_template.html"
  END
  CLASS
    NAME "Contour_Departements2"
    EXPRESSION ([dept_id] =3D 1)
    SYMBOL "cross"
    SIZE 8
    OUTLINECOLOR 255 0 0
    COLOR 255 128 64
    TEMPLATE "itemquery_template.html"
  END

  METADATA
   LYRNAME "Contour de D=E9partements"
   TABLE_NAME "giscontourdepartement"
   RESULT_FIELDS "area"
   WMS_SRS  "EPSG:27582"
   WMS_ORDER "2"
  END

END


I want to query this layer with :

    $nClickGeoX =3D pix2Geo($_SESSION["map_x"], 0, $map->width,$dfMinX, =
$dfMaxX, 0);
    $nClickGeoY =3D pix2Geo($_SESSION["map_y"], 0, $map->height,$dfMinY, =
$dfMaxY, 1);
    $oClickGeo =3D ms_newPointObj();
    $oClickGeo->setXY($nClickGeoX, $nClickGeoY);
    $err =3D @$map->queryByPoint($oClickGeo, MS_SINGLE, -1);
    if($err =3D=3D MS_SUCCESS)
    {
      $queryResults=3DTRUE;
      dumpQueryResults () ;
      print( "<script =
language=3D\"javascript\">parent.queryResult.window.location =
=3D\"legend/queryResult.php\";</script>" );
    }


function dumpQueryResults()
{
    GLOBAL $map;
    $numResultsTotal =3D 0;
    $fp =3D fopen("legend/queryResult.php", "w+");
    for($iLayer=3D0; $iLayer < $map->numlayers; $iLayer++)
    {
        $oLayer =3D $map->GetLayer($iLayer);
        $numResults =3D $oLayer->getNumResults();
        if ($numResults =3D=3D 0)
            continue;  // No results in this layer
        // Open layer's table... take the list of fields to display from =

        // the "HEADERRESULT_FIELDS" metadata in the layer object.
        //$oLayer->open($map->shapepath);
        $oLayer->open("");
        $selFields =3D explode(" ", =
$oLayer->getMetaData("RESULT_FIELDS"));    =20
        fwrite($fp,"<html>\n<body bgcolor=3D\"#ADCEED\">\n<TABLE =
BORDER=3D0 CELLSPACING=3D1 CELLPADDING=3D2 WIDTH=3D100%%>\n");
        fwrite($fp,"<TR>\n");
        fwrite($fp,"<TD COLSPAN=3D".sizeof($selFields)." =
BGCOLOR=3D#C1D8E3>");
        fwrite($fp,"<CENTER> ".$oLayer->getMetaData("LYRNAME")." =
</CENTER>" );
        fwrite($fp,"</TR>\n");=20
        //
        // Table header: attribute names...
        //
        fwrite($fp,"<TR>\n");=20
        for ($iField=3D0; $iField < sizeof($selFields); $iField++)
        {
            fwrite($fp,"<TD BGCOLOR=3D#E2EFF5>");
            fwrite($fp,"".$selFields[$iField]."");
            fwrite($fp,"</TD>");
        }
        fwrite($fp,"</TR>\n");
        //
        // One row in table for each selected record
        //
        for ($iRes=3D0; $iRes < $numResults; $iRes++)
        {
            $oRes =3D $oLayer->getResult($iRes);
            if($oRes !=3D FALSE)
            {
              $oShape =3D $oLayer->getShape(-1,$oRes->shapeindex);
              fwrite($fp,"<TR>\n");
              //fwrite($fp,"<!-- =
bounds(".$oShape->bounds->minx.",".$oShape->bounds->miny.")-(".$oShape->b=
ounds->maxx.",."$oShape->bounds->maxy.")-->\n" );
              for($iField=3D0; $iField < sizeof($selFields); $iField++)
              {
                fwrite($fp,"<TD BGCOLOR=3D#FFFFFF>");
                fwrite($fp,"".$oShape->values[$selFields[$iField]]."");
                fwrite($fp,"</TD>");
              }
              fwrite($fp,"</TR>\n");
              $oShape->free();
              $numResultsTotal++;
           }
        }
        $oLayer->close();
        fwrite($fp,"</TABLE>\n</body>\n</html>\n");
    }
    if ($numResultsTotal =3D=3D 0)
        fwrite($fp,"Nothing found at query location.");
  fclose($fp);
}


But i get always the same error :
   Fatal error: Assertion failed, Could not set shape values: 0, 0

I already look in the users-list but there is no answer...
The only answer is to use  layer->open(""); but i already do this =
without result....

So help me please
------=_NextPart_000_0005_01C30037.4F816FF0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi all.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>My problem is :</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp; I've got a postgis =
layer</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>LAYER<BR>&nbsp; CONNECTIONTYPE =
postgis<BR>&nbsp;=20
NAME "Contour_Departements"<BR>&nbsp; CONNECTION "dbname=3Ddb =
port=3D5555=20
user=3Dapache"<BR>&nbsp; DATA "the_geom from =
giscontourdepartement"<BR>&nbsp; TYPE=20
POLYGON<BR>&nbsp; STATUS OFF<BR>&nbsp; GROUP "Contour"<BR>#&nbsp; FILTER =

"shapdpt_id LIKE '%value%%'"<BR>&nbsp; HEADER blank.html<BR>&nbsp; =
FOOTER=20
blank.html<BR>&nbsp; CLASS<BR>&nbsp;&nbsp;&nbsp; NAME=20
"Contour_Departements1"<BR>&nbsp;&nbsp;&nbsp; EXPRESSION ([dept_id] =3D=20
0)<BR>&nbsp;&nbsp;&nbsp; SYMBOL "star"<BR>&nbsp;&nbsp;&nbsp; SIZE=20
8<BR>&nbsp;&nbsp;&nbsp; OUTLINECOLOR 255 0 0<BR>&nbsp;&nbsp;&nbsp; COLOR =
255 0=20
255<BR>&nbsp;&nbsp;&nbsp; OVERLAYSYMBOL=20
"downwarddiagonalfill"<BR>&nbsp;&nbsp;&nbsp; OVERLAYSIZE =
6<BR>&nbsp;&nbsp;&nbsp;=20
OVERLAYCOLOR 0 0 0<BR>&nbsp;&nbsp;&nbsp; TEMPLATE=20
"itemquery_template.html"<BR>&nbsp; END<BR>&nbsp; =
CLASS<BR>&nbsp;&nbsp;&nbsp;=20
NAME "Contour_Departements2"<BR>&nbsp;&nbsp;&nbsp; EXPRESSION ([dept_id] =
=3D=20
1)<BR>&nbsp;&nbsp;&nbsp; SYMBOL "cross"<BR>&nbsp;&nbsp;&nbsp; SIZE=20
8<BR>&nbsp;&nbsp;&nbsp; OUTLINECOLOR 255 0 0<BR>&nbsp;&nbsp;&nbsp; COLOR =
255 128=20
64<BR>&nbsp;&nbsp;&nbsp; TEMPLATE "itemquery_template.html"<BR>&nbsp;=20
END</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp; METADATA<BR>&nbsp;&nbsp; LYRNAME =
"Contour de=20
D=E9partements"<BR>&nbsp;&nbsp; TABLE_NAME =
"giscontourdepartement"<BR>&nbsp;&nbsp;=20
RESULT_FIELDS "area"<BR>&nbsp;&nbsp; WMS_SRS&nbsp; =
"EPSG:27582"<BR>&nbsp;&nbsp;=20
WMS_ORDER "2"<BR>&nbsp; END</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>END</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I want to query this layer with =
:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial =
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;$nClickGeoX&nbsp;=3D=20
pix2Geo($_SESSION["map_x"], 0, $map-&gt;width,$dfMinX, $dfMaxX,=20
0);<BR>&nbsp;&nbsp;&nbsp; $nClickGeoY =3D pix2Geo($_SESSION["map_y"], 0, =

$map-&gt;height,$dfMinY, $dfMaxY, 1);<BR>&nbsp;&nbsp;&nbsp; $oClickGeo =
=3D=20
ms_newPointObj();<BR>&nbsp;&nbsp;&nbsp; =
$oClickGeo-&gt;setXY($nClickGeoX,=20
$nClickGeoY);<BR>&nbsp;&nbsp;&nbsp; $err =3D =
@$map-&gt;queryByPoint($oClickGeo,=20
MS_SINGLE, -1);<BR>&nbsp;&nbsp;&nbsp; if($err =3D=3D=20
MS_SUCCESS)<BR>&nbsp;&nbsp;&nbsp; {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
$queryResults=3DTRUE;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dumpQueryResults =
()=20
;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; print( "&lt;script=20
language=3D\"javascript\"&gt;parent.queryResult.window.location=20
=3D\"legend/queryResult.php\";&lt;/script&gt;" );<BR>&nbsp;&nbsp;&nbsp;=20
}</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>function=20
dumpQueryResults()<BR>{<BR>&nbsp;&nbsp;&nbsp; GLOBAL $map;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; $numResultsTotal =3D =

0;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; $fp =3D=20
fopen("legend/queryResult.php", "w+");</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; for($iLayer=3D0; =
$iLayer &lt;=20
$map-&gt;numlayers; $iLayer++)<BR>&nbsp;&nbsp;&nbsp;=20
{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $oLayer =3D=20
$map-&gt;GetLayer($iLayer);</FONT></DIV>
<DIV><FONT face=3DArial =
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
$numResults =3D $oLayer-&gt;getNumResults();</FONT></DIV>
<DIV><FONT face=3DArial =
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if=20
($numResults =3D=3D=20
0)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =

continue;&nbsp; // No results in this layer</FONT></DIV>
<DIV><FONT face=3DArial =
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // Open=20
layer's table... take the list of fields to display from=20
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // the =
"HEADERRESULT_FIELDS"=20
metadata in the layer =
object.<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
//$oLayer-&gt;open($map-&gt;shapepath);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;=20
&nbsp;$oLayer-&gt;open("");</FONT></DIV>
<DIV><FONT face=3DArial =
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
$selFields =3D explode(" ",=20
$oLayer-&gt;getMetaData("RESULT_FIELDS"));&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<=
BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
fwrite($fp,"&lt;html&gt;\n&lt;body bgcolor=3D\"#ADCEED\"&gt;\n&lt;TABLE =
BORDER=3D0=20
CELLSPACING=3D1 CELLPADDING=3D2=20
WIDTH=3D100%%&gt;\n");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
fwrite($fp,"&lt;TR&gt;\n");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
=20
fwrite($fp,"&lt;TD COLSPAN=3D".sizeof($selFields)."=20
BGCOLOR=3D#C1D8E3&gt;");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
fwrite($fp,"&lt;CENTER&gt; ".$oLayer-&gt;getMetaData("LYRNAME")."=20
&lt;/CENTER&gt;" );<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
fwrite($fp,"&lt;/TR&gt;\n");&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;=20
//<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // Table header: =
attribute=20
names...<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
//<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
fwrite($fp,"&lt;TR&gt;\n");&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;=20
for ($iField=3D0; $iField &lt; sizeof($selFields);=20
$iField++)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
fwrite($fp,"&lt;TD=20
BGCOLOR=3D#E2EFF5&gt;");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;=20
fwrite($fp,"".$selFields[$iField]."");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
fwrite($fp,"&lt;/TD&gt;");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =

}<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
fwrite($fp,"&lt;/TR&gt;\n");</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
&nbsp;//<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // One row in =
table for=20
each selected record<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
//</FONT></DIV>
<DIV><FONT face=3DArial =
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; for=20
($iRes=3D0; $iRes &lt; $numResults;=20
$iRes++)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
$oRes =3D=20
$oLayer-&gt;getResult($iRes);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp;&nbsp; if($oRes !=3D=20
FALSE)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;=20
{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;=20
$oShape =3D $oLayer-&gt;getShape(-1,$oRes-&gt;shapeindex);</FONT></DIV>
<DIV><FONT face=3DArial=20
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;=20
fwrite($fp,"&lt;TR&gt;\n");</FONT></DIV>
<DIV><FONT face=3DArial=20
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;=20
//fwrite($fp,"&lt;!--=20
bounds(".$oShape-&gt;bounds-&gt;minx.",".$oShape-&gt;bounds-&gt;miny.")-(=
".$oShape-&gt;bounds-&gt;maxx.",."$oShape-&gt;bounds-&gt;maxy.")--&gt;\n"=
=20
);</FONT></DIV>
<DIV><FONT face=3DArial=20
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;=20
for($iField=3D0; $iField &lt; sizeof($selFields);=20
$iField++)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;=20
{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;=20
fwrite($fp,"&lt;TD=20
BGCOLOR=3D#FFFFFF&gt;");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
fwrite($fp,"".$oShape-&gt;values[$selFields[$iField]]."");<BR>&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;=20
fwrite($fp,"&lt;/TD&gt;");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
}<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;=20
fwrite($fp,"&lt;/TR&gt;\n");</FONT></DIV>
<DIV><FONT face=3DArial=20
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;=20
$oShape-&gt;free();</FONT></DIV>
<DIV><FONT face=3DArial=20
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;=20
$numResultsTotal++;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;=20
}<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</FONT></DIV>
<DIV><FONT face=3DArial =
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
$oLayer-&gt;close();</FONT></DIV>
<DIV><FONT face=3DArial =
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
fwrite($fp,"&lt;/TABLE&gt;\n&lt;/body&gt;\n&lt;/html&gt;\n");<BR>&nbsp;&n=
bsp;&nbsp;=20
}</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; if ($numResultsTotal =
=3D=3D=20
0)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fwrite($fp,"Nothing =
found at=20
query location.");<BR>&nbsp;&nbsp;fclose($fp);<BR>}</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>But i get always the same error =
:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp; <FONT size=3D3><FONT=20
face=3D"Times New Roman"><STRONG>Fatal error</STRONG>: Assertion failed, =
Could not=20
set shape values: 0, 0</FONT></FONT></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I already look in the users-list but =
there is no=20
answer...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>The only answer is to use&nbsp; =
layer-&gt;open("");=20
but i already do this without result....</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>So help me =
please</FONT></DIV></BODY></HTML>

------=_NextPart_000_0005_01C30037.4F816FF0--




More information about the mapserver-users mailing list