Fw: [mapserver-users] Error with mspostgisopenlayer
giorgio
giorgio19291@inwind.it
Tue, 5 Mar 2002 12:10:46 +0100
This is a multi-part message in MIME format.
------=_NextPart_000_0052_01C1C43E.C7F71600
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
----- Original Message -----=20
From: giorgio=20
To: Obe, Regina DND\MIS=20
Sent: Tuesday, March 05, 2002 12:09 PM
Subject: Re: [mapserver-users] Error with mspostgisopenlayer
How I can compile the php mapscript with postgis support?
Is not sufficient insert the option for postgis in configure of =
mapserver??
Many thanks in advance.
Giorgio.
----- Original Message -----=20
From: Obe, Regina DND\MIS=20
To: 'giorgio' ; MAPSERVER (E-mail)=20
Sent: Monday, March 04, 2002 10:11 PM
Subject: RE: [mapserver-users] Error with mspostgisopenlayer
Sounds like your PHP mapscript dll is not compiled with Postgis =
support.
-----Original Message-----
From: giorgio [mailto:giorgio19291@inwind.it]
Sent: Monday, March 04, 2002 2:25 PM
To: MAPSERVER (E-mail)
Subject: [mapserver-users] Error with mspostgisopenlayer
Hello to all,
i have recieved this message on a my implementation of mapserver =
with php-mapserver when I try to load a layer using postgis:
"Warning: MapServer Error in msPOSTGISLayerOpen(): =
msPOSTGISLayerOpen called but unimplemented!in =
/var/www/html/probe/my.php on line 731
Fatal error: Call to a member function on a non-object in =
/var/www/html/probe/my.php on line 732"
=20
this is strange because the same layer with a perl mapscript is =
loaded normally.
=20
Depend It from php mapscript??
=20
This is the last part of my Map.file only the last layer is not =
loaded.
=20
Any suggestion?? Thanks a lot in advance=20
Giorgio.
.
.
.
LAYER
NAME aree
TYPE LINE
STATUS OFF
DATA aree
CLASS
NAME "aree"
COLOR 0 0 0
END
END
LAYER
CONNECTIONTYPE postgis
NAME my
CONNECTION "user=3Dnobody dbname=3Dsele host=3D192.168.0.1"
TYPE LINE
STATUS OFF
DATA "the_geom from mio"
CLASS
NAME "my"
COLOR 0 255 0
END
END # Layer
END # Map File
------=_NextPart_000_0052_01C1C43E.C7F71600
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 content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2920.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV> </DIV>
<DIV style=3D"FONT: 10pt arial">----- Original Message -----=20
<DIV style=3D"BACKGROUND: #e4e4e4; font-color: black"><B>From:</B> <A=20
href=3D"mailto:giorgio19291@inwind.it" =
title=3Dgiorgio19291@inwind.it>giorgio</A>=20
</DIV>
<DIV><B>To:</B> <A href=3D"mailto:Regina.Obe.PFD@ci.boston.ma.us"=20
title=3DRegina.Obe.PFD@ci.boston.ma.us>Obe, Regina DND\MIS</A> </DIV>
<DIV><B>Sent:</B> Tuesday, March 05, 2002 12:09 PM</DIV>
<DIV><B>Subject:</B> Re: [mapserver-users] Error with=20
mspostgisopenlayer</DIV></DIV>
<DIV><BR></DIV>
<DIV><FONT face=3DArial size=3D2>How I can compile the php mapscript =
with postgis=20
support?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Is not sufficient insert the option for =
postgis in=20
configure of mapserver??</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Many thanks in advance.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Giorgio.</FONT></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: =
0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
<DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV=20
style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
<A href=3D"mailto:Regina.Obe.PFD@ci.boston.ma.us"=20
title=3DRegina.Obe.PFD@ci.boston.ma.us>Obe, Regina DND\MIS</A> </DIV>
<DIV style=3D"FONT: 10pt arial"><B>To:</B> <A=20
href=3D"mailto:giorgio19291@inwind.it"=20
title=3Dgiorgio19291@inwind.it>'giorgio'</A> ; <A=20
href=3D"mailto:mapserver-users@lists.gis.umn.edu"=20
title=3Dmapserver-users@lists.gis.umn.edu>MAPSERVER (E-mail)</A> =
</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Monday, March 04, 2002 =
10:11=20
PM</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Subject:</B> RE: [mapserver-users] =
Error with=20
mspostgisopenlayer</DIV>
<DIV><BR></DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
class=3D695511021-04032002>Sounds like your PHP mapscript dll is =
not=20
compiled with Postgis support.</SPAN></FONT></DIV>
<BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
<DIV align=3Dleft class=3DOutlookMessageHeader dir=3Dltr><FONT =
face=3DTahoma><FONT=20
size=3D2>-----Original Message-----<BR><B>From:</B> giorgio [<A=20
=
href=3D"mailto:giorgio19291@inwind.it">mailto:giorgio19291@inwind.it</A>]=
<BR><B>Sent:</B>=20
Monday, March 04, 2002 2:25 PM<BR><B>To:</B> MAPSERVER=20
(E-mail)<BR><B>Subject:</B> [mapserver-users] Error with=20
mspostgisopenlayer<BR><BR></FONT></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Hello to all,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>i have recieved this message on a =
my=20
implementation of mapserver with php-mapserver when I try to =
load a=20
layer using postgis:</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2><STRONG>"Warning</STRONG>: =
MapServer Error in=20
msPOSTGISLayerOpen(): msPOSTGISLayerOpen called but unimplemented!in =
<B>/var/www/html/probe/my.php</B> on line <STRONG>731<BR><BR>Fatal=20
error</STRONG>: Call to a member function on a non-object in=20
<B>/var/www/html/probe/my.php</B> on line <B>732"</B></FONT></DIV>
<DIV><FONT face=3DArial =
size=3D2><STRONG></STRONG></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>this is strange because the =
same=20
layer with a perl mapscript is loaded normally.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Depend It from php =
mapscript??</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>This is the last part of my =
Map.file only=20
the last layer is not loaded.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Any suggestion?? Thanks a lot in =
advance=20
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Giorgio.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2><FONT size=3D2>
<P>LAYER</P>
<P>NAME aree</P>
<P>TYPE LINE</P>
<P>STATUS OFF</P>
<P>DATA aree</P>
<P>CLASS</P>
<P>NAME "aree"</P>
<P>COLOR 0 0 0</P>
<P>END</P>
<P>END</P>
<P> </P>
<P>LAYER</P>
<P>CONNECTIONTYPE postgis</P>
<P>NAME my</P>
<P>CONNECTION "user=3Dnobody dbname=3Dsele host=3D192.168.0.1"</P>
<P>TYPE LINE</P>
<P>STATUS OFF</P>
<P>DATA "the_geom from mio"</P>
<P>CLASS</P>
<P>NAME "my"</P>
<P>COLOR 0 255 0</P>
<P>END</P>
<P>END # Layer</P>
<P>END # Map=20
File</P></FONT><BR></DIV></BLOCKQUOTE></BLOCKQUOTE></FONT></BODY></HTML>
------=_NextPart_000_0052_01C1C43E.C7F71600--