[Mapserver-users] Export in DXF

Gheysen Thibaut gheysen.t at skynet.be
Mon Apr 12 04:22:47 EDT 2004


C'est un message de format MIME en plusieurs parties.

------=_NextPart_000_000E_01C42078.19DA0760
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello,

I have try to export my current map in DXF with PHP/MapScript, like =
explain in the mapserver wiki. But I have always this error :

Warning: [MapServer Error]: msDrawMap(): Unable to initialize image. in =
c:\program files\apache =
group\apache\htdocs\tfe\carto\incphp\export.inc.php on line 54
Fatal error: Call to a member function on a non-object in c:\program =
files\apache group\apache\htdocs\tfe\carto\incphp\export.inc.php on line =
55

The first map is created but the script bug on the creation of the dxf =
file.

The mapserver config is :
MapServer version 4.0 OUTPUT=3DGIF OUTPUT=3DPNG OUTPUT=3DJPEG =
OUTPUT=3DWBMP OUTPUT=3DPDF OUTPUT=3DSWF SUPPORTS=3DPROJ =
SUPPORTS=3DFREETYPE SUPPORTS=3DWMS_SERVER SUPPORTS=3DWMS_CLIENT =
SUPPORTS=3DWFS_SERVER SUPPORTS=3DWFS_CLIENT INPUT=3DPOSTGIS INPUT=3DOGR =
INPUT=3DGDAL INPUT=3DSHAPEFILE .

Thanks in advance.

Best regards

Thibaut


---
Mail certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.656 / Virus Database: 421 - Release Date: 9/04/04


------=_NextPart_000_000E_01C42078.19DA0760
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 5.50.4134.600" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV>
<DIV><FONT face=3DArial size=3D2>Hello,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I have try to export my current map in =
DXF with=20
PHP/MapScript,&nbsp;like explain in the mapserver wiki. But I have =
always this=20
error :</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Warning: [MapServer Error]: =
msDrawMap(): Unable to=20
initialize image. in c:\program files\apache=20
group\apache\htdocs\tfe\carto\incphp\export.inc.php on line =
54</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Fatal error: Call to a member function =
on a=20
non-object in c:\program files\apache=20
group\apache\htdocs\tfe\carto\incphp\export.inc.php on line =
55</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>The first map is created but the script =
bug on the=20
creation of the dxf file.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>The mapserver config is :</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>
<P>MapServer version 4.0 OUTPUT=3DGIF OUTPUT=3DPNG OUTPUT=3DJPEG =
OUTPUT=3DWBMP=20
OUTPUT=3DPDF OUTPUT=3DSWF SUPPORTS=3DPROJ SUPPORTS=3DFREETYPE =
SUPPORTS=3DWMS_SERVER=20
SUPPORTS=3DWMS_CLIENT SUPPORTS=3DWFS_SERVER SUPPORTS=3DWFS_CLIENT =
INPUT=3DPOSTGIS=20
INPUT=3DOGR INPUT=3DGDAL INPUT=3DSHAPEFILE .</P>
<P>Thanks in advance.</P>
<P>Best regards</P>
<P>Thibaut</P>
<P><BR>---<BR>Mail certified Virus Free.<BR>Checked by AVG anti-virus =
system (<A=20
href=3D"http://www.grisoft.com">http://www.grisoft.com</A>).<BR>Version: =
6.0.656 /=20
Virus Database: 421 - Release Date: =
9/04/04</P></FONT></DIV></DIV></BODY></HTML>

------=_NextPart_000_000E_01C42078.19DA0760--




More information about the mapserver-users mailing list