[Mapserver-users] MyGIS support

Daniele Margotti margottid at comune.lugo.ra.it
Fri Jun 4 03:01:30 EDT 2004


This is a multi-part message in MIME format.


------=_NextPart_000_000C_01C44A12.86D836C0
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: 7bit

Is MyGIS support enabled in MapServer 4.0.1?
 
I configure MapServer with MyGIS Support (./configure --with-mygis), and
it configures well:
 
    checking if MyGIS support requested... yes
    checking for mysql_config... /usr/bin/mysql_config
    yes, user supplied my_config
 
 
Then, I make MapServer and I get no error, except as:
 
    gcc -c -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL     -DUSE_TIFF
-DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT
-DUSE_PDF
    -DUSE_MYGIS   -I/usr/local/include            -I'/usr/include/mysql'
mapmygis.c -o mapmygis.o
    mapmygis.c: In function `end_memcpy':
    mapmygis.c:190: warning: `shorts' might be used uninitialized in
this function
    mapmygis.c: In function `prep_DB':
    mapmygis.c:450: warning: assignment makes integer from pointer
without a cast
    mapmygis.c: In function `msMYGISLayerGetShapeRandom':
    mapmygis.c:1334: warning: int format, long int arg (arg 7)
    mapmygis.c: In function `msMYGISLayerGetShape':
    mapmygis.c:1421: warning: unsigned int format, long int arg (arg 2)
 
and mapmygis.o now exists.
 
 
But when I check MapServer version, I don't find INPUT=MYGIS:
 
    $ ./mapserv -v
    MapServer version 4.0.1 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
OUTPUT=PDF SUPPORTS=FREETYPE INPUT=TIFF INPUT=EPPL7 INPUT=JPEG
INPUT=SHAPEFILE
 
Why?
Should I upgrade to MapServer 4.2.0?
 
Thank you,
    Daniele
 

------=_NextPart_000_000C_01C44A12.86D836C0
Content-Type: text/html;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<TITLE>Messaggio</TITLE>

<META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D381225306-04062004><FONT face=3DArial size=3D2>Is =
MyGIS support=20
enabled in MapServer 4.0.1?</FONT></SPAN></DIV>
<DIV><SPAN class=3D381225306-04062004><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D381225306-04062004><FONT face=3DArial size=3D2>I =
configure=20
MapServer with MyGIS Support (./configure --with-mygis), and it =
configures=20
well:</FONT></SPAN></DIV>
<DIV><SPAN class=3D381225306-04062004><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D381225306-04062004><FONT face=3DArial =
size=3D2>&nbsp;&nbsp;&nbsp;=20
checking if MyGIS support requested... yes<BR>&nbsp;&nbsp;&nbsp; =
checking for=20
mysql_config... /usr/bin/mysql_config<BR>&nbsp;&nbsp;&nbsp; yes, user =
supplied=20
my_config</FONT></SPAN></DIV>
<DIV><SPAN class=3D381225306-04062004><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D381225306-04062004><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D381225306-04062004><FONT face=3DArial =
size=3D2>Then,&nbsp;I make=20
MapServer and I get no error, except as:</FONT></SPAN></DIV>
<DIV><SPAN class=3D381225306-04062004><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D381225306-04062004><FONT face=3DArial =
size=3D2>&nbsp;&nbsp;&nbsp;=20
gcc -c -O2&nbsp; -Wall -DIGNORE_MISSING_DATA&nbsp;=20
-DUSE_EPPL&nbsp;&nbsp;&nbsp;&nbsp; -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG=20
-DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_PDF</FONT></SPAN></DIV>
<DIV><SPAN class=3D381225306-04062004><FONT face=3DArial =
size=3D2>&nbsp;&nbsp;&nbsp;=20
-DUSE_MYGIS&nbsp;&nbsp;=20
-I/usr/local/include&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;=20
-I'/usr/include/mysql'&nbsp;&nbsp;&nbsp; mapmygis.c -o=20
mapmygis.o<BR>&nbsp;&nbsp;&nbsp; mapmygis.c: In function=20
`end_memcpy':<BR>&nbsp;&nbsp;&nbsp; mapmygis.c:190: warning: `shorts' =
might be=20
used uninitialized in this function<BR>&nbsp;&nbsp;&nbsp; mapmygis.c: In =

function `prep_DB':<BR>&nbsp;&nbsp;&nbsp; mapmygis.c:450: warning: =
assignment=20
makes integer from pointer without a cast<BR>&nbsp;&nbsp;&nbsp; =
mapmygis.c: In=20
function `msMYGISLayerGetShapeRandom':<BR>&nbsp;&nbsp;&nbsp; =
mapmygis.c:1334:=20
warning: int format, long int arg (arg 7)<BR>&nbsp;&nbsp;&nbsp; =
mapmygis.c: In=20
function `msMYGISLayerGetShape':<BR>&nbsp;&nbsp;&nbsp; mapmygis.c:1421: =
warning:=20
unsigned int format, long int arg (arg 2)</FONT></SPAN></DIV>
<DIV><SPAN class=3D381225306-04062004><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D381225306-04062004><FONT face=3DArial size=3D2>and =
mapmygis.o now=20
exists.</FONT></SPAN></DIV>
<DIV><SPAN class=3D381225306-04062004><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D381225306-04062004><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D381225306-04062004><FONT face=3DArial size=3D2>But =
when I check=20
MapServer version, I don't find INPUT=3DMYGIS:</FONT></SPAN></DIV>
<DIV><SPAN class=3D381225306-04062004><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D381225306-04062004><FONT face=3DArial =
size=3D2>&nbsp;&nbsp;&nbsp;=20
$&nbsp;./mapserv -v<BR>&nbsp;&nbsp;&nbsp; MapServer version 4.0.1 =
OUTPUT=3DPNG=20
OUTPUT=3DJPEG OUTPUT=3DWBMP OUTPUT=3DPDF SUPPORTS=3DFREETYPE =
INPUT=3DTIFF INPUT=3DEPPL7=20
INPUT=3DJPEG INPUT=3DSHAPEFILE</FONT></SPAN></DIV>
<DIV><SPAN class=3D381225306-04062004><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D381225306-04062004><FONT face=3DArial=20
size=3D2>Why?</FONT></SPAN></DIV>
<DIV><SPAN class=3D381225306-04062004><FONT face=3DArial size=3D2>Should =
I upgrade to=20
MapServer 4.2.0?</FONT></SPAN></DIV>
<DIV><SPAN class=3D381225306-04062004><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D381225306-04062004><FONT face=3DArial size=3D2>Thank=20
you,</FONT></SPAN></DIV>
<DIV><SPAN class=3D381225306-04062004>&nbsp;&nbsp;&nbsp; <FONT =
face=3DArial=20
size=3D2>Daniele</FONT></SPAN></DIV>
<DIV><SPAN class=3D381225306-04062004><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_000C_01C44A12.86D836C0--




More information about the mapserver-users mailing list