[Mapserver-users] output format with mapserver3.7

fx gamoy fx.gamoy at mapxplore.com
Tue Feb 18 10:24:49 PST 2003


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

------=_NextPart_000_0033_01C2D77B.05DC2D20
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

thanks for your request
i have upgraded my gd library to 2.0.11
then compiled php4.2.3 with this gd
compiled mapscript with this gd and freetype 2
everything seems to be ok
MapScript Version ($Revision: 1.115 $ $Date: 2002/08/14 20:13:08 $)
MapServer version 3.7 (development) OUTPUT=3DPNG OUTPUT=3DJPEG =
OUTPUT=3DWBMP OUTPUT=3DSWF SUPPORTS=3DPROJ SUPPORTS=3DTTF INPUT=3DJPEG =
INPUT=3DOGR INPUT=3DGDAL INPUT=3DSHAPEFILE

 but i have still the same error message
call to undefined function : selectoutputformat()...
any idea?
thanks
fx gamoy
http://www.mapxplore.com/


  ----- Original Message -----=20
  From: Stepan Kafka=20
  To: fx gamoy ; mapserver-users at lists.gis.umn.edu=20
  Sent: Tuesday, February 18, 2003 1:41 PM
  Subject: RE: [Mapserver-users] output format with mapserver3.7


  You need GD 2.x to compile with mapserver to enable RGB output mode.

  Stepan Kafka
  Help Service Remote Sensing
  tel: +420-327514118
  mailto:kafka at email.cz
  http://www.bnhelp.cz=20

    -----Puvodn=ED zpr=E1va-----
    Od: mapserver-users-admin at lists.gis.umn.edu =
[mailto:mapserver-users-admin at lists.gis.umn.edu]za uzivatele fx gamoy
    Odesl=E1no: 18. =FAnora 2003 14:38
    Komu: mapserver-users at lists.gis.umn.edu
    Predmet: [Mapserver-users] output format with mapserver3.7


    hi
    i tried to make mapserver3.7 cooperate with the output format.
    i am running a self compiled Mapscript3.7-dev release 1.115 on a =
RH7.2 linux plateform with gd1.8.4-4 php4.2.2 with ming
    but apache logs return me:
    'call to undefined function : selectoutputformat()'
    i am running a self compiled Mapscript3.7-dev release 1.115

    The ouput format defined in my map file is
    IMAGETYPE jpeg
    OUTPUTFORMAT
     NAME jpeg
     MIMETYPE "image/jpeg"
     DRIVER "GD/JPEG"
     IMAGEMODE RGB
     FORMATOPTION "QUALITY=3D80"
     TRANSPARENT OFF
    END

    In the php file i have written
    $map->selectOutputFormat("jpeg");
    $map->draw();

    i wish to use SWF format in just one layer in order to use a flash =
front end interface.

    any suggestions???
    thanks a lot
    fx gamoy
    http://www.mapxplore.com/

    =20

------=_NextPart_000_0033_01C2D77B.05DC2D20
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><FONT face=3DArial size=3D2>thanks for your request</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>i have upgraded my gd library to=20
2.0.11</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>then compiled php4.2.3 with this =
gd</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>compiled mapscript with this gd and =
freetype=20
2</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>everything seems to be ok</FONT></DIV>
<DIV><FONT face=3DArial size=3D2><FONT face=3D"Times New Roman" =
size=3D3>MapScript=20
Version ($Revision: 1.115 $ $Date: 2002/08/14 20:13:08 $)<BR>MapServer =
version=20
3.7 (development) OUTPUT=3DPNG OUTPUT=3DJPEG OUTPUT=3DWBMP OUTPUT=3DSWF =
SUPPORTS=3DPROJ=20
SUPPORTS=3DTTF INPUT=3DJPEG INPUT=3DOGR INPUT=3DGDAL=20
INPUT=3DSHAPEFILE</FONT><BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2> but i have still the same error=20
message</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>call to undefined function :=20
selectoutputformat()...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>any idea?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>thanks</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>fx gamoy</FONT></DIV>
<DIV><FONT face=3DArial size=3D2><A=20
href=3D"http://www.mapxplore.com/">http://www.mapxplore.com/</A></FONT></=
DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-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 title=3Dstepan.kafka at centrum.cz =
href=3D"mailto:stepan.kafka at centrum.cz">Stepan=20
  Kafka</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
title=3Dfx.gamoy at mapxplore.com=20
  href=3D"mailto:fx.gamoy at mapxplore.com">fx gamoy</A> ; <A=20
  title=3Dmapserver-users at lists.gis.umn.edu=20
  =
href=3D"mailto:mapserver-users at lists.gis.umn.edu">mapserver-users at lists.g=
is.umn.edu</A>=20
  </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Tuesday, February 18, =
2003 1:41=20
  PM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> RE: [Mapserver-users] =
