[Mapserver-users] MyGIS support
Daniele Margotti
margottid at comune.lugo.ra.it
Fri Jun 4 00:01:30 PDT 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> </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> </DIV>
<DIV><SPAN class=3D381225306-04062004><FONT face=3DArial =
size=3D2> =20
checking if MyGIS support requested... yes<BR> =
checking for=20
mysql_config... /usr/bin/mysql_config<BR> yes, user =
supplied=20
my_config</FONT></SPAN></DIV>
<DIV><SPAN class=3D381225306-04062004><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D381225306-04062004><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D381225306-04062004><FONT face=3DArial =
size=3D2>Then, 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> </DIV>
<DIV><SPAN class=3D381225306-04062004><FONT face=3DArial =
size=3D2> =20
gcc -c -O2 -Wall -DIGNORE_MISSING_DATA =20
-DUSE_EPPL -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> =20
-DUSE_MYGIS =20
-I/usr/local/include  =
; =20
-I'/usr/include/mysql' mapmygis.c -o=20
mapmygis.o<BR> mapmygis.c: In function=20
`end_memcpy':<BR> mapmygis.c:190: warning: `shorts' =
might be=20
used uninitialized in this function<BR> mapmygis.c: In =
function `prep_DB':<BR> mapmygis.c:450: warning: =
assignment=20
makes integer from pointer without a cast<BR> =
mapmygis.c: In=20
function `msMYGISLayerGetShapeRandom':<BR> =
mapmygis.c:1334:=20
warning: int format, long int arg (arg 7)<BR> =
mapmygis.c: In=20
function `msMYGISLayerGetShape':<BR> 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> </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> </DIV>
<DIV><SPAN class=3D381225306-04062004><FONT face=3DArial=20
size=3D2></FONT></SPAN> </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> </DIV>
<DIV><SPAN class=3D381225306-04062004><FONT face=3DArial =
size=3D2> =20
$ ./mapserv -v<BR> 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> </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> </DIV>
<DIV><SPAN class=3D381225306-04062004><FONT face=3DArial size=3D2>Thank=20
you,</FONT></SPAN></DIV>
<DIV><SPAN class=3D381225306-04062004> <FONT =
face=3DArial=20
size=3D2>Daniele</FONT></SPAN></DIV>
<DIV><SPAN class=3D381225306-04062004><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV></BODY></HTML>
------=_NextPart_000_000C_01C44A12.86D836C0--
More information about the MapServer-users
mailing list