output=20
  format with mapserver3.7</DIV>
  <DIV><BR></DIV>
  <DIV><SPAN class=3D96583913-18022003><FONT face=3DArial =
color=3D#0000ff size=3D2>You=20
  need GD 2.x to compile with mapserver to enable RGB output=20
  mode.</FONT></SPAN></DIV>
  <DIV><SPAN class=3D96583913-18022003><FONT face=3DArial =
color=3D#0000ff=20
  size=3D2></FONT></SPAN> </DIV>
  <DIV><SPAN class=3D96583913-18022003>
  <P><FONT size=3D2><SPAN =
class=3D96583913-18022003>Stepan</SPAN> Kafka<BR>Help=20
  Service Remote Sensing<BR>tel: +420-327514118<BR></FONT><A =
target=3D_blank=20
  href=3D"mailto:kafka at email.cz"><FONT=20
  size=3D2>mailto:kafka at email.cz</FONT></A><BR><A target=3D_blank=20
  href=3D"http://www.bnhelp.cz"><FONT =
size=3D2>http://www.bnhelp.cz</FONT></A><FONT=20
  size=3D2> </FONT></P></SPAN></DIV>
  <BLOCKQUOTE dir=3Dltr=20
  style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px =
solid; MARGIN-RIGHT: 0px">
    <DIV class=3DOutlookMessageHeader><FONT size=3D2>-----Původn=ED =

    zpr=E1va-----<BR><B>Od:</B> <A=20
    =
href=3D"mailto:mapserver-users-admin at lists.gis.umn.edu">mapserver-users-a=
dmin at lists.gis.umn.edu</A>=20
    [mailto:mapserver-users-admin at lists.gis.umn.edu]<B>za =
uživatele</B> fx=20
    gamoy<BR><B>Odesl=E1no:</B> 18. =FAnora 2003 14:38<BR><B>Komu:</B> =
<A=20
    =
href=3D"mailto:mapserver-users at lists.gis.umn.edu">mapserver-users at lists.g=
is.umn.edu</A><BR><B>Předmět:</B>=20
    [Mapserver-users] output format with =
mapserver3.7<BR><BR></FONT></DIV>
    <DIV><FONT face=3DArial size=3D2><FONT face=3D"Times New Roman"=20
    size=3D3>hi</FONT></FONT></DIV>
    <DIV><FONT face=3DArial size=3D2><FONT face=3D"Times New Roman"=20
    size=3D3>i tried to make mapserver3.7 cooperate with the output =

    format.</FONT></FONT></DIV>
    <DIV><FONT face=3DArial size=3D2><FONT face=3D"Times New Roman" =
size=3D3>i am=20
    running a self compiled Mapscript3.7-dev release 1.115 on a RH7.2 =
linux=20
    plateform with gd1.8.4-4 php4.2.2 with ming</FONT></FONT></DIV>
    <DIV><FONT face=3DArial size=3D2><FONT face=3D"Times New Roman" =
size=3D3>but apache=20
    logs return me:<BR>'call to undefined function : =
selectoutputformat()'<BR>i=20
    am running a self compiled Mapscript3.7-dev release=20
1.115</FONT></FONT></DIV>
    <DIV><FONT face=3DArial size=3D2><FONT face=3D"Times New Roman" =
size=3D3><BR>The=20
    ouput format defined in my map file is<BR>IMAGETYPE=20
    jpeg<BR>OUTPUTFORMAT<BR> NAME jpeg<BR> MIMETYPE=20
    "image/jpeg"<BR> DRIVER "GD/JPEG"<BR> IMAGEMODE=20
    RGB<BR> FORMATOPTION "QUALITY=3D80"<BR> TRANSPARENT=20
    OFF<BR>END<BR></DIV></FONT></FONT>
    <DIV><FONT face=3DArial size=3D2><FONT face=3D"Times New Roman" =
size=3D3>In the php=20
    file i have=20
    =
written<BR>$map->selectOutputFormat("jpeg");<BR>$map->draw();<BR></=
FONT></FONT></DIV>
    <DIV><FONT face=3DArial size=3D2><FONT face=3D"Times New Roman" =
size=3D3>i wish to=20
    use SWF format in just one layer in order to use a flash front =
end=20
    interface.<BR><BR>any suggestions???<BR>thanks a lot<BR>fx=20
    gamoy</FONT></FONT></DIV>
    <DIV><FONT face=3DArial size=3D2><FONT face=3D"Times New Roman" =
size=3D3><A=20
    =
href=3D"http://www.mapxplore.com/">http://www.mapxplore.com/</A></FONT></=
FONT></DIV>
    <DIV><FONT face=3DArial size=3D2><FONT face=3D"Times New Roman"=20
    =
size=3D3></FONT><BR> </DIV></BLOCKQUOTE></BLOCKQUOTE></FONT></BODY><=
/HTML>

------=_NextPart_000_0033_01C2D77B.05DC2D20--





More information about the MapServer-users mailing list