From gbuckmaster@cox.net Sun Jun 1 02:19:07 2003 From: gbuckmaster@cox.net (Gerald Buckmaster) Date: Sat, 31 May 2003 18:19:07 -0700 Subject: [Mapserver-users] styleObj? member of classObj? In-Reply-To: <3ED92399.AD9F062F@dmsolutions.ca> References: <200305311354.49411.gbuckmaster@cox.net> <3ED92399.AD9F062F@dmsolutions.ca> Message-ID: <200305311819.07240.gbuckmaster@cox.net> Ok, that makes a bit more sense, but I guess it begs more questions from me. How do you know which styleObj is index 0? Would that be the first styleObj created within a classObj, ie the first style within the class within a layer within the .map file? And if that is so, if I create another styleObj with a different variable, does it start over at 0? Gerald On Saturday 31 May 2003 02:50 pm, Daniel Morissette wrote: > Gerald, > > You have to call $class->GetStyle( style_index ) to access a given > style. And you use ms_newStlyeObj($class) to create a new style inside > a class. > > > Since there can be more than one style in a class, we cannot present a > single class member called style like we do for style->label for > instance. We would have to present an array of styles, not just a > single style... I guess we could have tried to do it this way, but there > may have been some issues with the PHP wrappers and anyway the > getStyle() approach was more consistent with the way layers are accessed > inside the map, and the way classes are accessed inside layers. > > > Daniel > > Gerald Buckmaster wrote: > > Greetings, > > > > Trying to understand the 3.7/4.0 documentation in regards to styleObjs. > > Reading the info on styleObj class leads me to believe instances of > > styleObj are always embedded inside the classObj, yet when I look at the > > members of the classObj, I don't see it named: > > > > Members: > > > > string name > > string title > > int type > > int status (MS_ON, MS_OFF or MS_DELETE) > > int minscale > > int maxscale > > string template > > labelObj label > > int numstyles > > > > All I see is a member called numstyles and a method called getStyle(). > > > > So how do I "attach" a styleObj to a classObj? Doesn't seem to be > > consistent, ie the labelObj is named label. > > > > $cityLabel = $cityCls->label; # I understand > > $cityStyle = $cityCls->???; # no clue > > > > Thanks, > > Gerald From gbuckmaster@cox.net Sun Jun 1 02:29:03 2003 From: gbuckmaster@cox.net (Gerald Buckmaster) Date: Sat, 31 May 2003 18:29:03 -0700 Subject: [Mapserver-users] Mapfile format in XML In-Reply-To: <010701c327b9$0753c7b0$3ade26c0@o57> References: <200305311354.49411.gbuckmaster@cox.net> <010701c327b9$0753c7b0$3ade26c0@o57> Message-ID: <200305311829.03041.gbuckmaster@cox.net> Hi, I think this link might be what you are looking for: http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?MapContextHowto HTH Gerald On Saturday 31 May 2003 02:07 pm, Morten Nielsen wrote: > Is there any plans on upgrading/supplementing the MAP format to XML ? > It would make a lot of things easier, when processing the Map file in other > scripts (not to mention the validating that a DTD could offer). > > XML is the future :-) > > /Morten Nielsen > http://www.iter.dk > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From elshayal@smartwebonline.com Sun Jun 1 04:13:23 2003 From: elshayal@smartwebonline.com (Mohamed Elshayal Smart) Date: Sun, 1 Jun 2003 06:13:23 +0300 Subject: [Mapserver-users] (no subject) Message-ID: <00ae01c327eb$c565b240$017efea9@mamafatma> This is a multi-part message in MIME format. ------=_NextPart_000_00AB_01C32804.E8373BE0 Content-Type: text/plain; charset="windows-1256" Content-Transfer-Encoding: quoted-printable Dear Sirs, I am working with GIS and DB and VB=20 I found your mapserv is very usefull. I installed it in my computer in work and it worked very good. (perfect) I copied the same files to my comupter in my home and put them in same = directories. I did every thing the same But, I receive a warrning message (open, save, cancel,help) for running = mapserv.exe=20 and after that I hve got a message to select a program to open = mapserv.exe with Please kindly help me if possible for setting my IIS Awaiting for your reply Mohamed Elshayal ------=_NextPart_000_00AB_01C32804.E8373BE0 Content-Type: text/html; charset="windows-1256" Content-Transfer-Encoding: quoted-printable
Dear Sirs,
I am working with GIS and DB and = VB=20
I found your mapserv is very = usefull.
I installed it in my computer in work = and it worked=20 very good. (perfect)
 
I copied the same files to my comupter = in my home=20 and put them in same directories. I did every thing the = same
But, I receive a warrning message = (open, save,=20 cancel,help) for running mapserv.exe
and after that I hve got a message to = select a=20 program to open mapserv.exe with
 
Please kindly help me if possible for = setting my=20 IIS
Awaiting for your reply
Mohamed Elshayal
 
 
------=_NextPart_000_00AB_01C32804.E8373BE0-- From spencer@dmsolutions.ca Sun Jun 1 05:20:23 2003 From: spencer@dmsolutions.ca (Paul Spencer) Date: Sun, 01 Jun 2003 00:20:23 -0400 Subject: [Mapserver-users] Mapfile format in XML In-Reply-To: <010701c327b9$0753c7b0$3ade26c0@o57> References: <200305311354.49411.gbuckmaster@cox.net> <010701c327b9$0753c7b0$3ade26c0@o57> Message-ID: <3ED97F07.7060905@magma.ca> No, although this has been discussed extensively. If you search the list archives I believe that for the near term the decision was that XML would likely add too much overhead (especially if it validates) to the parsing process (and probably adds an additional library dependency on something like xerces) and no real benefits. The MapServer developers place a high emphasis on keeping the core of MapServer lean and mean so it can perform very well in high-load situations, so I believe that it is unlikely that a compelling argument for XML could be made that would influence the core developers. If you really believe strongly in it, though, you can do it yourself and then try to sell the idea (ah, the beauty of open source ;)). The capability that Gerald refers to is an XML format for a "map-file-like" document that describes WMS layers only, and does not directly include the ability to style layers, add labels, and all the other cool things that MapServer can do via the MAP file. MapServer support for Contexts requires the GDAL library and parses the XML using the GDAL minixml driver, which is a non-validating parser. This format is probably of very little actual benefit to most MapServer users except those that use WMS. The Context document itself is meant primarily as an interchange format that allows users to share views. Cheers, Paul Gerald Buckmaster wrote: > Hi, > > I think this link might be what you are looking for: > > http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?MapContextHowto > > HTH > > Gerald > Morten Nielsen wrote: > Is there any plans on upgrading/supplementing the MAP format to XML ? > It would make a lot of things easier, when processing the Map file in other > scripts (not to mention the validating that a DTD could offer). > > XML is the future :-) > > /Morten Nielsen > http://www.iter.dk > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > -- Paul Spencer Applications and Software Development DM Solutions Group Inc. http://www.dmsolutions.ca From thfischer@mapmedia.de Sun Jun 1 11:55:03 2003 From: thfischer@mapmedia.de (Thorsten Fischer) Date: 01 Jun 2003 12:55:03 +0200 Subject: [Mapserver-users] Mapfile format in XML In-Reply-To: <010701c327b9$0753c7b0$3ade26c0@o57> References: <200305311354.49411.gbuckmaster@cox.net> <010701c327b9$0753c7b0$3ade26c0@o57> Message-ID: <1054464903.645.5.camel@jeanjacques> On Sat, 2003-05-31 at 23:07, Morten Nielsen wrote: > Is there any plans on upgrading/supplementing the MAP format to XML ? > It would make a lot of things easier > when processing the Map file in other > scripts (not to mention the validating that a DTD could offer). > > XML is the future :-) The future of what ... I recommend reading the following before trying to squeeze xml into any and every place just because you can. http://c2.com/cgi/wiki?XmlSucks http://xmlsucks.org/but_you_have_to_use_it_anyway/does-xml-suck.html Also this has been brought up a couple of times; search the mailing list archive for xml and mapfile to see the debate. hth, thorsten From gayathri@ou.edu Sun Jun 1 17:45:01 2003 From: gayathri@ou.edu (Swaminathan, Gayathri) Date: Sun, 1 Jun 2003 11:45:01 -0500 Subject: [Mapserver-users] (no subject) Message-ID: This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C3285D.251616A0 Content-Type: text/plain; charset="windows-1256" Does your cgi-bin directory (where mapserv.exe is) in IIS have execute permissions? Thanks, Gayathri -----Original Message----- From: Mohamed Elshayal Smart [mailto:elshayal@smartwebonline.com] Sent: Saturday, May 31, 2003 8:13 PM To: mapserver-users@lists.gis.umn.edu Subject: [Mapserver-users] (no subject) Dear Sirs, I am working with GIS and DB and VB I found your mapserv is very usefull. I installed it in my computer in work and it worked very good. (perfect) I copied the same files to my comupter in my home and put them in same directories. I did every thing the same But, I receive a warrning message (open, save, cancel,help) for running mapserv.exe and after that I hve got a message to select a program to open mapserv.exe with Please kindly help me if possible for setting my IIS Awaiting for your reply Mohamed Elshayal ------_=_NextPart_001_01C3285D.251616A0 Content-Type: text/html; charset="windows-1256"
Does your cgi-bin directory (where mapserv.exe is) in IIS have execute permissions?
Thanks,
Gayathri
-----Original Message-----
From: Mohamed Elshayal Smart [mailto:elshayal@smartwebonline.com]
Sent: Saturday, May 31, 2003 8:13 PM
To: mapserver-users@lists.gis.umn.edu
Subject: [Mapserver-users] (no subject)

Dear Sirs,
I am working with GIS and DB and VB
I found your mapserv is very usefull.
I installed it in my computer in work and it worked very good. (perfect)
 
I copied the same files to my comupter in my home and put them in same directories. I did every thing the same
But, I receive a warrning message (open, save, cancel,help) for running mapserv.exe
and after that I hve got a message to select a program to open mapserv.exe with
 
Please kindly help me if possible for setting my IIS
Awaiting for your reply
Mohamed Elshayal
 
 
------_=_NextPart_001_01C3285D.251616A0-- From pbaker@where2getit.com Sun Jun 1 20:12:55 2003 From: pbaker@where2getit.com (Paul Baker) Date: Sun, 1 Jun 2003 14:12:55 -0500 Subject: [Mapserver-users] [ANNOUNCE] Mapserver 3.6.5 Debian Package Message-ID: <0C7589F8-9465-11D7-8384-0003937562B8@where2getit.com> --Apple-Mail-3-1025657770 Content-Type: multipart/mixed; boundary=Apple-Mail-2-1025647590 --Apple-Mail-2-1025647590 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed Just in time for the MapServer Users Meeting beginning Friday I have packaged MapServer 3.6.5 for Debian GNU/Linux. As this package has not been fully tested I do not yet recommend it's usage in a production environment and I await feedback. This package is built against Debian Sid (unstable) and will not work on Woody, the current stable Debian 3.0 distribution. To download and install simply add the following lines to your /etc/apt/sources.list file: deb http://paulbaker.net/debian unstable main deb-src http://paulbaker.net/debian unstable main Of course you may download the .deb files directly by pointing your web browser at http://paulbaker.net/debian/dists/unstable/binary-i386/science/ -- Paul Baker "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -- Benjamin Franklin, 1759 GPG Key: http://homepage.mac.com/pauljbaker/public.asc --Apple-Mail-2-1025647590 Content-Disposition: attachment; filename=mapserver_3.6.5-1_i386.txt Content-Transfer-Encoding: 7bit Content-Type: text/plain; x-unix-mode=0644; name="mapserver_3.6.5-1_i386.txt" -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.7 Date: Sun, 1 Jun 2003 00:57:55 -0500 Source: mapserver Binary: mapserver-cgi mapserver-utils libmapscript-perl Architecture: source i386 Version: 3.6.5-1 Distribution: unstable Urgency: low Maintainer: Paul Baker (w2gi) Changed-By: Paul Baker (w2gi) Description: libmapscript-perl - UMN's MapServer - MapScript/Perl Support mapserver-cgi - UMN's MapServer - Web Mapping CGI Application mapserver-utils - UMN's MapServer - Utilities Changes: mapserver (3.6.5-1) unstable; urgency=low . * New upstream release. * fix to compile under gcc 3.3. * Standards-Version 3.5.10 (no changes required). Files: 3f472ca1b835af042e848d8509019c37 683 science extra mapserver_3.6.5-1.dsc 3bb4d6d021cce643a3f611aab6b0c439 615739 science extra mapserver_3.6.5.orig.tar.gz 17bc8a839c76e60ab7061581bfda3e22 64495 science extra mapserver_3.6.5-1.diff.gz 1d2bd756b3856d472ff3b7eae5a17c36 168512 science extra mapserver-cgi_3.6.5-1_i386.deb 83ebb5f192ae1e3d2711a0ab1479c680 317080 perl extra libmapscript-perl_3.6.5-1_i386.deb 29026e823a5a877841e97275d51e9e1d 918580 science extra mapserver-utils_3.6.5-1_i386.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE+2jiGoxmRVfL3nlsRAqM+AKCKEOfGcKUN9WXN9dAI5kWeWv7WpACfd3sq L7b3ozuj/xOWvHbPm7lx948= =11Sd -----END PGP SIGNATURE----- --Apple-Mail-2-1025647590-- --Apple-Mail-3-1025657770 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-disposition: inline content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (Darwin) iD8DBQE+2lBCoxmRVfL3nlsRArypAKCTEOdzacgJ70n8R5pdDDryk7So4QCfXo3B 7mA2sXKdkyIv8GbfJshw/2c= =+Grp -----END PGP SIGNATURE----- --Apple-Mail-3-1025657770-- From pbaker@where2getit.com Sun Jun 1 20:40:39 2003 From: pbaker@where2getit.com (Paul Baker) Date: Sun, 1 Jun 2003 14:40:39 -0500 Subject: [Mapserver-users] [ANNOUNCE] Mapserver 3.6.5 Debian Package In-Reply-To: <0C7589F8-9465-11D7-8384-0003937562B8@where2getit.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sunday, June 1, 2003, at 02:12 PM, Paul Baker wrote: > Just in time for the MapServer Users Meeting beginning Friday I have > packaged MapServer 3.6.5 for Debian GNU/Linux. [snip] My bad. The url to directly download the .deb files is actually http://paulbaker.net/debian/dists/unstable/main/binary-i386/science/ Sorry for any inconvenience. - -- Paul Baker "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -- Benjamin Franklin, 1759 GPG Key: http://homepage.mac.com/pauljbaker/public.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (Darwin) iD8DBQE+2lbCoxmRVfL3nlsRAo8gAJ97dLWW1wmxdo8/DjVRkWCIRNt3hQCdEEyb w/e3Ochm+BqT9x9eDarVByo= =CH32 -----END PGP SIGNATURE----- From LVN@hvm.dk Sun Jun 1 21:11:04 2003 From: LVN@hvm.dk (Lars V. Nielsen) Date: Sun, 1 Jun 2003 22:11:04 +0200 Subject: [Mapserver-users] Mapfile format in XML In-Reply-To: <3ED97F07.7060905@magma.ca> References: <200305311354.49411.gbuckmaster@cox.net> <010701c327b9$0753c7b0$3ade26c0@o57> <3ED97F07.7060905@magma.ca> Message-ID: <1054498264.3eda5dd8df81f@php.mira.dk> Hear, hear. XML may be the future, but it isn't the answer to every task. And validating a line oriented format like the MAP file shouldn't be too difficult. Maybe someone has made a validator for it already ? Best regards / Med venlig hilsen Lars V. Nielsen ------------------------------- Hvenegaard & Meklenborg, Odense http://www.hvm.dk Citering Paul Spencer : > No, although this has been discussed extensively. If you search the > list archives I believe that for the near term the decision was that XML > would likely add too much overhead (especially if it validates) to the > parsing process (and probably adds an additional library dependency on > something like xerces) and no real benefits. The MapServer developers > place a high emphasis on keeping the core of MapServer lean and mean so > it can perform very well in high-load situations, so I believe that it > is unlikely that a compelling argument for XML could be made that would > influence the core developers. > > If you really believe strongly in it, though, you can do it yourself and > then try to sell the idea (ah, the beauty of open source ;)). > > The capability that Gerald refers to is an XML format for a > "map-file-like" document that describes WMS layers only, and does not > directly include the ability to style layers, add labels, and all the > other cool things that MapServer can do via the MAP file. MapServer > support for Contexts requires the GDAL library and parses the XML using > the GDAL minixml driver, which is a non-validating parser. This format > is probably of very little actual benefit to most MapServer users except > those that use WMS. The Context document itself is meant primarily as > an interchange format that allows users to share views. > > Cheers, > > Paul > > Gerald Buckmaster wrote: > > > Hi, > > > > I think this link might be what you are looking for: > > > > http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?MapContextHowto > > > > HTH > > > > Gerald > > > > Morten Nielsen wrote: > > > Is there any plans on upgrading/supplementing the MAP format to XML ? > > It would make a lot of things easier, when processing the Map file in > other > > scripts (not to mention the validating that a DTD could offer). > > > > XML is the future :-) > > > > /Morten Nielsen > > http://www.iter.dk > > > > _______________________________________________ > > Mapserver-users mailing list > > Mapserver-users@lists.gis.umn.edu > > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > > > -- > Paul Spencer > Applications and Software Development > DM Solutions Group Inc. > http://www.dmsolutions.ca > > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > From kenlord@email.com Sun Jun 1 22:36:39 2003 From: kenlord@email.com (Ken Lord) Date: Mon, 02 Jun 2003 05:36:39 +0800 Subject: [Mapserver-users] Custom Projections Message-ID: <20030601213639.20619.qmail@email.com> Hello list! I am wondering if it is possible to use projection objects in a map file to reproject a local custom grid into UTM Coordinates for display with other layers in MapServer. For example ... My data is on a local Mine Grid. -'north' on the mine grid is at an azimuth of 043 degrees. -the units of the mine grid are feet. -I can determine a false easting, and false northing at the origin or any point on the mine grid (the UTM Zone 10N coordinates of '0,0' on the mine grid). If I could project my data this way it would save a huge effort in converting the data. Any help is very much appreciated, Thanks, Ken Lord -- _______________________________________________ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup From bwragg@tpg.com.au Sun Jun 1 23:47:58 2003 From: bwragg@tpg.com.au (Benjamin Wragg) Date: Mon, 2 Jun 2003 08:17:58 +0930 Subject: [Mapserver-users] PostGIS Spatial Query - Completely Within In-Reply-To: <3ED7835F.1080409@refractions.net> Message-ID: <003201c3288f$da451260$1f00a8c0@mapping12> Heiko Kehlenbrink suggested the truly_inside(geometryA,geometryB) function. Why won't this work for me? Cheers, Benjamin -----Original Message----- From: David Blasby [mailto:dblasby@refractions.net] Sent: Saturday, 31 May 2003 1:44 AM To: bwragg@tpg.com.au; mapserver-users@lists.gis.umn.edu Subject: Re: [Mapserver-users] PostGIS Spatial Query - Completely Within Benjamin Wragg wrote: > What I need to do now is alter this query slightly and only find > polygons that are completely within the country selected. You can do this, but you have to have the GEOS (JTS for C++) extension. cf. geos.refractions.net and postgis.refractions.net See recent messages in the mailing list archive. The first [experimental] version of GEOS for PostGIS has been released, but not for general consumption. Your query would be something like: SELECT * FROM WHERE contains(g1,g2) See http://www.opengis.org/techno/specs/99-049.pdf for the OGC definition of 'contains' and other spatial operators. dave From Antti.Roppola@brs.gov.au Mon Jun 2 06:16:12 2003 From: Antti.Roppola@brs.gov.au (Antti.Roppola@brs.gov.au) Date: Mon, 2 Jun 2003 15:16:12 +1000 Subject: [Mapserver-users] Mapfile format in XML Message-ID: <3E4215C93D3CE24D84A9FF385DF88D87FC43BD@afeb-ms-02> Hi all, I have added an entry to the FAQ on the Wiki, but was not able to find the post I was looking for that explained the pros and cons nicely. http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?FAQ If anyone wants to improve on my rather vague entry, feel free to do so. Cheers, Antti -----Original Message----- From: Lars V. Nielsen [mailto:LVN@hvm.dk] Sent: Monday, 2 June 2003 6:11 AM To: spencer@dmsolutions.ca; Paul Spencer Cc: Morten Nielsen; mapserver-users@lists.gis.umn.edu Subject: Re: [Mapserver-users] Mapfile format in XML Hear, hear. XML may be the future, but it isn't the answer to every task. And validating a line oriented format like the MAP file shouldn't be too difficult. Maybe someone has made a validator for it already ? Best regards / Med venlig hilsen Lars V. Nielsen ------------------------------- Hvenegaard & Meklenborg, Odense http://www.hvm.dk Citering Paul Spencer : > No, although this has been discussed extensively. If you search the > list archives I believe that for the near term the decision was that XML > would likely add too much overhead (especially if it validates) to the > parsing process (and probably adds an additional library dependency on > something like xerces) and no real benefits. The MapServer developers > place a high emphasis on keeping the core of MapServer lean and mean so > it can perform very well in high-load situations, so I believe that it > is unlikely that a compelling argument for XML could be made that would > influence the core developers. > > If you really believe strongly in it, though, you can do it yourself and > then try to sell the idea (ah, the beauty of open source ;)). > > The capability that Gerald refers to is an XML format for a > "map-file-like" document that describes WMS layers only, and does not > directly include the ability to style layers, add labels, and all the > other cool things that MapServer can do via the MAP file. MapServer > support for Contexts requires the GDAL library and parses the XML using > the GDAL minixml driver, which is a non-validating parser. This format > is probably of very little actual benefit to most MapServer users except > those that use WMS. The Context document itself is meant primarily as > an interchange format that allows users to share views. > > Cheers, > > Paul > > Gerald Buckmaster wrote: > > > Hi, > > > > I think this link might be what you are looking for: > > > > http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?MapContextHowto > > > > HTH > > > > Gerald > > > > Morten Nielsen wrote: > > > Is there any plans on upgrading/supplementing the MAP format to XML ? > > It would make a lot of things easier, when processing the Map file in > other > > scripts (not to mention the validating that a DTD could offer). > > > > XML is the future :-) > > > > /Morten Nielsen > > http://www.iter.dk > > > > _______________________________________________ > > Mapserver-users mailing list > > Mapserver-users@lists.gis.umn.edu > > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > > > -- > Paul Spencer > Applications and Software Development > DM Solutions Group Inc. > http://www.dmsolutions.ca > > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > _______________________________________________ Mapserver-users mailing list Mapserver-users@lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From jwitte@gmx.at Mon Jun 2 09:39:17 2003 From: jwitte@gmx.at (=?utf-8?Q?J=C3=B6rn_Witte?=) Date: Mon, 2 Jun 2003 10:39:17 +0200 Subject: [Mapserver-users] problem with WMS Client support Message-ID: <000001c328e2$81a8a920$3efefea9@poldi> This is a multi-part message in MIME format. ------=_NextPart_000_0001_01C328F3.4532FFC0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi, I=E2=80=99am trying to compile the UMN Mapserver with the WMS Client = support and always get the following error-message: =20 =20 WIN32 /c mapwms.c /Fomapwms.obj mapwms.c mapwms.c(44) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(44) : warning C4024: 'strcasecmp' : Unterschiedliche Typen fuer = formalen und uebergebenen Parameter 1 mapwms.c(46) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(46) : warning C4024: 'strcasecmp' : Unterschiedliche Typen fuer = formalen und uebergebenen Parameter 1 mapwms.c(170) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(170) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(589) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(589) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(745) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(745) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(828) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(828) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(832) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(832) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(836) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(836) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(859) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(859) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(879) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(879) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(906) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(906) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(918) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(918) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(983) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(983) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(1053) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(1053) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(1387) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(1387) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(1388) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(1388) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(1400) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(1400) : warning C4024: 'strncasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(1401) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(1401) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(1403) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(1403) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(1424) : warning C4013: 'getpid' undefiniert; Annahme: extern = mit Rueckgabetyp int cl /nologo /Zi /W3 /DDEBUG /DWIN32 -I../gd-1.8.4 = -I../tiff-v3.5.5/libtiff -I../proj-4.4.3/src -I..\php-4.0.4\regex = -DPHP_NO_ALIASES -I..\gdal-1.1.8/ogr/ogrsf_frmts -I..\gdal-1.1.8/ogr = -I..\gdal-1.1.8/ogr/../port -I..\gdal-1.1.8/core = -I../libwww/library/src -I../libwww/modules/expat/xmlp arse -I ../arcsde/include -DNEED_STRCASECMP -DNEED_STRNCASECMP = -DUSE_PROJ -DUSE_PROJ_API_H -DUSE_TIFF -DUSE_GD_GIF -DUSE_GD_PNG = -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_TTF -DUSE_GD_TTF = -DGD_HAS_GDIMAGEGIFPTR -DUSE_OGR -DUSE_WMS -DUSE_WMS_LYR = -DIGNORE_MISSING_DATA -DFEATURE_INFO_HTML -DUSE_SDE -D WIN32 /c mapwmslayer.c /Fomapwmslayer.obj mapwmslayer.c ../libwww/library/src\HTProt.h(58) : error C2061: Syntaxfehler : = Bezeichner 'HTProtocolId' ../libwww/library/src\HTProt.h(58) : error C2059: Syntaxfehler : ';' ../libwww/library/src\HTProt.h(85) : error C2146: Syntaxfehler : = Fehlendes ')' vor Bezeichner 'port' ../libwww/library/src\HTProt.h(85) : error C2081: 'HTProtocolId' : Name = in der formalen Parameterliste ist ungueltig ../libwww/library/src\HTProt.h(85) : error C2061: Syntaxfehler : = Bezeichner 'port' ../libwww/library/src\HTProt.h(85) : error C2059: Syntaxfehler : ';' ../libwww/library/src\HTProt.h(85) : error C2059: Syntaxfehler : ',' ../libwww/library/src\HTProt.h(88) : error C2059: Syntaxfehler : ')' ../libwww/library/src\HTProt.h(132) : error C2061: Syntaxfehler : = Bezeichner 'HTProtocol_id' ../libwww/library/src\HTProt.h(132) : error C2059: Syntaxfehler : ';' ../libwww/library/src\HTProt.h(132) : error C2059: Syntaxfehler : 'type' ../libwww/library/src\HTHost.h(65) : error C2146: Syntaxfehler : = Fehlendes ')' vor Bezeichner 'u_port' ../libwww/library/src\HTHost.h(65) : error C2081: 'u_short' : Name in = der formalen Parameterliste ist ungueltig ../libwww/library/src\HTHost.h(65) : error C2061: Syntaxfehler : = Bezeichner 'u_port' ../libwww/library/src\HTHost.h(65) : error C2059: Syntaxfehler : ';' ../libwww/library/src\HTHost.h(65) : error C2059: Syntaxfehler : ')' ../libwww/library/src\HTHost.h(66) : error C2146: Syntaxfehler : = Fehlendes ')' vor Bezeichner 'u_port' ../libwww/library/src\HTHost.h(66) : error C2081: 'u_short' : Name in = der formalen Parameterliste ist ungueltig ../libwww/library/src\HTHost.h(66) : error C2061: Syntaxfehler : = Bezeichner 'u_port' ../libwww/library/src\HTHost.h(66) : error C2059: Syntaxfehler : ';' ../libwww/library/src\HTHost.h(66) : error C2059: Syntaxfehler : ')' ../libwww/library/src\HTHstMan.h(60) : error C2061: Syntaxfehler : = Bezeichner 'u_short' ../libwww/library/src\HTHstMan.h(94) : error C2079: 'sock_addr' = verwendet undefiniertes struct 'sockaddr_in' ../libwww/library/src\HTHstMan.h(110) : error C2059: Syntaxfehler : '}' mapwmslayer.c(292) : warning C4013: 'index' undefiniert; Annahme: extern = mit Rueckgabetyp int mapwmslayer.c(292) : warning C4047: '=3D' : Anzahl der = Dereferenzierungen bei 'const char *' und 'int ' unterschiedlich mapwmslayer.c(340) : warning C4013: 'isspace' undefiniert; Annahme: = extern mit Rueckgabetyp int mapwmslayer.c(368) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwmslayer.c(368) : warning C4024: 'strcasecmp' : Unterschiedliche = Typen fuer formalen und uebergebenen Parameter 2 NMAKE : fatal error U1077: 'cl' : Rueckgabe-Code '0x2' Stop. =20 =20 =20 Does anyone have an idea of what is going wrong? =20 Thanks, Witte ------=_NextPart_000_0001_01C328F3.4532FFC0 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable

Hi,

I=E2=80=99am trying to = compile the UMN Mapserver with the WMS Client support and always get the following error-message:

 

 

WIN32 /c mapwms.c /Fomapwms.obj

mapwms.c

mapwms.c(44) : warning C4090: = 'function' : Unterschiedliche 'const'-Bezeichner

mapwms.c(44) : warning C4024: = 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(46) : warning C4090: = 'function' : Unterschiedliche 'const'-Bezeichner

mapwms.c(46) : warning C4024: = 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(170) : warning C4090: = 'function' : Unterschiedliche 'const'-Bezeichner

mapwms.c(170) : warning C4024: = 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(589) : warning C4090: = 'function' : Unterschiedliche 'const'-Bezeichner

mapwms.c(589) : warning C4024: = 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(745) : warning C4090: = 'function' : Unterschiedliche 'const'-Bezeichner

mapwms.c(745) : warning C4024: = 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(828) : warning C4090: = 'function' : Unterschiedliche 'const'-Bezeichner

mapwms.c(828) : warning C4024: = 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(832) : warning C4090: = 'function' : Unterschiedliche 'const'-Bezeichner

mapwms.c(832) : warning C4024: = 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(836) : warning C4090: = 'function' : Unterschiedliche 'const'-Bezeichner

mapwms.c(836) : warning C4024: = 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(859) : warning C4090: = 'function' : Unterschiedliche 'const'-Bezeichner

mapwms.c(859) : warning C4024: = 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(879) : warning C4090: = 'function' : Unterschiedliche 'const'-Bezeichner

mapwms.c(879) : warning C4024: = 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(906) : warning C4090: = 'function' : Unterschiedliche 'const'-Bezeichner

mapwms.c(906) : warning C4024: = 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(918) : warning C4090: = 'function' : Unterschiedliche 'const'-Bezeichner

mapwms.c(918) : warning C4024: = 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(983) : warning C4090: = 'function' : Unterschiedliche 'const'-Bezeichner

mapwms.c(983) : warning C4024: = 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(1053) : warning C4090: = 'function' : Unterschiedliche 'const'-Bezeichner

mapwms.c(1053) : warning C4024: = 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(1387) : warning C4090: = 'function' : Unterschiedliche 'const'-Bezeichner

mapwms.c(1387) : warning C4024: = 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(1388) : warning C4090: = 'function' : Unterschiedliche 'const'-Bezeichner

mapwms.c(1388) : warning C4024: = 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(1400) : warning C4090: = 'function' : Unterschiedliche 'const'-Bezeichner

mapwms.c(1400) : warning C4024: = 'strncasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(1401) : warning C4090: = 'function' : Unterschiedliche 'const'-Bezeichner

mapwms.c(1401) : warning C4024: = 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(1403) : warning C4090: = 'function' : Unterschiedliche 'const'-Bezeichner

mapwms.c(1403) : warning C4024: = 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(1424) : warning C4013: = 'getpid' undefiniert; Annahme: extern mit Rueckgabetyp int

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = cl /nologo /Zi /W3 /DDEBUG /DWIN32 = -I../gd-1.8.4 -I../tiff-v3.5.5/libtiff=C2=A0=C2=A0 -I../proj-4.4.3/src=C2=A0=C2=A0 -I..\php-4.0.4\regex -DPHP_NO_ALIASES -I..\gdal-1.1.8/ogr/ogrsf_frmts -I..\gdal-1.1.8/ogr = -I..\gdal-1.1.8/ogr/../port -I..\gdal-1.1.8/core=C2=A0 = -I../libwww/library/src -I../libwww/modules/expat/xmlp

arse -I ../arcsde/include=C2=A0 -DNEED_STRCASECMP -DNEED_STRNCASECMP=C2=A0=C2=A0 -DUSE_PROJ -DUSE_PROJ_API_H -DUSE_TIFF=C2=A0 = -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_TTF=C2=A0 -DUSE_GD_TTF -DGD_HAS_GDIMAGEGIFPTR -DUSE_OGR -DUSE_WMS -DUSE_WMS_LYR=C2=A0 -DIGNORE_MISSING_DATA=C2=A0 -DFEATURE_INFO_HTML -DUSE_SDE -D

WIN32 /c mapwmslayer.c /Fomapwmslayer.obj

mapwmslayer.c<= /span>

../libwww/library/src\HTProt.h(58) : error C2061: Syntaxfehler : Bezeichner 'HTProtocolId'

../libwww/library/src\HTProt.h(58) : error C2059: Syntaxfehler : ';'

../libwww/library/src\HTProt.h(85) : error C2146: Syntaxfehler : Fehlendes ')' vor Bezeichner = 'port'

../libwww/library/src\HTProt.h(85) : = error C2081: 'HTProtocolId' : Name in der formalen Parameterliste ist ungueltig

../libwww/library/src\HTProt.h(85) : error C2061: Syntaxfehler : Bezeichner 'port'

../libwww/library/src\HTProt.h(85) : error C2059: Syntaxfehler : ';'

../libwww/library/src\HTProt.h(85) : error C2059: Syntaxfehler : ','

../libwww/library/src\HTProt.h(88) : error C2059: Syntaxfehler : ')'

../libwww/library/src\HTProt.h(132) : error C2061: Syntaxfehler : Bezeichner 'HTProtocol_id'

../libwww/library/src\HTProt.h(132) : error C2059: Syntaxfehler : ';'

../libwww/library/src\HTProt.h(132) : = error C2059: Syntaxfehler : 'type'

../libwww/library/src\HTHost.h(65) : error C2146: Syntaxfehler : Fehlendes ')' vor Bezeichner = 'u_port'

../libwww/library/src\HTHost.h(65) : = error C2081: 'u_short' = : Name in der formalen Parameterliste ist ungueltig

../libwww/library/src\HTHost.h(65) : error C2061: Syntaxfehler : Bezeichner 'u_port'

../libwww/library/src\HTHost.h(65) : error C2059: Syntaxfehler : ';'

../libwww/library/src\HTHost.h(65) : error C2059: Syntaxfehler : ')'

../libwww/library/src\HTHost.h(66) : error C2146: Syntaxfehler : Fehlendes ')' vor Bezeichner = 'u_port'

../libwww/library/src\HTHost.h(66) : = error C2081: 'u_short' = : Name in der formalen Parameterliste ist ungueltig

../libwww/library/src\HTHost.h(66) : error C2061: Syntaxfehler : Bezeichner 'u_port'

../libwww/library/src\HTHost.h(66) : error C2059: Syntaxfehler : ';'

../libwww/library/src\HTHost.h(66) : error C2059: Syntaxfehler : ')'

../libwww/library/src\HTHstMan.h(60) : error C2061: Syntaxfehler : Bezeichner 'u_short'

../libwww/library/src\HTHstMan.h(94) : = error C2079: 'sock_addr' verwendet undefiniertes struct 'sockaddr_in'

../libwww/library/src\HTHstMan.h(110) : error C2059: Syntaxfehler : '}'

mapwmslayer.c<= /span>(292) : warning C4013: 'index' undefiniert; Annahme: extern mit Rueckgabetyp int

mapwmslayer.c<= /span>(292) : warning C4047: = '=3D' : Anzahl der Dereferenzierungen bei 'const char *' und 'int = ' unterschiedlich

mapwmslayer.c<= /span>(340) : warning C4013: 'isspace' undefiniert; Annahme: extern mit Rueckgabetyp int

mapwmslayer.c<= /span>(368) : warning C4090: = 'function' : Unterschiedliche 'const'-Bezeichner

mapwmslayer.c<= /span>(368) : warning C4024: = 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 2

NMAKE : fatal error = U1077: 'cl' : Rueckgabe-Code '0x2'

Stop.=

 

 

 

Does anyone have an = idea of what is going wrong?

 

Thanks,

Witte=

------=_NextPart_000_0001_01C328F3.4532FFC0-- From jwitte@gmx.at Mon Jun 2 09:39:48 2003 From: jwitte@gmx.at (=?utf-8?Q?J=C3=B6rn_Witte?=) Date: Mon, 2 Jun 2003 10:39:48 +0200 Subject: [Mapserver-users] problem with WMS Client support Message-ID: <000501c328e2$872c8e70$3efefea9@poldi> This is a multi-part message in MIME format. ------=_NextPart_000_0006_01C328F3.4AB55E70 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi, I=E2=80=99am trying to compile the UMN Mapserver with the WMS Client = support and always get the following error-message: =20 =20 WIN32 /c mapwms.c /Fomapwms.obj mapwms.c mapwms.c(44) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(44) : warning C4024: 'strcasecmp' : Unterschiedliche Typen fuer = formalen und uebergebenen Parameter 1 mapwms.c(46) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(46) : warning C4024: 'strcasecmp' : Unterschiedliche Typen fuer = formalen und uebergebenen Parameter 1 mapwms.c(170) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(170) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(589) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(589) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(745) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(745) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(828) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(828) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(832) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(832) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(836) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(836) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(859) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(859) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(879) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(879) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(906) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(906) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(918) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(918) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(983) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(983) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(1053) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(1053) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(1387) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(1387) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(1388) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(1388) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(1400) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(1400) : warning C4024: 'strncasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(1401) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(1401) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(1403) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(1403) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(1424) : warning C4013: 'getpid' undefiniert; Annahme: extern = mit Rueckgabetyp int cl /nologo /Zi /W3 /DDEBUG /DWIN32 -I../gd-1.8.4 = -I../tiff-v3.5.5/libtiff -I../proj-4.4.3/src -I..\php-4.0.4\regex = -DPHP_NO_ALIASES -I..\gdal-1.1.8/ogr/ogrsf_frmts -I..\gdal-1.1.8/ogr = -I..\gdal-1.1.8/ogr/../port -I..\gdal-1.1.8/core = -I../libwww/library/src -I../libwww/modules/expat/xmlp arse -I ../arcsde/include -DNEED_STRCASECMP -DNEED_STRNCASECMP = -DUSE_PROJ -DUSE_PROJ_API_H -DUSE_TIFF -DUSE_GD_GIF -DUSE_GD_PNG = -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_TTF -DUSE_GD_TTF = -DGD_HAS_GDIMAGEGIFPTR -DUSE_OGR -DUSE_WMS -DUSE_WMS_LYR = -DIGNORE_MISSING_DATA -DFEATURE_INFO_HTML -DUSE_SDE -D WIN32 /c mapwmslayer.c /Fomapwmslayer.obj mapwmslayer.c ../libwww/library/src\HTProt.h(58) : error C2061: Syntaxfehler : = Bezeichner 'HTProtocolId' ../libwww/library/src\HTProt.h(58) : error C2059: Syntaxfehler : ';' ../libwww/library/src\HTProt.h(85) : error C2146: Syntaxfehler : = Fehlendes ')' vor Bezeichner 'port' ../libwww/library/src\HTProt.h(85) : error C2081: 'HTProtocolId' : Name = in der formalen Parameterliste ist ungueltig ../libwww/library/src\HTProt.h(85) : error C2061: Syntaxfehler : = Bezeichner 'port' ../libwww/library/src\HTProt.h(85) : error C2059: Syntaxfehler : ';' ../libwww/library/src\HTProt.h(85) : error C2059: Syntaxfehler : ',' ../libwww/library/src\HTProt.h(88) : error C2059: Syntaxfehler : ')' ../libwww/library/src\HTProt.h(132) : error C2061: Syntaxfehler : = Bezeichner 'HTProtocol_id' ../libwww/library/src\HTProt.h(132) : error C2059: Syntaxfehler : ';' ../libwww/library/src\HTProt.h(132) : error C2059: Syntaxfehler : 'type' ../libwww/library/src\HTHost.h(65) : error C2146: Syntaxfehler : = Fehlendes ')' vor Bezeichner 'u_port' ../libwww/library/src\HTHost.h(65) : error C2081: 'u_short' : Name in = der formalen Parameterliste ist ungueltig ../libwww/library/src\HTHost.h(65) : error C2061: Syntaxfehler : = Bezeichner 'u_port' ../libwww/library/src\HTHost.h(65) : error C2059: Syntaxfehler : ';' ../libwww/library/src\HTHost.h(65) : error C2059: Syntaxfehler : ')' ../libwww/library/src\HTHost.h(66) : error C2146: Syntaxfehler : = Fehlendes ')' vor Bezeichner 'u_port' ../libwww/library/src\HTHost.h(66) : error C2081: 'u_short' : Name in = der formalen Parameterliste ist ungueltig ../libwww/library/src\HTHost.h(66) : error C2061: Syntaxfehler : = Bezeichner 'u_port' ../libwww/library/src\HTHost.h(66) : error C2059: Syntaxfehler : ';' ../libwww/library/src\HTHost.h(66) : error C2059: Syntaxfehler : ')' ../libwww/library/src\HTHstMan.h(60) : error C2061: Syntaxfehler : = Bezeichner 'u_short' ../libwww/library/src\HTHstMan.h(94) : error C2079: 'sock_addr' = verwendet undefiniertes struct 'sockaddr_in' ../libwww/library/src\HTHstMan.h(110) : error C2059: Syntaxfehler : '}' mapwmslayer.c(292) : warning C4013: 'index' undefiniert; Annahme: extern = mit Rueckgabetyp int mapwmslayer.c(292) : warning C4047: '=3D' : Anzahl der = Dereferenzierungen bei 'const char *' und 'int ' unterschiedlich mapwmslayer.c(340) : warning C4013: 'isspace' undefiniert; Annahme: = extern mit Rueckgabetyp int mapwmslayer.c(368) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwmslayer.c(368) : warning C4024: 'strcasecmp' : Unterschiedliche = Typen fuer formalen und uebergebenen Parameter 2 NMAKE : fatal error U1077: 'cl' : Rueckgabe-Code '0x2' Stop. =20 =20 =20 Does anyone have an idea of what is going wrong? =20 Thanks, Witte ------=_NextPart_000_0006_01C328F3.4AB55E70 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable

Hi,

I=E2=80=99am trying to = compile the UMN Mapserver with the WMS Client support and always get the following error-message:

 

 

WIN32 /c mapwms.c /Fomapwms.obj

mapwms.c

mapwms.c(44) : warning C4090: 'function' : = Unterschiedliche 'const'-Bezeichner

mapwms.c(44) : warning C4024: 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(46) : warning C4090: 'function' : = Unterschiedliche 'const'-Bezeichner

mapwms.c(46) : warning C4024: 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(170) : warning C4090: 'function' : = Unterschiedliche 'const'-Bezeichner

mapwms.c(170) : warning C4024: 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(589) : warning C4090: 'function' : = Unterschiedliche 'const'-Bezeichner

mapwms.c(589) : warning C4024: 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(745) : warning C4090: 'function' : = Unterschiedliche 'const'-Bezeichner

mapwms.c(745) : warning C4024: 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(828) : warning C4090: 'function' : = Unterschiedliche 'const'-Bezeichner

mapwms.c(828) : warning C4024: 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(832) : warning C4090: 'function' : = Unterschiedliche 'const'-Bezeichner

mapwms.c(832) : warning C4024: 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(836) : warning C4090: 'function' : = Unterschiedliche 'const'-Bezeichner

mapwms.c(836) : warning C4024: 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(859) : warning C4090: 'function' : = Unterschiedliche 'const'-Bezeichner

mapwms.c(859) : warning C4024: 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(879) : warning C4090: 'function' : = Unterschiedliche 'const'-Bezeichner

mapwms.c(879) : warning C4024: 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(906) : warning C4090: 'function' : = Unterschiedliche 'const'-Bezeichner

mapwms.c(906) : warning C4024: 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(918) : warning C4090: 'function' : = Unterschiedliche 'const'-Bezeichner

mapwms.c(918) : warning C4024: 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(983) : warning C4090: 'function' : = Unterschiedliche 'const'-Bezeichner

mapwms.c(983) : warning C4024: 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(1053) : warning C4090: 'function' : Unterschiedliche 'const'-Bezeichner

mapwms.c(1053) : warning C4024: 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(1387) : warning C4090: 'function' : Unterschiedliche 'const'-Bezeichner

mapwms.c(1387) : warning C4024: 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(1388) : warning C4090: 'function' : Unterschiedliche 'const'-Bezeichner

mapwms.c(1388) : warning C4024: 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(1400) : warning C4090: 'function' : Unterschiedliche 'const'-Bezeichner

mapwms.c(1400) : warning C4024: 'strncasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(1401) : warning C4090: 'function' : Unterschiedliche 'const'-Bezeichner

mapwms.c(1401) : warning C4024: 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(1403) : warning C4090: 'function' : Unterschiedliche 'const'-Bezeichner

mapwms.c(1403) : warning C4024: 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(1424) : warning C4013: 'getpid' undefiniert; Annahme: extern mit Rueckgabetyp int

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = cl /nologo /Zi /W3 /DDEBUG /DWIN32 -I../gd-1.8.4 -I../tiff-v3.5.5/libtiff=C2=A0=C2=A0 -I../proj-4.4.3/src=C2=A0=C2=A0 -I..\php-4.0.4\regex = -DPHP_NO_ALIASES -I..\gdal-1.1.8/ogr/ogrsf_frmts -I..\gdal-1.1.8/ogr = -I..\gdal-1.1.8/ogr/../port -I..\gdal-1.1.8/core=C2=A0 -I../libwww/library/src = -I../libwww/modules/expat/xmlp

arse -I ../arcsde/include=C2=A0 -DNEED_STRCASECMP -DNEED_STRNCASECMP=C2=A0=C2=A0 -DUSE_PROJ -DUSE_PROJ_API_H -DUSE_TIFF=C2=A0 -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP = -DUSE_GD_TTF=C2=A0 -DUSE_GD_TTF = -DGD_HAS_GDIMAGEGIFPTR -DUSE_OGR -DUSE_WMS -DUSE_WMS_LYR=C2=A0 -DIGNORE_MISSING_DATA =C2=A0-DFEATURE_INFO_HTML -DUSE_SDE = -D

WIN32 /c mapwmslayer.c = /Fomapwmslayer.obj

mapwmslayer.c

../libwww/library/src\HTProt.h(58) : error C2061: Syntaxfehler : Bezeichner 'HTProtocolId'

../libwww/library/src\HTProt.h(58) : error C2059: Syntaxfehler : ';'

../libwww/library/src\HTProt.h(85) : error C2146: Syntaxfehler : Fehlendes ')' vor Bezeichner = 'port'

../libwww/library/src\HTProt.h(85) : error C2081: 'HTProtocolId' : Name in der formalen Parameterliste ist = ungueltig

../libwww/library/src\HTProt.h(85) : error C2061: Syntaxfehler : Bezeichner 'port'

../libwww/library/src\HTProt.h(85) : error C2059: Syntaxfehler : ';'

../libwww/library/src\HTProt.h(85) : error C2059: Syntaxfehler : ','

../libwww/library/src\HTProt.h(88) : error C2059: Syntaxfehler : ')'

../libwww/library/src\HTProt.h(132) : error C2061: Syntaxfehler : Bezeichner 'HTProtocol_id'

../libwww/library/src\HTProt.h(132) : error C2059: Syntaxfehler : ';'

../libwww/library/src\HTProt.h(132) : error C2059: Syntaxfehler : 'type'

../libwww/library/src\HTHost.h(65) : error C2146: Syntaxfehler : Fehlendes ')' vor Bezeichner = 'u_port'

../libwww/library/src\HTHost.h(65) : error C2081: = 'u_short' : Name in der formalen Parameterliste ist = ungueltig

../libwww/library/src\HTHost.h(65) : error C2061: Syntaxfehler : Bezeichner 'u_port'

../libwww/library/src\HTHost.h(65) : error C2059: Syntaxfehler : ';'

../libwww/library/src\HTHost.h(65) : error C2059: Syntaxfehler : ')'

../libwww/library/src\HTHost.h(66) : error C2146: Syntaxfehler : Fehlendes ')' vor Bezeichner = 'u_port'

../libwww/library/src\HTHost.h(66) : error C2081: = 'u_short' : Name in der formalen Parameterliste ist = ungueltig

../libwww/library/src\HTHost.h(66) : error C2061: Syntaxfehler : Bezeichner 'u_port'

../libwww/library/src\HTHost.h(66) : error C2059: = Syntaxfehler : ';'

../libwww/library/src\HTHost.h(66) : error C2059: Syntaxfehler : ')'

../libwww/library/src\HTHstMan.h(60) : error C2061: Syntaxfehler : Bezeichner 'u_short'

../libwww/library/src\HTHstMan.h(94) : error C2079: 'sock_addr' verwendet undefiniertes struct = 'sockaddr_in'

../libwww/library/src\HTHstMan.h(110) : error C2059: Syntaxfehler : '}'

mapwmslayer.c(292) : warning C4013: 'index' = undefiniert; Annahme: extern mit Rueckgabetyp int

mapwmslayer.c(292) : warning C4047: '=3D' : Anzahl = der Dereferenzierungen bei 'const char *' und 'int ' = unterschiedlich

mapwmslayer.c(340) : warning C4013: 'isspace' = undefiniert; Annahme: extern mit Rueckgabetyp int

mapwmslayer.c(368) : warning C4090: 'function' : Unterschiedliche 'const'-Bezeichner

mapwmslayer.c(368) : warning C4024: 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 2

NMAKE : fatal error = U1077: 'cl' : Rueckgabe-Code '0x2'

Stop.=

 

 

 

Does anyone have an = idea of what is going wrong?

 

Thanks,

Witte=

------=_NextPart_000_0006_01C328F3.4AB55E70-- From braulioen@ono.com Mon Jun 2 12:15:45 2003 From: braulioen@ono.com (braulioen@ono.com) Date: Mon, 02 Jun 2003 13:15:45 +0200 Subject: [Mapserver-users] Question about PHP/Mapscript. Message-ID: <118cc911a928.11a928118cc9@ono.com> Hi! How I could center a polygon of a shapefile in a map in PHP/Mapscript?, that is to say, to fit the extent of the map to which he occupies the polygon. Thanks. Braulio. From N.Witte@bunnik.cso.nl Mon Jun 2 13:37:56 2003 From: N.Witte@bunnik.cso.nl (Nol Witte) Date: Mon, 2 Jun 2003 14:37:56 +0200 Subject: [Mapserver-users] gmap problem Message-ID: <5DB85700D035D7118F98000102A4837F217ABB@URANUS> Hi, I installed the MapServer and PHP/MapScript on a Windows NT machine using FoxServ (Apache, PHP). All is working fine (the MapServer Itasca demo is running fine, phpinfo_mapscript.phtml gives the right output, test_draw_map.phtml also functions). When I install gmap though, problems arise: phpinfo_mapscript.phtml suddenly gives a "500 Internal Server Error" when called from the gmap directory; the gmap75.phtml script gives the same problem. My guess is that there is a problem with the alias ... but I installed gmap exactly according to the manual. Any suggestions? Or known bugs of this kind? Thanks in advance, Nol Witte, the Netherlands From Chip.Hankley@rmtinc.com Mon Jun 2 14:03:25 2003 From: Chip.Hankley@rmtinc.com (Chip Hankley) Date: Mon, 02 Jun 2003 08:03:25 -0500 Subject: [Mapserver-users] Just in case you weren't reading ALL your Mapserver mail... Message-ID: --=_F5AA1D33.2E4F3EF8 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable I got a kick out of this response... particularly the second link. Though= t you guys might find this funny too. =20 =20 =20 Chip Hankley, GIS Specialist RMT, Inc. chip.hankley@rmtinc.com 608.662.5498 (Direct) >>> Thorsten Fischer 06/01/03 05:55AM >>> On Sat, 2003-05-31 at 23:07, Morten Nielsen wrote: > Is there any plans on upgrading/supplementing the MAP format to XML ? > It would make a lot of things easier > when processing the Map file in other > scripts (not to mention the validating that a DTD could offer). >=20 > XML is the future :-) The future of what ... I recommend reading the following before trying to squeeze xml into any and every place just because you can. http://c2.com/cgi/wiki?XmlSucks=20 http://xmlsucks.org/but_you_have_to_use_it_anyway/does-xml-suck.html=20 Also this has been brought up a couple of times; search the mailing list archive for xml and mapfile to see the debate. hth, thorsten _______________________________________________ Mapserver-users mailing list Mapserver-users@lists.gis.umn.edu=20 http://lists.gis.umn.edu/mailman/listinfo/mapserver-users=20 Outgoing messages, along with any attachments, are scanned for viruses at= =20RMT prior to sending. -------------------------------------------------------------------------= ----- NOTICE--This email may contain confidential and privileged information=20 for the sole use of the intended recipient. Any review or distribution by others is strictly prohibited. If you are not the intended recipient,= please contact the sender immediately and delete all copies. --=_F5AA1D33.2E4F3EF8 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I got a kick out of this response... particularly the second link. T= hought=20 you guys might find this funny too.
 
 
 
Chip Hankley, GIS Specialist
RMT, Inc.
chip.hankley@rmtinc.com
60= 8.662.5498=20 (Direct)


>>> Thorsten Fischer <thfischer@mapmedia.= de>=20 06/01/03 05:55AM >>>
On Sat, 2003-05-31 at 23:07, Morten Niel= sen=20 wrote:
> Is there any plans on upgrading/supplementing the MAP form= at to=20 XML ?
> It would make a lot of things easier
>  when pro= cessing=20 the Map file in other
> scripts (not to mention the validating that= =20a DTD=20 could offer).
>
> XML is the future :-)

The future of= =20what=20 ... I recommend reading the following before trying
to squeeze xml int= o any=20 and every place just because you can.

http://c2.com/cgi/wiki?XmlSucks<= /A>

http://xmlsucks.org/but_you_have_to_use_it_anyway/does-xml-suck.html=

Also=20 this has been brought up a couple of times; search the mailing list
ar= chive=20 for xml and mapfile to see the=20 debate.


hth,

thorsten

__________________________= _____________________
Mapserver-users=20 mailing list
Mapserver-users@lists.gis.umn.edu
http:/= /lists.gis.umn.edu/mailman/listinfo/mapserver-users

Outgoing messages, along with any attachments, are scanned for vi= ruses=20 at RMT prior to sending.=20


NOTICE-- This email may contain confidential and privileged information f= or the=20 sole use of the intended recipient. Any review or distribution by others = is=20 strictly prohibited. If you are not the intended recipient, please c= ontact=20 the sender immediately and delete all copies.=20

--=_F5AA1D33.2E4F3EF8-- From Chip.Hankley@rmtinc.com Mon Jun 2 14:30:09 2003 From: Chip.Hankley@rmtinc.com (Chip Hankley) Date: Mon, 02 Jun 2003 08:30:09 -0500 Subject: [Mapserver-users] MORE Just in case you weren't reading ALL your Mapserver mail... Message-ID: --=_AFF04773.1A7B0ACB Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Obviously, I didn't mean to copy all of you on my commentary. Apologies. =20 I'm going to enroll in that e-mail 101 class now... =20 =20 Outgoing messages, along with any attachments, are scanned for viruses at= =20RMT prior to sending. -------------------------------------------------------------------------= ----- NOTICE--This email may contain confidential and privileged information=20 for the sole use of the intended recipient. Any review or distribution by others is strictly prohibited. If you are not the intended recipient,= please contact the sender immediately and delete all copies. --=_AFF04773.1A7B0ACB Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Obviously, I didn't mean to copy all of you on my commentary.=20 Apologies.
 
I'm going to enroll in that e-mail 101 class now...
 
 

Outgoing messages, along with any attachments, are scanned for vi= ruses=20 at RMT prior to sending.=20


NOTICE-- This email may contain confidential and privileged information f= or the=20 sole use of the intended recipient. Any review or distribution by others = is=20 strictly prohibited. If you are not the intended recipient, please c= ontact=20 the sender immediately and delete all copies.=20

--=_AFF04773.1A7B0ACB-- From gayathri@ou.edu Mon Jun 2 14:40:00 2003 From: gayathri@ou.edu (Swaminathan, Gayathri) Date: Mon, 2 Jun 2003 08:40:00 -0500 Subject: [Mapserver-users] problem with WMS Client support Message-ID: This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C3290C.76DCBCF0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi: Got the same error messages when I was trying to compile through a "CL" too....If you changed u_short to short the ushort errors will go... You will still have this following error., =20 ../libwww/library/src\HTHstMan.h(94) : error C2079: 'sock_addr' = verwendet undefiniertes struct 'sockaddr_in' =20 The sockaddr_in is defined in the wwwsys.h which in turn refers in.h = which is in the cygwin =20 All the problems however vanish if Mapserver is compiled in a VC++ environment...with supporting libs mentioned in the lib directories and supporting libraries mentioned in the include.... =20 Please check out the conversation Rosangela Silva and me have been = having on this.... =20 But really dont know why the libwww...does not work well with the "CL" compiler. HTH, Gayathri -----Original Message----- From: J=C3=B6rn Witte [mailto:jwitte@gmx.at] Sent: Monday, June 02, 2003 1:40 AM To: mapserver-users@lists.gis.umn.edu Subject: [Mapserver-users] problem with WMS Client support Hi, I=E2=80=99am trying to compile the UMN Mapserver with the WMS Client = support and always get the following error-message: =20 =20 WIN32 /c mapwms.c /Fomapwms.obj mapwms.c mapwms.c(44) : warning C4090: 'function' : Unterschiedliche 'const'-Bezeichner mapwms.c(44) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(46) : warning C4090: 'function' : Unterschiedliche 'const'-Bezeichner mapwms.c(46) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(170) : warning C4090: 'function' : Unterschiedliche 'const'-Bezeichner mapwms.c(170) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(589) : warning C4090: 'function' : Unterschiedliche 'const'-Bezeichner mapwms.c(589) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(745) : warning C4090: 'function' : Unterschiedliche 'const'-Bezeichner mapwms.c(745) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(828) : warning C4090: 'function' : Unterschiedliche 'const'-Bezeichner mapwms.c(828) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(832) : warning C4090: 'function' : Unterschiedliche 'const'-Bezeichner mapwms.c(832) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(836) : warning C4090: 'function' : Unterschiedliche 'const'-Bezeichner mapwms.c(836) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(859) : warning C4090: 'function' : Unterschiedliche 'const'-Bezeichner mapwms.c(859) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(879) : warning C4090: 'function' : Unterschiedliche 'const'-Bezeichner mapwms.c(879) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(906) : warning C4090: 'function' : Unterschiedliche 'const'-Bezeichner mapwms.c(906) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(918) : warning C4090: 'function' : Unterschiedliche 'const'-Bezeichner mapwms.c(918) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(983) : warning C4090: 'function' : Unterschiedliche 'const'-Bezeichner mapwms.c(983) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(1053) : warning C4090: 'function' : Unterschiedliche 'const'-Bezeichner mapwms.c(1053) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(1387) : warning C4090: 'function' : Unterschiedliche 'const'-Bezeichner mapwms.c(1387) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(1388) : warning C4090: 'function' : Unterschiedliche 'const'-Bezeichner mapwms.c(1388) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(1400) : warning C4090: 'function' : Unterschiedliche 'const'-Bezeichner mapwms.c(1400) : warning C4024: 'strncasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(1401) : warning C4090: 'function' : Unterschiedliche 'const'-Bezeichner mapwms.c(1401) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(1403) : warning C4090: 'function' : Unterschiedliche 'const'-Bezeichner mapwms.c(1403) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(1424) : warning C4013: 'getpid' undefiniert; Annahme: extern = mit Rueckgabetyp int cl /nologo /Zi /W3 /DDEBUG /DWIN32 -I../gd-1.8.4 -I../tiff-v3.5.5/libtiff -I../proj-4.4.3/src -I..\php-4.0.4\regex -DPHP_NO_ALIASES -I..\gdal-1.1.8/ogr/ogrsf_frmts -I..\gdal-1.1.8/ogr -I..\gdal-1.1.8/ogr/../port -I..\gdal-1.1.8/core = -I../libwww/library/src -I../libwww/modules/expat/xmlp arse -I ../arcsde/include -DNEED_STRCASECMP -DNEED_STRNCASECMP = -DUSE_PROJ -DUSE_PROJ_API_H -DUSE_TIFF -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_TTF -DUSE_GD_TTF -DGD_HAS_GDIMAGEGIFPTR = -DUSE_OGR -DUSE_WMS -DUSE_WMS_LYR -DIGNORE_MISSING_DATA -DFEATURE_INFO_HTML -DUSE_SDE -D WIN32 /c mapwmslayer.c /Fomapwmslayer.obj mapwmslayer.c ../libwww/library/src\HTProt.h(58) : error C2061: Syntaxfehler : = Bezeichner 'HTProtocolId' ../libwww/library/src\HTProt.h(58) : error C2059: Syntaxfehler : ';' ../libwww/library/src\HTProt.h(85) : error C2146: Syntaxfehler : = Fehlendes ')' vor Bezeichner 'port' ../libwww/library/src\HTProt.h(85) : error C2081: 'HTProtocolId' : = Name in der formalen Parameterliste ist ungueltig ../libwww/library/src\HTProt.h(85) : error C2061: Syntaxfehler : = Bezeichner 'port' ../libwww/library/src\HTProt.h(85) : error C2059: Syntaxfehler : ';' ../libwww/library/src\HTProt.h(85) : error C2059: Syntaxfehler : ',' ../libwww/library/src\HTProt.h(88) : error C2059: Syntaxfehler : ')' ../libwww/library/src\HTProt.h(132) : error C2061: Syntaxfehler : = Bezeichner 'HTProtocol_id' ../libwww/library/src\HTProt.h(132) : error C2059: Syntaxfehler : ';' ../libwww/library/src\HTProt.h(132) : error C2059: Syntaxfehler : = 'type' ../libwww/library/src\HTHost.h(65) : error C2146: Syntaxfehler : = Fehlendes ')' vor Bezeichner 'u_port' ../libwww/library/src\HTHost.h(65) : error C2081: 'u_short' : Name in = der formalen Parameterliste ist ungueltig ../libwww/library/src\HTHost.h(65) : error C2061: Syntaxfehler : = Bezeichner 'u_port' ../libwww/library/src\HTHost.h(65) : error C2059: Syntaxfehler : ';' ../libwww/library/src\HTHost.h(65) : error C2059: Syntaxfehler : ')' ../libwww/library/src\HTHost.h(66) : error C2146: Syntaxfehler : = Fehlendes ')' vor Bezeichner 'u_port' ../libwww/library/src\HTHost.h(66) : error C2081: 'u_short' : Name in = der formalen Parameterliste ist ungueltig ../libwww/library/src\HTHost.h(66) : error C2061: Syntaxfehler : = Bezeichner 'u_port' ../libwww/library/src\HTHost.h(66) : error C2059: Syntaxfehler : ';' ../libwww/library/src\HTHost.h(66) : error C2059: Syntaxfehler : ')' ../libwww/library/src\HTHstMan.h(60) : error C2061: Syntaxfehler : Bezeichner 'u_short' ../libwww/library/src\HTHstMan.h(94) : error C2079: 'sock_addr' = verwendet undefiniertes struct 'sockaddr_in' ../libwww/library/src\HTHstMan.h(110) : error C2059: Syntaxfehler : = '}' mapwmslayer.c(292) : warning C4013: 'index' undefiniert; Annahme: = extern mit Rueckgabetyp int mapwmslayer.c(292) : warning C4047: '=3D' : Anzahl der = Dereferenzierungen bei 'const char *' und 'int ' unterschiedlich mapwmslayer.c(340) : warning C4013: 'isspace' undefiniert; Annahme: = extern mit Rueckgabetyp int mapwmslayer.c(368) : warning C4090: 'function' : Unterschiedliche 'const'-Bezeichner mapwmslayer.c(368) : warning C4024: 'strcasecmp' : Unterschiedliche = Typen fuer formalen und uebergebenen Parameter 2 NMAKE : fatal error U1077: 'cl' : Rueckgabe-Code '0x2' Stop. =20 =20 =20 Does anyone have an idea of what is going wrong? =20 Thanks, Witte ------_=_NextPart_001_01C3290C.76DCBCF0 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable
Hi:
Got=20 the same error messages when I was trying to compile through a "CL" = too....If=20 you changed u_short to short the ushort errors will = go...
You=20 will still have this following error.,
 

../libwww/library/src\HTHstMan.h(94)=20 : error C2079: 'sock_addr' verwendet undefiniertes struct=20 'sockaddr_in'

 

The sockaddr_in is defined in the wwwsys.h = which in=20 turn refers in.h which is in the cygwin

 

All the problems however = vanish if=20 Mapserver is compiled in a VC++ environment...with supporting libs = mentioned in=20 the lib directories and supporting libraries mentioned in the=20 include....

 

Please check out the conversation Rosangela = Silva =20 and me have been having on this....

 

But really dont know why the = libwww...does not=20 work well with the "CL" compiler.

HTH,

Gayathri

-----Original Message-----
From: J=C3=B6rn Witte=20 [mailto:jwitte@gmx.at]
Sent: Monday, June 02, 2003 1:40=20 AM
To: mapserver-users@lists.gis.umn.edu
Subject: = [Mapserver-users] problem with WMS Client = support

Hi,

I=E2=80=99am=20 trying to compile the UMN Mapserver with the WMS Client support and = always get=20 the following error-message:

 

 

WIN32 /c=20 mapwms.c /Fomapwms.obj

mapwms.c

mapwms.c(44) : warning = C4090:=20 'function' : Unterschiedliche = 'const'-Bezeichner

mapwms.c(44) : warning = C4024:=20 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen = Parameter=20 1

mapwms.c(46) : warning = C4090:=20 'function' : Unterschiedliche = 'const'-Bezeichner

mapwms.c(46) : warning = C4024:=20 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen = Parameter=20 1

mapwms.c(170) : warning = C4090:=20 'function' : Unterschiedliche = 'const'-Bezeichner

mapwms.c(170) : warning = C4024:=20 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen = Parameter=20 1

mapwms.c(589) : warning = C4090:=20 'function' : Unterschiedliche = 'const'-Bezeichner

mapwms.c(589) : warning = C4024:=20 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen = Parameter=20 1

mapwms.c(745) : warning = C4090:=20 'function' : Unterschiedliche = 'const'-Bezeichner

mapwms.c(745) : warning = C4024:=20 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen = Parameter=20 1

mapwms.c(828) : warning = C4090:=20 'function' : Unterschiedliche = 'const'-Bezeichner

mapwms.c(828) : warning = C4024:=20 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen = Parameter=20 1

mapwms.c(832) : warning = C4090:=20 'function' : Unterschiedliche = 'const'-Bezeichner

mapwms.c(832) : warning = C4024:=20 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen = Parameter=20 1

mapwms.c(836) : warning = C4090:=20 'function' : Unterschiedliche = 'const'-Bezeichner

mapwms.c(836) : warning = C4024:=20 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen = Parameter=20 1

mapwms.c(859) : warning = C4090:=20 'function' : Unterschiedliche = 'const'-Bezeichner

mapwms.c(859) : warning = C4024:=20 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen = Parameter=20 1

mapwms.c(879) : warning = C4090:=20 'function' : Unterschiedliche = 'const'-Bezeichner

mapwms.c(879) : warning = C4024:=20 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen = Parameter=20 1

mapwms.c(906) : warning = C4090:=20 'function' : Unterschiedliche = 'const'-Bezeichner

mapwms.c(906) : warning = C4024:=20 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen = Parameter=20 1

mapwms.c(918) : warning = C4090:=20 'function' : Unterschiedliche = 'const'-Bezeichner

mapwms.c(918) : warning = C4024:=20 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen = Parameter=20 1

mapwms.c(983) : warning = C4090:=20 'function' : Unterschiedliche = 'const'-Bezeichner

mapwms.c(983) : warning = C4024:=20 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen = Parameter=20 1

mapwms.c(1053) : = warning C4090:=20 'function' : Unterschiedliche = 'const'-Bezeichner

mapwms.c(1053) : = warning C4024:=20 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen = Parameter=20 1

mapwms.c(1387) : = warning C4090:=20 'function' : Unterschiedliche = 'const'-Bezeichner

mapwms.c(1387) : = warning C4024:=20 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen = Parameter=20 1

mapwms.c(1388) : = warning C4090:=20 'function' : Unterschiedliche = 'const'-Bezeichner

mapwms.c(1388) : = warning C4024:=20 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen = Parameter=20 1

mapwms.c(1400) : = warning C4090:=20 'function' : Unterschiedliche = 'const'-Bezeichner

mapwms.c(1400) : = warning C4024:=20 'strncasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen = Parameter 1

mapwms.c(1401) : = warning C4090:=20 'function' : Unterschiedliche = 'const'-Bezeichner

mapwms.c(1401) : = warning C4024:=20 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen = Parameter=20 1

mapwms.c(1403) : = warning C4090:=20 'function' : Unterschiedliche = 'const'-Bezeichner

mapwms.c(1403) : = warning C4024:=20 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen = Parameter=20 1

mapwms.c(1424) : = warning C4013:=20 'getpid' undefiniert; Annahme: extern mit Rueckgabetyp=20 int

        cl=20 /nologo /Zi /W3 /DDEBUG /DWIN32 -I../gd-1.8.4 = -I../tiff-v3.5.5/libtiff   = -I../proj-4.4.3/src   -I..\php-4.0.4\regex=20 -DPHP_NO_ALIASES -I..\gdal-1.1.8/ogr/ogrsf_frmts -I..\gdal-1.1.8/ogr=20 -I..\gdal-1.1.8/ogr/../port -I..\gdal-1.1.8/core  -I../libwww/library/src=20 -I../libwww/modules/expat/xmlp

arse -I = ../arcsde/include  -DNEED_STRCASECMP=20 -DNEED_STRNCASECMP  =20 -DUSE_PROJ -DUSE_PROJ_API_H -DUSE_TIFF  -DUSE_GD_GIF -DUSE_GD_PNG=20 -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_TTF =20 -DUSE_GD_TTF -DGD_HAS_GDIMAGEGIFPTR -DUSE_OGR -DUSE_WMS=20 -DUSE_WMS_LYR =20 -DIGNORE_MISSING_DATA  -DFEATURE_INFO_HTML = -DUSE_SDE=20 -D

WIN32 /c mapwmslayer.c=20 /Fomapwmslayer.obj

mapwmslayer.c

../libwww/library/src\HTProt.h(58)=20 : error C2061: Syntaxfehler : Bezeichner=20 'HTProtocolId'

../libwww/library/src\HTProt.h(58)=20 : error C2059: Syntaxfehler : ';'

../libwww/library/src\HTProt.h(85)=20 : error C2146: Syntaxfehler : Fehlendes ')' vor Bezeichner=20 'port'

../libwww/library/src\HTProt.h(85)=20 : error C2081: 'HTProtocolId' : Name in der formalen Parameterliste = ist=20 ungueltig

../libwww/library/src\HTProt.h(85)=20 : error C2061: Syntaxfehler : Bezeichner = 'port'

../libwww/library/src\HTProt.h(85)=20 : error C2059: Syntaxfehler : ';'

../libwww/library/src\HTProt.h(85)=20 : error C2059: Syntaxfehler : ','

../libwww/library/src\HTProt.h(88)=20 : error C2059: Syntaxfehler : ')'

../libwww/library/src\HT= Prot.h(132)=20 : error C2061: Syntaxfehler : Bezeichner=20 'HTProtocol_id'

../libwww/library/src\HTProt.h(132)=20 : error C2059: Syntaxfehler : ';'

../libwww/library/src\HTProt.h(132)=20 : error C2059: Syntaxfehler : 'type'

../libwww/library/src\HTHost.h(65)=20 : error C2146: Syntaxfehler : Fehlendes ')' vor Bezeichner=20 'u_port'

../libwww/library/src\HTHost.h(65)=20 : error C2081: 'u_short' : Name in der formalen Parameterliste ist=20 ungueltig

../libwww/library/src\HTHost.h(65)=20 : error C2061: Syntaxfehler : Bezeichner = 'u_port'

../libwww/library/src\HTHost.h(65)=20 : error C2059: Syntaxfehler : ';'

../libwww/library/src\HTHost.h(65)=20 : error C2059: Syntaxfehler : ')'

../libwww/library/src\HTHost.h(66)=20 : error C2146: Syntaxfehler : Fehlendes ')' vor Bezeichner=20 'u_port'

../libwww/library/src\HTHost.h(66)=20 : error C2081: 'u_short' : Name in der formalen Parameterliste ist=20 ungueltig

../libwww/library/src\HTHost.h(66)=20 : error C2061: Syntaxfehler : Bezeichner = 'u_port'

../libwww/library/src\HTHost.h(66)=20 : error C2059: Syntaxfehler : ';'

../libwww/library/src\HTHost.h(66)=20 : error C2059: Syntaxfehler : ')'

../libwww/library/src\HTHstMan.h(60)=20 : error C2061: Syntaxfehler : Bezeichner=20 'u_short'

../libwww/library/src\HTHstMan.h(94)=20 : error C2079: 'sock_addr' verwendet undefiniertes struct=20 'sockaddr_in'

../libwww/library/src\HTHstMan.h(110)=20 : error C2059: Syntaxfehler : '}'

mapwmslayer.c(292) : = warning=20 C4013: 'index' undefiniert; Annahme: extern mit Rueckgabetyp=20 int

mapwmslayer.c(292) : = warning=20 C4047: '=3D' : Anzahl der Dereferenzierungen bei 'const char *' und = 'int '=20 unterschiedlich

mapwmslayer.c(340) : = warning=20 C4013: 'isspace' undefiniert; Annahme: extern mit Rueckgabetyp=20 int

mapwmslayer.c(368) : = warning=20 C4090: 'function' : Unterschiedliche=20 'const'-Bezeichner

mapwmslayer.c(368) : = warning=20 C4024: 'strcasecmp' : Unterschiedliche Typen fuer formalen und = uebergebenen=20 Parameter 2

NMAKE :=20 fatal error U1077: 'cl' : Rueckgabe-Code = '0x2'

Stop.

 

 

 

Does=20 anyone have an idea of what is going = wrong?

 

Thanks,

Witte

------_=_NextPart_001_01C3290C.76DCBCF0-- From eric@gomoos.org Mon Jun 2 11:18:49 2003 From: eric@gomoos.org (Eric Bridger) Date: 02 Jun 2003 10:18:49 +0000 Subject: [Mapserver-users] Question about PHP/Mapscript. In-Reply-To: <118cc911a928.11a928118cc9@ono.com> References: <118cc911a928.11a928118cc9@ono.com> Message-ID: <1054549130.13947.4.camel@ubet.gomoos.org> Both the shape and shapefile objects contain a bounds member which is a rectangle object. So just use something like: $map->{extent}->{minx} = $shapefile->{bounds}->{minx}; $map->{extent}->{miny} = $shapefile->{bounds}->{miny}; $map->{extent}->{maxx} = $shapefile->{bounds}->{maxx}; $map->{extent}->{maxy} = $shapefile->{bounds}->{maxy}; Eric On Mon, 2003-06-02 at 11:15, braulioen@ono.com wrote: > Hi! > > How I could center a polygon of a shapefile in a map in > PHP/Mapscript?, that is to say, to fit the extent of the map to which > he occupies the polygon. > > Thanks. > Braulio. > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > From tomax77@gmx.de Mon Jun 2 15:47:08 2003 From: tomax77@gmx.de (tomax77@gmx.de) Date: Mon, 2 Jun 2003 16:47:08 +0200 (MEST) Subject: [Mapserver-users] Problems compiling postgis Message-ID: <8582.1054565228@www61.gmx.net> Hi list, when i compile postgis on cygwin (windows shell) i get the following error message after typing "make": r/local/lib -L/usr/local/lib -L../../src/backend -lpostgres fu000001.o(.idata$3+0xc): undefined reference to `_libpostgres_a_iname' nmth000000.o(.idata$4+0x0): undefined reference to `__nm__cpu_index_tuple_cost' Info: resolving _cpu_index_tuple_cost by linking to __imp__cpu_index_tuple_cost (auto-import) collect2: ld returned 1 exit status dllwrap: gcc exited with status 1 make: *** [libpostgis.a] Error 1 [Administrator@server2000 ...contrib/postgis-0.7.5]$ Anyone who can help me on this topic ??? What did i wrong ??? Thanks in advance Tom L. -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage! From pramsey@refractions.net Mon Jun 2 16:57:17 2003 From: pramsey@refractions.net (Paul Ramsey) Date: Mon, 02 Jun 2003 08:57:17 -0700 Subject: [Mapserver-users] Problems compiling postgis In-Reply-To: <8582.1054565228@www61.gmx.net> References: <8582.1054565228@www61.gmx.net> Message-ID: <3EDB73DD.50704@refractions.net> Tom, Firstly, web search, secondly, ask a mailing list. Searching postgis support (http://postgis.refractions.net/support.php) for __nm__cpu_index_tuple_cost yields: http://postgis.refractions.net/pipermail/postgis-users/2002-November/001793.html For that matter, searching google: http://www.google.ca/search?q=__nm__cpu_index_tuple_cost Yields a list with this message as the first entry. Paul tomax77@gmx.de wrote: > Hi list, > > when i compile postgis on cygwin (windows shell) i get the following error > message after typing "make": > > r/local/lib -L/usr/local/lib -L../../src/backend -lpostgres > fu000001.o(.idata$3+0xc): undefined reference to `_libpostgres_a_iname' > nmth000000.o(.idata$4+0x0): undefined reference to > `__nm__cpu_index_tuple_cost' > Info: resolving _cpu_index_tuple_cost by linking to > __imp__cpu_index_tuple_cost > (auto-import) > collect2: ld returned 1 exit status > dllwrap: gcc exited with status 1 > make: *** [libpostgis.a] Error 1 > [Administrator@server2000 ...contrib/postgis-0.7.5]$ > > Anyone who can help me on this topic ??? What did i wrong ??? > > Thanks in advance > Tom L. > From dukav@gmx.de Mon Jun 2 17:02:14 2003 From: dukav@gmx.de (dukav@gmx.de) Date: Mon, 2 Jun 2003 18:02:14 +0200 (MEST) Subject: [Mapserver-users] (no subject) Message-ID: <11486.1054569734@www10.gmx.net> Dear list, I am a student an I am making evaluations on the mapserver. Does somebody know where i can get some information about mapserver and database in general? Is it possible to use the mapserver with every database and what is needed for this? Thanks for any help Karin -- Karin Dürrwanger Bilderhäuslenstr. 26 73257 Köngen tel.: 0 70 24 / 86 67 96 +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage! From gayathri@ou.edu Mon Jun 2 17:18:57 2003 From: gayathri@ou.edu (Swaminathan, Gayathri) Date: Mon, 2 Jun 2003 11:18:57 -0500 Subject: [Mapserver-users] (no subject) Message-ID: Hi: The mapserver site, http://mapserver.gis.umn.edu is a trove of information... You will also find lotsa links from here..to successful mapserver users. You should also check http://www2.dmsolutions.ca a company that provides mapserver support... They have some neat documents/information in their site. Thanks, Gayathri -----Original Message----- From: dukav@gmx.de [mailto:dukav@gmx.de] Sent: Monday, June 02, 2003 9:02 AM To: mapserver-users@lists.gis.umn.edu Subject: [Mapserver-users] (no subject) Dear list, I am a student an I am making evaluations on the mapserver. Does somebody know where i can get some information about mapserver and database in general? Is it possible to use the mapserver with every database and what is needed for this? Thanks for any help Karin -- Karin Dürrwanger Bilderhäuslenstr. 26 73257 Köngen tel.: 0 70 24 / 86 67 96 +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage! _______________________________________________ Mapserver-users mailing list Mapserver-users@lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From woklist@charter.net Mon Jun 2 18:05:33 2003 From: woklist@charter.net (William K) Date: Mon, 2 Jun 2003 12:05:33 -0500 Subject: [Mapserver-users] gxx_personality_v0 problems (Mac OS X 10.2) *SOLVED* Message-ID: <6BF78440-951C-11D7-85DD-003065775468@charter.net> Hi all, I've been having these gxx_personality_v0 issues lately. I had tried all the solutions from this list and others, and the Mac writeups on getting MS built, to no avail. Everything would compile and the mapserv cgi worked. But the mapscript PHP module would cause gxx_personality_v0 errors in the httpd log and wouldn't load. First off, the solution I used in the first place to get mapserver to compile was to add -lstdc++ to STATIC_LIBS in the makefile. Well, it turns out this only applies to the mapserv cgi, and not mapscript. I had to add -lstdc++ to MS_LIBS in the mapscript makefile as well (strange that mapscript would compile without it). Now all works - mapscript shows up in my phpinfo(). Now to start on the mapscript tutorials... ^_^ PS. Tho I say this was for Mac OS X, it probably applies to others using gcc 3.x. ----- William Kyngesburye http://webpages.charter.net/kyngchaos/ Theory of the Universe There is a theory which states that if ever anyone discovers exactly what the universe is for and why it is here, it will instantly disappear and be replaced by something even more bizarrely inexplicable. There is another theory which states that this has already happened. -Hitchhiker's Guide to the Galaxy 2nd season intro RIP Douglas Adams 1952-2001 From akreider@nd.edu Mon Jun 2 20:14:05 2003 From: akreider@nd.edu (Aaron Kreider) Date: Mon, 02 Jun 2003 14:14:05 -0500 Subject: [Mapserver-users] (no subject) Message-ID: <3EDB5BAD.14919.1F610B@localhost> I'm trying to convert my data into a format that can be used by Mapserver (or more specifically Mapscript). The data currently resides in a regular mysql table. Does Mapserver only use shape files? And if so, how do I create a shape file? I've searched to find free utilities (I do not want to buy Arcview 3) that will do it for me or to try and find an explanation of what the format is (so I could do it myself), but haven't found anything. I'd appreciate help on this. Aaron From akreider@nd.edu Mon Jun 2 20:14:30 2003 From: akreider@nd.edu (Aaron Kreider) Date: Mon, 02 Jun 2003 14:14:30 -0500 Subject: [Mapserver-users] Creating Shape Files Message-ID: <3EDB5BC6.25449.1FC24B@localhost> I'm trying to convert my data into a format that can be used by Mapserver (or more specifically Mapscript). The data currently resides in a regular mysql table. Does Mapserver only use shape files? And if so, how do I create a shape file? I've searched to find free utilities (I do not want to buy Arcview 3) that will do it for me or to try and find an explanation of what the format is (so I could do it myself), but haven't found anything. I'd appreciate help on this. Aaron From morissette@dmsolutions.ca Mon Jun 2 19:18:51 2003 From: morissette@dmsolutions.ca (Daniel Morissette) Date: Mon, 02 Jun 2003 14:18:51 -0400 Subject: [Mapserver-users] gxx_personality_v0 problems (Mac OS X 10.2) *SOLVED* References: <6BF78440-951C-11D7-85DD-003065775468@charter.net> Message-ID: <3EDB950B.369ABE4A@dmsolutions.ca> Which version of MapServer were you using? FYI this -lstdc++ has been added to the 4.0-dev (main CVS trunk) a little while ago, and the same fix applied to the 3.6 branch yesterday and will be included in a 3.6.6 release that should be posted to the live site in the next few days. In both cases the -lstdc++ is added to XTRALIBS which means that it should also apply to the MapScript Makefile. If the problem persists with the latest versions then please add your comments in bug 246 at http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=246 Daniel William K wrote: > > Hi all, > > I've been having these gxx_personality_v0 issues lately. I had tried > all the solutions from this list and others, and the Mac writeups on > getting MS built, to no avail. Everything would compile and the > mapserv cgi worked. But the mapscript PHP module would cause > gxx_personality_v0 errors in the httpd log and wouldn't load. > > First off, the solution I used in the first place to get mapserver to > compile was to add -lstdc++ to STATIC_LIBS in the makefile. Well, it > turns out this only applies to the mapserv cgi, and not mapscript. I > had to add -lstdc++ to MS_LIBS in the mapscript makefile as well > (strange that mapscript would compile without it). Now all works - > mapscript shows up in my phpinfo(). > > Now to start on the mapscript tutorials... ^_^ > > PS. Tho I say this was for Mac OS X, it probably applies to others > using gcc 3.x. > > ----- > William Kyngesburye > http://webpages.charter.net/kyngchaos/ > > Theory of the Universe > > There is a theory which states that if ever anyone discovers exactly > what the universe is for and why it is here, it will instantly > disappear and be replaced by something even more bizarrely > inexplicable. There is another theory which states that this has > already happened. > > -Hitchhiker's Guide to the Galaxy 2nd season intro > RIP Douglas Adams 1952-2001 > From millardymecki@sympatico.ca Mon Jun 2 19:29:56 2003 From: millardymecki@sympatico.ca (Paul Dymecki) Date: Mon, 2 Jun 2003 14:29:56 -0400 Subject: [Mapserver-users] hey Message-ID: <007901c32934$f8478220$8000a8c0@pauls> This is a multi-part message in MIME format. ------=_NextPart_000_0076_01C32913.70C964B0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, I was wondering if anyone knows where i can find WMS map layers at = the street level for Canada.=20 thx Paul ------=_NextPart_000_0076_01C32913.70C964B0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello,
   I was wondering if anyone=20 knows where i can find WMS map layers at the street=20 level for Canada. 
thx
Paul
------=_NextPart_000_0076_01C32913.70C964B0-- From edspremolla@Antel.com.uy Mon Jun 2 19:36:39 2003 From: edspremolla@Antel.com.uy (Eduardo Spremolla) Date: 02 Jun 2003 15:36:39 -0300 Subject: [Mapserver-users] Creating Shape Files In-Reply-To: <3EDB5BC6.25449.1FC24B@localhost> References: <3EDB5BC6.25449.1FC24B@localhost> Message-ID: <1054578999.17424.3.camel@fly.in.iantel.com.uy> Check a perl module named Shape-0.03 and shapelib for c.ther is also a gen2shp that convert a very simple txt format to shape. Eduardo Spremolla El lun, 02 de 06 de 2003 a las 16:14, Aaron Kreider escribió: > I'm trying to convert my data into a format that can be used by Mapserver > (or more specifically Mapscript). The data currently resides in a regular > mysql table. > > Does Mapserver only use shape files? And if so, how do I create a shape > file? I've searched to find free utilities (I do not want to buy Arcview > 3) that will do it for me or to try and find an explanation of what the > format is (so I could do it myself), but haven't found anything. > > I'd appreciate help on this. > > Aaron > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From pucher@atlas.gis.univie.ac.at Mon Jun 2 19:19:53 2003 From: pucher@atlas.gis.univie.ac.at (Alexander Pucher) Date: Mon, 02 Jun 2003 20:19:53 +0200 Subject: [Mapserver-users] Creating Shape Files In-Reply-To: <3EDB5BC6.25449.1FC24B@localhost> References: <3EDB5BC6.25449.1FC24B@localhost> Message-ID: <3EDB9549.6000603@atlas.gis.univie.ac.at> Hi Aaron, shapelib (http://gdal.velocet.ca/projects/shapelib/index.html) could be of interest for you. regards alex. Aaron Kreider wrote: >I'm trying to convert my data into a format that can be used by Mapserver >(or more specifically Mapscript). The data currently resides in a regular >mysql table. > >Does Mapserver only use shape files? And if so, how do I create a shape >file? I've searched to find free utilities (I do not want to buy Arcview >3) that will do it for me or to try and find an explanation of what the >format is (so I could do it myself), but haven't found anything. > >I'd appreciate help on this. > >Aaron > >_______________________________________________ >Mapserver-users mailing list >Mapserver-users@lists.gis.umn.edu >http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > > > -- ________________________________________________________ Institut fuer Geographie und Regionalforschung Universitaet Wien Kartografie und Geoinformation Departement of Geography and Regional Research University of Vienna Cartography and GIS Universitaetstr. 7, A-1010 Wien, AUSTRIA Tel: (+43 1) 4277 48644 Fax: (+43 1) 4277 48649 E-mail: alexander.pucher@univie.ac.at FTP: ftp://ftp.gis.univie.ac.at WWW: http://www.gis.univie.ac.at/karto -------------------------------------------------------- Virtual Map Forum: http://www.gis.univie.ac.at/vmf -------------------------------------------------------- There are only 10 kinds of people who understand binary digits: Those who do, and Those who don't. From cpurvis@asg.sc.edu Mon Jun 2 20:11:25 2003 From: cpurvis@asg.sc.edu (Charlton Purvis) Date: Mon, 2 Jun 2003 15:11:25 -0400 Subject: [Mapserver-users] best way to color ramp topo/bathy data that'sin PostGIS Message-ID: Thanks for the help, Jan. And I look forward to your presentation this weekend. I decided to go ahead and churn out a Perl script to generate the 256 classes for my .map file. I provide it the starting color and the ending color, and based on the max and min values of my layer, it creates the expressions, etc. (If anyone is interested, I'll eventually post it.) Yes, it does create a big .map file, but everything is modular and automated. And I seem to remember other folks w/ other automated .map file generations. So no matter what I do, large .map files may be hard to avoid! Anyway, let's say that I'm happy w/ plenty of expressions. My question is, am I compromising speed? Having GRASS work w/ my rasters might eventually be the way to go (as you suggest), but right now it sure is convenient and clean to have everything in only one place, my PostGIS db. So am I losing any speed by choosing to let MapServer use expressions to figure out what color to display rather than letting GRASS munch and crunch it? So far I am very happy w/ the MS performance (in general and as it relates to this issue). Of course, my dataset is very localized and small at this point. Thanks again. Charlton -----Original Message----- From: Jan Hartmann [mailto:jhart@frw.uva.nl] Sent: Friday, May 30, 2003 6:05 AM To: mapserver-users@lists.gis.umn.edu Subject: Re: [Mapserver-users] best way to color ramp topo/bathy data that'sin PostGIS Hi Charlton, I've been using GRASS/MapServer on a few 30sec global databases (elevation, satellite, landcover, going to show them on the User's Meeting). In my experience, putting everything in a GRASS database and displaying them directly from there in MapServer is the most efficient way. It's quick, lets you manipulate your rasters (e.g. colortables) in GRASS while immediately displaying them in MapServer, makes it incredibly easy to create tiles and tileindexes, etc. As to your other suggestions: I don't think PostGIS already has raster support, and the maximum number of classes in MapServer is 50 by default. You can compile in a larger number, but you'll get horrible mapfiles. Some time ago, Frank Warmerdam wrote about the possibility of color table processing in GDAL (http://mapserver.gis.umn.edu/data2/wilma/mapserver-users/0304/msg00621. html). Is this something for a feature request? I think there are many people who could use such a feature. Jan Charlton Purvis wrote: > Hi, folks: > > I've got an approach question to ask. I've been boning up on GRASS and > r.colors and MapServer integration. > > Say I'm updating my PostGIS data based on :15 minute pings of netCDF > DODS-available data. In these datasets is some interpolated bathymetry > data. What is the best way for me to store and then render it? > > We're already going from netCDF to PostGIS. I don't think I really want > to break my .map into a lot of classes (255?) to display a nice and > gradual color ramp for different sea depths. So should I be pumping my > PostGIS data into GRASS and somehow doing an r.colors on it to then be > displayed by MS as a raster dataset? Or should I be trying to take > advantage of the alpha (?) GRASS version which already talks PostGIS (I > think I heard that somewhere)? Or should I spend a little bit of time > making a large .map file that contains many layers w/ unique RGB's? > > Truth be told, I think the less pieces, the better. I'd love to keep it > all wrapped up in MapServer. But I'm trying to bone up on GDAL, too > however, I don't quite see where that fits in. > > Any help always appreciated. > > Thanks. > > > > > Charlton Purvis > (803) 777-8858 : voice > (803) 777-8833 : fax > cpurvis@sc.edu > > Advanced Solutions Group > Department of Physics and Astronomy > University of South Carolina > Columbia, SC 29208 > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > _______________________________________________ Mapserver-users mailing list Mapserver-users@lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From millardymecki@sympatico.ca Mon Jun 2 20:24:11 2003 From: millardymecki@sympatico.ca (Paul Dymecki) Date: Mon, 2 Jun 2003 15:24:11 -0400 Subject: [Mapserver-users] street level maps for canada Message-ID: <00b401c3293c$8bd08120$8000a8c0@pauls> This is a multi-part message in MIME format. ------=_NextPart_000_00B1_01C3291B.0470E830 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, Sorry my last message's subject was a bit off. So just thought i'd = resend. I was wondering if anyone knows of street wms maps for Canada? thx, Paul ------=_NextPart_000_00B1_01C3291B.0470E830 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi,
   Sorry my last message's = subject was a=20 bit off.  So just thought i'd resend.  I was wondering if = anyone knows=20 of street wms  maps for Canada?
thx,
Paul
------=_NextPart_000_00B1_01C3291B.0470E830-- From manofdp@yahoo.com.br Mon Jun 2 20:40:31 2003 From: manofdp@yahoo.com.br (=?iso-8859-1?q?Manofdp?=) Date: Mon, 2 Jun 2003 16:40:31 -0300 (ART) Subject: [Mapserver-users] PIXMAP Message-ID: <20030602194031.37882.qmail@web41705.mail.yahoo.com> --0-296198049-1054582831=:37841 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Help please! I have a points shape and I want to show this points as a GIF. I use MapServer 3.6.3 This is a layer: LAYER NAME pinos DATA pinosxy STATUS default TYPE ANNOTATION TRANSFORM OFF CLASS NAME "todos" COLOR 200 200 200 SIZE 6 SYMBOL 'imgteste' END END and this is a symbol Symbol Name 'imgteste' Type PIXMAP IMAGE large.gif #Transparent 15 END I receive this error loadSymbol(): General error message. Unable to load GIF symbol. Thanks!! Flávio --------------------------------- Yahoo! Mail Mais espaço, mais segurança e gratuito: caixa postal de 6MB, antivírus, proteção contra spam. --0-296198049-1054582831=:37841 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit
Help please!
 
I have a points shape and I want to show this points as a GIF. I use MapServer 3.6.3
This is a layer:

LAYER
NAME pinos
DATA pinosxy
STATUS default
TYPE ANNOTATION
TRANSFORM OFF
CLASS
NAME "todos"
COLOR 200 200 200
SIZE 6
SYMBOL 'imgteste'
END
END

and this is a symbol


Symbol
Name 'imgteste'
Type PIXMAP
IMAGE large.gif
#Transparent 15
END

I receive this error

loadSymbol(): General error message. Unable to load GIF symbol.

Thanks!!

 

Flávio

 



Yahoo! Mail
Mais espaço, mais segurança e gratuito: caixa postal de 6MB, antivírus, proteção contra spam. --0-296198049-1054582831=:37841-- From lfilak@medinaco.org Mon Jun 2 21:08:36 2003 From: lfilak@medinaco.org (Lowell Filak) Date: Mon, 02 Jun 2003 16:08:36 -0400 Subject: [Mapserver-users] Creating Shape Files Message-ID: <200306022008.h52K8WN20886@yogi.medinaco.net> MapServer will use many formats besides shapefile but seeing that you are planning on using MapScript you could write a program to create the shapefile(s) using MapScript :-) Lowell F. The following message was sent by "Aaron Kreider" on Mon, 02 Jun 2003 14:14:30 -0500. > I'm trying to convert my data into a format that can be used by Mapserver > (or more specifically Mapscript). The data currently resides in a regular > mysql table. > > Does Mapserver only use shape files? And if so, how do I create a shape > file? I've searched to find free utilities (I do not want to buy Arcview > 3) that will do it for me or to try and find an explanation of what the > format is (so I could do it myself), but haven't found anything. > > I'd appreciate help on this. > > Aaron > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From Emil Zegers Mon Jun 2 21:08:32 2003 From: Emil Zegers (Emil Zegers) Date: Mon, 02 Jun 2003 22:08:32 +0200 Subject: [Mapserver-users] Re: gmap problem Message-ID: <006101c32942$be32da90$9600000a@maria> Hi Nol, I think it is a NT user/rights issue. If you run any php file that's not inside the wwwroot directory (you probably placed the gmap sample outside of it?) the direcory might not have the appropraite user/rights. Possible solutions: - placing the gmap sample in the wwroot directory - add user IUSR_ with at least Read and Read &Execute rights to the gmap directory Also check that user IUSR_ has at least Read and Read &Execute rights to php.exe and php4ts.dll Emil Zegers From k.chodak@autoguard.pl Mon Jun 2 21:18:05 2003 From: k.chodak@autoguard.pl (Krzysztof Chodak) Date: Mon, 2 Jun 2003 22:18:05 +0200 Subject: [Mapserver-users] PIXMAP In-Reply-To: <20030602194031.37882.qmail@web41705.mail.yahoo.com> Message-ID: Try using full path to this image like "/var/www/img/large.gih"... BR Krzysztof Chodak -----Original Message----- From: mapserver-users-admin@lists.gis.umn.edu [mailto:mapserver-users-admin@lists.gis.umn.edu] On Behalf Of Manofdp Sent: Monday, June 02, 2003 9:41 PM To: mapserver-users@lists.gis.umn.edu Subject: [Mapserver-users] PIXMAP Help please! I have a points shape and I want to show this points as a GIF. I use MapServer 3.6.3 This is a layer: LAYER NAME pinos DATA pinosxy STATUS default TYPE ANNOTATION TRANSFORM OFF CLASS NAME "todos" COLOR 200 200 200 SIZE 6 SYMBOL 'imgteste' END END and this is a symbol Symbol Name 'imgteste' Type PIXMAP IMAGE large.gif #Transparent 15 END I receive this error loadSymbol(): General error message. Unable to load GIF symbol. Thanks!! Flávio Yahoo! Mail Mais espaço, mais segurança e gratuito: caixa postal de 6MB, antivírus, proteção contra spam. From eric@gomoos.org Mon Jun 2 17:18:32 2003 From: eric@gomoos.org (Eric Bridger) Date: 02 Jun 2003 16:18:32 +0000 Subject: [Mapserver-users] PIXMAP In-Reply-To: <20030602194031.37882.qmail@web41705.mail.yahoo.com> References: <20030602194031.37882.qmail@web41705.mail.yahoo.com> Message-ID: <1054570712.13947.12.camel@ubet.gomoos.org> You need to use the full path to the gif in: SYMBOL IMAGE "/full/path/to/large.gif" On Mon, 2003-06-02 at 19:40, Manofdp wrote: > Help please! > > I have a points shape and I want to show this points as a GIF. I use MapServer 3.6.3 > This is a layer: > > LAYER > NAME pinos > DATA pinosxy > STATUS default > TYPE ANNOTATION > TRANSFORM OFF > CLASS > NAME "todos" > COLOR 200 200 200 > SIZE 6 > SYMBOL 'imgteste' > END > END > > and this is a symbol > > > Symbol > Name 'imgteste' > Type PIXMAP > IMAGE large.gif > #Transparent 15 > END > > > I receive this error > > loadSymbol(): General error message. Unable to load GIF symbol. > > Thanks!! > > > > Flávio > > > > > > > --------------------------------- > Yahoo! Mail > Mais espaço, mais segurança e gratuito: caixa postal de 6MB, antivírus, proteção contra spam. From woklist@charter.net Mon Jun 2 21:44:51 2003 From: woklist@charter.net (William K) Date: Mon, 2 Jun 2003 15:44:51 -0500 Subject: [Mapserver-users] gxx_personality_v0 problems (Mac OS X 10.2) *SOLVED* In-Reply-To: <3EDB950B.369ABE4A@dmsolutions.ca> Message-ID: <0EE46701-953B-11D7-85DD-003065775468@charter.net> > Which version of MapServer were you using? > 3.6.5 (haven't gotten around to trying the 4.0 CVS yet, still getting up to speed with mapserver). On Monday, June 2, 2003, at 01:18 PM, Daniel Morissette wrote: > FYI this -lstdc++ has been added to the 4.0-dev (main CVS trunk) a > little while ago, and the same fix applied to the 3.6 branch yesterday > and will be included in a 3.6.6 release that should be posted to the > live site in the next few days. In both cases the -lstdc++ is added to > XTRALIBS which means that it should also apply to the MapScript > Makefile. cool. ----- William Kyngesburye http://webpages.charter.net/kyngchaos/ "Those people who most want to rule people are, ipso-facto, those least suited to do it." - A rule of the universe, from the HitchHiker's Guide to the Galaxy RIP Douglas Adams 1952-2001 From mcilhagga@dmsolutions.ca Tue Jun 3 00:14:40 2003 From: mcilhagga@dmsolutions.ca (Dave McIlhagga) Date: Mon, 02 Jun 2003 19:14:40 -0400 Subject: [Mapserver-users] hey References: <007901c32934$f8478220$8000a8c0@pauls> Message-ID: <3EDBDA60.4000308@dmsolutions.ca> Hi Paul, Try Natural Resources Canada's Centre for Topographic Information Sherbrooke WMS Server: http://wms.cits.nrcan.gc.ca/cgi-bin/cubeserv.cgi?request=GetCapabilities&version=1.1.0&service=wms For other Canadian WMS data sources, check out the following: http://www.geoconnections.org/CGDI_DevNet/components/index_e.cfm Dave -- Dave McIlhagga http://www.dmsolutions.ca Paul Dymecki wrote: > Hello, > I was wondering if anyone knows where i can find WMS map layers at > the street level for Canada. > thx > Paul From steve.lime@dnr.state.mn.us Tue Jun 3 02:22:25 2003 From: steve.lime@dnr.state.mn.us (Steve Lime) Date: Mon, 02 Jun 2003 20:22:25 -0500 Subject: [Mapserver-users] styleObj? member of classObj? Message-ID: Styles exist within a class, so numbering is sequential but only within a class. The first style in any class is 0, next is 1 and so on. In the mapfile styles are defined in the order they are drawn. At this point styles may not be shared... Steve >>> Gerald Buckmaster 05/31/03 8:19 PM >>> Ok, that makes a bit more sense, but I guess it begs more questions from me. How do you know which styleObj is index 0? Would that be the first styleObj created within a classObj, ie the first style within the class within a layer within the .map file? And if that is so, if I create another styleObj with a different variable, does it start over at 0? Gerald On Saturday 31 May 2003 02:50 pm, Daniel Morissette wrote: > Gerald, > > You have to call $class->GetStyle( style_index ) to access a given > style. And you use ms_newStlyeObj($class) to create a new style inside > a class. > > > Since there can be more than one style in a class, we cannot present a > single class member called style like we do for style->label for > instance. We would have to present an array of styles, not just a > single style... I guess we could have tried to do it this way, but there > may have been some issues with the PHP wrappers and anyway the > getStyle() approach was more consistent with the way layers are accessed > inside the map, and the way classes are accessed inside layers. > > > Daniel > > Gerald Buckmaster wrote: > > Greetings, > > > > Trying to understand the 3.7/4.0 documentation in regards to styleObjs. > > Reading the info on styleObj class leads me to believe instances of > > styleObj are always embedded inside the classObj, yet when I look at the > > members of the classObj, I don't see it named: > > > > Members: > > > > string name > > string title > > int type > > int status (MS_ON, MS_OFF or MS_DELETE) > > int minscale > > int maxscale > > string template > > labelObj label > > int numstyles > > > > All I see is a member called numstyles and a method called getStyle(). > > > > So how do I "attach" a styleObj to a classObj? Doesn't seem to be > > consistent, ie the labelObj is named label. > > > > $cityLabel = $cityCls->label; # I understand > > $cityStyle = $cityCls->???; # no clue > > > > Thanks, > > Gerald _______________________________________________ Mapserver-users mailing list Mapserver-users@lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From thfischer@mapmedia.de Tue Jun 3 11:59:38 2003 From: thfischer@mapmedia.de (Thorsten Fischer) Date: 03 Jun 2003 12:59:38 +0200 Subject: [Mapserver-users] PIXMAP In-Reply-To: <20030602194031.37882.qmail@web41705.mail.yahoo.com> References: <20030602194031.37882.qmail@web41705.mail.yahoo.com> Message-ID: <1054637978.323.2.camel@jeanjacques> On Mon, 2003-06-02 at 21:40, Manofdp wrote: > Help please! > > I have a points shape and I want to show this points as a GIF. I use > MapServer 3.6.3 > This is a layer: > I receive this error > > loadSymbol(): General error message. Unable to load GIF symbol. Your mapserver does not support GIF images. You either want to try to build your mapserver with GIF image support (the hard way) or to convert your symbol to the PNG format (the easier and recommended way) hth, thorsten From thfischer@mapmedia.de Tue Jun 3 12:02:47 2003 From: thfischer@mapmedia.de (Thorsten Fischer) Date: 03 Jun 2003 13:02:47 +0200 Subject: [Mapserver-users] Creating Shape Files In-Reply-To: <3EDB5BC6.25449.1FC24B@localhost> References: <3EDB5BC6.25449.1FC24B@localhost> Message-ID: <1054638167.321.6.camel@jeanjacques> On Mon, 2003-06-02 at 21:14, Aaron Kreider wrote: > I'm trying to convert my data into a format that can be used by Mapserver > (or more specifically Mapscript). The data currently resides in a regular > mysql table. > > Does Mapserver only use shape files? And if so, how do I create a shape > file? In case you are using a language like perl, php and so on, there will be a dialect of mapscript available. MapScript has functions to read, write and of course create shapefiles. If you are programming in C, you might want to take a look at shapelib. hth, thorsten From bplatzen@sosnetz.de Tue Jun 3 14:57:39 2003 From: bplatzen@sosnetz.de (=?iso-8859-15?q?Bj=F6rn=20Platzen?=) Date: Tue, 3 Jun 2003 15:57:39 +0200 Subject: [Mapserver-users] strange behaviour of LABELANGLEITEM Message-ID: <200306031557.39546.bplatzen@sosnetz.de> Hi List, I have point-layers for the labeling of the streets, where the dbf-file provides the information about the angle of the lable (in degrees). It seems, as if every letter is turned instead of the whole label. In my Mapfile it looks like this: LAYER NAME strassennamen1 TYPE annotation STATUS on MAXSCALE 7500 MINSCALE 3400 DATA NebenStrassennamen_text LABELITEM "Strname" LABELANGLEITEM "Text_angle" CLASS LABEL ANTIALIAS true PARTIALS FALSE POSITION cc TYPE TRUETYPE SIZE 8 FONT swiss COLOR 0 0 0 END #LABEL END #CLASS END #LAYER The output can be found under http://www.ividata.de/map_aachen.gif A Version with non-turned labels is under http://www.ividata.de/map_aachen2.gif (just to see the labels text...) The degree-information looks like 35.000000 297.000000 18.000000 309.000000 58.000000 . . . The shapes and dbf's were generated by MapInfo. I hope, that anybody can tell me, what's wrong... Bye, Bjoern -- small office solutions info@sosnetz.de - http://www.sosnetz.de From wkosmider@holonics.ca Tue Jun 3 15:13:45 2003 From: wkosmider@holonics.ca (Waldemar Kosmider) Date: Tue, 3 Jun 2003 10:13:45 -0400 Subject: [Mapserver-users] Errors documented? Message-ID: Hi, Could someone point to a document that lists and describes runtime error messages? Waldemar From Rebecca.Astolfo@ec.gc.ca Mon Jun 2 21:20:02 2003 From: Rebecca.Astolfo@ec.gc.ca (Astolfo,Rebecca [Burlington]) Date: Mon, 2 Jun 2003 16:20:02 -0400 Subject: [Mapserver-users] Re: gmap problem Message-ID: <2576812186CDD411BF1500508B6DCE9502F2AEE6@ECNWRI1> Hi. You could try this link. It's got both the 1:50000 and 1:25000 NTDB sheets as a Canada wide coverage. http://wms.ctis.nrcan.gc.ca/cgi-bin/cubeserv.cgi? Rebecca Rebecca Astolfo GIS Specialist IT Division Environment Canada -----Original Message----- From: Emil Zegers [mailto:taatuut@planet.nl] Sent: June 2, 2003 4:09 PM To: mapserver-users@lists.gis.umn.edu Subject: [Mapserver-users] Re: gmap problem Hi Nol, I think it is a NT user/rights issue. If you run any php file that's not inside the wwwroot directory (you probably placed the gmap sample outside of it?) the direcory might not have the appropraite user/rights. Possible solutions: - placing the gmap sample in the wwroot directory - add user IUSR_ with at least Read and Read &Execute rights to the gmap directory Also check that user IUSR_ has at least Read and Read &Execute rights to php.exe and php4ts.dll Emil Zegers _______________________________________________ Mapserver-users mailing list Mapserver-users@lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From lfilak@medinaco.org Tue Jun 3 17:59:27 2003 From: lfilak@medinaco.org (Lowell Filak) Date: Tue, 03 Jun 2003 12:59:27 -0400 Subject: [Mapserver-users] strange behaviour of LABELANGLEITEM Message-ID: <200306031659.h53GxHN03946@yogi.medinaco.net> I believe it is most likely a GD/FreeType-mismatch issue. You should be able to find something on the resolution in the archives. HTH Lowell F. The following message was sent by =?iso-8859-15?q?Bj=F6rn=20Platzen?= on Tue, 3 Jun 2003 15:57:39 +0200. > Hi List, > > I have point-layers for the labeling of the streets, where the dbf-file > provides the information about the angle of the lable (in degrees). > It seems, as if every letter is turned instead of the whole label. > > In my Mapfile it looks like this: > > LAYER > NAME strassennamen1 > TYPE annotation > STATUS on > MAXSCALE 7500 > MINSCALE 3400 > DATA NebenStrassennamen_text > LABELITEM "Strname" > LABELANGLEITEM "Text_angle" > CLASS > LABEL > ANTIALIAS true > PARTIALS FALSE > POSITION cc > TYPE TRUETYPE > SIZE 8 > FONT swiss > COLOR 0 0 0 > END #LABEL > END #CLASS > END #LAYER > > The output can be found under http://www.ividata.de/map_aachen.gif > A Version with non-turned labels is under > http://www.ividata.de/map_aachen2.gif (just to see the labels text...) > > The degree-information looks like > 35.000000 > 297.000000 > 18.000000 > 309.000000 > 58.000000 > . > . > . > > The shapes and dbf's were generated by MapInfo. > > I hope, that anybody can tell me, what's wrong... > > Bye, > > Bjoern > > -- > small office solutions > info@sosnetz.de - http://www.sosnetz.de > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From rjames57@yahoo.com Tue Jun 3 18:31:31 2003 From: rjames57@yahoo.com (Randy James) Date: Tue, 3 Jun 2003 10:31:31 -0700 (PDT) Subject: [Mapserver-users] strange behaviour of LABELANGLEITEM In-Reply-To: <200306031659.h53GxHN03946@yogi.medinaco.net> Message-ID: <20030603173131.13309.qmail@web12503.mail.yahoo.com> Hi If each letter is an seperate point than you get the results you have. If you want to turn the whole string than you should have the whole string as a label for a single point. Cheers --- Lowell Filak wrote: > I believe it is most likely a GD/FreeType-mismatch issue. > You should be able to find something on the resolution in > the archives. > HTH > Lowell F. > > The following message was sent by > =?iso-8859-15?q?Bj=F6rn=20Platzen?= > on Tue, 3 Jun 2003 15:57:39 +0200. > > > Hi List, > > > > I have point-layers for the labeling of the streets, > where the dbf-file > > provides the information about the angle of the lable > (in degrees). > > It seems, as if every letter is turned instead of the > whole label. > > > > In my Mapfile it looks like this: > > > > LAYER > > NAME strassennamen1 > > TYPE annotation > > STATUS on > > MAXSCALE 7500 > > MINSCALE 3400 > > DATA NebenStrassennamen_text > > LABELITEM "Strname" > > LABELANGLEITEM "Text_angle" > > CLASS > > LABEL > > ANTIALIAS true > > PARTIALS FALSE > > POSITION cc > > TYPE TRUETYPE > > SIZE 8 > > FONT swiss > > COLOR 0 0 0 > > END #LABEL > > END #CLASS > > END #LAYER > > > > The output can be found under > http://www.ividata.de/map_aachen.gif > > A Version with non-turned labels is under > > http://www.ividata.de/map_aachen2.gif (just to see the > labels text...) > > > > The degree-information looks like > > 35.000000 > > 297.000000 > > 18.000000 > > 309.000000 > > 58.000000 > > . > > . > > . > > > > The shapes and dbf's were generated by MapInfo. > > > > I hope, that anybody can tell me, what's wrong... > > > > Bye, > > > > Bjoern > > > > -- > > small office solutions > > info@sosnetz.de - http://www.sosnetz.de > > > > _______________________________________________ > > Mapserver-users mailing list > > Mapserver-users@lists.gis.umn.edu > > > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From eric@gomoos.org Tue Jun 3 14:54:13 2003 From: eric@gomoos.org (Eric Bridger) Date: 03 Jun 2003 13:54:13 +0000 Subject: [Mapserver-users] strange behaviour of LABELANGLEITEM In-Reply-To: <20030603173131.13309.qmail@web12503.mail.yahoo.com> References: <20030603173131.13309.qmail@web12503.mail.yahoo.com> Message-ID: <1054648453.1436.41.camel@ubet.gomoos.org> I ran into something similiar quite a while back while using GDGraph.pm. It was an old bug concerning TrueType fonts and was solved by upgrading to a newer version of GD. Sorry I can't remember what the version numbers were. On Tue, 2003-06-03 at 17:31, Randy James wrote: > Hi > > If each letter is an seperate point than you get the > results you have. If you want to turn the whole string than > you should have the whole string as a label for a single > point. > > Cheers > > --- Lowell Filak wrote: > > I believe it is most likely a GD/FreeType-mismatch issue. > > You should be able to find something on the resolution in > > the archives. > > HTH > > Lowell F. > > > > The following message was sent by > > =?iso-8859-15?q?Bj=F6rn=20Platzen?= > > on Tue, 3 Jun 2003 15:57:39 +0200. > > > > > Hi List, > > > > > > I have point-layers for the labeling of the streets, > > where the dbf-file > > > provides the information about the angle of the lable > > (in degrees). > > > It seems, as if every letter is turned instead of the > > whole label. > > > > > > In my Mapfile it looks like this: > > > > > > LAYER > > > NAME strassennamen1 > > > TYPE annotation > > > STATUS on > > > MAXSCALE 7500 > > > MINSCALE 3400 > > > DATA NebenStrassennamen_text > > > LABELITEM "Strname" > > > LABELANGLEITEM "Text_angle" > > > CLASS > > > LABEL > > > ANTIALIAS true > > > PARTIALS FALSE > > > POSITION cc > > > TYPE TRUETYPE > > > SIZE 8 > > > FONT swiss > > > COLOR 0 0 0 > > > END #LABEL > > > END #CLASS > > > END #LAYER > > > > > > The output can be found under > > http://www.ividata.de/map_aachen.gif > > > A Version with non-turned labels is under > > > http://www.ividata.de/map_aachen2.gif (just to see the > > labels text...) > > > > > > The degree-information looks like > > > 35.000000 > > > 297.000000 > > > 18.000000 > > > 309.000000 > > > 58.000000 > > > . > > > . > > > . > > > > > > The shapes and dbf's were generated by MapInfo. > > > > > > I hope, that anybody can tell me, what's wrong... > > > > > > Bye, > > > > > > Bjoern > > > > > > -- > > > small office solutions > > > info@sosnetz.de - http://www.sosnetz.de > > > > > > _______________________________________________ > > > Mapserver-users mailing list > > > Mapserver-users@lists.gis.umn.edu > > > > > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > > > _______________________________________________ > > Mapserver-users mailing list > > Mapserver-users@lists.gis.umn.edu > > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > > __________________________________ > Do you Yahoo!? > Yahoo! Calendar - Free online calendar with sync to Outlook(TM). > http://calendar.yahoo.com > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > From s9646183@sms.ed.ac.uk Tue Jun 3 19:08:24 2003 From: s9646183@sms.ed.ac.uk (AMC Story) Date: Tue, 03 Jun 2003 19:08:24 +0100 (BST) Subject: [Mapserver-users] Problem with Mapplet Message-ID: <1054663704.3edce418c764d@sms.ed.ac.uk> Hi, I'm new to MapServer, but have managed to get the demo up and running and am currently trying to get the mapplet working too. I've followed the instructions in the HOWTO, and it would appear that the applet is accessed. However, while the rest of the interface looks fine, I get a grey box instead of my map. Also, I'm now getting a MSIE warning box that simply says "mapplet ", and when I move the mouse around the screen you can see a message in the status bar of the browser that says "exception: java.lang.NullPointerException". I thought originally that the file paths could be wrong (I'm running the demo_init and the java files from my public_html directory on my local machine and the other files from my scripts directory, which has worked until now, but might be a problem...?). If anyone has any idea what I might be doing wrong I'd really appreciate it. Thanks Ali Story From bplatzen@sosnetz.de Tue Jun 3 19:12:09 2003 From: bplatzen@sosnetz.de (=?iso-8859-15?q?Bj=F6rn=20Platzen?=) Date: Tue, 3 Jun 2003 20:12:09 +0200 Subject: [Mapserver-users] strange behaviour of LABELANGLEITEM In-Reply-To: <200306031659.h53GxHN03946@yogi.medinaco.net> References: <200306031659.h53GxHN03946@yogi.medinaco.net> Message-ID: <200306032012.09741.bplatzen@sosnetz.de> Hi Lowell, > You should be able to find something on the resolution in the > archives. HTH maybe I should have done this first... Thanks, Bjoern -- small office solutions info@sosnetz.de - http://www.sosnetz.de From bplatzen@sosnetz.de Tue Jun 3 19:14:21 2003 From: bplatzen@sosnetz.de (=?iso-8859-1?q?Bj=F6rn=20Platzen?=) Date: Tue, 3 Jun 2003 20:14:21 +0200 Subject: [Mapserver-users] strange behaviour of LABELANGLEITEM In-Reply-To: <20030603173131.13309.qmail@web12503.mail.yahoo.com> References: <20030603173131.13309.qmail@web12503.mail.yahoo.com> Message-ID: <200306032014.22004.bplatzen@sosnetz.de> Hi, > If each letter is an seperate point than you get the > results you have. If you want to turn the whole string than > you should have the whole string as a label for a single > point. I have the whole string as label in my dbf. For each point in the shp there is one string and one angle in the dbf. Thanks, Bjoern -- small office solutions info@sosnetz.de - http://www.sosnetz.de From bplatzen@sosnetz.de Tue Jun 3 19:16:32 2003 From: bplatzen@sosnetz.de (=?iso-8859-15?q?Bj=F6rn=20Platzen?=) Date: Tue, 3 Jun 2003 20:16:32 +0200 Subject: [Mapserver-users] strange behaviour of LABELANGLEITEM In-Reply-To: <1054648453.1436.41.camel@ubet.gomoos.org> References: <20030603173131.13309.qmail@web12503.mail.yahoo.com> <1054648453.1436.41.camel@ubet.gomoos.org> Message-ID: <200306032016.32383.bplatzen@sosnetz.de> Hi Eric, Am Dienstag, 3. Juni 2003 15:54 schrieb Eric Bridger: > I ran into something similiar quite a while back while using > GDGraph.pm. It was > an old bug concerning TrueType fonts and was solved by upgrading to a > newer version of GD. Sorry I can't remember what the version numbers > were. It happens here with gd-1.8.4 and freetype-2.0.7 If you remember someday with wich versions it worked, please let me know... 8~) Thanks & bye, Bjoern. -- small office solutions info@sosnetz.de - http://www.sosnetz.de From pond_bear@hotmail.com Tue Jun 3 20:57:58 2003 From: pond_bear@hotmail.com (pond bear) Date: Tue, 03 Jun 2003 14:57:58 -0500 Subject: [Mapserver-users] Some improvement might be done for the mapserver's documentation . Message-ID: Hi, everybody I will attend the first MapServer Users Meeting on St. Paul Campus of the University of Minnesota. So we will meet there. See you. I have used mapserver for half a year and met a lot difficuties in installation and compilation. The documentations about mapserver installation on Linux is very misleading. To save you time, here is a list of suggestions I will recommend to add into Mapserver help files. 1. Mapserver3.7 requires GD2.0.12 or up, which is important but not mentioned in " MapServer Unix Compilation and Installation Howto". 2. There still is a "Mapplet Howto" while mapplet has been upgraded to jbox. Replacing it with "jbox howto" will be more helpful. 3. Many people have mentioned the problem "Can't find XXXX.so" after installing mapserver, which is due to the library not in the searching path. Maybe we can add following in "Mapserver Unix Compilation and Installation Howto": Add a line in httpd.conf "setenv LD_LIBRARY_PATH /lib:/usr/lib:/usr/local/lib:/home/oracle/OraHome1/lib" 4. "Mapserver PHP/Mapscript Installation Howto" doesn't mention PHP must be compiled as a CGI program in Linux, which is the only way we have found to get php work with mapserver. 5. "MapFile Reference - MapServer 3.7" fails to mention the new features such as DATAPATTERN, which is one of the most important new features of 3.7. 6. In turtorial and Demo, the input image type is gif which can't be handled by mapserver with the default configuration of GD (no gif support). Why not make a new version of turtorial and demo using PNG as input image? Jing University of North Dakota. _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus From pond_bear@hotmail.com Tue Jun 3 22:13:32 2003 From: pond_bear@hotmail.com (pond bear) Date: Tue, 03 Jun 2003 16:13:32 -0500 Subject: [Mapserver-users] Some suggestions about mapserver3.7 Message-ID: 1. Right now we can change band combination via POCESSING "bands=x,x,x" in mapfile. If we can change PROCESSING directive via the URL or the form variables, it will be much helpful. 2. I want two mapfiles using the same template file. Unforturnately, each mapfile requires a little bit difference from each other. I hate to write two siminar template files and have to change each one when neccessary. So I add a empty lay in the two mapfile, and return [map_layer_STATUS] to template file. For the different return value, I use javascript to display a different interface. If mapserver can return some dummy flags, it will be helpful to me. Thanks Jing University of North Dakota. _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail From mapsurf@midsouth.rr.com Tue Jun 3 23:46:11 2003 From: mapsurf@midsouth.rr.com (mapsurfer) Date: Tue, 3 Jun 2003 17:46:11 -0500 Subject: [Mapserver-users] perl mapscript 3.6.5 References: Message-ID: <01de01c32a21$f19c1010$0a00a8c0@siliconmapping.com> Steve /et al., I am trying to install mapscript on a shared computer (private install in a home directory) My setup is a freebsd4.6 machine, perl 5.6.1, gcc 2.x, etc. When I try to install mapscript on 3.6.5, it seems to compile and install fine, but when I try to "use" it, I get an error about an "Unresolved: gdImageGif". If I use the same "configure" on an older version (my good ol 3.3_012), it runs fine. gd-1.8.4 is installed in my private usr/local and it gets compiled in OK. I set LD_CONFIG_PATH to my private "lib" path, but that didnt fix anything. I tried installing a both static and shared gd libs, which didnt help either. There doesnt seem to anything wrong with the configure or build of mapserv, but for some reason perl mapscript 3.6.5 wont resolve GD. I guess it is looking for it in /usr/local/lib. I went thru the Makefile, but dont the see problem yet. I suspect its something in Makefile.PL, but can't tell for sure. Do you have any ideas on whats going on? THanks, Chris S From stepan.kafka@centrum.cz Wed Jun 4 07:28:55 2003 From: stepan.kafka@centrum.cz (Stepan Kafka) Date: Wed, 4 Jun 2003 08:28:55 +0200 Subject: [Mapserver-users] strange behaviour of LABELANGLEITEM In-Reply-To: <200306032016.32383.bplatzen@sosnetz.de> Message-ID: <000c01c32a62$92986b90$463c2fc3@HSGIS> It's reccommended to use 1. gd-1.8.4 with freetype 1.x (for Mapserver 3.6.x) 2. gd-2.0.12 with freetype 2.1.3 or 2.1.4 (only one possible option with Mapserver 4.x) Stepan Kafka > -----Pùvodní zpráva----- > Od: mapserver-users-admin@lists.gis.umn.edu > [mailto:mapserver-users-admin@lists.gis.umn.edu]za uživatele Björn > Platzen > Odesláno: 3. èervna 2003 20:17 > Komu: Eric Bridger; Mapserver List > Pøedmìt: Re: [Mapserver-users] strange behaviour of LABELANGLEITEM > > > Hi Eric, > > Am Dienstag, 3. Juni 2003 15:54 schrieb Eric Bridger: > > I ran into something similiar quite a while back while using > > GDGraph.pm. It was > > an old bug concerning TrueType fonts and was solved by upgrading to a > > newer version of GD. Sorry I can't remember what the version numbers > > were. > > It happens here with gd-1.8.4 and freetype-2.0.7 > If you remember someday with wich versions it worked, please let me > know... 8~) > > Thanks & bye, > > Bjoern. > > -- > small office solutions > info@sosnetz.de - http://www.sosnetz.de > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > > --- > Príchozí zpráva neobsahuje viry. > Zkontrolováno antivirovým systémem AVG (http://www.grisoft.cz). > Verze: 6.0.487 / Virová báze: 286 - datum vydání: 1.6.2003 > --- Odchozí zpráva neobsahuje viry. Zkontrolováno antivirovým systémem AVG (http://www.grisoft.cz). Verze: 6.0.487 / Virová báze: 286 - datum vydání: 1.6.2003 From bplatzen@sosnetz.de Wed Jun 4 07:42:48 2003 From: bplatzen@sosnetz.de (=?iso-8859-1?q?Bj=F6rn=20Platzen?=) Date: Wed, 4 Jun 2003 08:42:48 +0200 Subject: [Mapserver-users] strange behaviour of LABELANGLEITEM In-Reply-To: <000c01c32a62$92986b90$463c2fc3@HSGIS> References: <000c01c32a62$92986b90$463c2fc3@HSGIS> Message-ID: <200306040842.48783.bplatzen@sosnetz.de> Hello Stepan, thanks a lot! Bye, Bjoern. Am Mittwoch, 4. Juni 2003 08:28 schrieb Stepan Kafka: > It's reccommended to use > > 1. gd-1.8.4 with freetype 1.x (for Mapserver 3.6.x) > 2. gd-2.0.12 with freetype 2.1.3 or 2.1.4 (only one possible option > with Mapserver 4.x) > > Stepan Kafka > > > -----Pùvodní zpráva----- > > Od: mapserver-users-admin@lists.gis.umn.edu > > [mailto:mapserver-users-admin@lists.gis.umn.edu]za uživatele Björn > > Platzen > > Odesláno: 3. èervna 2003 20:17 > > Komu: Eric Bridger; Mapserver List > > Pøedmìt: Re: [Mapserver-users] strange behaviour of LABELANGLEITEM > > > > > > Hi Eric, > > > > Am Dienstag, 3. Juni 2003 15:54 schrieb Eric Bridger: > > > I ran into something similiar quite a while back while using > > > GDGraph.pm. It was > > > an old bug concerning TrueType fonts and was solved by upgrading > > > to a newer version of GD. Sorry I can't remember what the version > > > numbers were. > > > > It happens here with gd-1.8.4 and freetype-2.0.7 > > If you remember someday with wich versions it worked, please let me > > know... 8~) > > > > Thanks & bye, > > > > Bjoern. > > > > -- > > small office solutions > > info@sosnetz.de - http://www.sosnetz.de > > > > _______________________________________________ > > Mapserver-users mailing list > > Mapserver-users@lists.gis.umn.edu > > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > > > > > --- > > Príchozí zpráva neobsahuje viry. > > Zkontrolováno antivirovým systémem AVG (http://www.grisoft.cz). > > Verze: 6.0.487 / Virová báze: 286 - datum vydání: 1.6.2003 > > --- > Odchozí zpráva neobsahuje viry. > Zkontrolováno antivirovým systémem AVG (http://www.grisoft.cz). > Verze: 6.0.487 / Virová báze: 286 - datum vydání: 1.6.2003 -- small office solutions info@sosnetz.de - http://www.sosnetz.de From thfischer@mapmedia.de Wed Jun 4 10:08:22 2003 From: thfischer@mapmedia.de (Thorsten Fischer) Date: 04 Jun 2003 11:08:22 +0200 Subject: [Mapserver-users] perl mapscript 3.6.5 In-Reply-To: <01de01c32a21$f19c1010$0a00a8c0@siliconmapping.com> References: <01de01c32a21$f19c1010$0a00a8c0@siliconmapping.com> Message-ID: <1054717702.363.2.camel@jeanjacques> On Wed, 2003-06-04 at 00:46, mapsurfer wrote: > My setup is a freebsd4.6 machine, perl 5.6.1, gcc 2.x, etc. > When I try to install mapscript on 3.6.5, it seems to compile and install > fine, but when I try to "use" it, > I get an error about an "Unresolved: gdImageGif". If I use the same > "configure" on an older version > (my good ol 3.3_012), it runs fine. gd-1.8.4 is installed http://www.boutell.com/gd/manual1.8.4.html GD 1.8.4 does not support GIF images. With 3.3 you probably used the GD version that came with the mapserver package, and not the other one installed on your system. hth, thorsten From N.Witte@bunnik.cso.nl Wed Jun 4 08:32:58 2003 From: N.Witte@bunnik.cso.nl (Nol Witte) Date: Wed, 4 Jun 2003 09:32:58 +0200 Subject: [Mapserver-users] RE: gmap problem Message-ID: <5DB85700D035D7118F98000102A4837F217ABD@URANUS> Hi Emil, thanks for the help. > If you run any php file that's not inside the wwwroot directory (you > probably placed the gmap sample outside of it?) the direcory might not have > the appropraite user/rights. My gmap data is placed in c:\FoxServ\www\gmap\ (including all sub directories). So I quess that is not the problem? > - placing the gmap sample in the wwroot directory > - add user IUSR_ with at least Read and Read &Execute rights to the gmap directory The test-script (phpinfo_mapscript.phtml) is running when placed in a normal subdirectory of the www-root but when called on from the www\gmap\htdocs directory, the 500 error occurs. For that reason I think it's not the IUSR_ problem, but I will give it a try anyway. Regards, Nol From thfischer@mapmedia.de Wed Jun 4 10:34:12 2003 From: thfischer@mapmedia.de (Thorsten Fischer) Date: 04 Jun 2003 11:34:12 +0200 Subject: [Mapserver-users] Errors documented? In-Reply-To: References: Message-ID: <1054719251.365.6.camel@jeanjacques> On Tue, 2003-06-03 at 16:13, Waldemar Kosmider wrote: > Hi, > Could someone point to a document that lists and describes > runtime error messages? Nope. Because there is no such thing. Two workarounds are: either you search the mailing list archive for your particular error message, or (this is unix-specific, you probably can figure out a way to do this on other systems) you can search the sources for that error message and see in what context they arised. hth, thorsten From rasp@tzi.de Wed Jun 4 08:46:23 2003 From: rasp@tzi.de (Rainer Spittel) Date: Wed, 04 Jun 2003 09:46:23 +0200 Subject: [Mapserver-users] WMS - question Message-ID: <3EDDA3CF.9090904@tzi.de> Hi, It seems to be a real problem for me to configure the MapServer :( I want to setup a cascading web map service using wms-server and wms-client options to provide these operations. I have compiled a wms-server on a linux plattform and configure a map-file. This mapserver supports WMS_SERVER and other options: geosharewms2:/usr/local/apache/cgi-bin # ./mapserv -v MapServer version 3.6.5 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP SUPPORTS=PROJ SUPPORTS=TTF SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT INPUT=TIFF INPUT=EPPL7 INPUT=JPEG INPUT=SDE INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE I am able to send a GetCapabilities request to this mapserver and receive a XML document: http://geosharewms2.tzi.de/cgi-bin/mapserv?map=/www_root/mapserver/cascade_server/htdocs/mapserv.map&REQUEST=GetCapabilities Even a GetMap request will be proceeded correctly. But I am not able to setup a WMS-client which accesses this mapserver. I am using a second map-file which defines a WMS-layer with the Connection-String to the WMS_SERVER mapserver: LAYER NAME "bbflaechen" STATUS ON TYPE POLYGON METADATA "wms_title" "Bebaute Flchen in Bremen" "wms_srs" "EPSG:31492" END CONNECTIONTYPE WMS CONNECTION "http://localhost/cgi-bin/mapserv?map=/www_root/mapserver/cascade_dev/htdocs/mapserv.map?VERSION=1.1.0&LAYERS=bebauteflaechen" PROJECTION "init=epsg:31492" END END When I try to visualize this mapfile I receive following error message: Warning: MapServer Error in msDrawRaster(): Unrecognized or unsupported image format in /usr/local/apache/htdocs/mapserver/cascade_client/htdocs/mapserv.php3 on line 483 Fatal error: Call to a member function on a non-object in /usr/local/apache/htdocs/mapserver/cascade_client/htdocs/mapserv.php3 on line 484 I am really confused about this, because I am not using raster-images... Next step I use this mapserver with wms_server support as a datasource in MapLab/MapBrowser and I was not able to establish a connection to my mapserver using this URL: http://geosharewms2.tzi.de/cgi-bin/mapserv?map=/www_root/mapserver/cascade_server/htdocs/mapserv.map& If anyone know a hint, please let me know. Is it possible to use a shorter URL to my map-file? I don't want to use a absolute path to the mapfile. I am using following configuration: apache 1.3.27 gd-1.8.4 gdal-1.1.7 libgeotiff-1.1.4 mapserver-3.6.5 php-4.2.3 postgis-0.7.5 postpresql-7.3.2 proj-4.4.5 w3c-libwww-5.4.0 Thx, Rainer From Mferrari@crema.unimi.it Wed Jun 4 09:09:30 2003 From: Mferrari@crema.unimi.it (Marco Ferrari) Date: Wed, 4 Jun 2003 10:09:30 +0200 Subject: [Mapserver-users] Label without java applet Message-ID: <92F02B0DA5A19549BEA6C9E26917F0392A176B@ganimede.crema.unimi.it> Hi, Is it possible to create a label only when the mouse is passing on a specified polygon without to use java applet? If yes, how? Thanks. From slaven@rezic.de Wed Jun 4 09:34:10 2003 From: slaven@rezic.de (Slaven Rezic) Date: 04 Jun 2003 10:34:10 +0200 Subject: [Mapserver-users] perl mapscript 3.6.5 In-Reply-To: Thorsten Fischer's message of "04 Jun 2003 11:08:22 +0200" References: <01de01c32a21$f19c1010$0a00a8c0@siliconmapping.com> <1054717702.363.2.camel@jeanjacques> Message-ID: <87smqqnsvx.fsf@vran.herceg.de> Thorsten Fischer writes: > On Wed, 2003-06-04 at 00:46, mapsurfer wrote: > > My setup is a freebsd4.6 machine, perl 5.6.1, gcc 2.x, etc. > > When I try to install mapscript on 3.6.5, it seems to compile and install > > fine, but when I try to "use" it, > > I get an error about an "Unresolved: gdImageGif". If I use the same > > "configure" on an older version > > (my good ol 3.3_012), it runs fine. gd-1.8.4 is installed > > http://www.boutell.com/gd/manual1.8.4.html > > GD 1.8.4 does not support GIF images. With 3.3 you probably used the GD > version that came with the mapserver package, and not the other one > installed on your system. > As a side note: I released GD::Convert at CPAN which provides GIF input/output for GD without GIF support. You need either netpbm or ImageMagick for this to work. Regards, Slaven -- Slaven Rezic - slaven@rezic.de Berlin Perl Mongers - http://berliner.pm.org From thfischer@mapmedia.de Wed Jun 4 13:25:46 2003 From: thfischer@mapmedia.de (Thorsten Fischer) Date: 04 Jun 2003 14:25:46 +0200 Subject: [Mapserver-users] WMS - question In-Reply-To: <3EDDA3CF.9090904@tzi.de> References: <3EDDA3CF.9090904@tzi.de> Message-ID: <1054729546.583.8.camel@jeanjacques> On Wed, 2003-06-04 at 09:46, Rainer Spittel wrote: > http://geosharewms2.tzi.de/cgi-bin/mapserv?map=/www_root/ > mapserver/cascade_server/htdocs/mapserv.map&REQUEST=GetCapabilities ^^^^ > LAYER [ ... ] > CONNECTION > "http://localhost/cgi-bin/mapserv?map=/www_root/ > mapserver/cascade_dev/htdocs/mapserv.map?VERSION=1.1.0&LAYERS=bebauteflaechen" ^^^^ Are you sure you want to use different directories here? Also check if localhost is resolved the way you intend it to. > Warning: MapServer Error in msDrawRaster(): Unrecognized or unsupported > image format in > /usr/local/apache/htdocs/mapserver/cascade_client/htdocs/mapserv.php3 on > line 483 You probably receive an error message in some text mime type instead of an image mime type. This cannot be parsed as an image -> unrecognized image format. > I am really confused about this, because I am not using raster-images... Common mistake: you do. You call the WMS server and _always_ receive a raster image. Just like when you call a 'classic' cgi MapServer with mode=map. The type POLYGON should be RASTER. If you want to transfer vectors over the net, you want to use WFS. But you don't have to, as your WMS server always produces a raster map, no matter what sources it is using. > Next step I use this mapserver with wms_server support as a datasource > in MapLab/MapBrowser and I was not able to establish a connection to my > mapserver using this URL: > > http://geosharewms2.tzi.de/cgi-bin/mapserv?map=/www_root/mapserver/cascade_server/htdocs/mapserv.map& > > If anyone know a hint, please let me know. Is it possible to use a > shorter URL to my map-file? I don't want to use a absolute path to the > mapfile. You can hide the mapfile name completely, as described in the wms server howto on the mapserver documentation pages. hth, thorsten From robert@wotzhere.com Wed Jun 4 11:26:09 2003 From: robert@wotzhere.com (Robert Crossley) Date: Wed, 04 Jun 2003 20:26:09 +1000 Subject: [Mapserver-users] Map File and MapScript for MapInfo files Message-ID: Hi all, I am revisiting a site that has worked really well for the last year, but now we want to make it use mapinfo files rather than shape files. We have one map file that works with shape files but it doesn't when it is pointed at the equivalent MapInfo files. TO make matters harder, the layers that are used are changed at runtime using mapscript, and it all runs from an activeX that also has Image Web Server controls in it. The bottom line is that mapserver's errors don't get through, the map just doesn't appear. We have got mapserver working with mapinfo files OK on another site on that computer, but there are no mapscript changes other than turning layers on or off. In the shape map file, I currently change the _data= property to the new name. The Shapepath definition acts as a reference point that I can change the data used relative to that. I think that I have to change the connection property for the mapinfo map file, but I'm pretty sure that the paths are the problem. Are the connection specs in the map file relative to the mapfile or should (can) they include absolute paths? In the one that is working they are stored in a subdirectory below the web site, and the connection string specifies a path relative to the web site (and map file). Our data is on a different drive. Perhaps I just need to set up a page that simply gets mapserver to serve an image directly from the map server and perhaps get a look at the errors. I liked the look of Daniel's MapEdit, but the server doesn't have php loaded. Any other suggestions? R -- Robert Crossley Robert Crossley & Assoc 9 Short St New Brighton 2483 Far Southern Queensland AUSTRALIA P: 02 6680 1309 F: New Connection M: 0419 718 642 E: robert@wotzhere.com From lfilak@medinaco.org Wed Jun 4 13:53:27 2003 From: lfilak@medinaco.org (Lowell Filak) Date: Wed, 04 Jun 2003 08:53:27 -0400 Subject: [Mapserver-users] Map File and MapScript for MapInfo files Message-ID: <200306041253.h54CrKN17096@yogi.medinaco.net> Being that you are using a version from at least a year ago I have found that it seems to work best to have the data in a directory below where the mapfile is. I sometimes use a symbolic link to facilitate that and it works fine. HTH Lowell F. The following message was sent by Robert Crossley on Wed, 04 Jun 2003 20:26:09 +1000. > Hi all, > > I am revisiting a site that has worked really well for the last year, but > now we want to make it use mapinfo files rather than shape files. > > We have one map file that works with shape files but it doesn't when it is > pointed at the equivalent MapInfo files. TO make matters harder, the > layers that are used are changed at runtime using mapscript, and it all > runs from an activeX that also has Image Web Server controls in it. The > bottom line is that mapserver's errors don't get through, the map just > doesn't appear. > > We have got mapserver working with mapinfo files OK on another site on that > computer, but there are no mapscript changes other than turning layers on > or off. > > In the shape map file, I currently change the _data= property to the new > name. The Shapepath definition acts as a reference point that I can change > the data used relative to that. > > I think that I have to change the connection property for the mapinfo map > file, but I'm pretty sure that the paths are the problem. > > Are the connection specs in the map file relative to the mapfile or should > (can) they include absolute paths? In the one that is working they are > stored in a subdirectory below the web site, and the connection string > specifies a path relative to the web site (and map file). Our data is on a > different drive. > > Perhaps I just need to set up a page that simply gets mapserver to serve an > image directly from the map server and perhaps get a look at the errors. I > liked the look of Daniel's MapEdit, but the server doesn't have php loaded. > Any other suggestions? > > R > > > -- > > Robert Crossley Robert Crossley & Assoc > 9 Short St > New Brighton 2483 > Far Southern Queensland > AUSTRALIA > > P: 02 6680 1309 > F: New Connection > M: 0419 718 642 > E: robert@wotzhere.com > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From lfilak@medinaco.org Wed Jun 4 14:12:32 2003 From: lfilak@medinaco.org (Lowell Filak) Date: Wed, 04 Jun 2003 09:12:32 -0400 Subject: [Mapserver-users] Label without java applet Message-ID: <200306041312.h54DCPN17464@yogi.medinaco.net> Yes. You need to use MapScript to dynamically generate the "polygon" information for use in JavaScript "onmouseover" commands. HTH Lowell F. The following message was sent by "Marco Ferrari" on Wed, 4 Jun 2003 10:09:30 +0200. > Hi, > Is it possible to create a label only when the mouse is passing on a specified polygon without to use java applet? > If yes, how? > Thanks. > > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From lfilak@medinaco.org Wed Jun 4 14:40:34 2003 From: lfilak@medinaco.org (Lowell Filak) Date: Wed, 04 Jun 2003 09:40:34 -0400 Subject: [Mapserver-users] Some improvement might be done for the mapserver's documentation . Message-ID: <200306041340.h54DeRN18089@yogi.medinaco.net> Please consider posting all the helpful instructions you have graciously composed to the wiki as it provides an opportunity for everyone to correct/update/add as needed. Thanks. Lowell F. The following message was sent by "pond bear" on Tue, 03 Jun 2003 14:57:58 -0500. > Hi, everybody > > I will attend the first MapServer Users Meeting on St. Paul Campus of the > University of Minnesota. So we will meet there. See you. > > I have used mapserver for half a year and met a lot difficuties in > installation and compilation. The documentations about mapserver > installation on Linux is very misleading. To save you time, here is a list > of suggestions I will recommend to add into Mapserver help files. > > 1. Mapserver3.7 requires GD2.0.12 or up, which is important but not > mentioned in " MapServer Unix Compilation and Installation Howto". > > 2. There still is a "Mapplet Howto" while mapplet has been upgraded to jbox. > Replacing it with "jbox howto" will be more helpful. > > 3. Many people have mentioned the problem "Can't find XXXX.so" after > installing mapserver, which is due to the library not in the searching path. > Maybe we can add following in "Mapserver Unix Compilation and Installation > Howto": > > Add a line in httpd.conf > "setenv LD_LIBRARY_PATH > /lib:/usr/lib:/usr/local/lib:/home/oracle/OraHome1/lib" > > 4. "Mapserver PHP/Mapscript Installation Howto" doesn't mention PHP must be > compiled as a CGI program in Linux, which is the only way we have found to > get php work with mapserver. > > 5. "MapFile Reference - MapServer 3.7" fails to mention the new features > such as DATAPATTERN, which is one of the most important new features of 3.7. > > 6. In turtorial and Demo, the input image type is gif which can't be handled > by mapserver with the default configuration of GD (no gif support). Why not > make a new version of turtorial and demo using PNG as input image? > > Jing > > University of North Dakota. > > _________________________________________________________________ > MSN 8 with e-mail virus protection service: 2 months FREE* > http://join.msn.com/?page=features/virus > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From mapsurf@midsouth.rr.com Wed Jun 4 15:59:12 2003 From: mapsurf@midsouth.rr.com (mapsurfer) Date: Wed, 4 Jun 2003 09:59:12 -0500 Subject: [Mapserver-users] perl mapscript 3.6.5 References: <01de01c32a21$f19c1010$0a00a8c0@siliconmapping.com> <1054717702.363.2.camel@jeanjacques> <87smqqnsvx.fsf@vran.herceg.de> Message-ID: <022701c32aaa$4fd398a0$0a00a8c0@siliconmapping.com> I'm using the aussie version of gd-1.8.4, which includes .gif support. But thanks for the info, Chris Stuber ----- Original Message ----- From: "Slaven Rezic" To: "Thorsten Fischer" Cc: "mapsurfer" ; "MapServer" Sent: Wednesday, June 04, 2003 3:34 AM Subject: Re: [Mapserver-users] perl mapscript 3.6.5 > Thorsten Fischer writes: > > > On Wed, 2003-06-04 at 00:46, mapsurfer wrote: > > > My setup is a freebsd4.6 machine, perl 5.6.1, gcc 2.x, etc. > > > When I try to install mapscript on 3.6.5, it seems to compile and install > > > fine, but when I try to "use" it, > > > I get an error about an "Unresolved: gdImageGif". If I use the same > > > "configure" on an older version > > > (my good ol 3.3_012), it runs fine. gd-1.8.4 is installed > > > > http://www.boutell.com/gd/manual1.8.4.html > > > > GD 1.8.4 does not support GIF images. With 3.3 you probably used the GD > > version that came with the mapserver package, and not the other one > > installed on your system. > > > > As a side note: I released GD::Convert at CPAN which provides GIF > input/output for GD without GIF support. You need either netpbm or > ImageMagick for this to work. From bart@atsence.nl Wed Jun 4 16:29:27 2003 From: bart@atsence.nl (Bart van Heijningen) Date: Wed, 4 Jun 2003 17:29:27 +0200 Subject: [Mapserver-users] GDAL upgrade Message-ID: <000301c32aae$1625fbd0$0700a8c0@ATSENCEDOMEIN> Hi all, I updated the GDAL library to support some extra features. I did not recompile mapserver or mapscript as Frank Warmerdam did not think this would be necessary. But now I get the following mesg: Warning: Unable to load dynamic library '/usr/local/lib/php/extensions/php_mapscript_36.so' - /usr/local/lib/libwwwfile.so.0: shared object not open in /var/www/html/atmspoc/htdocs/atms_poc_test.phtml on line 36 Fatal error: Call to undefined function: ms_getversion() in /var/www/html/atmspoc/htdocs/gmap75.php3 on line 19 Has anyone experienced this before and what could be the solution for this? Thanx, Bart van Heijningen From s9646183@sms.ed.ac.uk Wed Jun 4 17:10:38 2003 From: s9646183@sms.ed.ac.uk (AMC Story) Date: Wed, 04 Jun 2003 17:10:38 +0100 (BST) Subject: [Mapserver-users] Problem with Mapplet In-Reply-To: <5.2.0.9.0.20030603192040.00a740c0@mail.GreenwoodMap.com> References: <5.2.0.9.0.20030603192040.00a740c0@mail.GreenwoodMap.com> Message-ID: <1054743038.3ede19fe3fbe6@sms.ed.ac.uk> Thanks Rich. As the current version of MapServer doesn't support GIF's, I've had a look through the archives to find out what's going on. I found a link to a site where I can download an applet called jBox, which seems to be an updated version of the mapplet. Is that right, and if so, is there much documentation as to what it does and how to implement it? Thanks again, Ali Quoting Richard Greenwood : > Are you using GIF's? (Mapplet doesn't support PNG's) > > Rich > > At 07:08 PM 6/3/2003 +0100, you wrote: > > >Hi, > > > >I'm new to MapServer, but have managed to get the demo up and running > and am > >currently trying to get the mapplet working too. I've followed the > >instructions in the HOWTO, and it would appear that the applet is > accessed. > >However, while the rest of the interface looks fine, I get a grey box > instead > >of my map. Also, I'm now getting a MSIE warning box that simply > >says "mapplet ", and when I move the mouse around the screen you can > see a > >message in the status bar of the browser that says "exception: > >java.lang.NullPointerException". > > > >I thought originally that the file paths could be wrong (I'm running > the > >demo_init and the java files from my public_html directory on my local > > >machine > >and the other files from my scripts directory, which has worked until > now, > >but > >might be a problem...?). > > > >If anyone has any idea what I might be doing wrong I'd really > appreciate it. > > > >Thanks > >Ali Story > >_______________________________________________ > >Mapserver-users mailing list > >Mapserver-users@lists.gis.umn.edu > >http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > > Richard W. Greenwood, PLS > Greenwood Mapping, Inc. > Rich@GreenwoodMap.com > (307) 733-0203 > http://www.GreenwoodMap.com > From Rich@GreenwoodMap.com Wed Jun 4 17:37:24 2003 From: Rich@GreenwoodMap.com (Richard Greenwood) Date: Wed, 04 Jun 2003 10:37:24 -0600 Subject: [Mapserver-users] anyone staying at the Day's Inn tomorrow? Message-ID: <5.2.0.9.0.20030604103620.00a6e910@mail.GreenwoodMap.com> --=======1041D99======= Content-Type: text/plain; x-avg-checked=avg-ok-24277B4; charset=us-ascii; format=flowed Content-Transfer-Encoding: 8bit Anyone staying at the Day's Inn tomorrow? Want to share a taxi to the conference friday morning and/or share a beer thursday night? Rich Richard W. Greenwood, PLS Greenwood Mapping, Inc. Rich@GreenwoodMap.com (307) 733-0203 http://www.GreenwoodMap.com --=======1041D99=======-- From ed@topozone.com Wed Jun 4 17:44:44 2003 From: ed@topozone.com (Ed McNierney) Date: Wed, 4 Jun 2003 12:44:44 -0400 Subject: [Mapserver-users] Problem with Mapplet Message-ID: <13858AA1A74F30419F319ACB66A9D1222BFA92@mercator.topozone.com> Ali - I don't think this will help you, but I wanted to clarify that the current version of MapServer will support any output image format for which there is a driver. GD is commonly used as an output driver for MapServer, and GIF support has been removed from recent versions because users need to have a patent license from Unisys to legally use that support. There are patched versions of various GD levels out there in the world, and some users are using them. MapServer is happy to support GIFs. To legitimately have it do so, you need an output driver such as GD with GIF support, and a license from Unisys. - Ed Ed McNierney President and Chief Mapmaker TopoZone.com / Maps a la carte, Inc. 73 Princeton Street, Suite 305 North Chelmsford, MA 01863 ed@topozone.com (978) 251-4242 -----Original Message----- From: AMC Story [mailto:s9646183@sms.ed.ac.uk] Sent: Wednesday, June 04, 2003 12:11 PM To: Richard Greenwood Cc: mapserver list Subject: Re: [Mapserver-users] Problem with Mapplet Thanks Rich. As the current version of MapServer doesn't support GIF's, I've had a look through the archives to find out what's going on. I found a link to a site where I can download an applet called jBox, which seems to be an updated version of the mapplet. Is that right, and if so, is there much documentation as to what it does and how to implement it? Thanks again, Ali Quoting Richard Greenwood : > Are you using GIF's? (Mapplet doesn't support PNG's) > > Rich > > At 07:08 PM 6/3/2003 +0100, you wrote: > > >Hi, > > > >I'm new to MapServer, but have managed to get the demo up and running > and am > >currently trying to get the mapplet working too. I've followed the > >instructions in the HOWTO, and it would appear that the applet is > accessed. > >However, while the rest of the interface looks fine, I get a grey box > instead > >of my map. Also, I'm now getting a MSIE warning box that simply > >says "mapplet ", and when I move the mouse around the screen you can > see a > >message in the status bar of the browser that says "exception: > >java.lang.NullPointerException". > > > >I thought originally that the file paths could be wrong (I'm running > the > >demo_init and the java files from my public_html directory on my local > > >machine > >and the other files from my scripts directory, which has worked until > now, > >but > >might be a problem...?). > > > >If anyone has any idea what I might be doing wrong I'd really > appreciate it. > > > >Thanks > >Ali Story > >_______________________________________________ > >Mapserver-users mailing list > >Mapserver-users@lists.gis.umn.edu > >http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > > Richard W. Greenwood, PLS > Greenwood Mapping, Inc. > Rich@GreenwoodMap.com > (307) 733-0203 > http://www.GreenwoodMap.com > _______________________________________________ Mapserver-users mailing list Mapserver-users@lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From ed@topozone.com Wed Jun 4 18:04:24 2003 From: ed@topozone.com (Ed McNierney) Date: Wed, 4 Jun 2003 13:04:24 -0400 Subject: [Mapserver-users] anyone staying at the Day's Inn tomorrow? Message-ID: <13858AA1A74F30419F319ACB66A9D1222BFA93@mercator.topozone.com> Rich - I'm staying there, and I'll have a car, so I can provide transport. If there's anyone else staying there, speak up and we can travel together. I might have some free time Thursday evening - I'm meeting with a customer at some point, but might be free later. - Ed -----Original Message----- From: Richard Greenwood [mailto:Rich@greenwoodmap.com] Sent: Wednesday, June 04, 2003 12:37 PM To: mapserver-users@lists.gis.umn.edu Subject: [Mapserver-users] anyone staying at the Day's Inn tomorrow? Anyone staying at the Day's Inn tomorrow? Want to share a taxi to the conference friday morning and/or share a beer thursday night? Rich Richard W. Greenwood, PLS Greenwood Mapping, Inc. Rich@GreenwoodMap.com (307) 733-0203 http://www.GreenwoodMap.com From cpurvis@asg.sc.edu Wed Jun 4 18:29:25 2003 From: cpurvis@asg.sc.edu (Charlton Purvis) Date: Wed, 4 Jun 2003 13:29:25 -0400 Subject: [Mapserver-users] anyone staying at the Day's Inn tomorrow? Message-ID: I certainly don't know my way around SP. But would enjoy some social time. So . . . would some local yokel be interested in suggesting an eating joint for folks to congregate Thursday PM? Say 7:00? Transportation on our own. BTW, what kind of food is SP known for? -----Original Message----- From: Ed McNierney [mailto:ed@topozone.com] Sent: Wednesday, June 04, 2003 1:04 PM To: Richard Greenwood; mapserver-users@lists.gis.umn.edu Subject: RE: [Mapserver-users] anyone staying at the Day's Inn tomorrow? Rich - I'm staying there, and I'll have a car, so I can provide transport. If there's anyone else staying there, speak up and we can travel together. I might have some free time Thursday evening - I'm meeting with a customer at some point, but might be free later. - Ed -----Original Message----- From: Richard Greenwood [mailto:Rich@greenwoodmap.com] Sent: Wednesday, June 04, 2003 12:37 PM To: mapserver-users@lists.gis.umn.edu Subject: [Mapserver-users] anyone staying at the Day's Inn tomorrow? Anyone staying at the Day's Inn tomorrow? Want to share a taxi to the conference friday morning and/or share a beer thursday night? Rich Richard W. Greenwood, PLS Greenwood Mapping, Inc. Rich@GreenwoodMap.com (307) 733-0203 http://www.GreenwoodMap.com _______________________________________________ Mapserver-users mailing list Mapserver-users@lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From lfilak@medinaco.org Wed Jun 4 19:14:31 2003 From: lfilak@medinaco.org (Lowell Filak) Date: Wed, 04 Jun 2003 14:14:31 -0400 Subject: [Mapserver-users] anyone staying at the Day's Inn tomorrow? Message-ID: <200306041814.h54IEON23605@yogi.medinaco.net> We'll be there also. Will also have transportation but may be in a bit later then everyone else (road-trip from Ohio). Does someone have a pager or cell that I could page when we arrive to find out where the get-together is? Lowell The following message was sent by "Ed McNierney" on Wed, 4 Jun 2003 13:04:24 -0400. > Rich - > > I'm staying there, and I'll have a car, so I can provide transport. If there's anyone else staying there, speak up and we can travel together. > > I might have some free time Thursday evening - I'm meeting with a customer at some point, but might be free later. > > - Ed > > -----Original Message----- > From: Richard Greenwood [mailto:Rich@greenwoodmap.com] > Sent: Wednesday, June 04, 2003 12:37 PM > To: mapserver-users@lists.gis.umn.edu > Subject: [Mapserver-users] anyone staying at the Day's Inn tomorrow? > > > Anyone staying at the Day's Inn tomorrow? Want to share a taxi to the > conference friday morning and/or share a beer thursday night? > > Rich > > > Richard W. Greenwood, PLS > Greenwood Mapping, Inc. > Rich@GreenwoodMap.com > (307) 733-0203 > http://www.GreenwoodMap.com > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From JamesPerrins@esdm.co.uk Wed Jun 4 19:48:16 2003 From: JamesPerrins@esdm.co.uk (James Perrins) Date: Wed, 4 Jun 2003 19:48:16 +0100 Subject: [Mapserver-users] Using NQuery with OGR MapInfo TAB file Message-ID: <002501c32ac9$f8ba0700$6401a8c0@JPXP> This is a multi-part message in MIME format. ------=_NextPart_000_0026_01C32AD2.5A7E6F00 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi, After much trial and error I have managed to get the IMGSHPAE command to work with NQUERY Previously I was trying to use a MapInfo TAB file - which never seemed to find any objects (although QUERY mode worked OK). When I translated the data layer (a layer of points) into a Shape file everything seemed to work OK. Is this a known limitation of MapServer - i.e. not being able to do spatial searches against a MapInfo layer - or is it a bug . Many Thanks James ------=_NextPart_000_0026_01C32AD2.5A7E6F00 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

 

After much trial and error I have managed to get the = IMGSHPAE command to work with NQUERY

 

Previously I was trying to use a MapInfo TAB file = – which never seemed to find any objects (although QUERY mode worked = OK).  When I translated the data layer (a layer of points) into a Shape file = everything seemed to work OK.

 

Is this a known limitation of MapServer – i.e. = not being able to do spatial searches against a MapInfo layer – or is = it a bug .

 

Many Thanks

James

 

------=_NextPart_000_0026_01C32AD2.5A7E6F00-- From mapsurf@midsouth.rr.com Wed Jun 4 19:58:33 2003 From: mapsurf@midsouth.rr.com (mapsurfer) Date: Wed, 4 Jun 2003 13:58:33 -0500 Subject: [Mapserver-users] perl mapscript 3.6.5 (SOLVED) References: <01de01c32a21$f19c1010$0a00a8c0@siliconmapping.com> <1054717702.363.2.camel@jeanjacques> <87smqqnsvx.fsf@vran.herceg.de> Message-ID: <025001c32acb$4f896d40$0a00a8c0@siliconmapping.com> Guys, I think I got this solved... When you are installing a private version of mapscript, there is a perl Makefile bug that must be manually fixed to avoid conflict with installed version of libraries on the machine (in /usr/lib or /usr/local/lib) In the perl/mapscript directory, perl Makefile.PL PREFIX=/usr/home/cto/usr/local LIB=/usr/home/cto/usr/local/lib *note: the PREFIX and LIB are needed to create your private version and where /usr/home/cto is my homedir and my privatedir are is built in /usr/home/cto/usr/local perl MakeMaker will create a canned Makefile template... and if you inspect the file, you will see: LDDLFLAGS = -shared -L/usr/local/lib LDFLAGS = -Wl,-E -L/usr/local/lib and when change to: LDDLFLAGS = -shared -L/usr/home/cto/usr/local/lib LDFLAGS = -Wl,-E -L/usr/home/cto/usr/local/lib and then make make install problem solved. As far as I can tell, there is no way to override or otherwise effect the changes externally since perl Makemaker is responsible for creating the Makefile. Just thought I would pass this info along to anyone else who might be having problems with a private mapscript installation on a shared machine. Apparently, its just conflicting with machine libgd.so in /usr/local/lib. Regards, Chris Stuber (mapsurfer) Silicon Mapping Solutions, Inc. > > On Wed, 2003-06-04 at 00:46, mapsurfer wrote: > > > My setup is a freebsd4.6 machine, perl 5.6.1, gcc 2.x, etc. > > > When I try to install mapscript on 3.6.5, it seems to compile and install > > > fine, but when I try to "use" it, > > > I get an error about an "Unresolved: gdImageGif". If I use the same > > > "configure" on an older version > > > (my good ol 3.3_012), it runs fine. gd-1.8.4 is installed From Thomas E. Burk" >Date: Wed, 4 Jun 2003 13:29:25 -0400 > >I certainly don't know my way around SP. But would enjoy some social >time. > >So . . . would some local yokel be interested in suggesting an eating >joint for folks to congregate Thursday PM? Say 7:00? Transportation on >our own. > >BTW, what kind of food is SP known for? :>) That's a joke, right? Lutefisk and lefse of course, with any other pale-white-colored food on the side. Actually there are lots of good restaurants in the TC (Minneapolis/St. Paul) area (our location is pretty much smack in the center, E|W at least, of the metro area). See www.visitroseville.com for local places. For Thursday night I'd just suggest you choose a place near the motels. There's Joe Senser's Sports Bar, Davanni's Pizza (local chain known for hot hoagies), Applebee's, Chi-Chi's, India Palace, and Good Earth (vege), to name a few within walking distance of hotels (that are acceptable). Tom > >-----Original Message----- >From: Ed McNierney [mailto:ed@topozone.com] >Sent: Wednesday, June 04, 2003 1:04 PM >To: Richard Greenwood; mapserver-users@lists.gis.umn.edu >Subject: RE: [Mapserver-users] anyone staying at the Day's Inn tomorrow? > >Rich - > >I'm staying there, and I'll have a car, so I can provide transport. If >there's anyone else staying there, speak up and we can travel together. > >I might have some free time Thursday evening - I'm meeting with a >customer at some point, but might be free later. > > - Ed > >-----Original Message----- >From: Richard Greenwood [mailto:Rich@greenwoodmap.com] >Sent: Wednesday, June 04, 2003 12:37 PM >To: mapserver-users@lists.gis.umn.edu >Subject: [Mapserver-users] anyone staying at the Day's Inn tomorrow? > > >Anyone staying at the Day's Inn tomorrow? Want to share a taxi to the >conference friday morning and/or share a beer thursday night? > >Rich > > >Richard W. Greenwood, PLS >Greenwood Mapping, Inc. >Rich@GreenwoodMap.com >(307) 733-0203 >http://www.GreenwoodMap.com > >_______________________________________________ >Mapserver-users mailing list >Mapserver-users@lists.gis.umn.edu >http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > >_______________________________________________ >Mapserver-users mailing list >Mapserver-users@lists.gis.umn.edu >http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > From pkishor@geoanalytics.com Wed Jun 4 20:57:51 2003 From: pkishor@geoanalytics.com (pkishor_98) Date: Wed, 04 Jun 2003 19:57:51 -0000 Subject: [Mapserver-users] Re: anyone staying at the Day's Inn tomorrow? In-Reply-To: <200306041858.h54IwZc3011558@mallit.fr.umn.edu> Message-ID: --- someone wrote: > eating I will be "fed up" by the time I reach SP tomorrow eve (9-ish), but the road trip should have put me in the mood for drowning my sorrows in beer by then. I'll check in the Days Inn lounge first (if they have one) for Mapserv-ish looking folks, otherwise if some get together and walk over to the nearby five-spot, just be sure to leave a message with the front desk to the tune of "If you are a thirsty MUM attendee, walk up to Joe Bob's where your friends are waiting..." Puneet. From akreider@nd.edu Mon Jun 2 04:16:28 2003 From: akreider@nd.edu (Aaron Kreider) Date: Sun, 01 Jun 2003 22:16:28 -0500 Subject: [Mapserver-users] creating shape files Message-ID: <3EDA7B3C.22603.6F454F@localhost> I'm trying to convert my data into a format that can be used by Mapserver (or more specifically Mapscript). The data currently resides in a regular mysql table. Does Mapserver only use shape files? And if so, how do I create a shape file? I've searched to find free utilities (I do not want to buy Arcview 3) that will do it for me or to try and find an explanation of what the format is (so I could do it myself), but haven't found anything. I'd appreciate help on this. Aaron From neal.ellis@peabody-ma.gov Mon Jun 2 18:18:55 2003 From: neal.ellis@peabody-ma.gov (Neal Ellis) Date: Mon, 2 Jun 2003 13:18:55 -0400 Subject: [Mapserver-users] Rosa and Reference Map Message-ID: This is a multi-part message in MIME format. ------_=_NextPart_001_01C3292B.0C04287C Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, I have implemented ROSA with my Mapserver app successfully except for the reference map. It appears in the browser but does not have the red rectangle on it when I zoom into an area of the map like it did before ROSA. Also, when I click on the reference map, the map goes blank instead of recentering on that portion of the map. Does anyone have an idea of why this is? Thanks in advance, Here is my code: Peabody Web GIS Viewer
=20
=09 =09 =09 =09 =09 =09 =09
  Powered by MapServer
=20 =20 Peabody Web GIS = Viewer =20

=20 Select Layers to Display: =
Parcels
Lakes
Buildings
Fences
Road Centerline
RailRoads
Firewalls
Parks
Election Stations
Streams
Cemeteries
Topography
LEGEND LOCUS
  

=20 NEAL M ELLIS GIS Director Peabody Department of Public Services 50 Farm Avenue Peabody, MA 01960-2403 978.536.7111 978.536.7129 neal.ellis@peabody-ma.gov =20 http://www.peabody-ma.gov =20 =20 ------_=_NextPart_001_01C3292B.0C04287C Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Rosa and Reference Map

Hi,

I = have implemented ROSA with my Mapserver app successfully except = for the reference map. It appears in the browser but does not have the = red rectangle on it when I zoom into an area of the map like it did = before ROSA. Also, when I click on the reference = map, the = map goes blank instead of recentering on that portion of the = map. Does anyone have an idea of why this = is?

Thanks in advance,

Here = is my code:

<html>

<head>

<title>Peabody Web GIS = Viewer</title>

</head>

<body bgcolor=3D"#e8e8e8" = background=3D"e8e8e8">

<form method=3DGET action=3D"http://gis/cgi-bin/mapserv.exe" name=3D"mapserver">

<center>

<table border=3D0 cellspacing=3D0 = cellpadding=3D5>

    <tr = valign=3D"top">

    <td>

        <table = border=3D0 cellspacing=3D0 cellpadding=3D1 = bgcolor=3D"#000000">

        = <tr>

        <td = valign=3D"top" align=3Dcenter>

         &nbs= p;  <!-- Inner Table -->

         &nbs= p;  <table cellpadding=3D"0" = cellspacing=3D"0" border=3D"0">

         &nbs= p;  <tr>

         &nbs= p;  <!-- Fields for Applet -->

         &nbs= p;  <td colspan=3D"2" = valign=3D"top">

         &nbs= p;      <!-- ROSA Applet specification Tags = -->

         &nbs= p;      <input type=3D"hidden" = name=3D"imagewidth" = value=3D"[mapwidth]">

         &nbs= p;      <input type=3D"hidden" = name=3D"imageheight" = value=3D"[mapheight]">

         &nbs= p;      <!-- Initialize the applet = parameters -->

         &nbs= p;      <input type=3D"hidden" = name=3D"INPUT_TYPE"  = value=3D"">

         &nbs= p;      <input type=3D"hidden" = name=3D"INPUT_COORD" = value=3D"">

         &nbs= p;      <!-- Applet and Parameter = -->

         &nbs= p;      <applet = name=3D"RosaApplet" = archive=3D"../peabody/rosa/rosa.jar" = code=3D"Rosa2000.class" width=3D"[mapwidth]" = height=3D"[mapheight]" MAYSCRIPT>

         &nbs= p;          <!-- = Position, Form Name -->

         &nbs= p;          <param = name=3D"IMG_URL" = value=3D"[img]">

         &nbs= p;          <param = name=3D"IMG_XY" value=3D"0,0">

         &nbs= p;          <param = name=3D"INP_FORM_NAME" = value=3D"mapserver">

         &nbs= p;          <param = name=3D"BG_COLOR" = value=3D"#F8F8F8">

         &nbs= p;          <!-- Rosa = Mode -->

                 &nbs= p;      <param = name=3D"INP_TYPE_NAME" = value=3D"INPUT_TYPE">

                 &nbs= p;      <param = name=3D"INP_COORD_NAME" = value=3D"INPUT_COORD">

       

                 &nbs= p;      <!-- ToolBar Settings = -->

                 &nbs= p;      <param = name=3D"TB_POSITION" = value=3D"right">

                 &nbs= p;      <param name=3D"TB_ALIGN" = value=3D"top">

                 &nbs= p;      <param name=3D"TB_BUTTONS" = value=3D"zoomin|zoomout|recentre|pquery|redraw">

                 &nbs= p;      <param = name=3D"TB_SELECTED_BUTTON" = value=3D"zoomin">

       

                 &nbs= p;      <!-- ToolBar Buttons = -->

                 &nbs= p;          <!-- Zoom In = -->

                 &nbs= p;          <param = name=3D"TB_BUT_zoomin_IMG" = value=3D"../peabody/images/tool_zoomin_1.gif">=

                 &nbs= p;          <param = name=3D"TB_BUT_zoomin_IMG_PR" = value=3D"../peabody/images/tool_zoomin_2.gif">=

                 &nbs= p;          <param = name=3D"TB_BUT_zoomin_CURSOR_TYPE" = value=3D"CROSSHAIR">

                 &nbs= p;          <param = name=3D"TB_BUT_zoomin_INPUT" = value=3D"auto_rect">

                 &nbs= p;          <param = name=3D"TB_BUT_zoomin_NAME" = value=3D"zoomdir">

                 &nbs= p;          <param = name=3D"TB_BUT_zoomin_VALUE" = value=3D"1">

                 &nbs= p;          <param = name=3D"TB_BUT_zoomin_HINT" value=3D"Zoom In:|Use this = tool|to Zoom In">

       

                 &nbs= p;          <!-- Zoom = Out -->

                 &nbs= p;          <param = name=3D"TB_BUT_zoomout_IMG" = value=3D"../peabody/images/tool_zoomout_1.gif">

                 &nbs= p;          <param = name=3D"TB_BUT_zoomout_IMG_PR" = value=3D"../peabody/images/tool_zoomout_2.gif">

                 &nbs= p;          <param = name=3D"TB_BUT_zoomout_CURSOR_TYPE" = value=3D"CROSSHAIR">

                 &nbs= p;          <param = name=3D"TB_BUT_zoomout_INPUT" = value=3D"submit">

                 &nbs= p;          <param = name=3D"TB_BUT_zoomout_NAME" = value=3D"zoomdir">

                 &nbs= p;          <param = name=3D"TB_BUT_zoomout_VALUE" = value=3D"-1">

                 &nbs= p;          <param = name=3D"TB_BUT_zoomout_HINT" value=3D"Zoom Out:|Use this = tool|to Zoom Out">

       

                 &nbs= p;          <!-- = Recenter -->

                 &nbs= p;          <param = name=3D"TB_BUT_recentre_IMG" = value=3D"../peabody/images/tool_recentre.gif">=

                 &nbs= p;          <param = name=3D"TB_BUT_recentre_IMG_PR" = value=3D"../peabody/images/tool_recentre_2.gif">

                 &nbs= p;          <param = name=3D"TB_BUT_recentre_CURSOR_TYPE" = value=3D"MOVE">

                 &nbs= p;          <param = name=3D"TB_BUT_recentre_INPUT" = value=3D"auto_point">

                 &nbs= p;          <param = name=3D"TB_BUT_recentre_NAME" = value=3D"zoomdir">

                 &nbs= p;          <param = name=3D"TB_BUT_recentre_VALUE" = value=3D"0">

                 &nbs= p;          <param = name=3D"TB_BUT_recentre_HINT" value=3D"Recenter:|Use this = tool|to Recenter">

       

                 &nbs= p;          <!-- Query = -->

                 &nbs= p;          <param = name=3D"TB_BUT_pquery_IMG" = value=3D"../peabody/images/tool_info_1.gif">

                 &nbs= p;          <param = name=3D"TB_BUT_pquery_IMG_PR" = value=3D"../peabody/images/tool_info_2.gif">

                 &nbs= p;          <param = name=3D"TB_BUT_pquery_CURSOR_TYPE" = value=3D"HAND">

                 &nbs= p;          <param = name=3D"TB_BUT_pquery_INPUT" = value=3D"auto_point">

                 &nbs= p;          <param = name=3D"TB_BUT_pquery_NAME" = value=3D"mode">

                 &nbs= p;          <param = name=3D"TB_BUT_pquery_VALUE" = value=3D"nquery">

                 &nbs= p;          <param = name=3D"TB_BUT_pquery_HINT" value=3D"Info:|Use this = tool|to Query an object">

       

                 &nbs= p;          <!-- ReDraw = -->

                 &nbs= p;          <param = name=3D"TB_BUT_redraw_IMG" = value=3D"../peabody/images/tool_redraw_1.gif">=

                 &nbs= p;          <param = name=3D"TB_BUT_redraw_IMG_PR" = value=3D"../peabody/images/tool_redraw_2.gif">=

                 &nbs= p;          <param = name=3D"TB_BUT_redraw_INPUT" = value=3D"submit">

                 &nbs= p;          <param = name=3D"TB_BUT_redraw_NAME" = value=3D"zoomdir">

                 &nbs= p;          <param = name=3D"TB_BUT_redraw_VALUE" = value=3D"0">

                 &nbs= p;          <param = name=3D"TB_BUT_redraw_HINT" value=3D"Update: = Aktualisierung des Kartenausschnitts">

       

                 &nbs= p;      </applet>

         &nbs= p;          <!-- End of = Applet -->

         &nbs= p;      </td>

         &nbs= p;      </tr>

         &nbs= p;      <!-- Powered By = -->   

         &nbs= p;      <tr>

         &nbs= p;      <td = align=3D"left">

         &nbs= p;          = &nbsp;

         &nbs= p;          <font = face=3D"arial, helvetica, sans-serif" size=3D"-2" = color=3D"#FFFFFF">

         &nbs= p;            = ;  <b>Powered by MapServer</b>

         &nbs= p;          = </font>

         &nbs= p;      </td>

         &nbs= p;      <td = align=3D"right">

         &nbs= p;          <img = src=3D"[scalebar]">

         &nbs= p;      </td>

         &nbs= p;      </tr>

         &nbs= p;  </table> <!-- End of inner table = -->

         &nbs= p;  </td>

         &nbs= p;  </tr>

        </table> = <!-- End of Table for the map -->

        = </td>   <!-- end of table for the legend = -->

        <!-- whole = table end -->

        <td> =

          = <!-- Font  -->

          = <font face=3D"arial, helvetica, sans-serif"> =

          = <!-- Title-->

          = <font size=3D"+1" color=3D"#990000"> = <b>Peabody Web GIS Viewer</b> </font> =

          = <p>

         &nbs= p;   <!-- Checkboxes for the group  "layer", = then submit() -->

         &nbs= p;  <font size=3D+1> <b>Select Layers to Display: = </b> </font><br>

         &nbs= p;  <input type=3D"checkbox" name=3D"layer" = value=3D"parcels" [parcels_check]>

         &nbs= p;  <input type=3D"radio" name=3D"qlayer" = value=3D"parcels">

         &nbs= p;  Parcels<br>

         &nbs= p;  <input type=3D"checkbox" name=3D"layer" = value=3D"lakes" [lakes_check]>

         &nbs= p;  <input type=3D"radio" name=3D"qlayer" = value=3D"lakes">

         &nbs= p;  Lakes<br>

         &nbs= p;  <input type=3D"checkbox" name=3D"layer" = value=3D"Buildings" [Buildings_check]>

         &nbs= p;  <input type=3D"radio" name=3D"qlayer" = value=3D"Buildings">

         &nbs= p;  Buildings<br>

         &nbs= p;  <input type=3D"checkbox" name=3D"layer" = value=3D"fences" [fences_check]>

         &nbs= p;  <input type=3D"radio" name=3D"qlayer" = value=3D"fences">

         &nbs= p;  Fences<br>

         &nbs= p;  <input type=3D"checkbox" name=3D"layer" = value=3D"roads_cl" [roads_cl_check]>

         &nbs= p;  <input type=3D"radio" name=3D"qlayer" = value=3D"roads_cl">

         &nbs= p;  Road Centerline<br>

         &nbs= p;  <input type=3D"checkbox" name=3D"layer" = value=3D"railroads" [railroads_check]>

         &nbs= p;  <input type=3D"radio" name=3D"qlayer" = value=3D"railroads">

         &nbs= p;  RailRoads<br>

         &nbs= p;  <input type=3D"checkbox" name=3D"layer" = value=3D"firewalls" [firewalls_check]>

         &nbs= p;  <input type=3D"radio" name=3D"qlayer" = value=3D"firewalls">

         &nbs= p;  Firewalls<br>

         &nbs= p;  <input type=3D"checkbox" name=3D"layer" = value=3D"parks" [parks_check]>

         &nbs= p;  <input type=3D"radio" name=3D"qlayer" = value=3D"parks">

         &nbs= p;  Parks<br>

         &nbs= p;  <input type=3D"checkbox" name=3D"layer" = value=3D"election_fac" = [election_fac_check]>

         &nbs= p;  <input type=3D"radio" name=3D"qlayer" = value=3D"election_fac">

         &nbs= p;  Election Stations<br>

         &nbs= p;  <input type=3D"checkbox" name=3D"layer" = value=3D"streams" [streams_check]>

         &nbs= p;  <input type=3D"radio" name=3D"qlayer" = value=3D"streams">

         &nbs= p;  Streams<br>

         &nbs= p;  <input type=3D"checkbox" name=3D"layer" = value=3D"cemeteries" [cemeteries_check]>

         &nbs= p;  <input type=3D"radio" name=3D"qlayer" = value=3D"cemeteries">

         &nbs= p;  Cemeteries<br>

         &nbs= p;  <input type=3D"checkbox" name=3D"layer" = value=3D"topography" [topography_check]>

         &nbs= p;  <input type=3D"radio" name=3D"qlayer" = value=3D"topography">

         &nbs= p;  Topography<br>

         &nbs= p;  <input type=3D"submit" name"submit" = value=3D"Update Map" style=3D"color: #003366;  = font-style: normal; font-family: impact; font-weight: normal; = font-size:12px; background-color: #99ccff">

          = </font>

          = <table width=3D"100%" border=3D"0" = cellspacing=3D"0" = cellpadding=3D"0">

         &nbs= p;  <tr>

         &nbs= p;    <td width=3D"27%"><font = face=3D"arial, helvetica, sans-serif">

         &nbs= p;      <!-- Legend -->

         &nbs= p;      <font size=3D+1 = face=3D"Haettenschweiler"> = LEGEND</font></font></td>

         &nbs= p;    <td width=3D"73%"><font = face=3D"arial, helvetica, sans-serif">

         &nbs= p;      <!-- Reference = -->

         &nbs= p;      <font size=3D+1 = face=3D"Haettenschweiler"> LOCUS = </font></font></td>

         &nbs= p;  </tr>

         &nbs= p;  <tr>

         &nbs= p;    <td><font face=3D"arial, helvetica, = sans-serif"><img src=3D"[legend]" = border=3D"1"></font></td>

         &nbs= p;    <td><font face=3D"arial, helvetica, = sans-serif">

         &nbs= p;      &nbsp;&nbsp;<input = name=3D"ref" type=3D"image" src=3D"[ref]" = border=3D"1" >

         &nbs= p;      = </font></td>

         &nbs= p;  </tr>

          = </table>

          = <font face=3D"arial, helvetica, = sans-serif">

         &nbs= p;         <input = type=3D"hidden" name=3D"mapsize" = value=3D"[mapwidth] [mapheight]">

          = </font> </td>

    </tr>

</table>

</center>

<!-- Settings for MapServer -->

<!-- Standard modes for ZoomIn = -->

<input type=3D"hidden" = name=3D"mode" value=3D"browse">

<input type=3D"hidden" = name=3D"zoomdir" value=3D"">

<input type=3D"hidden" = name=3D"zoomsize" value=3D"2">

<!-- Tags for Query -->

<input type=3D"hidden" = name=3D"querymode" value=3D"">

<!-- Settings for the XY and extents to be passed to = next map on refresh or update -->

<input type=3D"hidden" = name=3D"imgxy" value=3D"[center_x] = [center_y]">

<input type=3D"hidden" = name=3D"imgext" = value=3D"[mapext]">

<!-- Initialize tags for when Init page not used = before the map--> 

<input type=3D"hidden" = name=3D"mapxy" value=3D"">

<input type=3D"hidden" = name=3D"scale" value=3D"">

<!-- Settings for where the .map is = -->

<input type=3D"hidden" = name=3D"map" value=3D"[map]">

<!-- Map extents  -->

<input type=3D"hidden" = name=3D"mapext" = value=3D"shapes">

<input type=3D"hidden" = name=3D"savequery" = value=3D"true">

<input type=3D"hidden" = name=3D"map_web_imagepath" = value=3D"C:\inetpub\wwwroot\tmp\">

<input type=3D"hidden" = name=3D"map_web_imageurl" = value=3D"/tmp/">

<input type=3D"hidden" = name=3D"program" = value=3D"/cgi-bin/mapserv.exe">

</form>

</body>

</html>


NEAL M = ELLIS

GIS Director

Peabody Department of Public = Services

50 Farm Avenue

Peabody, MA 01960-2403

978.536.7111

978.536.7129

neal.ellis@peabody-ma.gov

http://www.peabody-ma.gov

 

 

------_=_NextPart_001_01C3292B.0C04287C-- From bart@atsence.nl Wed Jun 4 15:34:10 2003 From: bart@atsence.nl (Bart van Heijningen) Date: Wed, 4 Jun 2003 16:34:10 +0200 Subject: [Mapserver-users] GDAL upgrade In-Reply-To: <3D36DCE7.6040009@magma.ca> Message-ID: <000401c32aa6$63bf6050$0700a8c0@ATSENCEDOMEIN> Hi all, I updated the GDAL library to support some extra features. I did not recompile mapserver or mapscript as Frank Warmerdam did not think this would be necessary. But now I get the following mesg: Warning: Unable to load dynamic library '/usr/local/lib/php/extensions/php_mapscript_36.so' - /usr/local/lib/libwwwfile.so.0: shared object not open in /var/www/html/atmspoc/htdocs/atms_poc_test.phtml on line 36 Fatal error: Call to undefined function: ms_getversion() in /var/www/html/atmspoc/htdocs/gmap75.php3 on line 19 Has anyone experienced this before and what could be the solution for this? Thanx, Bart van Heijningen From nacional@cbs.umn.edu Wed Jun 4 19:49:43 2003 From: nacional@cbs.umn.edu (Pericles Nacionales) Date: Wed, 4 Jun 2003 13:49:43 -0500 (CDT) Subject: [Mapserver-users] anyone staying at the Day's Inn tomorrow? In-Reply-To: Message-ID: Well, since no local yokel has responded, I will. There are plenty of food choices in the Roseville area but pubs are rather pathetic. I'd suggest eating somewhere and going somewhere else for beer. There's a decent Indian restaurant near the two hotels called India Palace. Here's the map: http://twincities.citysearch.com/map?mode=geo&map_lat=450363&map_lon=-931876&id=5531046&fid=2&cslink=cs_profile_tabs_map If you'd like Thai food, there's a small restaurant called Royal Orchid, also in Roseville. The menu isn't very extensive but the food is quite good. I'd recommend the seafood souffle special if they have it (tell the owner Perry, the crazy Filipino guy suggested it): http://twincities.citysearch.com/map?mode=geo&map_lat=450143&map_lon=-931772&id=11357279&fid=2&cslink=cs_profile_tabs_map There are other restaurants on the northeast corner of County Road C and Snelling Avenue. You might also find decent pubs there. Now, as for pubs, I'd recommend Town Hall Brewery in Minneapolis. This is very close to the West Bank campus of the University and a short drive from Roseville and I35-W south. If you'd rather drink and eat at the same place. This would be a good place although it can get busy in the evening. If I know how many people would like to go here, I can call them in advance and reserve a spot for us. Anyway, the food options is pretty much limitless if you're willing to drive around the twin cities. -Perry On Wed, 4 Jun 2003, Charlton Purvis wrote: > I certainly don't know my way around SP. But would enjoy some social > time. > > So . . . would some local yokel be interested in suggesting an eating > joint for folks to congregate Thursday PM? Say 7:00? Transportation on > our own. > > BTW, what kind of food is SP known for? > > -----Original Message----- > From: Ed McNierney [mailto:ed@topozone.com] > Sent: Wednesday, June 04, 2003 1:04 PM > To: Richard Greenwood; mapserver-users@lists.gis.umn.edu > Subject: RE: [Mapserver-users] anyone staying at the Day's Inn tomorrow? > > Rich - > > I'm staying there, and I'll have a car, so I can provide transport. If > there's anyone else staying there, speak up and we can travel together. > > I might have some free time Thursday evening - I'm meeting with a > customer at some point, but might be free later. > > - Ed > > -----Original Message----- > From: Richard Greenwood [mailto:Rich@greenwoodmap.com] > Sent: Wednesday, June 04, 2003 12:37 PM > To: mapserver-users@lists.gis.umn.edu > Subject: [Mapserver-users] anyone staying at the Day's Inn tomorrow? > > > Anyone staying at the Day's Inn tomorrow? Want to share a taxi to the > conference friday morning and/or share a beer thursday night? > > Rich > > > Richard W. Greenwood, PLS > Greenwood Mapping, Inc. > Rich@GreenwoodMap.com > (307) 733-0203 > http://www.GreenwoodMap.com > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > From nacional@cbs.umn.edu Wed Jun 4 19:51:08 2003 From: nacional@cbs.umn.edu (Pericles Nacionales) Date: Wed, 4 Jun 2003 13:51:08 -0500 (CDT) Subject: [Mapserver-users] anyone staying at the Day's Inn tomorrow? In-Reply-To: Message-ID: Forgot to send the map to Town Hall Brewery: http://twincities.citysearch.com/map?mode=geo&map_lat=449735&map_lon=-932480&id=5620184&fid=2&cslink=cs_profile_tabs_map -Perry On Wed, 4 Jun 2003, Charlton Purvis wrote: > I certainly don't know my way around SP. But would enjoy some social > time. > > So . . . would some local yokel be interested in suggesting an eating > joint for folks to congregate Thursday PM? Say 7:00? Transportation on > our own. > > BTW, what kind of food is SP known for? > > -----Original Message----- > From: Ed McNierney [mailto:ed@topozone.com] > Sent: Wednesday, June 04, 2003 1:04 PM > To: Richard Greenwood; mapserver-users@lists.gis.umn.edu > Subject: RE: [Mapserver-users] anyone staying at the Day's Inn tomorrow? > > Rich - > > I'm staying there, and I'll have a car, so I can provide transport. If > there's anyone else staying there, speak up and we can travel together. > > I might have some free time Thursday evening - I'm meeting with a > customer at some point, but might be free later. > > - Ed > > -----Original Message----- > From: Richard Greenwood [mailto:Rich@greenwoodmap.com] > Sent: Wednesday, June 04, 2003 12:37 PM > To: mapserver-users@lists.gis.umn.edu > Subject: [Mapserver-users] anyone staying at the Day's Inn tomorrow? > > > Anyone staying at the Day's Inn tomorrow? Want to share a taxi to the > conference friday morning and/or share a beer thursday night? > > Rich > > > Richard W. Greenwood, PLS > Greenwood Mapping, Inc. > Rich@GreenwoodMap.com > (307) 733-0203 > http://www.GreenwoodMap.com > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > From steve.lime@dnr.state.mn.us Wed Jun 4 21:21:40 2003 From: steve.lime@dnr.state.mn.us (Steve Lime) Date: Wed, 04 Jun 2003 15:21:40 -0500 Subject: [Mapserver-users] Errors documented? Message-ID: We've tried to make most error messages self explanatory. I mean do we really need to document every place a NULL pointer exception is caught? Probably not. Since context is everything it makes more sense (to me anyway) to flesh out those instances where the message is too cryptic, or there isn't one. As folks have mentioned them I/we have tried to fix things. The files maperror.c/.h list the main error categories and I can expand on those if folks would like... Steve >>> Thorsten Fischer 06/04/03 4:34 AM >>> On Tue, 2003-06-03 at 16:13, Waldemar Kosmider wrote: > Hi, > Could someone point to a document that lists and describes > runtime error messages? Nope. Because there is no such thing. Two workarounds are: either you search the mailing list archive for your particular error message, or (this is unix-specific, you probably can figure out a way to do this on other systems) you can search the sources for that error message and see in what context they arised. hth, thorsten _______________________________________________ Mapserver-users mailing list Mapserver-users@lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From jesiel@cttmar.univali.br Wed Jun 4 21:25:07 2003 From: jesiel@cttmar.univali.br (Jesiel de Souza) Date: Wed, 4 Jun 2003 17:25:07 -0300 Subject: [Mapserver-users] Work trip... Message-ID: <002c01c32ad7$6406ac40$1f36a9c8@cttmar.univali.br> This is a multi-part message in MIME format. ------=_NextPart_000_0029_01C32ABE.3E8719A0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi to everybody, I'm going out on a work trip for seven days. During this period I'll not = be able to reply your messages about Oracle Spatial. Best Regards, Jesiel de Souza jesiel@cttmar.univali.br MapServer/OracleSpatial Team UNIVALI CTTMar ------=_NextPart_000_0029_01C32ABE.3E8719A0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi to everybody,
 
I'm going out on a work trip for = seven days.=20 During this period I'll not be able to reply your messages about = Oracle=20 Spatial.
 
Best Regards,

Jesiel de Souza
jesiel@cttmar.univali.br
MapServer/OracleSpatial Team
UNIVALI = CTTMar
------=_NextPart_000_0029_01C32ABE.3E8719A0-- From dblasby@refractions.net Wed Jun 4 23:30:27 2003 From: dblasby@refractions.net (David Blasby) Date: Wed, 04 Jun 2003 15:30:27 -0700 Subject: [Mapserver-users] anyone staying at the Day's Inn tomorrow? In-Reply-To: References: Message-ID: <3EDE7303.4070402@refractions.net> It sounds like there's an interest in meeting thursday evening - I know Chris and I would like to meet everyone beforehand. Unfortunately, we are getting on a plane very early tomorrow morning and will not be arriving until after 5:00pm - I doubt we will have internet access when we arrive. I'm sure other people will be in the same boat. It would be great if we could setup a place to call now so we can just check in tomorrow evening and jump in a cab. Perhaps we could use the Day's Inn's front desk? People interested in dinner could phone there and ask for the "Mapserver Dinner Location". I dont know how the Day's Inn would feel about this. What is the phone number? On the other hand, perhaps we should just choose (a) a restaurant and time (b) a pub and time (for after dinner). Then everyone could just stumble in when they arrive without having to figure out where to go. This plan requires that someone make a decision and broadcast it NOW. Either way, I'd really like to have a plan before tomorrow. dave From kenboss Wed Jun 4 23:31:43 2003 From: kenboss (kenboss) Date: Wed, 4 Jun 2003 17:31:43 -0500 (CDT) Subject: [Mapserver-users] Re: anyone staying at the Day's Inn tomorrow? Message-ID: <200306042231.h54MVhI23386@bertha.dnr.state.mn.us> No one's provided a default option yet, so let me just suggest Joe Senser's sports bar for that purpose, not because it's particularly good (though I don't remember it being particularly bad, either), but because it's especially convenient. Just a few blocks south of the hotels, so you can walk there, and they've got both (bar) food and beer. Checking the front desk also seems a good idea, in case some ad hoc group comes up with a different plan and thinks to leave word. --Ken Boss > --- someone wrote: > > eating > > I will be "fed up" by the time I reach SP tomorrow eve (9-ish), but > the road trip should have put me in the mood for drowning my sorrows > in beer by then. > > I'll check in the Days Inn lounge first (if they have one) for > Mapserv-ish looking folks, otherwise if some get together and walk > over to the nearby five-spot, just be sure to leave a message with the > front desk to the tune of "If you are a thirsty MUM attendee, walk up > to Joe Bob's where your friends are waiting..." > > Puneet. > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From Rich@GreenwoodMap.com Thu Jun 5 00:30:33 2003 From: Rich@GreenwoodMap.com (Richard Greenwood) Date: Wed, 04 Jun 2003 17:30:33 -0600 Subject: [Mapserver-users] Re: anyone staying at the Day's Inn tomorrow? In-Reply-To: <200306042231.h54MVhI23386@bertha.dnr.state.mn.us> Message-ID: <5.2.0.9.0.20030604172534.00a6fac8@mail.GreenwoodMap.com> --=======AE26825======= Content-Type: text/plain; x-avg-checked=avg-ok-46A51161; charset=us-ascii; format=flowed Content-Transfer-Encoding: 8bit At 05:31 PM 6/4/2003 -0500, Ken Boss wrote: >No one's provided a default option yet, so let me just suggest Joe Senser's >sports bar for that purpose, not because it's particularly good (though I >don't >remember it being particularly bad, either), but because it's especially >convenient. Just a few blocks south of the hotels, so you can walk there, >and >they've got both (bar) food and beer. Checking the front desk also seems >a good >idea, in case some ad hoc group comes up with a different plan and thinks to >leave word. Thanks, Ken for being decisive. The Day's Inn phone number is 651-636-6730. I'll leave a message at the front desk that we'll be at Joe Senser's at around 7:00 PM. Also my cell phone number is 307-413-0465. Look forward to meeting you all. Rich Richard W. Greenwood, PLS Greenwood Mapping, Inc. Rich@GreenwoodMap.com (307) 733-0203 http://www.GreenwoodMap.com --=======AE26825=======-- From pkishor@geoanalytics.com Thu Jun 5 01:26:29 2003 From: pkishor@geoanalytics.com (pkishor_98) Date: Thu, 05 Jun 2003 00:26:29 -0000 Subject: [Mapserver-users] Re: anyone staying at the Day's Inn tomorrow? In-Reply-To: <5.2.0.9.0.20030604172534.00a6fac8@mail.GreenwoodMap.com> Message-ID: --- In mapserver-users@yahoogroups.com, Richard Greenwood wrote: > At 05:31 PM 6/4/2003 -0500, Ken Boss wrote: > > >No one's provided a default option yet, so let me just suggest Joe Senser's > >sports bar for that purpose, not because it's particularly good (though I > >don't > >remember it being particularly bad, either), but because it's especially > >convenient. Just a few blocks south of the hotels, so you can walk there, > >and > >they've got both (bar) food and beer. Checking the front desk also seems > >a good > >idea, in case some ad hoc group comes up with a different plan and thinks to > >leave word. > > Thanks, Ken for being decisive. The Day's Inn phone number is 651-636-6730. > I'll leave a message at the front desk that we'll be at Joe Senser's at > around 7:00 PM. Also my cell phone number is 307-413-0465. Look forward to > meeting you all. > some of the Madisonians will see you Joe Senser's around 9p. Don't drink yourself under the table by then. From wdavet2@bellsouth.net Thu Jun 5 01:57:35 2003 From: wdavet2@bellsouth.net (William Taylor) Date: Wed, 4 Jun 2003 20:57:35 -0400 Subject: [Mapserver-users] Problems with 3.7 and itemquery Message-ID: <000001c32afd$73ff27a0$6101a8c0@dtmain> Group, I am having problems getting itemquery function to work with MapServ 3.7. My Url looks like this: http://localhost/Scripts/mapservdemo.exe?map=C:\Inetpub\wwwroot\MapServI temTest\test.map&mode=itemquerymap&qlayer=county&mapext=shapes&qitem=cty _name&qstring=PB And My Map File looks like this: MAP NAME test STATUS ON SIZE 600 450 EXTENT 14215.43 19342.38 18468.59 16607.16 UNITS FEET SHAPEPATH "test" IMAGECOLOR 255 255 255 PROJECTION "init=epsg:26958" END WEB IMAGEPATH "set in config.js" IMAGEURL "set in config.js" END QUERYMAP STATUS ON STYLE HILITE COLOR 255 255 0 END LAYER NAME county DATA county STATUS DEFAULT TYPE POLYGON CLASS COLOR 212 212 212 OUTLINECOLOR 0 0 0 END END END I get the error below: msQueryByAttributes(): Search returned no results. No matching record(s) found, layer and area of interest do not overlap. The attribute table does contain the value. Any help you can offer would be greatly appreciated. Sincerely, W. David Taylor From steve.lime@dnr.state.mn.us Thu Jun 5 05:28:21 2003 From: steve.lime@dnr.state.mn.us (Steve Lime) Date: Wed, 04 Jun 2003 23:28:21 -0500 Subject: [Mapserver-users] Re: anyone staying at the Day's Inn tomorrow? Message-ID: Good suggestion, plus the place is huge. >>> kenboss 06/04/03 5:31 PM >>> No one's provided a default option yet, so let me just suggest Joe Senser's sports bar for that purpose, not because it's particularly good (though I don't remember it being particularly bad, either), but because it's especially convenient. Just a few blocks south of the hotels, so you can walk there, and they've got both (bar) food and beer. Checking the front desk also seems a good idea, in case some ad hoc group comes up with a different plan and thinks to leave word. --Ken Boss > --- someone wrote: > > eating > > I will be "fed up" by the time I reach SP tomorrow eve (9-ish), but > the road trip should have put me in the mood for drowning my sorrows > in beer by then. > > I'll check in the Days Inn lounge first (if they have one) for > Mapserv-ish looking folks, otherwise if some get together and walk > over to the nearby five-spot, just be sure to leave a message with the > front desk to the tune of "If you are a thirsty MUM attendee, walk up > to Joe Bob's where your friends are waiting..." > > Puneet. > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users _______________________________________________ Mapserver-users mailing list Mapserver-users@lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From Gunter.Rieth@stadt.mainz.de Thu Jun 5 07:45:07 2003 From: Gunter.Rieth@stadt.mainz.de (Gunter.Rieth@stadt.mainz.de) Date: Thu, 5 Jun 2003 08:45:07 +0200 Subject: Antwort: [Mapserver-users] Using NQuery with OGR MapInfo TAB file In-Reply-To: <002501c32ac9$f8ba0700$6401a8c0@JPXP> Message-ID: Hi James, I'm working with MapInfo Files about a year. Please have a look to the following URL: http://online.mainz.de/map-cgi/363/mapserv.exe?map=d%3A/mapserver/html/a47/hbuch/html/hi_stplan.map&mode=itemnquery&qLayer=DB1450POLY&filteritem=Hausname&map_DB1450POLY_filter=/berg/ It is all in german, and the functions are working with some help of java script. Watch out for Mode= ITEMNQUERY with QLAYER and FILTERITEM and FILTER hope that helps a little. Greetings from Germany Gunter Rieth Kommunale Datenzentrale Mainz -Eigenbetrieb der Stadt Mainz- Hechtsheimer Straße 35 55131 Mainz Tel: 06131 - 12 - 3557 Fax: 06131 - 12 - 2267 eMail: mailto:Gunter.Rieth@stadt.mainz.de Notesmail: Gunter Rieth/Dez1/Mainz URL:http/www.mainz.de "James Perrins" Gesendet von: mapserver-users-admin@lists.gis.umn.edu 04.06.2003 20:48 Bitte antworten zu An Kopie Thema [Mapserver-users] Using NQuery with OGR MapInfo TAB file Hi, After much trial and error I have managed to get the IMGSHPAE command to work with NQUERY Previously I was trying to use a MapInfo TAB file ? which never seemed to find any objects (although QUERY mode worked OK). When I translated the data layer (a layer of points) into a Shape file everything seemed to work OK. Is this a known limitation of MapServer ? i.e. not being able to do spatial searches against a MapInfo layer ? or is it a bug . Many Thanks James From 0098kast@edu.fh-kaernten.ac.at Thu Jun 5 07:53:10 2003 From: 0098kast@edu.fh-kaernten.ac.at (Kaps Stefan) Date: Thu, 5 Jun 2003 08:53:10 +0200 Subject: [Mapserver-users] LineSet Message-ID: <3F01711BFB99D411835B0008C7866AA001308136@EXCHANGE01> This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C32B2F.20492E30 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello I am working with MS 3.6.3 and I have a problem with the definition of = my Lineset. I am writing the path of the Lineset into the *.map File but = whn I want to call my MapServer I get the following error message "msLoadMap():Unknown = identifier (LINESET):(4)". It seems that it doesn't understand the keyword LINESET - but why? =20 Thats what my Mapfile somehow looks like: # # Start of map file # NAME DEMO LINESET symbols/line.sym STATUS ON SIZE 600 600 EXTENT 398646.177625 137724.658636 582643.529837 221479.184518 = #K=E4rnten UNITS METERS FONTSET "fonts/fonts.list" SHAPEPATH "data" IMAGECOLOR 255 255 255 =20 Thanks!! =20 Alex ------_=_NextPart_001_01C32B2F.20492E30 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello
I am working = with MS 3.6.3=20 and I have a problem with the definition of my Lineset. I am writing = the path of=20 the Lineset into the *.map File but whn I want to call = my
MapServer I = get the=20 following error message "msLoadMap():Unknown identifier=20 (LINESET):(4)".
It seems that = it doesn't=20 understand the keyword LINESET - but why?
 
Thats what my = Mapfile=20 somehow looks like:
#
# Start of map file
#
NAME = DEMO
LINESET=20 symbols/line.sym
STATUS ON
SIZE 600 600
EXTENT 398646.177625=20 137724.658636 582643.529837 221479.184518 #K=E4rnten
UNITS=20 METERS
FONTSET "fonts/fonts.list"
SHAPEPATH = "data"
IMAGECOLOR 255=20 255 255
 
Thanks!!
 
Alex
------_=_NextPart_001_01C32B2F.20492E30-- From wlx@cngis.org Thu Jun 5 08:12:20 2003 From: wlx@cngis.org (Liangxu Wang) Date: Thu, 5 Jun 2003 15:12:20 +0800 Subject: [Mapserver-users] Is there any document about mapserver and flash Message-ID: <000b01c32b31$ce26ff80$f84dfea9@gisedu> hi. I am a newbie of mapserver. I find some example of the flash of mapserver,but I can't find any document about how to do this. I use mapserver 4(dev),and php mapscript. thanks. wlx From mschulz@webgis.de Thu Jun 5 08:08:50 2003 From: mschulz@webgis.de (Michael Schulz) Date: Thu, 05 Jun 2003 09:08:50 +0200 Subject: [Mapserver-users] LineSet References: <3F01711BFB99D411835B0008C7866AA001308136@EXCHANGE01> Message-ID: <3EDEEC82.C3FBE0BA@webgis.de> --------------1C1086D13F4704F4DD6D1DF7 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi Alex, the lineset/markerset/shadeset keywords don't exist anymore. They were replaced by the "symbolset" keyword pointing to a file in which all symbols are defined. See the docs: http://mapserver.gis.umn.edu/doc36/mapfile-reference.html#symbology HTH, Michael Kaps Stefan schrieb: > HelloI am working with MS 3.6.3 and I have a problem with the > definition of my Lineset. I am writing the path of the Lineset into > the *.map File but whn I want to call myMapServer I get the following > error message "msLoadMap():Unknown identifier (LINESET):(4)".It seems > that it doesn't understand the keyword LINESET - but why?Thats what my > Mapfile somehow looks like:# > # Start of map file > # > NAME DEMO > LINESET symbols/line.sym > STATUS ON > SIZE 600 600 > EXTENT 398646.177625 137724.658636 582643.529837 221479.184518 > #Kärnten > UNITS METERS > FONTSET "fonts/fonts.list" > SHAPEPATH "data" > IMAGECOLOR 255 255 255 Thanks!!Alex -- ----------------------------------------------------------- Michael Schulz in medias res Dipl.-Geologe Gesellschaft für Informationstechnologie mbH Sautierstr. 38, 79104 Freiburg 0761 55695-95 (Fax 96) mschulz@webgis.de www.webgis.de --------------1C1086D13F4704F4DD6D1DF7 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Hi Alex,

the lineset/markerset/shadeset keywords don't exist anymore. They were replaced by the "symbolset" keyword pointing to a file in which all symbols are defined.
See the docs:
http://mapserver.gis.umn.edu/doc36/mapfile-reference.html#symbology

HTH, Michael

Kaps Stefan schrieb:

 HelloI am working with MS 3.6.3 and I have a problem with the definition of my Lineset. I am writing the path of the Lineset into the *.map File but whn I want to call myMapServer I get the following error message "msLoadMap():Unknown identifier (LINESET):(4)".It seems that it doesn't understand the keyword LINESET - but why?Thats what my Mapfile somehow looks like:#
# Start of map file
#
NAME DEMO
LINESET symbols/line.sym
STATUS ON
SIZE 600 600
EXTENT 398646.177625 137724.658636 582643.529837 221479.184518 #Kärnten
UNITS METERS
FONTSET "fonts/fonts.list"
SHAPEPATH "data"
IMAGECOLOR 255 255 255 Thanks!!Alex

--
-----------------------------------------------------------
Michael Schulz                                in medias res
Dipl.-Geologe                              Gesellschaft für
                                Informationstechnologie mbH
                             Sautierstr. 38, 79104 Freiburg
                                     0761 55695-95 (Fax 96)
mschulz@webgis.de                             www.webgis.de
  --------------1C1086D13F4704F4DD6D1DF7-- From jwitte@gmx.at Thu Jun 5 08:08:30 2003 From: jwitte@gmx.at (=?iso-8859-1?Q?J=F6rn_Witte?=) Date: Thu, 5 Jun 2003 09:08:30 +0200 Subject: [Mapserver-users] MapScript with SDE-support?! Message-ID: <000401c32b31$45cc88d0$0463fea9@poldi> This is a multi-part message in MIME format. ------=_NextPart_000_0005_01C32B42.0956DF70 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Hi, does anybody have a recompiled version of PHP-MapScript with SDE-support? Regards, J. Witte ------=_NextPart_000_0005_01C32B42.0956DF70 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Hi,

does anybody have a recompiled version of PHP-MapScript with = SDE-support?

 

Regards,

J. = Witte

------=_NextPart_000_0005_01C32B42.0956DF70-- From mschulz@webgis.de Thu Jun 5 08:59:05 2003 From: mschulz@webgis.de (Michael Schulz) Date: Thu, 05 Jun 2003 09:59:05 +0200 Subject: [Mapserver-users] shp2img segfaults Message-ID: <3EDEF849.15EEAABE@webgis.de> Hi there, the get-together-mails sound promising, i'd really have liked to come to the MUM, but not this year ... But the real problem is: I have a mapserver nightly build from end of may (tried also the recent nightly), php-mapscript and python-mapscript work fine only the mapserv executable and shp2img give me a segfault when trying to render a map-file with a tiff raster layer... When i comment out the raster layer everything works fine, python mapscript draws a nice picture with the raster only mapserv/shp2img don't. MS 3.6.3 draws the map-file without a problem. This is my config.status: ./configure --with-gd=static,/usr/local/gd-2.0.12gif/ --with-freetype=/usr/local/src/freetype-2.1.0 --with-tiff=/usr/local/src/tiff-v3.5.7 --with-gdal=/usr/local/src/gdal-1.1.8/apps/gdal-config --with-ogr=/usr/local/src/gdal-1.1.8/ogr --with-proj=/usr/local/src/proj-4.4.5 --with-jpeg=/usr/local/src/jpeg-6b --with-png --with-wmsclient --with-php=/usr/local/src/php-4.3.1/ Thanks, Michael -- ----------------------------------------------------------- Michael Schulz in medias res Dipl.-Geologe Gesellschaft für Informationstechnologie mbH Sautierstr. 38, 79104 Freiburg 0761 55695-95 (Fax 96) mschulz@webgis.de www.webgis.de From Mferrari@crema.unimi.it Thu Jun 5 10:15:13 2003 From: Mferrari@crema.unimi.it (Marco Ferrari) Date: Thu, 5 Jun 2003 11:15:13 +0200 Subject: [Mapserver-users] Problem compilation mapscript Message-ID: <92F02B0DA5A19549BEA6C9E26917F0392A176D@ganimede.crema.unimi.it> Hy, I installed mapserver 3.5 on win 2000 and xp with this file structure: C:\mapserver\freetype-2.0.1 C:\mapserver\gd-1.8.4 C:\mapserver\JPEG-6B C:\mapserver\libpng-1.0.8 C:\mapserver\Proj-4.4.3 C:\mapserver\REGEX-0.12 C:\mapserver\tiff-v3.5.7 C:\mapserver\zlib-1.1.3 C:\mapserver\gdal-1.1.5 The compilation is ok. My problem is mapscript. I installed php4 and apache with "Appserv": C:\Appserv\apache C:\Appserv\php and I modified the makefile.vc in the directory C:\mapserver\mapscript\php3: < # # makefile.vc - MSVC++ makefile for the PHP/MapScript extension # # This VC++ makefile will build the PHP module PHP_MAPSCRIPT.DLL # # To use the makefile: # - Open a DOS prompt window # - Run the VCVARS32.BAT script to initialize the VC++ environment variables # - Start the build with: nmake /f makefile.vc # # $Id: Makefile.vc,v 1.10 2001/10/23 19:17:38 assefa Exp $ # # To use PHP4 (instead of PHP3) uncomment the following line # The default when PHP4=1 is not set is to build for PHP3 PHP4 = 1 !ifdef PHP4 OPTFLAGS = /nologo /Zi /W3 /Fdphpms.pdb BASE_CFLAGS = $(OPTFLAGS) /DWIN32 /DZEND_WIN32 /DPHP_WIN32 /DPHP4 /DZTS !else OPTFLAGS = /nologo /Zi /W3 BASE_CFLAGS = $(OPTFLAGS) /DWIN32 !endif #LINK_OPT = /dll /debug LINK_OPT = /dll /debug # # Set PHP_SOURCE_DIR to point to the root of the PHP source tree # !ifdef PHP4 PHP_SOURCE_DIR = ../../../AppServ/php PHP_INC = -I$(PHP_SOURCE_DIR) -I$(PHP_SOURCE_DIR)/main -I$(PHP_SOURCE_DIR)/zend -I$(PHP_SOURCE_DIR)/include -I$(PHP_SOURCE_DIR)/tsrm !else PHP_SOURCE_DIR = ../../../php-3.0.14 PHP_INC = -I$(PHP_SOURCE_DIR) -I$(PHP_SOURCE_DIR)/dl !endif # # Where do you want php3_mapscript.dll to be installed? # !ifdef PHP4 PHP_INSTALL_DIR = \AppServ\php\extensions !else PHP_INSTALL_DIR = \Apache\php3 !endif # # Set MapServer extensions parameters. See main MapServer Makefile for # more details... # Common defaults are: # MS_DEFINE = -DUSE_TTF -DUSE_TIFF -DUSE_EPPL -DUSE_GD_1_2 # MS_INCLUDE = -I../.. -I../../gd-1.2 -I../../gdft # MS_LIBS = -L../.. -lmap -L../../gdft -lgdft -ltiff -lttf -L../../gd-1.2 -lgd # MS_DEFINE = -DUSE_EPPL -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_TTF -DUSE_PROJ -DUSE_TIFF -DUSE_TTF -DUSE_OGR -DUSE_GDAL !ifdef PHP4 MS_INC = -I../.. -I$(PHP_SOURCE_DIR)/regex -DPHP_NO_ALIASES -I../../gd-1.8.4 -I../../../proj-4.4.3/src !else MS_INC = -I../.. -I$(PHP_SOURCE_DIR)/regex -I../../../gd-1.8.4 -I../../../proj-4.4.3/src !endif GDAL_DIR= ../../../mapserver/gdal-1.1.5 MS_LIBS = ../../mapserver.lib \ ../../../mapserver/gd-1.8.4/gd.lib \ ../../../mapserver/libpng-1.0.8/libpng.lib \ ../../../mapserver/zlib-1.1.3/zlib.lib \ ../../../mapserver/jpeg-6b/libjpeg.lib \ ../../../mapserver/freetype-2.0.1/lib/freetype200b8MT.lib \ ../../../mapserver/tiff-v3.5.7/libtiff/libtiff.lib \ ../../../mapserver/proj-4.4.3/src/proj.lib \ $(GDAL_DIR)/ogr/ogrsf_frmts/ogrsf_frmts.lib \ $(GDAL_DIR)/ogr/ogrsf_frmts/ogrsf_frmts_sup.lib \ $(GDAL_DIR)/ogr/ogr.lib \ $(GDAL_DIR)/ogr/../port/cpl.lib # # The rest of the file should not have to be edited... # PHPMS_OBJS = php_mapscript_util.obj php_mapscript.obj mapscript_i.obj PHPPROJ_OBJS = php_mapscript_util.obj php_proj.obj !ifdef PHP4 PHPMS_DLL = php_mapscript.dll !else PHPMS_DLL = php3_mapscript.dll !endif PHPPROJ_DLL = php_proj.dll CFLAGS = $(BASE_CFLAGS) $(MS_DEFINE) $(MS_INC) $(PHP_INC) $(PRIOLIST) default: all all: $(PHPMS_DLL) $(PHPPROJ_DLL) mapscript: $(PHPMS_DLL) proj: $(PHPPROJ_DLL) install: all copy $(PHPMS_DLL) $(PHP_INSTALL_DIR) !ifdef PHP4 $(PHPMS_DLL): $(PHPMS_OBJS) link $(LINK_OPT) /out:$(PHPMS_DLL) $(PHPMS_OBJS) $(MS_LIBS) \ $(PHP_SOURCE_DIR)\lib\php4ts.lib $(PHPPROJ_DLL): $(PHPPROJ_OBJS) link $(LINK_OPT) /out:$(PHPPROJ_DLL) $(PHPPROJ_OBJS) $(MS_LIBS) \ $(PHP_SOURCE_DIR)\lib\php4ts.lib !else $(PHPMS_DLL): $(PHPMS_OBJS) link $(LINK_OPT) /out:$(PHPMS_DLL) $(PHPMS_OBJS) $(MS_LIBS) \ $(PHP_SOURCE_DIR)\win32\cgi_debug\php.lib $(PHPPROJ_DLL): $(PHPPROJ_OBJS) link $(LINK_OPT) /out:$(PHPPROJ_DLL) $(PHPPROJ_OBJS) $(MS_LIBS) \ $(PHP_SOURCE_DIR)\win32\cgi_debug\php.lib !endif $(PHPMS_OBJS): php_mapscript_util.h php_mapscript.h $(MS_LIBS) .c.obj: $(CC) $(CFLAGS) /DCOMPILE_DL=1 /c $*.c /Fo$*.obj clean: del *.obj del $(PHPMS_OBJS) del $(PHPPROJ_OBJS) del $(PHPMS_DLL) del $(PHPPROJ_DLL) del *.lib del *.pdb del *.exp del *.ilk > but on the VisualC I received the following error: cl /nologo /Zi /W3 /Fdphpms.pdb /DWIN32 /DZEND_WIN32 /DPHP_WIN32 /DPHP4 /DZTS -DUSE_EPPL -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_G D_TTF -DUSE_PROJ -DUSE_TIFF -DUSE_TTF -DUSE_OGR -DUSE_GDAL -I../.. -I../../../Ap pServ/php/regex -DPHP_NO_ALIASES -I../../gd-1.8.4 -I../../../proj-4.4.3/src -I.. /../../AppServ/php -I../../../AppServ/php/main -I../../../AppServ/php/zend -I../ ../../AppServ/php/include -I../../../AppServ/php/tsrm /DCOMPILE_DL=1 /c php_map script_util.c /Fophp_mapscript_util.obj php_mapscript_util.c php_mapscript_util.h(49) : fatal error C1083: Cannot open include file: 'php.h': No such file or directory NMAKE : fatal error U1077: 'cl' : return code '0x2' Stop. Where is my error? Can you help me? Thanks. From thfischer@mapmedia.de Thu Jun 5 12:29:09 2003 From: thfischer@mapmedia.de (Thorsten Fischer) Date: 05 Jun 2003 13:29:09 +0200 Subject: [Mapserver-users] Errors documented? In-Reply-To: References: Message-ID: <1054812549.926.2.camel@jeanjacques> On Wed, 2003-06-04 at 22:21, Steve Lime wrote: > We've tried to make most error messages self explanatory. And they are good by now I think :) I noticed something I made wrong earlier in the thread btw: > Because there is no such thing. Two workarounds are: either you search > the mailing list archive for your particular error message, or (this is > unix-specific, you probably can figure out a way to do this on other > systems) you can search the sources for that error message and see in > what context they arised. Searching the sources is of course not unix-specific. I recall that I wanted to write 'grep' instead of 'search'. hth, thorsten From sholl@gmx.net Thu Jun 5 08:41:41 2003 From: sholl@gmx.net (Stephan Holl) Date: Thu, 5 Jun 2003 09:41:41 +0200 Subject: [Mapserver-users] GRASS and mapserver Message-ID: <20030605094141.1ab5d8d9.sholl@gmx.net> --=.dp),zgwf6,WFod Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Dear List, I created a web-frontend for the GRASS-modul r.mapcalc to calculate some rasters with map-algebra. The problem is, when 2 users are requesting a grass-calulation. It is not possible to run simultanious grass-sessions from within the same user (here wwwrun). Does anyone have had this problem as well? Thanks for any suggestions about that problem -- Stephan Holl GnuPG Key-ID: 11946A09 --=.dp),zgwf6,WFod Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+3vQ3Eg9SKhGUagkRAg0OAJ9AjhJ5p9HyyQK9dx0HDANq2mFVzQCeLe9B fifx9MVkUdlbJ4xSTaPYoYs= =xnWe -----END PGP SIGNATURE----- --=.dp),zgwf6,WFod-- From thfischer@mapmedia.de Thu Jun 5 13:06:56 2003 From: thfischer@mapmedia.de (Thorsten Fischer) Date: 05 Jun 2003 14:06:56 +0200 Subject: [Mapserver-users] A suggestion for list divisions In-Reply-To: <1047399914.8835.6.camel@wsdan2> References: <1047399914.8835.6.camel@wsdan2> Message-ID: <1054814816.926.27.camel@jeanjacques> I hope I can make a point, even though I have not had my morning tea yet :) On Tue, 2003-03-11 at 17:25, Dan Harris wrote: > Hello All, > > I've been wondering for a few weeks now if the list admins might > consider breaking up the list into more topical sublists? Such as > perl-mapscript, php-mapscript, users, etc.. I doubt this would have the desired effect. Let's say you break it into mapserver (cgi) and mapscript. Newbie A wants to know about php mapscript, but only knows mailing list mapscript (cgi) (from a friend, from the website, whatever). He gets pointed to the other list (he unsubscribes, deletes the filter rule he has set up, subscribes to the other list, sets up a new filter rule ... etc). In the meantime, someone else is answering his question on the first list ... You can continue that ad infinitum. It might sound very far-fetched, but look at this: http://mail.gnome.org/mailman/listinfo I have spent a good amount of time on GNOME and Gtk+ and talked to a lot of people who turned away from the whole topic just because of this mailing list madness. Every small sublibrary has their own mailing list. You simply do not know _where_ to ask a question. Your average beginner does not even know or understand what the difference between mapscript and the cgi program _is_. He seeks for help and gets confused at that step already. Not good [tm]. There are a -users and a -dev mailing list, which is pretty self-explenatory. mapserver-mapscript and mapserver-cgi would not be. There already is a seperate postgis mailing list for example, which is fine beacuse it can be used outside mapserver as well. > I love the information > coming from this group and plan to participate more in the discussions > eventually Don't we all? ;) > , but I'm looking for some way to kind of filter out a lot of > the noise (no offense meant to anyone!). I know what you mean. But we all have different definitions of 'noise'. I, for example, delete every HTML email I get, no matter what the content is (well I move it to a seperate folder and skim it now and then before i delete it), for reasons that are my concern only (i do not want to start a discussion here). Or another thing that drives me mad: javascript, one of the biggest reasons for security holes in web and email software these days. In my view it's outright silly to use it, or to require users to have it turned on. Talking about it is just noise for me. mapserver-htmlscripting or something would suit my needs it seems, but it would still cut me off from (maybe vital) discussions. So I bear it and just delete the stuff. Also, an additional mailing list also means additional adminnistering work. It also means an additional archive for Newbie A to search. > I use perl mapscript > exclusively, so the cgi and php discussions are really not of interest > to me. I once thought I would only do php mapscript. Then I discovered that the CGI is far more interesting than I used to think. Then I had to talk to people who were used to program in perl mapscript. In both occassions, I was surprised to realize that I already knew more about the CGI and perl than I thought; it was because I was reading the mailing list. Can't be too bad a thing, it seems :) > Just a suggestion :) Thanks for your consideration. Same :) And now I will have my tea. hth, thorsten From thfischer@mapmedia.de Thu Jun 5 13:09:50 2003 From: thfischer@mapmedia.de (Thorsten Fischer) Date: 05 Jun 2003 14:09:50 +0200 Subject: [Mapserver-users] Please ignore my last post Message-ID: <1054814990.930.30.camel@jeanjacques> I am too stupid to handle my email program and to tell the archive from the inbox. I just replied to a four-month old post. Feel free to print out a picture of mine and laugh at it. *blushes* thorsten From stepan.kafka@centrum.cz Thu Jun 5 11:45:44 2003 From: stepan.kafka@centrum.cz (Stepan Kafka) Date: Thu, 5 Jun 2003 12:45:44 +0200 Subject: [Mapserver-users] GRASS and mapserver In-Reply-To: <20030605094141.1ab5d8d9.sholl@gmx.net> Message-ID: <002201c32b4f$9dc5e9f0$463c2fc3@HSGIS> You would have different GISRC file for each session. In addition I would reccommend creating temporary mapset for each session to separate user environment. Some locking mechanism is also possible to involve when using the same mapset. Stepan Kafka Help Service Remote Sensing tel: +420-327514118 mailto:kafka@email.cz http://www.bnhelp.cz > -----Pùvodní zpráva----- > Od: mapserver-users-admin@lists.gis.umn.edu > [mailto:mapserver-users-admin@lists.gis.umn.edu]za uživatele Stephan > Holl > Odesláno: 5. èervna 2003 9:42 > Komu: mapserver-users > Pøedmìt: [Mapserver-users] GRASS and mapserver > > > Dear List, > I created a web-frontend for the GRASS-modul r.mapcalc to calculate some > rasters with map-algebra. > > The problem is, when 2 users are requesting a grass-calulation. It is > not possible to run simultanious grass-sessions from within the same > user (here wwwrun). > > Does anyone have had this problem as well? > Thanks for any suggestions about that problem > -- > Stephan Holl > > GnuPG Key-ID: 11946A09 > --- Odchozí zpráva neobsahuje viry. Zkontrolováno antivirovým systémem AVG (http://www.grisoft.cz). Verze: 6.0.487 / Virová báze: 286 - datum vydání: 1.6.2003 From s9646183@sms.ed.ac.uk Thu Jun 5 13:42:13 2003 From: s9646183@sms.ed.ac.uk (AMC Story) Date: Thu, 05 Jun 2003 13:42:13 +0100 (BST) Subject: [Mapserver-users] Using arrow buttons to pan... Message-ID: <1054816933.3edf3aa5db4b4@sms.ed.ac.uk> Hi there, It seems that the standard interfaces to MapServer utilise a "pan" radio button and then allow the user to pan by recentering the map on the basis on a mouse click. I'd like to adapt this standard interface so that the user can click on a north/south/etc.. arrow, and the map would be repositioned according to some predefined default. I've seen this done using JavaScript, but was hoping that it would be possible to implement this (fairly standard) functionality without the need for JavaScript (i.e. by just adding on a number to some x/y value which is passed directly to MapServer). Does anyone have any examples of how this might be done? Many thanks in advance, Ali From rosangela.silva@zenitpolar.com.br Thu Jun 5 13:58:07 2003 From: rosangela.silva@zenitpolar.com.br (Rosangela Silva) Date: Thu, 5 Jun 2003 09:58:07 -0300 Subject: Fw: [Mapserver-users] transparent background raster (tif) References: <000d01c3247c$6ce16000$377ba8c0@nadir> <3ED3AE1F.5090305@pobox.com> <003101c32483$a1124270$377ba8c0@nadir> Message-ID: <000d01c32b62$1c354b70$377ba8c0@nadir> Hi This message is a little late at list and discard it please. Thanks Rosângela ----- Original Message ----- From: "Rosangela Silva" To: "Frank Warmerdam" Cc: "Mapserver-Users@Lists. Gis. Umn. Edu" Sent: Tuesday, May 27, 2003 4:10 PM Subject: Re: Fw: [Mapserver-users] transparent background raster (tif) > Hi, > My images are 8-bit TIFF, and they are peaces of sattelite > images (Landsat - RGB composit). > Part of these images has valid information, > but another part is complemented with deep black color. > I think that I couldn't specify a black collor pixel (0) > like "transparent" because some lakes and rivers are black too. > I'd like to show only the valid information. > I'll try to send a tiff like an example. > Thanks > Rosângela > ----- Original Message ----- > From: "Frank Warmerdam" > To: "Rosangela Silva" > Cc: "Mapserver-Users@Lists. Gis. Umn. Edu" > > Sent: Tuesday, May 27, 2003 3:27 PM > Subject: Re: Fw: [Mapserver-users] transparent background raster (tif) > > > > Rosangela Silva wrote: > > > Hello, > > > > > > I'm using mapserver 3.6.5. > > > I don't know how the mapserver interprets the background of the > > > tiff or jpg images. I'm looking for information about it, and some > > > softwares assumes the transparent background like a cannel "alpha", > > > but I don't know exactly how it works. > > > Sorry, but, for while, it is everything I know to explain. > > > > Rosângela, > > > > How it is accomplished will, as Ed suggests, depend on the nature of the > > image. MapServer 3.6.5 (if using GDAL for raster IO) will support > treating > > pixels with "alpha=0" as transparent if the image is RGBA. If the image > is > > in a format that returns a "nodata" value, or knows that particular color > > indexes in a paletted image are transparent, they will be automatically > > treated as transparent. 3.6.x does *not* support the user indicating a > > particular RGB value as transparent for 24bit inputs, but the OFFSITE > value > > can be used to mark one raw pixel value for greyscale or paletted images > > that should be treated as transparent. > > > > I hope this helps. > > > > Best regards, > > > > -- > > ---------------------------------------+---------------------------------- > ---- > > I set the clouds in motion - turn up | Frank Warmerdam, > warmerdam@pobox.com > > light and sound - activate the windows | http://pobox.com/~warmerdam > > and watch the world go round - Rush | Geospatial Programmer for Rent > > > > > > _______________________________________________ > > Mapserver-users mailing list > > Mapserver-users@lists.gis.umn.edu > > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > > From warmerdam@pobox.com Thu Jun 5 14:09:51 2003 From: warmerdam@pobox.com (Frank Warmerdam) Date: Thu, 05 Jun 2003 09:09:51 -0400 Subject: [Mapserver-users] shp2img segfaults In-Reply-To: <3EDEF849.15EEAABE@webgis.de> References: <3EDEF849.15EEAABE@webgis.de> Message-ID: <3EDF411F.8040503@pobox.com> Michael Schulz wrote: > Hi there, > > the get-together-mails sound promising, i'd really have liked to come to > the MUM, but not this year ... > > But the real problem is: I have a mapserver nightly build from end of > may (tried also the recent nightly), php-mapscript and python-mapscript > work fine only the mapserv executable and shp2img give me a segfault > when trying to render a map-file with a tiff raster layer... When i > comment out the raster layer everything works fine, python mapscript > draws a nice picture with the raster only mapserv/shp2img don't. MS > 3.6.3 draws the map-file without a problem. > > This is my config.status: > > ./configure --with-gd=static,/usr/local/gd-2.0.12gif/ > --with-freetype=/usr/local/src/freetype-2.1.0 > --with-tiff=/usr/local/src/tiff-v3.5.7 > --with-gdal=/usr/local/src/gdal-1.1.8/apps/gdal-config > --with-ogr=/usr/local/src/gdal-1.1.8/ogr > --with-proj=/usr/local/src/proj-4.4.5 --with-jpeg=/usr/local/src/jpeg-6b > --with-png --with-wmsclient --with-php=/usr/local/src/php-4.3.1/ Michael, I would suggest configuring --without-tiff to ensure the TIFF handling goes through GDAL instead of the more direct MapServer libtiff support. If you want the direct support, then please ensure your GDAL is built with an external libtiff 3.5.7 as well. Note that this is fairly antique and the builtin version of libtiff in GDAL is essentially 3.6.0 beta. Best regards, -- ---------------------------------------+-------------------------------------- I set the clouds in motion - turn up | Frank Warmerdam, warmerdam@pobox.com light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | Geospatial Programmer for Rent From mschulz@webgis.de Thu Jun 5 14:18:39 2003 From: mschulz@webgis.de (Michael Schulz) Date: Thu, 05 Jun 2003 15:18:39 +0200 Subject: [Mapserver-users] shp2img segfaults References: <3EDEF849.15EEAABE@webgis.de> <3EDF411F.8040503@pobox.com> Message-ID: <3EDF432F.45DCD3C4@webgis.de> Thanks Frank, that did it. But how come, the mapscript dialects worked, though? I was rather puzzled about that one - usually it's the other way round. Cheers, Michael Frank Warmerdam schrieb: > Michael Schulz wrote: > > Hi there, > > > > the get-together-mails sound promising, i'd really have liked to come to > > the MUM, but not this year ... > > > > But the real problem is: I have a mapserver nightly build from end of > > may (tried also the recent nightly), php-mapscript and python-mapscript > > work fine only the mapserv executable and shp2img give me a segfault > > when trying to render a map-file with a tiff raster layer... When i > > comment out the raster layer everything works fine, python mapscript > > draws a nice picture with the raster only mapserv/shp2img don't. MS > > 3.6.3 draws the map-file without a problem. > > > > This is my config.status: > > > > ./configure --with-gd=static,/usr/local/gd-2.0.12gif/ > > --with-freetype=/usr/local/src/freetype-2.1.0 > > --with-tiff=/usr/local/src/tiff-v3.5.7 > > --with-gdal=/usr/local/src/gdal-1.1.8/apps/gdal-config > > --with-ogr=/usr/local/src/gdal-1.1.8/ogr > > --with-proj=/usr/local/src/proj-4.4.5 --with-jpeg=/usr/local/src/jpeg-6b > > --with-png --with-wmsclient --with-php=/usr/local/src/php-4.3.1/ > > Michael, > > I would suggest configuring --without-tiff to ensure the TIFF handling > goes through GDAL instead of the more direct MapServer libtiff support. If > you want the direct support, then please ensure your GDAL is built with > an external libtiff 3.5.7 as well. Note that this is fairly antique > and the builtin version of libtiff in GDAL is essentially 3.6.0 beta. > > Best regards, > -- > ---------------------------------------+-------------------------------------- > I set the clouds in motion - turn up | Frank Warmerdam, warmerdam@pobox.com > light and sound - activate the windows | http://pobox.com/~warmerdam > and watch the world go round - Rush | Geospatial Programmer for Rent -- ----------------------------------------------------------- Michael Schulz in medias res Dipl.-Geologe Gesellschaft für Informationstechnologie mbH Sautierstr. 38, 79104 Freiburg 0761 55695-95 (Fax 96) mschulz@webgis.de www.webgis.de From Agneta Schick Thu Jun 5 15:27:27 2003 From: Agneta Schick (Agneta Schick) Date: Thu, 5 Jun 2003 16:27:27 +0200 (MET DST) Subject: [Mapserver-users] php & javascript Message-ID: <200306051427.h55ERR516461@b3sn28.hannover.bgr.de> Hello patient MapServer-users, I've reached the point where I'm getting more confused the more demos I look at and user-mails I read. Platform: Solaris8, Netcape7, Apache, Mapserver3.6, php4.3.1, I need php (or Perl) for interfacing our INGRES database. So I started with a php script using Mapscript to generate maps. This works fine and I can play with the URL in the browser so that zoom and imgbox parameters produce the correct maps. Now I designed the layout in html and use javascript to catch the mouse clicks for zooming (imgbox). My problem is that I don't understand how javascript starts the php script which then returns the correct image-url so that only the map image is updated. Doing something like 'document.image_name.src=myscript.php?redraw=1&imgbox...' results in an empty image with the property "http://.../myscript.php?redraw=1&imgbox..." And sending a form-submit results in a new page. How do I get just the image updated (e.g. as an image button or image in a table)?? Sorry to bother with such a simple technical problem but I can't see any other possiblity. This is my first try with php. Configuring my apache server nnn times, reading all mails pertaining to php and javascript and searching the web for clues have not helped. Thank you Agneta Schick From s9646183@sms.ed.ac.uk Thu Jun 5 16:05:32 2003 From: s9646183@sms.ed.ac.uk (AMC Story) Date: Thu, 05 Jun 2003 16:05:32 +0100 (BST) Subject: [Mapserver-users] Displaying point data from a text file Message-ID: <1054825532.3edf5c3ca3915@sms.ed.ac.uk> Hi there, Sorry if this is a really stupid question, but I'm still very new to all this :) Is it possible to read in point data from a text file (i.e. a tab or comma delimited file with x and y coordinates and some attributes) rather than a shapefile? I'd also like to be able to display the point symbols at a size proportional to their "size" attribute, and be able to return info from this file when a point is queried. Does anyone know if this is possible? Any comments/advice/examples gratefully received! Many thanks Ali From eric@gomoos.org Thu Jun 5 16:42:59 2003 From: eric@gomoos.org (Eric Bridger) Date: Thu, 05 Jun 2003 11:42:59 -0400 Subject: [Mapserver-users] Displaying point data from a text file In-Reply-To: <1054825532.3edf5c3ca3915@sms.ed.ac.uk> Message-ID: <4.3.2.7.2.20030605113844.00abeaf0@mail.gomoos.org> This is indeed possible, but you will need to use some version of mapscript. You could also use mapscript to create a shapefile from the point data text file. There are some perl mapscript examples here: http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?PerlMapScriptExamples35 In particular see the mapquakes.pl example: http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?PerlMapScriptExamples35ex2 and http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?PerlMapScriptExamples35ex14 Eric Bridger At 04:05 PM 06/05/2003 +0100, AMC Story wrote: >Hi there, > >Sorry if this is a really stupid question, but I'm still very new to all >this :) > >Is it possible to read in point data from a text file (i.e. a tab or comma >delimited file with x and y coordinates and some attributes) rather than a >shapefile? I'd also like to be able to display the point symbols at a size >proportional to their "size" attribute, and be able to return info from this >file when a point is queried. > >Does anyone know if this is possible? Any comments/advice/examples gratefully >received! > >Many thanks >Ali >_______________________________________________ >Mapserver-users mailing list >Mapserver-users@lists.gis.umn.edu >http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From dana@nextbus.com Thu Jun 5 17:51:56 2003 From: dana@nextbus.com (Dana Quinn) Date: Thu, 05 Jun 2003 09:51:56 -0700 Subject: [Mapserver-users] proj.pm build problem Message-ID: <3EDF752C.9090803@nextbus.com> This is a little bit obscure, but I'll give it a try. I'm trying to build the proj.pm that Steve Lime released a while back, and I getting a strange message that's keeping it from building. I haven't seen this before, and thought I'd ask about it here. (I'm building on a RH 8.0/Perl 5.8 system) so after I do 'perl Makefile.PL', I do a make and get this: $ make cp proj.pm blib/lib/proj.pm gcc -c -I/u1/src/ms/proj/include -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -march=i386 -mcpu=i686 -DVERSION=\"\" -DXS_VERSION=\"\" -fpic "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" proj_wrap.c proj_wrap.c: In function `_swig_create_magic': proj_wrap.c:416: warning: assignment from incompatible pointer type proj_wrap.c:417: warning: assignment from incompatible pointer type proj_wrap.c: At top level: proj_wrap.c:750: conflicting types for `boot_proj' proj_wrap.c:431: previous declaration of `boot_proj' make: *** [proj_wrap.o] Error 1 Does anyone have any ideas what could be going on here? My normal troubleshooting technique (pasting the error message into google), didn't return any matches (sort of amazing). I must be doing something wrong. I am running a different version of glibc than another RH8.0 system that this worked on - is it possible that it could cause a problem? Any help would be appreciated! Dana PS I also re-swig'd, which didn't help, and kind of made things worse actually. PPS Wish I could be with you all there at the users conference! Have fun! -- Dana Quinn, dana@nextbus.com NextBus Information Systems (510) 420-3117 From mapserver@gismap.ch Thu Jun 5 19:48:29 2003 From: mapserver@gismap.ch (Mapserver) Date: Thu, 5 Jun 2003 20:48:29 +0200 Subject: [Mapserver-users] shp2pdf Message-ID: Hi list, I'm quite new to mapserver. I can't find a documentation on shp2pdf. Apparently there is no windows-binary. I would like to use the linux-one with the mapserver-cgi using the common
-command. Is this possible? I can't find informations on this in the archives. Thanks for help Roman From wendy@ark.org Thu Jun 5 21:52:25 2003 From: wendy@ark.org (Wendy Roseberry) Date: Thu, 5 Jun 2003 13:52:25 -0700 Subject: [Mapserver-users] Spatial Joins Message-ID: This is a multi-part message in MIME format. ------=_NextPart_000_0031_01C32B69.B2358C00 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Is it possible to do spatial joins between 2 or more data layers with mapserver? Could someone provide an example? Thanks, Wendy Roseberry Software Developer www.accessArkansas.org ------=_NextPart_000_0031_01C32B69.B2358C00 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Is it=20 possible to do spatial joins between 2 or more data layers with = mapserver? =20 Could someone provide an example?
 
Thanks,=20
Wendy = Roseberry
Software=20 Developer
www.accessArkansas.org=20
------=_NextPart_000_0031_01C32B69.B2358C00-- From mapserver@gismap.ch Thu Jun 5 20:06:56 2003 From: mapserver@gismap.ch (Mapserver) Date: Thu, 5 Jun 2003 21:06:56 +0200 Subject: [Mapserver-users] pdf's at fixed scale??? Message-ID: Hi list What is the easiest way to produce maps at a fixed scale??? The user should be able to (1) choose the scale (maybe 1:500) and then (2) point to the place in the map and finally (3) mapserver produces the pdf. Probably not that easy to find a solution... Thanks, Roman From pkishor@geoanalytics.com Thu Jun 5 20:21:13 2003 From: pkishor@geoanalytics.com (pkishor_98) Date: Thu, 05 Jun 2003 19:21:13 -0000 Subject: [Mapserver-users] Re: php & javascript In-Reply-To: <200306051427.h55ERR516461@b3sn28.hannover.bgr.de> Message-ID: --- In mapserver-users@yahoogroups.com, Agneta Schick wrote: I'll try to answer some, but I may not have understood the exact nature of your question -- > I need php (or Perl) for interfacing our INGRES database. with Perl you could use DBI and see if there is an INGRES DBD. With PHP, well, searching on PHP boards for INGRES drivers should yield the answer to you. > So I > started with a php script using Mapscript to generate maps. > This works fine and I can play with the URL in the browser so > that zoom and imgbox parameters produce the correct maps. that is good. At least you are beyond the "getting Mapserver to work" stage. > Now I designed the layout in html and use javascript to catch > the mouse clicks for zooming (imgbox). My problem is that I don't > understand how javascript starts the php script which then returns > the correct image-url so that only the map image is updated. well, JavaScript (js) doesn't start PHP... js is client-side (not really, but lets assume so for this application) and only available in the user's browser. PHP is server side and has nothing whatsoever to do with the browser. The communication between the two is http GET or POST requests. You use js to populate form (in case of POST) variables and submit the page (the form), or populate url variables (in case of GET) and submit the page... once these values reach the server, PHP takes over, uses the values to create the new map, prepare a new page, and send it back to the user via the web server. > > Doing something like 'document.image_name.src=myscript.php?redraw=1&imgbox...' > results in an empty image with the property > "http://.../myscript.php?redraw=1&imgbox..." I am not even sure if that is a valid img.src value... if you are changing the img.src value on the fly, typically you provide a valid path to the image be it on the server anywhere in the world, or in the browser's cache if pre-fetched. > > And sending a form-submit results in a new page. > How do I get just the image updated (e.g. as an image button or image in a > table)?? so, you don't want to submit the page and only want the image updated. You can't do that with straight html (at least afaik). You can simulate it by using frames and updating only the frame containing the map, or you need the Java applet solution whereby the image inside the applet gets updated by communicating directly with the server... the page containing the image remains static, so to say. Hope this little primer sets you on the right path to where you wanna go. From pramsey@refractions.net Fri Jun 6 00:08:26 2003 From: pramsey@refractions.net (Paul Ramsey) Date: Thu, 05 Jun 2003 16:08:26 -0700 Subject: [Mapserver-users] Spatial Joins In-Reply-To: References: Message-ID: <3EDFCD6A.2030403@refractions.net> Wendy Roseberry wrote: > Is it possible to do spatial joins between 2 or more data layers with > mapserver? Could someone provide an example? > > Thanks, > Wendy Roseberry > Software Developer > www.accessArkansas.org You will probably find spatial joins easier to execute in PostGIS than in Mapserver. People mean different things somethings when they say "spatial join". Sometimes they mean "two stage query": click select an item in Layer A and then return all the items in Layer B which are within distance Q. You could do that in Mapserver using Mapscript I think. A general and complete spatial join you would want to use something like PostGIS for. P. -- __ / | Paul Ramsey | Refractions Research | Email: pramsey@refractions.net | Phone: (250) 885-0632 \_ From David.Beard@ga.gov.au Fri Jun 6 00:51:17 2003 From: David.Beard@ga.gov.au (David.Beard@ga.gov.au) Date: Fri, 6 Jun 2003 09:51:17 +1000 Subject: [Mapserver-users] RE: Problems with 3.7 and itemquery Message-ID: David, Check the extents of your COUNTY layer against the extents in the map file (14215.43 19342.38 18468.59 16607.16). Does your COUNTY layer fall within the map extents? I have received this same error (msQueryByAttributes(): Search returned no results. No matching record(s) found, layer and area of interest do not overlap). For me, the cause of the error was incorrect map extents in the map layer. Other things to consider: 1. You don't have FILTER and FILTERITEM in your map file. Dave -----Original Message----- From: mapserver-users-admin@lists.gis.umn.edu [mailto:mapserver-users-admin@lists.gis.umn.edu]On Behalf Of William Taylor Sent: Thursday, 5 June 2003 10:58 AM To: mapserver-users@lists.gis.umn.edu Subject: [Mapserver-users] Problems with 3.7 and itemquery Group, I am having problems getting itemquery function to work with MapServ 3.7. My Url looks like this: http://localhost/Scripts/mapservdemo.exe?map=C:\Inetpub\wwwroot\MapServI temTest\test.map&mode=itemquerymap&qlayer=county&mapext=shapes&qitem=cty _name&qstring=PB And My Map File looks like this: MAP NAME test STATUS ON SIZE 600 450 EXTENT 14215.43 19342.38 18468.59 16607.16 UNITS FEET SHAPEPATH "test" IMAGECOLOR 255 255 255 PROJECTION "init=epsg:26958" END WEB IMAGEPATH "set in config.js" IMAGEURL "set in config.js" END QUERYMAP STATUS ON STYLE HILITE COLOR 255 255 0 END LAYER NAME county DATA county STATUS DEFAULT TYPE POLYGON CLASS COLOR 212 212 212 OUTLINECOLOR 0 0 0 END END END I get the error below: msQueryByAttributes(): Search returned no results. No matching record(s) found, layer and area of interest do not overlap. The attribute table does contain the value. Any help you can offer would be greatly appreciated. Sincerely, W. David Taylor From sholl@gmx.net Fri Jun 6 06:22:19 2003 From: sholl@gmx.net (Stephan Holl) Date: Fri, 6 Jun 2003 07:22:19 +0200 Subject: [Mapserver-users] Using arrow buttons to pan... In-Reply-To: <1054816933.3edf3aa5db4b4@sms.ed.ac.uk> References: <1054816933.3edf3aa5db4b4@sms.ed.ac.uk> Message-ID: <20030606072219.0e35979e.sholl@gmx.net> --=.u+IibP5wYbe:Hu Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit At Thu, 05 Jun 2003 13:42:13 +0100 (BST) AMC Story wrote: Hello AMC, > Does anyone have any examples of how this might be done? here is a small code snippet with php/mapscript /********************************************************************** **/ /* function panarrow() */ /* */ /* Utility function pan when clicking on the arrows */ /********************************************************************** **/ function panarrow () { GLOBAL $map, $HTTP_POST_VARS ; //entsprechend nach w,e,s,n aufsplitten $xmax = intval($HTTP_POST_VARS[maxx]); // E $xmin = intval($HTTP_POST_VARS[minx]); // W $xinc = ($xmax - $xmin ) / 5; // pan-factor $ymax = intval($HTTP_POST_VARS[maxy]); // S $ymin = intval($HTTP_POST_VARS[miny]); // N $yinc = ($ymax - $ymin ) / 5; // pan-factor // which button is pressed if ( isset($HTTP_POST_VARS["panN_x"])) { $map->setextent( $xmin, ($ymin + $yinc), $xmax, ($ymax + $yinc)); } elseif ( isset($HTTP_POST_VARS["panS_x"])) { $map->setextent( $xmin, ($ymin - $yinc), $xmax, ($ymax - $yinc)); } elseif ( isset($HTTP_POST_VARS["panW_x"])) { $map->setextent( ($xmin - $xinc), $ymin, ($xmax - $xinc), $ymax); } elseif ( isset($HTTP_POST_VARS["panE_x"])) { $map->setextent( ($xmin + $xinc), $ymin, ($xmax + $xinc), $ymax); } } // end function panarrow() insert some buttons and add the name panN, panS, panW, panE to it. hth Stephan Holl -- Stephan Holl GnuPG Key-ID: 11946A09 --=.u+IibP5wYbe:Hu Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+4CUNEg9SKhGUagkRAkPhAJ45kFFyzUnNHDJWGpLG7CWhnlwGBQCgncSw R+ettOXxdO4QTAL7kDQTA/I= =b11/ -----END PGP SIGNATURE----- --=.u+IibP5wYbe:Hu-- From ruben@anet.net.tw Fri Jun 6 08:56:23 2003 From: ruben@anet.net.tw (Ruben Tsui) Date: Fri, 6 Jun 2003 15:56:23 +0800 (CST) Subject: [Mapserver-users] How to display 16-bit bitmap fonts? Message-ID: <18727065.1054886183474.JavaMail.root@crystalw02> Dear all, I would like to have the ability to display wide-character (16-bit) BITMAP fonts in a map. East Asian TrueType font files are just a bit too bulky (3~18 MB per file) and slow for a high-load setup. I have access to some X11 PCF fonts for East Asian languages but don't know how to set it up in the LABEL section. I tried all possible combinations to no avail (neither TYPE=bitmap nor TYPE=truetype worked). Since FreeType 2 supports the PCF format (FAQ Section I.1), is it possible to somehow get MapServer to display PCF via the FT2 engine? I apologize if this has been answered before, but I've looked through the archives and haven't come up with anything useful so far. Also, any general hints/suggestions for improving character label generation will be much appreciated. Many thanks, Ruben Tsui Current project: Prototype a mapping platform using MapServer for 3G/2.5G career-grade deployment (6 million mobile subscriber base). From b.lathiere@ism.asso.fr Fri Jun 6 09:19:02 2003 From: b.lathiere@ism.asso.fr (Benoit Lathiere) Date: Fri, 06 Jun 2003 10:19:02 +0200 Subject: [Mapserver-users] when is planned the next Mapserver ? References: <18727065.1054886183474.JavaMail.root@crystalw02> Message-ID: <3EE04E76.7030601@ism.asso.fr> Hi everyone ! I'm using Mapserver 3.6.5 on a Linux/DEbian box. No problem :-) But I would like to use Flash outputs ( >= Mapserver 3.7)... Is the new release's date is known ?? Thanks a lot, Benoit Lathiere. From braulioen@ono.com Fri Jun 6 12:41:48 2003 From: braulioen@ono.com (braulioen@ono.com) Date: Fri, 06 Jun 2003 13:41:48 +0200 Subject: [Mapserver-users] Problem visualizing an image ECW. Message-ID: Hi at all, I'm using PHP/Mapscript in Windows XP, downloaded from "http://www2.dmsolutions.ca/webtools/dl", file "mapserver-3.6.6- dev-win32-php4.3.1-libwww-postgis.zip". This version is compiled with support for ECW (from library GDAL). We have a Image Web Server (IWS) of ERMAPPER. Now I have added in my map a raster layer with an image ECW: LAYER NAME ortofoto DATA "ecwp://myserverIWS/myimage.ecw" STATUS DEFAULT TYPE RASTER END But I have a problem. The image is seen correctly, but when I make zoom in, from a determined scale, the image ECW becomes black. Which is the problem? Thanks for any aid. Braulio Moreno. From robert-fritz@web.de Fri Jun 6 14:27:26 2003 From: robert-fritz@web.de (robert fritz) Date: Fri, 6 Jun 2003 15:27:26 +0200 Subject: [Mapserver-users] regex / Case Insensitive Query Message-ID: <200306061327.h56DRQQ20743@mailgate5.cinetic.de> Hello, is it possible to do a case-insensitive itemquery, using a regular expression? Something like : Filter ("[Name]" =~ /*%value%*/) (+ not case sensitive) Maybe something changed: http://mapserver.gis.umn.edu/data2/wilma/mapserver-users/0008/msg00096.html Thank you, robert ____________________________________________________________________________ Jetzt bei WEB.DE FreeMail anmelden = 1qm Regenwald schuetzen! Helfen Sie mit! Nutzen Sie den Serien-Testsieger. http://user.web.de/Regenwald From dbecker@911.lubbock.tx.us Fri Jun 6 23:30:26 2003 From: dbecker@911.lubbock.tx.us (dbecker@911.lubbock.tx.us) Date: Fri, 6 Jun 2003 17:30:26 -0500 Subject: [Mapserver-users] Don Becker/LECD is out of the office. Message-ID: I will be out of the office starting 06/06/2003 and will not return until 06/13/2003. I will respond to your message when I return. Happy New Year! From robert-fritz@web.de Sat Jun 7 10:20:16 2003 From: robert-fritz@web.de (Robert Fritz) Date: Sat, 7 Jun 2003 11:20:16 +0200 Subject: [Mapserver-users] itemquery / itemnquery Message-ID: Hello, i use html-frames & javascript in every frame. on frame contains a form for user-inputs which are used for itemquery, another frame keeps the map. it works fine, the user can change the input-values and send new requests, the result is shown in the map-frame. but if i change the mode to itemnquery, things are getting strange: i can send only on request and then i get javascript-errors form the map-frame if i try to send a new request. the javascript errors tell me, that some of my hidden-parameters (e.g. document.mapform.imgxy) are not available, but they are there. i do not understand what happens, because the only thing i change is the mode : from ITEMQUERY to ITEMNQUERY. Where do I have to look for the source of error - my JavaScripts, my Request-Url, my MapFile? Is there a difference between itemquery - itemnquery? Do I have to set more parameters using ITEMNQUERY? --- Map File Excerpt LAYER NAME fsquery TYPE POLYGON STATUS ON DATA flurstuecke Filter ("[flaechennu]" =~ /%wert%/) # I change my Filter via URL CLASS Name "gesuchtes Flurstück" Symbol "diagonalfill" Size 8 END TEMPLATE map.html # keeps my Map-Frame END Thank you, robert From robert-fritz@web.de Sat Jun 7 10:55:03 2003 From: robert-fritz@web.de (Robert Fritz) Date: Sat, 7 Jun 2003 11:55:03 +0200 Subject: AW: [Mapserver-users] itemquery / itemnquery In-Reply-To: Message-ID: Sorry, i know now whats going wrong, have a nice weekend, robert -----Ursprüngliche Nachricht----- Von: mapserver-users-admin@lists.gis.umn.edu [mailto:mapserver-users-admin@lists.gis.umn.edu]Im Auftrag von Robert Fritz Gesendet: Samstag, 7. Juni 2003 11:20 An: UMN Betreff: [Mapserver-users] itemquery / itemnquery Hello, i use html-frames & javascript in every frame. on frame contains a form for user-inputs which are used for itemquery, another frame keeps the map. it works fine, the user can change the input-values and send new requests, the result is shown in the map-frame. but if i change the mode to itemnquery, things are getting strange: i can send only on request and then i get javascript-errors form the map-frame if i try to send a new request. the javascript errors tell me, that some of my hidden-parameters (e.g. document.mapform.imgxy) are not available, but they are there. i do not understand what happens, because the only thing i change is the mode : from ITEMQUERY to ITEMNQUERY. Where do I have to look for the source of error - my JavaScripts, my Request-Url, my MapFile? Is there a difference between itemquery - itemnquery? Do I have to set more parameters using ITEMNQUERY? --- Map File Excerpt LAYER NAME fsquery TYPE POLYGON STATUS ON DATA flurstuecke Filter ("[flaechennu]" =~ /%wert%/) # I change my Filter via URL CLASS Name "gesuchtes Flurstück" Symbol "diagonalfill" Size 8 END TEMPLATE map.html # keeps my Map-Frame END Thank you, robert _______________________________________________ Mapserver-users mailing list Mapserver-users@lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From prasadbauchkar@india.com Sun Jun 8 07:56:45 2003 From: prasadbauchkar@india.com (prasad bauchkar) Date: Sun, 08 Jun 2003 14:56:45 +0800 Subject: [Mapserver-users] data interface in PDA Message-ID: <20030608065645.21499.qmail@india.com> hello, i would like to develop an data interface in pda for updating and transfering GIS data in real time using mapserver. may i know how can i proceed and what steps should i follow. need your help open source!!!! prasad. -- ______________________________________________ http://www.india.com Now with POP3/SMTP access for only US$14.95/yr Powered by Outblaze From robert-fritz@web.de Sun Jun 8 11:48:44 2003 From: robert-fritz@web.de (Robert Fritz) Date: Sun, 8 Jun 2003 12:48:44 +0200 Subject: [Mapserver-users] Change Map-Filter via URL - Problems with Point Layer? Message-ID: Hello, I have 2 Point-Shapes and I want to change the "Filter" of the Layers via URL. But it seems not to work. If i use Polygon-Layers, everything works fine. I converted the point Layer to Polygon Layer and changed nothing in my Scripts - using the Point Layers the Filter is not changed, using the Polygon Layers I get the correct results. Is there a difference between Point and Polygon Layers, using itemquery & changing the filter via URL? Or do I something other wrong? Thank you, robert -------------------Map File: LAYER NAME BaumPolygon TYPE Polygon STATUS On DATA Baum_Polygon Filter ("[Baumid]" =~ /^%baumid%/) # I change the Filter via URL e.g. to ("[Baumid]" =~ /^%baumid%/ AND "[ART]" =~/%art%/) CLASS ...... LAYER NAME Baum TYPE POINT STATUS On DATA Baum Filter ("[Baumid]" =~ /^%baumid%/) # I want to change, but it does not change e.g. to ("[Baumid]" =~ /^%baumid%/ AND # "[ART]" =~/%art%/) CLASS Symbol "circle" ....... My HTML Page: Polygon-Layer Point-Layer From novalet@yahoo.com.cn Sun Jun 8 13:43:19 2003 From: novalet@yahoo.com.cn (=?gb2312?q?Chen=20Fu?=) Date: Sun, 8 Jun 2003 20:43:19 +0800 (CST) Subject: [Mapserver-users] 3.7 or 4.0? Message-ID: <20030608124319.32296.qmail@web15210.mail.bjs.yahoo.com> Hi! I just a little puzzle about the version of mapserver. I have used version 3.6 for a long time and long for the 3.7 feature such like grid and shader. But today when i look at the web page, found 4.0 is on its beta. Is it right? Will we get 4.0 in a short time and skip 3.7? what's the new features in 4.0 then? Thanks! ===== Remote Scensing Satellite Ground Station Chinese Academy of Science _________________________________________________________ Do You Yahoo!? Á÷Á¬ÍøÂçÊÀ½çµÄ¡°Ä㡱ÊÇË­£¿ http://cn.rd.yahoo.com/mail_cn/tag/?http://cn.surveys.yahoo.com/cn_user_profile_study_may2003 From woodbri@swoodbridge.com Sun Jun 8 14:12:27 2003 From: woodbri@swoodbridge.com (woodbri@swoodbridge.com) Date: Sun, 08 Jun 2003 09:12:27 -0400 Subject: [Mapserver-users] 3.7 or 4.0? In-Reply-To: <20030608124319.32296.qmail@web15210.mail.bjs.yahoo.com> Message-ID: <3EE2FDFB.19595.CFFF17D@localhost> A rose by any other name is still a rose. 3.7 had so many new features that it could not rightly be considered 3.X release and has been renamed to 4.0. 3.7/4.0 has been very stable for quite some time and there are a few people that are running it on production servers. -Steve W. On 8 Jun 2003 at 20:43, Chen Fu wrote: > Hi! > I just a little puzzle about the version of mapserver. > > > I have used version 3.6 for a long time and long for > the 3.7 feature such like grid and shader. > > But today when i look at the web page, found 4.0 is on > its beta. Is it right? Will we get 4.0 in a short time > and skip 3.7? what's the new features in 4.0 then? > > Thanks! > > ===== > Remote Scensing Satellite Ground Station > Chinese Academy of Science > > _________________________________________________________ > Do You Yahoo!? > Á÷Á¬ÍøÂçÊÀ½çµÄ¡°Ä㡱ÊÇË­£¿ > http://cn.rd.yahoo.com/mail_cn/tag/?http://cn.surveys.yahoo.com/cn_use > r_profile_study_may2003 > _______________________________________________ Mapserver-users > mailing list Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > From steve.lime@dnr.state.mn.us Sun Jun 8 18:22:18 2003 From: steve.lime@dnr.state.mn.us (Steve Lime) Date: Sun, 08 Jun 2003 12:22:18 -0500 Subject: [Mapserver-users] when is planned the next Mapserver ? Message-ID: An initial beta release is on the website now. It's certainly stable enough to start testing with. Steve >>> Benoit Lathiere 06/06/03 3:19 AM >>> Hi everyone ! I'm using Mapserver 3.6.5 on a Linux/DEbian box. No problem :-) But I would like to use Flash outputs ( >= Mapserver 3.7)... Is the new release's date is known ?? Thanks a lot, Benoit Lathiere. _______________________________________________ Mapserver-users mailing list Mapserver-users@lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From dukav@gmx.de Mon Jun 9 15:41:24 2003 From: dukav@gmx.de (dukav@gmx.de) Date: Mon, 9 Jun 2003 16:41:24 +0200 (MEST) Subject: [Mapserver-users] performance Message-ID: <4598.1055169684@www64.gmx.net> Dear list, Is there some information about the performance of the mapserver available? Or could somebody tell me something about this? Thanks for any help, Karin -- Karin Dürrwanger Bilderhäuslenstr. 26 73257 Köngen tel.: 0 70 24 / 86 67 96 +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage! From strk@keybit.net Mon Jun 9 15:42:51 2003 From: strk@keybit.net (strk) Date: Mon, 9 Jun 2003 16:42:51 +0200 Subject: [Mapserver-users] Scale meaning Message-ID: <20030609164251.A80964@freek.keybit.net> Hello, I'm trying to get the meaning of the SCALE value as returned by [scale] in map templates (mapObj->scale). How can you express it in human language ? For example: 37554.078269 <- what is it exactly ? If I write in a mapfile that a Layer is not worth drawing with a mapscale bigger then 37554.078269 what am I referring to ? So long I can only use empirical [scale] checks to set MAX/MIN SCALES in mapfile, but I'd like to be more "formal" in writing mapfiles. TIA --strk; From s9646183@sms.ed.ac.uk Mon Jun 9 16:06:06 2003 From: s9646183@sms.ed.ac.uk (AMC Story) Date: Mon, 09 Jun 2003 16:06:06 +0100 (BST) Subject: [Mapserver-users] Problem with inline features/persistence from a URL....? Message-ID: <1055171166.3ee4a25eb6c7a@sms.ed.ac.uk> Hi everyone, I've recently been experimenting with inline features as a way to draw additional point symbols on my maps. What I would like to do is to have a text- based front page, where users can click on a hyperlink and be taken to a map showing the feature and the area around it. As the locations of these features will change dynamically, I want to be able to write a script that provides the initial URL's for all the links based on the current data. What I really want to avoid is hardcoding these new features each in their own version of the template file. An example URL would be:

The Map

However, the problem here is that as soon as the user interacts with the map (i.e. zooms in or out), the template file is called and this seems to delete the inline features specified in the original url. Is there anyway to make this part of the url persistent? For example, can a variable be set in the template file that is then somehow obtained from the original url? Eg: in the template file: Sorry if this is a daft question, but any suggestions would be gratefully received. Many thanks again for your help. Your previous suggestions have been real life- savers :) Ali From Rich@GreenwoodMap.com Mon Jun 9 16:32:14 2003 From: Rich@GreenwoodMap.com (Richard Greenwood) Date: Mon, 09 Jun 2003 09:32:14 -0600 Subject: [Mapserver-users] Scale meaning In-Reply-To: <20030609164251.A80964@freek.keybit.net> Message-ID: <5.2.0.9.0.20030609092401.00ac6ca8@mail.GreenwoodMap.com> --=======67666783======= Content-Type: text/plain; x-avg-checked=avg-ok-35C52E9; charset=us-ascii; format=flowed Content-Transfer-Encoding: 8bit At 04:42 PM 6/9/2003 +0200, you wrote: >Hello, I'm trying to get the meaning of the SCALE value >as returned by [scale] in map templates (mapObj->scale). > >How can you express it in human language ? > >For example: 37554.078269 <- what is it exactly ? > >If I write in a mapfile that a Layer is not worth drawing >with a mapscale bigger then 37554.078269 what am I referring to ? > >So long I can only use empirical [scale] checks to set MAX/MIN SCALES >in mapfile, but I'd like to be more "formal" in writing mapfiles. > > >TIA >--strk; Scale is a ratio e.g. 1:37554.078269 in your case. It assumes a screen resolution of 72 pixels/inch, so 1 inch on your screen = 37554.078269 real world inches. Obviously it's an approximation due to varying screen sizes. The documentation says: "The exact value is not appropriate for user information but essential for some applications." I still think it's handy to display, especially when setting up layer min/max scale, so I tidy it up with some JavaScript: Rich Richard W. Greenwood, PLS Greenwood Mapping, Inc. Rich@GreenwoodMap.com (307) 733-0203 http://www.GreenwoodMap.com --=======67666783=======-- From steve.lime@dnr.state.mn.us Mon Jun 9 17:15:01 2003 From: steve.lime@dnr.state.mn.us (Steve Lime) Date: Mon, 09 Jun 2003 11:15:01 -0500 Subject: [Mapserver-users] Problem with inline features/persistence from a URL....? Message-ID: If you're really only using a single feature then try setting ??? to [map_extras_feature_points]. Remember, anything passed in can be gotten out. If you have multiple features then it's a bigger deal and you'd probably need to use a bit of javascript and a submit form handler to make it work. Steve Stephen Lime Data & Applications Manager Minnesota DNR 500 Lafayette Road St. Paul, MN 55155 651-297-2937 >>> AMC Story 06/09/03 10:06AM >>> Hi everyone, I've recently been experimenting with inline features as a way to draw additional point symbols on my maps. What I would like to do is to have a text- based front page, where users can click on a hyperlink and be taken to a map showing the feature and the area around it. As the locations of these features will change dynamically, I want to be able to write a script that provides the initial URL's for all the links based on the current data. What I really want to avoid is hardcoding these new features each in their own version of the template file. An example URL would be:

The Map

However, the problem here is that as soon as the user interacts with the map (i.e. zooms in or out), the template file is called and this seems to delete the inline features specified in the original url. Is there anyway to make this part of the url persistent? For example, can a variable be set in the template file that is then somehow obtained from the original url? Eg: in the template file: Sorry if this is a daft question, but any suggestions would be gratefully received. Many thanks again for your help. Your previous suggestions have been real life- savers :) Ali _______________________________________________ Mapserver-users mailing list Mapserver-users@lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From steve.lime@dnr.state.mn.us Mon Jun 9 17:57:28 2003 From: steve.lime@dnr.state.mn.us (Steve Lime) Date: Mon, 09 Jun 2003 11:57:28 -0500 Subject: [Mapserver-users] proj.pm build problem Message-ID: It's probably an issue with Swig and perl 5.8. I remember seeingthe issue come up on the SWIG mailing list. Using the latest version of Swig (from www.swig.org) may help. You can install that code and rebuild the module by running 'swig -perl5 -shadow proj.i' and building as normal. I'll be looking into it on this end cause we're upgrading all of our RedHat machines but that may not happen for a couple of weeks. Steve >>> Dana Quinn 06/05/03 11:51AM >>> This is a little bit obscure, but I'll give it a try. I'm trying to build the proj.pm that Steve Lime released a while back, and I getting a strange message that's keeping it from building. I haven't seen this before, and thought I'd ask about it here. (I'm building on a RH 8.0/Perl 5.8 system) so after I do 'perl Makefile.PL', I do a make and get this: $ make cp proj.pm blib/lib/proj.pm gcc -c -I/u1/src/ms/proj/include -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -march=i386 -mcpu=i686 -DVERSION=\"\" -DXS_VERSION=\"\" -fpic "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" proj_wrap.c proj_wrap.c: In function `_swig_create_magic': proj_wrap.c:416: warning: assignment from incompatible pointer type proj_wrap.c:417: warning: assignment from incompatible pointer type proj_wrap.c: At top level: proj_wrap.c:750: conflicting types for `boot_proj' proj_wrap.c:431: previous declaration of `boot_proj' make: *** [proj_wrap.o] Error 1 Does anyone have any ideas what could be going on here? My normal troubleshooting technique (pasting the error message into google), didn't return any matches (sort of amazing). I must be doing something wrong. I am running a different version of glibc than another RH8.0 system that this worked on - is it possible that it could cause a problem? Any help would be appreciated! Dana PS I also re-swig'd, which didn't help, and kind of made things worse actually. PPS Wish I could be with you all there at the users conference! Have fun! -- Dana Quinn, dana@nextbus.com NextBus Information Systems (510) 420-3117 _______________________________________________ Mapserver-users mailing list Mapserver-users@lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From woodbri@swoodbridge.com Mon Jun 9 17:56:37 2003 From: woodbri@swoodbridge.com (woodbri@swoodbridge.com) Date: Mon, 09 Jun 2003 12:56:37 -0400 Subject: [Mapserver-users] performance In-Reply-To: <4598.1055169684@www64.gmx.net> Message-ID: <3EE48405.7869.12F29BDC@localhost> This has been discussed a bunch of times on the list. I would check the archives first then ask some specific questions and provide more details about your intended application. -Steve W. On 9 Jun 2003 at 16:41, dukav@gmx.de wrote: > Dear list, > > Is there some information about the performance of the mapserver > available? Or could somebody tell me something about this? > > Thanks for any help, > > Karin > > -- > Karin Dürrwanger > Bilderhäuslenstr. 26 > 73257 Köngen > > tel.: 0 70 24 / 86 67 96 > > +++ GMX - Mail, Messaging & more http://www.gmx.net +++ > Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage! > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > From pyro-x@ixine.com Mon Jun 9 20:51:06 2003 From: pyro-x@ixine.com (Pyro-X) Date: Mon, 09 Jun 2003 21:51:06 +0200 Subject: [Mapserver-users] Converting from png to geotiff with gdal Message-ID: <3EE4E52A.2030402@ixine.com> Hi all I want to include into mapserver a new layer based on a collection of raster files i have in PNG format, i know the extents values for each image ( they are named as this: mad_441600-4478928_442581-4479909.png ), it seems i need to convert them to tiff (or geotiff?) format so i can include them in my project and then make an index from them, but i can't just get along the first step. I've tried using gdal utilities to convert them from png to a tiff with the geometry information using this: gdalwarp -s_srs EPSG:23030 -t_srs EPSG:23030 -te 444544 4481872 445525 4482853 mad_444544-4481872_445525-4482853.png test.tiff But instead of a brand new tiff image this is what i get : ERROR 1: Unable to compute a transformation between pixel/line and georeferenced coordinates for mad_444544-4481872_445525-4482853.png. There is no affine transformation and no GCPs. I've tried to find more info about this with no luck, i think it have to be easy but i can't get it.... Any help will be greatly appreciated. :) Many Thanx in advance. -- David Monterroso Cabello From Andreas.Fritzsche@lrz.tu-muenchen.de Mon Jun 9 21:47:39 2003 From: Andreas.Fritzsche@lrz.tu-muenchen.de (Andreas.Fritzsche@lrz.tu-muenchen.de) Date: Mon, 9 Jun 2003 22:47:39 +0200 (MET DST) Subject: [Mapserver-users] (no subject) Message-ID: Dear list, does anybody know a mapserver application (linux based :-)) and its hardware configuration with more than 50.000 request a day? Just in case. THX Andreas From joe@otsys.com Mon Jun 9 23:40:24 2003 From: joe@otsys.com (Joe Bussell) Date: Mon, 09 Jun 2003 15:40:24 -0700 Subject: [Mapserver-users] map of mapserver users and providers In-Reply-To: References: Message-ID: <3EE50CD8.6020308@otsys.com> I would like to create a map of the users of Mapserver. The plan is to take something like http://www.trafficdodger.com/perl/warp.cgi and make a similar page with user's locations plotted. This could easily turn into a regional developer locater... If there is interest I will craft up a form to input the data. If enough people participate I will create the map and associated locater service. Cordially, Joe Bussell www.trafficdodger.com From Rich@GreenwoodMap.com Tue Jun 10 00:21:03 2003 From: Rich@GreenwoodMap.com (Richard Greenwood) Date: Mon, 09 Jun 2003 17:21:03 -0600 Subject: [Mapserver-users] Converting from png to geotiff with gdal In-Reply-To: <3EE4E52A.2030402@ixine.com> Message-ID: <5.2.0.9.0.20030609171026.00a6fef8@mail.GreenwoodMap.com> --=======6883333E======= Content-Type: text/plain; x-avg-checked=avg-ok-6C4111B5; charset=us-ascii; format=flowed Content-Transfer-Encoding: 8bit At 09:51 PM 6/9/2003 +0200, you wrote: >Hi all > > I want to include into mapserver a new layer based on a collection of > raster files i have in PNG format, i know the extents values for each > image ( they are named as this: mad_441600-4478928_442581-4479909.png ), > it seems i need to convert them to tiff (or geotiff?) format so i can > include them in my project and then make an index from them, but i can't > just get along the first step. > > I've tried using gdal utilities to convert them from png to a tiff > with the geometry information using this: > >gdalwarp -s_srs EPSG:23030 -t_srs EPSG:23030 -te 444544 4481872 445525 >4482853 mad_444544-4481872_445525-4482853.png test.tiff > >But instead of a brand new tiff image this is what i get : > >ERROR 1: Unable to compute a transformation between pixel/line >and georeferenced coordinates for mad_444544-4481872_445525-4482853.png. >There is no affine transformation and no GCPs. I would use gdal_translate rather than gdalwarp because you are not trying to change the projection, but that is not your problem. The coordinates of the image are in the file name, but no software that I am aware of is setup to read the coordinates in such a format. You need to convert the coordinates into a world file (*.wld or *.tfw). The world file is a separate, ASCII file having the same name (but .wld or .tfw extension) as the image file. It containing the coordinates of the upper left image pixel, the X and Y dimensions of each image pixel, and the rotation (must be 0,0). So for each image you need to create this world file, either by hand or by script. Rich Richard W. Greenwood, PLS Greenwood Mapping, Inc. Rich@GreenwoodMap.com (307) 733-0203 http://www.GreenwoodMap.com --=======6883333E=======-- From jpmclaro@yahoo.com.br Tue Jun 10 00:29:35 2003 From: jpmclaro@yahoo.com.br (=?iso-8859-1?Q?Jo=E3o_Paulo_M._Claro?=) Date: Mon, 9 Jun 2003 20:29:35 -0300 Subject: [Mapserver-users] Pixel.... Message-ID: <001601c32edf$4e35f6d0$cd75e7c8@autofaxgkylsuk> This is a multi-part message in MIME format. ------=_NextPart_000_0013_01C32EC5.D7C34700 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi Folks, I have the following problem, necessary to mark on the map a point that = is not in the center of the map, as I can make this? I can treat linearly, this to make a ratio in pixel? Somebody can give an example to me of as to make this?=20 Cordially, Jo=E3o Paulo ------=_NextPart_000_0013_01C32EC5.D7C34700 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi Folks,
 
I have the following problem, necessary to mark on the map a point = that is=20 not in the center of the map, as I can make this?
 
I can treat linearly, this to make a ratio in pixel?
 
Somebody can give an example to me of as to make this?
 
Cordially,
Jo=E3o Paulo
------=_NextPart_000_0013_01C32EC5.D7C34700-- From woodbri@swoodbridge.com Tue Jun 10 01:23:57 2003 From: woodbri@swoodbridge.com (woodbri@swoodbridge.com) Date: Mon, 09 Jun 2003 20:23:57 -0400 Subject: [Mapserver-users] Pixel.... In-Reply-To: <001601c32edf$4e35f6d0$cd75e7c8@autofaxgkylsuk> Message-ID: <3EE4ECDD.5905.148C272E@localhost> João Paulo, You can do this either via the mapserver URL parameters or via mapscript and you can specify the point you want to mark in lat/long or XY instead of pixels. Look at the FEATURE object in the mapfile reference or the mapscript reference and look at the URL reference. The basic scenario is that you define a FEATURE without a location defined, then use the URL params or mapscript to give the feature a coordinate value so it will be displayed. Sorry, I don't have an example handy. - Anyone else have an example? -Steve On 9 Jun 2003 at 20:29, João Paulo M. Claro wrote: > Hi Folks, > > I have the following problem, necessary to mark on the map a point > that is not in the center of the map, as I can make this? > > I can treat linearly, this to make a ratio in pixel? > > Somebody can give an example to me of as to make this? > > Cordially, > > João Paulo > From ed@topozone.com Tue Jun 10 01:56:36 2003 From: ed@topozone.com (Ed McNierney) Date: Mon, 9 Jun 2003 20:56:36 -0400 Subject: [Mapserver-users] (no subject) Message-ID: <13858AA1A74F30419F319ACB66A9D1222BFAD6@mercator.topozone.com> Andreas - Not all "requests" are the same. It's very easy to serve 50,000 requests a day if they're all blank maps! If you're looking for a good comparison, you need to give us some description of what KIND of data is being used. - Ed Ed McNierney President and Chief Mapmaker TopoZone.com / Maps a la carte, Inc. 73 Princeton Street, Suite 305 North Chelmsford, MA 01863 Phone: (978) 251-4242 Fax: (978) 251-1396 ed@topozone.com -----Original Message----- From: Andreas.Fritzsche@lrz.tu-muenchen.de [mailto:Andreas.Fritzsche@lrz.tu-muenchen.de] Sent: Monday, June 09, 2003 4:48 PM To: mapserver-users@lists.gis.umn.edu Subject: [Mapserver-users] (no subject) Dear list, does anybody know a mapserver application (linux based :-)) and its hardware configuration with more than 50.000 request a day? Just in case. THX Andreas _______________________________________________ Mapserver-users mailing list Mapserver-users@lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From novalet@yahoo.com.cn Tue Jun 10 02:00:50 2003 From: novalet@yahoo.com.cn (=?gb2312?q?Chen=20Fu?=) Date: Tue, 10 Jun 2003 09:00:50 +0800 (CST) Subject: [Mapserver-users] provinces in different color? Message-ID: <20030610010050.7420.qmail@web15208.mail.bjs.yahoo.com> Hi! Can mapsever display provinces in different colors? Any example of such a map file? Thank you! ===== Remote Scensing Satellite Ground Station Chinese Academy of Science _________________________________________________________ Do You Yahoo!? Á÷Á¬ÍøÂçÊÀ½çµÄ¡°Ä㡱ÊÇË­£¿ http://cn.rd.yahoo.com/mail_cn/tag/?http://cn.surveys.yahoo.com/cn_user_profile_study_may2003 From millardymecki@sympatico.ca Tue Jun 10 02:17:31 2003 From: millardymecki@sympatico.ca (Paul Dymecki) Date: Mon, 9 Jun 2003 21:17:31 -0400 Subject: [Mapserver-users] WMS query Message-ID: <00c801c32eee$10ef2cb0$8000a8c0@pauls> This is a multi-part message in MIME format. ------=_NextPart_000_00C5_01C32ECC.89866C00 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi all, Not sure if this is directly related to mapserver, but if anyone = knows of a WMS listserv ...) Anyways I was wondering if anyone knows if = there is a way of modifying a WMS layer locally? I'm trying to = superimpose labels on a wms layer that doesn't have any. thx, Paul ------=_NextPart_000_00C5_01C32ECC.89866C00 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi all,
    Not sure if this is = directly=20 related to mapserver, but if anyone knows of a WMS listserv ...) Anyways = I was wondering if anyone knows if there is a way of modifying a = WMS layer=20 locally?  I'm trying to superimpose labels on a wms layer that = doesn't=20 have any.
thx,
Paul
 
------=_NextPart_000_00C5_01C32ECC.89866C00-- From ed@topozone.com Tue Jun 10 02:56:41 2003 From: ed@topozone.com (Ed McNierney) Date: Mon, 9 Jun 2003 21:56:41 -0400 Subject: [Mapserver-users] WMS query Message-ID: <13858AA1A74F30419F319ACB66A9D1222BFADB@mercator.topozone.com> This is a multi-part message in MIME format. ------_=_NextPart_001_01C32EF3.8965CFF2 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Paul - =20 You can certainly display other layers on top of a WMS layer, and apply labels like that. You can't "modify" it in the sense that you send a request and you get back an image produced by the remote server, but once you get that image it's yours to do whatever you like with it. It's common for WMS layers to be used as basemaps with other annotation and data layers on top of them. =20 - Ed =20 Ed McNierney President and Chief Mapmaker TopoZone.com / Maps a la carte, Inc. 73 Princeton Street, Suite 305 North Chelmsford, MA 01863 Phone: (978) 251-4242 Fax: (978) 251-1396 ed@topozone.com =20 -----Original Message----- From: Paul Dymecki [mailto:millardymecki@sympatico.ca]=20 Sent: Monday, June 09, 2003 9:18 PM To: MapServer List (E-mail) Subject: [Mapserver-users] WMS query =20 Hi all, Not sure if this is directly related to mapserver, but if anyone knows of a WMS listserv ...) Anyways I was wondering if anyone knows if there is a way of modifying a WMS layer locally? I'm trying to superimpose labels on a wms layer that doesn't have any. thx, Paul =20 ------_=_NextPart_001_01C32EF3.8965CFF2 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Paul –

 

You can certainly display other = layers on top of a WMS layer, and apply labels like that.  You can’t = “modify” it in the sense that you send a request and you get back an image = produced by the remote server, but once you get that image it’s yours to do = whatever you like with it.  It’s common for WMS layers to be used as = basemaps with other annotation and data layers on top of them.

 

      =       - Ed

 

Ed McNierney

President and Chief = Mapmaker

TopoZone.com / Maps a la carte, = Inc.

73 Princeton Street, Suite = 305

North Chelmsford, MA  = 01863

Phone: (978) 251-4242  Fax: = (978) 251-1396

ed@topozone.com

 

-----Original = Message-----
From: Paul Dymecki [mailto:millardymecki@sympatico.ca]
Sent: Monday, June 09, = 2003 9:18 PM
To: MapServer List = (E-mail)
Subject: = [Mapserver-users] WMS query

 

Hi all,

    Not sure = if this is directly related to mapserver, but if anyone knows of a WMS listserv = ...) Anyways I was wondering if anyone knows if there is a way of = modifying a WMS layer locally?  I'm trying to superimpose labels on a wms = layer that doesn't have any.

thx,

Paul

 

=00 ------_=_NextPart_001_01C32EF3.8965CFF2-- From millardymecki@sympatico.ca Tue Jun 10 03:29:26 2003 From: millardymecki@sympatico.ca (Paul Dymecki) Date: Mon, 9 Jun 2003 22:29:26 -0400 Subject: [Mapserver-users] WMS query References: <13858AA1A74F30419F319ACB66A9D1222BFADB@mercator.topozone.com> Message-ID: <00ed01c32ef8$1d2cfac0$8000a8c0@pauls> This is a multi-part message in MIME format. ------=_NextPart_000_00EA_01C32ED6.95CBDB30 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Thanks, that was the idea i had as well. I guess i can capture the wms = layer as a raster image and open it in a GIS program, as a base map. = I'll give it a go, thanks, Paul ----- Original Message -----=20 From: Ed McNierney=20 To: Paul Dymecki ; MapServer List (E-mail)=20 Sent: Monday, June 09, 2003 9:56 PM Subject: RE: [Mapserver-users] WMS query Paul - You can certainly display other layers on top of a WMS layer, and = apply labels like that. You can't "modify" it in the sense that you = send a request and you get back an image produced by the remote server, = but once you get that image it's yours to do whatever you like with it. = It's common for WMS layers to be used as basemaps with other annotation = and data layers on top of them. - Ed Ed McNierney President and Chief Mapmaker TopoZone.com / Maps a la carte, Inc. 73 Princeton Street, Suite 305 North Chelmsford, MA 01863 Phone: (978) 251-4242 Fax: (978) 251-1396 ed@topozone.com -----Original Message----- From: Paul Dymecki [mailto:millardymecki@sympatico.ca]=20 Sent: Monday, June 09, 2003 9:18 PM To: MapServer List (E-mail) Subject: [Mapserver-users] WMS query Hi all, Not sure if this is directly related to mapserver, but if anyone = knows of a WMS listserv ...) Anyways I was wondering if anyone knows if = there is a way of modifying a WMS layer locally? I'm trying to = superimpose labels on a wms layer that doesn't have any. thx, Paul ------=_NextPart_000_00EA_01C32ED6.95CBDB30 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Thanks, that was the idea i had as = well. I=20 guess i can capture the wms layer as a raster image and open it in a GIS = program, as a base map.  I'll give it a go,
thanks,
Paul
----- Original Message -----
From:=20 Ed = McNierney
To: Paul Dymecki ; MapServer List = (E-mail)=20
Sent: Monday, June 09, 2003 = 9:56 PM
Subject: RE: [Mapserver-users] = WMS=20 query

Paul=20 =96

 

You can = certainly=20 display other layers on top of a WMS layer, and apply labels like = that. =20 You can=92t =93modify=94 it in the sense that you send a request and = you get back an=20 image produced by the remote server, but once you get that image = it=92s yours to=20 do whatever you like with it.  It=92s common for WMS layers to be = used as=20 basemaps with other annotation and data layers on top of=20 them.

 

           = =20 - Ed

 

Ed=20 McNierney

President = and Chief=20 Mapmaker

TopoZone.com / Maps a=20 la carte, Inc.

73 = Princeton Street,=20 Suite 305

North = Chelmsford,=20 MA  01863

Phone: = (978)=20 251-4242  Fax: (978) 251-1396

ed@topozone.com

 

-----Original=20 Message-----
From: = Paul=20 Dymecki [mailto:millardymecki@sympatico.ca]
Sent: Monday, June 09, 2003 = 9:18=20 PM
To: MapServer = List=20 (E-mail)
Subject:=20 [Mapserver-users] WMS query

 

Hi = all,

    Not = sure if=20 this is directly related to mapserver, but if anyone knows of a WMS = listserv=20 ...) Anyways I was wondering if anyone knows if there is a way of = modifying a WMS layer locally?  I'm trying to superimpose = labels on=20 a wms layer that doesn't have any.

thx,

Paul

 

------=_NextPart_000_00EA_01C32ED6.95CBDB30-- From tbartlett@dddd.com.au Tue Jun 10 03:49:17 2003 From: tbartlett@dddd.com.au (Thomas Bartlett) Date: Tue, 10 Jun 2003 12:49:17 +1000 Subject: [Mapserver-users] User Meeting ? Message-ID: <024301c32efa$e3669b40$1701a8c0@dddd.com.au> This is a multi-part message in MIME format. ------=_NextPart_000_0240_01C32F4E.B43E6B50 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable G'Day All, I'm interested to hear how the user meeting over the weekend went ?? Will anything be available online eg panel discussion summary, workshop = slides?? Cheers Thomas Bartlett ------=_NextPart_000_0240_01C32F4E.B43E6B50 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
G'Day All,
I'm interested to hear how the user meeting over the = weekend=20 went ??
Will anything be available online eg panel = discussion summary,=20 workshop slides??
 
Cheers
Thomas Bartlett
------=_NextPart_000_0240_01C32F4E.B43E6B50-- From braulioen@ono.com Tue Jun 10 08:14:25 2003 From: braulioen@ono.com (braulioen@ono.com) Date: Tue, 10 Jun 2003 09:14:25 +0200 Subject: [Mapserver-users] Problem. Image ECW. Message-ID: <4eac94dc4d.4dc4d4eac9@ono.com> Hi at all, I'm using PHP/Mapscript in Windows XP, downloaded from "http://www2.dmsolutions.ca/webtools/dl", file "mapserver-3.6.6- dev-win32-php4.3.1-libwww-postgis.zip". This version is compiled with support for ECW (from library GDAL). We have a Image Web Server (IWS) of ERMAPPER. Now I have added in my map a raster layer with an image ECW: LAYER NAME ortofoto DATA "ecwp://myserverIWS/myimage.ecw" STATUS DEFAULT TYPE RASTER END But I have a problem. The image is seen correctly, but when I make zoom in, from a determined scale, the image ECW becomes black. Which is the problem? Thanks for any aid. Braulio Moreno. From Fritzsche@muenchen.ihk.de Tue Jun 10 08:22:45 2003 From: Fritzsche@muenchen.ihk.de (Andreas Fritzsche) Date: Tue, 10 Jun 2003 09:22:45 +0200 Subject: Antw: RE: [Mapserver-users] (no subject) Message-ID: Sorry, the kind of data we are using are shapefiles (400 MB) and TIF-Files (700 MB), and we display in average 300 out of 300.000 polygones. The vektor- and rasterdata are organizied in tiles. THX Andreas From agalasso@gndci.cs.cnr.it Tue Jun 10 08:27:43 2003 From: agalasso@gndci.cs.cnr.it (Alessandro Galasso) Date: Tue, 10 Jun 2003 09:27:43 +0200 Subject: [Mapserver-users] provinces in different color? References: <20030610010050.7420.qmail@web15208.mail.bjs.yahoo.com> Message-ID: <001b01c32f21$c84a88e0$1900a8c0@labtel.net> yes... you have to have an attribute in the dbf file on which base the distiction between provinces: LAYER NAME "prov" STATUS OFF DATA "prov" TYPE POLYGON UNITS METERS SIZEUNITS PIXELS TOLERANCE 3 TOLERANCEUNITS PIXELS TEMPLATE "templates/provTemplate.html" CLASSITEM SIGLA #this is the dbf field name CLASS NAME "Cosenza" EXPRESSION "CS" #this mean "features with SIGLA=CS", color red SYMBOL 0 COLOR 255 0 0 END CLASS NAME "Crotone" EXPRESSION "KR" SYMBOL 0 COLOR 0 255 0 #this mean "features with SIGLA=CS", color green END END And so on... Hope this helps --- Alessandro Galasso ----- Original Message ----- From: "Chen Fu" To: Sent: Tuesday, June 10, 2003 3:00 AM Subject: [Mapserver-users] provinces in different color? Hi! Can mapsever display provinces in different colors? Any example of such a map file? Thank you! ===== Remote Scensing Satellite Ground Station Chinese Academy of Science _________________________________________________________ Do You Yahoo!? Á÷Á¬ÍøÂçÊÀ½çµÄ¡°Ä㡱ÊÇË­£¿ http://cn.rd.yahoo.com/mail_cn/tag/?http://cn.surveys.yahoo.com/cn_user_prof ile_study_may2003 _______________________________________________ Mapserver-users mailing list Mapserver-users@lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From arnulf.christl@ccgis.de Tue Jun 10 09:03:21 2003 From: arnulf.christl@ccgis.de (Arnulf Christl (CCGIS)) Date: Tue, 10 Jun 2003 10:03:21 +0200 Subject: AW: [Mapserver-users] map of mapserver users and providers In-Reply-To: <3EE50CD8.6020308@otsys.com> Message-ID: Very good idea! If you mean to do it on an international dataset we will support that idea, especially because we see a great need for something like that here in Germany. It would be very helpful to have a tool where the "spatially nearest" provider, programmer, training location etc. for UMN MapServer is located. Additionally it would be a great promotion tool (besides the Gallery) to have a MapServer application showing all MapServer applications - sort of the super-meta-cascading MapServer... We can provide data (which is a little hard in Germany because of unsolved ownership questions regarding public data - dont ask...). We can also help with client technology (PHP), server space / hardware for this project. If you need or plan anything - contact us. Regards, Arnulf Christl --------------------------------- arnulf.christl@ccgis.de http://www.ccgis.de/index_en.html --------------------------------- Phone: +49 (0) 228 90826 0 Direct: +49 (0) 228 90826 23 Fax: +49 (0) 228 90826 11 GSM: +49 (0) 172 2958 004 --------------------------------- CCGIS GbR Siemensstra?e 8 53121 Bonn GERMANY --------------------------------- -----Ursprungliche Nachricht----- Von: mapserver-users-admin@lists.gis.umn.edu [mailto:mapserver-users-admin@lists.gis.umn.edu]Im Auftrag von Joe Bussell Gesendet: Dienstag, 10. Juni 2003 00:40 An: mapserver-users@lists.gis.umn.edu Betreff: [Mapserver-users] map of mapserver users and providers I would like to create a map of the users of Mapserver. The plan is to take something like http://www.trafficdodger.com/perl/warp.cgi and make a similar page with user's locations plotted. This could easily turn into a regional developer locater... If there is interest I will craft up a form to input the data. If enough people participate I will create the map and associated locater service. Cordially, Joe Bussell www.trafficdodger.com _______________________________________________ Mapserver-users mailing list Mapserver-users@lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From arnulf.christl@ccgis.de Tue Jun 10 09:17:13 2003 From: arnulf.christl@ccgis.de (Arnulf Christl (CCGIS)) Date: Tue, 10 Jun 2003 10:17:13 +0200 Subject: AW: Antw: RE: [Mapserver-users] (no subject) In-Reply-To: Message-ID: Performance of UMN MapServer is rather a question of software architecture and data storage - if t comes to large datasets. For the specified data you should not have any problems serving 50.000 requests a day with any machine that has a 750Mhz clock, 256 RAM and a fast HD or data server. More obviously always is better. It depends a little on the data storage you prefer, we have made very good experience with PostGIS, which is an elegant method to store large datasets and access small sections very quickly. Our test server has a 2.6 Ghz CPU, 1GB RAM and runs under free BSD. A section of roundabaout 500 polylines out of a total of 600.000 polygons can always be accessed below 1 second with UMN MapServer (the data shows minor roads in Germany). We don't use very large TIFF data in MapServer directly because we can use a deegree WCS (Web Coverage Server) to do that job (it is also based on Free Software and comes as an Open Source project). Our largest service currently contains 300 GB TIFF in one project, 80 GB JPEG in another. The access time usually lies under 3 seconds. In those categories the performance bottleneck shifts more to network- and fast file access questions. Regards, Arnulf. -----Ursprungliche Nachricht----- Von: mapserver-users-admin@lists.gis.umn.edu [mailto:mapserver-users-admin@lists.gis.umn.edu]Im Auftrag von Andreas Fritzsche Gesendet: Dienstag, 10. Juni 2003 09:23 An: mapserver-users@lists.gis.umn.edu; Andreas.Fritzsche@lrz.tu-muenchen.de; ed@topozone.com Betreff: Antw: RE: [Mapserver-users] (no subject) Sorry, the kind of data we are using are shapefiles (400 MB) and TIF-Files (700 MB), and we display in average 300 out of 300.000 polygones. The vektor- and rasterdata are organizied in tiles. THX Andreas _______________________________________________ Mapserver-users mailing list Mapserver-users@lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From Mike.Elstermann@itc-halle.de Tue Jun 10 10:28:33 2003 From: Mike.Elstermann@itc-halle.de (Elstermann, Mike) Date: Tue, 10 Jun 2003 11:28:33 +0200 Subject: [Mapserver-users] MapServ-Compilation with PostGis / but where is INPUT=POSTGIS???? ?? Message-ID: <8BC0EAF5B383D711B69E0006293896C70775FE@ZEVHNT6> hi folks, my problem: mapserver-compilation with postgis-support my environment: - linux suse 8.1 - postgresql 7.3.3 - mapserver 3.6.5 - postgis 0.7.5 --------------------------------------------------------------------- 1. i have configured with: ./configure --with-postgis=/usr/bin/pg_config --------------------------------------------------------------------- the results: loading cache ./config.cache checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for c++... (cached) c++ checking whether the C++ compiler (c++ ) works... yes checking whether the C++ compiler (c++ ) is a cross-compiler... no checking whether we are using GNU C++... (cached) yes checking whether c++ accepts -g... (cached) yes checking for ranlib... (cached) ranlib checking for flex... (cached) lex checking for yywrap in -ll... (cached) no checking for bison... (cached) bison -y checking if compiler supports -R... (cached) no checking if compiler supports -Wl,-rpath,... (cached) yes checking for exp in -lm... (cached) yes checking how to run the C preprocessor... (cached) gcc -E checking for ANSI C header files... (cached) yes checking for strcasecmp... (cached) yes checking for strncasecmp... (cached) yes checking for strdup... (cached) yes checking whether we should include JPEG support... checking for jpeg_read_header in -ljpeg... yes using libjpeg from system libs. checking which version of GD to use... using libgd from system libs. checking where FreeType is installed... checking for FT_Init_FreeType in -lfreetype... no checking for TT_Init_FreeType in -lttf... yes using libfreetype -lttf from system libs. checking where Zlib is installed... checking for zlibVersion in -lz... yes using libz from system libs. checking where PNG is installed... checking for png_init_io in -lpng... yes using libpng from system libs. checking for gdImageCreate in -lgd... yes checking for gdImageGif in -lgd... no checking for gdImagePng in -lgd... yes checking for gdImageJpeg in -lgd... yes checking for gdImageWBMP in -lgd... yes checking for gdImageStringFT in -lgd... yes checking for gdImageString16 in -lgd... yes checking for gdImageGifPtr in -lgd... no using GD ( -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT) from system libs. checking whether we should include PDF support... checking for PDF_setlinewidth in -lpdf... no checking for PDF_setrgbcolor in -lpdf... no checking for PDF_moveto in -lpdf... no checking for PDF_curveto in -lpdf... no checking for PDF_show_xy in -lpdf... (cached) no libpdf not found... PDF support not included. checking whether we should include TIFF support... checking for TIFFOpen in -ltiff... yes using libtiff from system libs. checking whether we should include EPPL7 support... including EPPL7 support. checking whether we should include PROJ.4 support... PROJ.4 support not requested. checking whether we should include thread safe support... thread safe support disabled. checking whether we should include ESRI SDE support... ESRI SDE support not requested. checking whether we should compile in MPATROL support... MPATROL support not requested. checking whether we should include OGR support... OGR support not requested. checking if GDAL support requested... no checking if PostGIS support requested... yes, user supplied pg_config checking if OracleSpatial support requested... no checking whether we should include WMS support... OGC WMS Compatibility not enabled (PROJ.4 is required for WMS). checking whether we should include WMS Client Connections support... OGC WMS Client Connections not enabled (PROJ.4 and libwww required). Compiling with -DIGNORE_MISSING_DATA. checking whether we should enable debug features... checking for PHP/MapScript module options... PHP/MapScript module not configured. creating ./config.status creating Makefile --------------------------------------------------------------------- 2. ./make --------------------------------------------------------------------- the results: gcc -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_POSTGIS -I/usr/include -I/usr/include/pgsql shp2img.o -L. -lmap -lgd -L/usr/lib -lgd -ljpeg -lttf -lpng -lz -ltiff -ljpeg -lttf -lpng -lz -ljpeg -L/usr/lib -lpq -lm -lstdc++ -o shp2img gcc -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_POSTGIS -I/usr/include -I/usr/include/pgsql shp2pdf.o -L. -lmap -lgd -L/usr/lib -lgd -ljpeg -lttf -lpng -lz -ltiff -ljpeg -lttf -lpng -lz -ljpeg -L/usr/lib -lpq -lm -lstdc++ -o shp2pdf gcc -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_POSTGIS -I/usr/include -I/usr/include/pgsql legend.o -L. -lmap -lgd -L/usr/lib -lgd -ljpeg -lttf -lpng -lz -ltiff -ljpeg -lttf -lpng -lz -ljpeg -L/usr/lib -lpq -lm -lstdc++ -o legend gcc -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_POSTGIS -I/usr/include -I/usr/include/pgsql mapserv.o cgiutil.o -L. -lmap -lgd -L/usr/lib -lgd -ljpeg -lttf -lpng -lz -ltiff -ljpeg -lttf -lpng -lz -ljpeg -L/usr/lib -lpq -lm -lstdc++ -o mapserv gcc -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_POSTGIS -I/usr/include -I/usr/include/pgsql shptree.o -L. -lmap -lgd -L/usr/lib -lgd -ljpeg -lttf -lpng -lz -ltiff -ljpeg -lttf -lpng -lz -ljpeg -L/usr/lib -lpq -lm -lstdc++ -o shptree gcc -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_POSTGIS -I/usr/include -I/usr/include/pgsql shptreevis.o -L. -lmap -lgd -L/usr/lib -lgd -ljpeg -lttf -lpng -lz -ltiff -ljpeg -lttf -lpng -lz -ljpeg -L/usr/lib -lpq -lm -lstdc++ -o shptreevis gcc -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_POSTGIS -I/usr/include -I/usr/include/pgsql shptreetst.o -L. -lmap -lgd -L/usr/lib -lgd -ljpeg -lttf -lpng -lz -ltiff -ljpeg -lttf -lpng -lz -ljpeg -L/usr/lib -lpq -lm -lstdc++ -o shptreetst gcc -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_POSTGIS -I/usr/include -I/usr/include/pgsql scalebar.o -L. -lmap -lgd -L/usr/lib -lgd -ljpeg -lttf -lpng -lz -ltiff -ljpeg -lttf -lpng -lz -ljpeg -L/usr/lib -lpq -lm -lstdc++ -o scalebar gcc -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_POSTGIS -I/usr/include -I/usr/include/pgsql sortshp.o -L. -lmap -lgd -L/usr/lib -lgd -ljpeg -lttf -lpng -lz -ltiff -ljpeg -lttf -lpng -lz -ljpeg -L/usr/lib -lpq -lm -lstdc++ -o sortshp gcc -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_POSTGIS -I/usr/include -I/usr/include/pgsql tile4ms.o -L. -lmap -lgd -L/usr/lib -lgd -ljpeg -lttf -lpng -lz -ltiff -ljpeg -lttf -lpng -lz -ljpeg -L/usr/lib -lpq -lm -lstdc++ -o tile4ms --------------------------------------------------------------------- 3. ./mapserv -v --------------------------------------------------------------------- the results: MapServer version 3.6.5 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP SUPPORTS=TTF INPUT=TIFF INPUT=EPPL7 INPUT=JPEG INPUT=SHAPEFILE but where is INPUT=POSTGIS?????? ::: mfg. Mike Elstermann [mikeE.], Teamleiter GIS/RIS, e-Solutions ::: IT-Consult Halle GmbH, Bornknechtstraße 5, 06108 Halle (Saale) ::: Sitz: Rathausstraße 3 ::: Tel.: +49 345 221 4237, Fax: +49 345 221 4236, mobil: +49 160 71 545 02 ::: mike.elstermann@itc-halle.de ::: http://www.itc-halle.de ::: GeoDaten Online? -> http://www.itcgis.de From andrewrcollins@yahoo.com Tue Jun 10 11:37:03 2003 From: andrewrcollins@yahoo.com (Andrew Collins) Date: Tue, 10 Jun 2003 03:37:03 -0700 (PDT) Subject: [Mapserver-users] JavaMapServer (JNI-only) Message-ID: <20030610103703.16247.qmail@web14002.mail.yahoo.com> Each I just released a completely barebones JNI interface to a compiled MapServer 3.6.3 DLL, along with a ANT-based build and test environment, at SourceForge: JavaMapServer 0.5.0 http://sourceforge.net/projects/javamapserver I am new to making releases at SF. There is currently no documentation. I didn't include any release notes. I hope to get some improved code out there, with an example, soon. I'm untangling an example which can be deployed in a servlet engine. I'm currently using JavaMapServer inside a servlet running on JBoss. I'm also working on an MBean that puts the MapScriptBean into JNDI. The header documentation in the source files, and the main project page are misleading... I doubt that there will ever be a "pure-Java" implementation of MapServer. For my current needs a JNI interface works just fine. ===== Andrew Collins - andrewrcollins@yahoo.com http://profiles.yahoo.com/andrewrcollins/ From thfischer@mapmedia.de Tue Jun 10 14:03:23 2003 From: thfischer@mapmedia.de (Thorsten Fischer) Date: 10 Jun 2003 15:03:23 +0200 Subject: AW: [Mapserver-users] map of mapserver users and providers In-Reply-To: References: Message-ID: <1055250203.316.9.camel@jeanjacques> On Tue, 2003-06-10 at 10:03, Arnulf Christl (CCGIS) wrote: > Very good idea! If you mean to do it on an international dataset we will > support that idea, especially because we see a great need for something like > that here in Germany. Do we? ;) Hmm, you might have noticed the steady increase of german email addresses of posters on this list. Maybe we do :) > It would be very helpful to have a tool where the "spatially nearest" > provider, programmer, training location etc. for UMN MapServer is located. Hmm I think he was referring to users ... I do not know if he wants to do the work of providing a free platform for commercial services. > Additionally it would be a great promotion tool (besides the Gallery) to > have a MapServer application showing all MapServer applications - sort of > the super-meta-cascading MapServer... All of them WMS-enabled and with URLs to their capabilities documents. Would help me a lot. Thanks in advance ;) > We can provide data (which is a little hard in Germany because of unsolved > ownership questions regarding public data - dont ask...). Oooh the sheer joy of it ... > We can also help > with client technology (PHP), server space / hardware for this project. If > you need or plan anything - contact us. Sounds nice to me. Tell me if you need a hand :) hth, thorsten From Paul Hastings" <1055250203.316.9.camel@jeanjacques> Message-ID: <003901c32f46$6c8493f0$76e697cb@tei.or.th> http://www.geourl.org From pucher@atlas.gis.univie.ac.at Tue Jun 10 13:20:29 2003 From: pucher@atlas.gis.univie.ac.at (Alexander Pucher) Date: Tue, 10 Jun 2003 14:20:29 +0200 Subject: AW: [Mapserver-users] map of mapserver users and providers In-Reply-To: <003901c32f46$6c8493f0$76e697cb@tei.or.th> References: <1055250203.316.9.camel@jeanjacques> <003901c32f46$6c8493f0$76e697cb@tei.or.th> Message-ID: <3EE5CD0D.2000703@atlas.gis.univie.ac.at> Hi, my personal thoughts about this: Paul Hastings wrote: >http://www.geourl.org > > Idea: Nice Implementation: Poor Nice to get an idea of such an application, but I would think that we ("the mapserver-users") have a more sophisticated approach in mind. This 'mapserver of mapserver-users' could act as a kind of business card for the mapserver, as well as the people that work with it. This could be a nice thing to show people that ask for actual mapserver implementations. Just some short use case, I can think of: -) I want to find all mapserver users (and their applications) around the place I live, Vienna, Austria. -) I'm going to Athens, Greece next week, is someone working with mapserver over there? -) Who are possible mapserver-users I could invite to an regional mapserver meeting? regards, alex. -- ________________________________________________________ Departement of Geography and Regional Research University of Vienna Cartography and GIS -------------------------------------------------------- Virtual Map Forum: http://www.gis.univie.ac.at/vmf -------------------------------------------------------- From morissette@dmsolutions.ca Tue Jun 10 14:22:55 2003 From: morissette@dmsolutions.ca (Daniel Morissette) Date: Tue, 10 Jun 2003 09:22:55 -0400 Subject: [Mapserver-users] map of mapserver users and providers References: <3EE50CD8.6020308@otsys.com> Message-ID: <3EE5DBAF.172D7D30@dmsolutions.ca> Joe Bussell wrote: > > I would like to create a map of the users of Mapserver. The plan is to > take something like http://www.trafficdodger.com/perl/warp.cgi and make > a similar page with user's locations plotted. This could easily turn > into a regional developer locater... > > If there is interest I will craft up a form to input the data. If > enough people participate I will create the map and associated locater > service. > That's a great idea, and actually on our way back from the MUM we were saying that it would be cool to have something like this... unfortunately nobody in our group had time to work on this, so if you offer to build such a site then great! :) My wishlist items for this application would be that you make the locations available as WMS and WFS services. We need only the locations, I wouldn't expect that you could serve the base maps via WMS anyway... this way, anyone can integrate locations in their own MapServer app, implement their own queries, etc. Daniel -- ------------------------------------------------------------ Daniel Morissette morissette@dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From Jean-Francois.Doyon@CCRS.NRCan.gc.ca Tue Jun 10 14:31:06 2003 From: Jean-Francois.Doyon@CCRS.NRCan.gc.ca (Jean-Francois.Doyon@CCRS.NRCan.gc.ca) Date: Tue, 10 Jun 2003 09:31:06 -0400 Subject: [Mapserver-users] map of mapserver users and providers Message-ID: <7CDD7B94357FD5119E800002A537C46E230816@s5-ccr-r1.ccrs.nrcan.gc.ca> I'll second that motion! All that OGC training will now come in handy Joe :P J.F. -----Original Message----- From: Daniel Morissette [mailto:morissette@dmsolutions.ca] Sent: Tuesday, June 10, 2003 9:23 AM To: Joe Bussell Cc: mapserver-users@lists.gis.umn.edu Subject: Re: [Mapserver-users] map of mapserver users and providers Joe Bussell wrote: > > I would like to create a map of the users of Mapserver. The plan is to > take something like http://www.trafficdodger.com/perl/warp.cgi and make > a similar page with user's locations plotted. This could easily turn > into a regional developer locater... > > If there is interest I will craft up a form to input the data. If > enough people participate I will create the map and associated locater > service. > That's a great idea, and actually on our way back from the MUM we were saying that it would be cool to have something like this... unfortunately nobody in our group had time to work on this, so if you offer to build such a site then great! :) My wishlist items for this application would be that you make the locations available as WMS and WFS services. We need only the locations, I wouldn't expect that you could serve the base maps via WMS anyway... this way, anyone can integrate locations in their own MapServer app, implement their own queries, etc. Daniel -- ------------------------------------------------------------ Daniel Morissette morissette@dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ _______________________________________________ Mapserver-users mailing list Mapserver-users@lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From gadoury@dmsolutions.ca Tue Jun 10 15:02:09 2003 From: gadoury@dmsolutions.ca (Dean Gadoury) Date: Tue, 10 Jun 2003 10:02:09 -0400 Subject: [Mapserver-users] User Meeting ? References: <024301c32efa$e3669b40$1701a8c0@dddd.com.au> Message-ID: <3EE5E4E1.5000009@dmsolutions.ca> --------------030103040004030004050900 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit The user meeting organizers requested slides and any other pertinent materials from all the presenters/workshop leaders at the meeting. I won't speak for them as to when they will be available, but you should see some material on the website soon. Thomas Bartlett wrote: > G'Day All, > I'm interested to hear how the user meeting over the weekend went ?? > Will anything be available online eg panel discussion summary, > workshop slides?? > > Cheers > Thomas Bartlett -- ___________________________ Dean Gadoury DM Solutions Group 72 Chamberlain Ave. Third Floor Ottawa, Ontario. K1S 1V9 613 565-5056 ext. 24 gadoury@dmsolutions.ca www.dmsolutions.ca --------------030103040004030004050900 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit The user meeting organizers requested slides and any other pertinent materials from all the presenters/workshop leaders at the meeting. I won't speak for them as to when they will be available, but you should see some material on the website soon.

Thomas Bartlett wrote:
G'Day All,
I'm interested to hear how the user meeting over the weekend went ??
Will anything be available online eg panel discussion summary, workshop slides??
 
Cheers
Thomas Bartlett

-- 
___________________________

Dean Gadoury

DM Solutions Group
72 Chamberlain Ave. Third Floor
Ottawa, Ontario. K1S 1V9
613 565-5056 ext. 24

gadoury@dmsolutions.ca
www.dmsolutions.ca

--------------030103040004030004050900-- From Thomas E. Burk" We will be putting materials from the meeting up on the Web site soon. They will be "at the User Meeting button" on the MapServer home page. We thought the meeting was quite successful. That was echoed by everyone who directly commented to me. Tom ======================= Dr. Thomas E. Burk University of Minnesota 1530 Cleveland Avenue North St. Paul, MN 55108 612-624-6741 612-625-5212 (FAX) tburk@umn.edu > >The user meeting organizers requested slides and any other pertinent >materials from all the presenters/workshop leaders at the meeting. I >won't speak for them as to when they will be available, but you should >see some material on the website soon. > >Thomas Bartlett wrote: > >> G'Day All, >> I'm interested to hear how the user meeting over the weekend went ?? >> Will anything be available online eg panel discussion summary, >> workshop slides?? >> >> Cheers >> Thomas Bartlett > > >-- >___________________________ > >Dean Gadoury > >DM Solutions Group >72 Chamberlain Ave. Third Floor >Ottawa, Ontario. K1S 1V9 >613 565-5056 ext. 24 > >gadoury@dmsolutions.ca >www.dmsolutions.ca > > From morissette@dmsolutions.ca Tue Jun 10 17:24:15 2003 From: morissette@dmsolutions.ca (Daniel Morissette) Date: Tue, 10 Jun 2003 12:24:15 -0400 Subject: [Mapserver-users] WMS query References: <00c801c32eee$10ef2cb0$8000a8c0@pauls> Message-ID: <3EE6062F.A1FCD9EF@dmsolutions.ca> > Paul Dymecki wrote: > > ... but if anyone knows of a WMS listserv ...) For the record, there is a public WMS-DEV list at http://mail.digitalearth.org/mailman/listinfo/wms-dev -- ------------------------------------------------------------ Daniel Morissette morissette@dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From Thomas E. Burk" We have been considering this for some time, particularly as a different way for people to submit/display applications for the "Gallery" . We should coordinate efforts. The ideas suggested are good ones. Tom ======================= Dr. Thomas E. Burk University of Minnesota 1530 Cleveland Avenue North St. Paul, MN 55108 612-624-6741 612-625-5212 (FAX) tburk@umn.edu > >I'll second that motion! All that OGC training will now come in handy Joe :P > >J.F. > >-----Original Message----- >From: Daniel Morissette [mailto:morissette@dmsolutions.ca] >Sent: Tuesday, June 10, 2003 9:23 AM >To: Joe Bussell >Cc: mapserver-users@lists.gis.umn.edu >Subject: Re: [Mapserver-users] map of mapserver users and providers > > >Joe Bussell wrote: >> >> I would like to create a map of the users of Mapserver. The plan is to >> take something like http://www.trafficdodger.com/perl/warp.cgi and make >> a similar page with user's locations plotted. This could easily turn >> into a regional developer locater... >> >> If there is interest I will craft up a form to input the data. If >> enough people participate I will create the map and associated locater >> service. >> > >That's a great idea, and actually on our way back from the MUM we were >saying that it would be cool to have something like this... >unfortunately nobody in our group had time to work on this, so if you >offer to build such a site then great! :) > >My wishlist items for this application would be that you make the >locations available as WMS and WFS services. We need only the >locations, I wouldn't expect that you could serve the base maps via WMS >anyway... this way, anyone can integrate locations in their own >MapServer app, implement their own queries, etc. > >Daniel >-- >------------------------------------------------------------ > Daniel Morissette morissette@dmsolutions.ca > DM Solutions Group http://www.dmsolutions.ca/ >------------------------------------------------------------ >_______________________________________________ >Mapserver-users mailing list >Mapserver-users@lists.gis.umn.edu >http://lists.gis.umn.edu/mailman/listinfo/mapserver-users >_______________________________________________ >Mapserver-users mailing list >Mapserver-users@lists.gis.umn.edu >http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > From jpmclaro@yahoo.com.br Tue Jun 10 18:19:28 2003 From: jpmclaro@yahoo.com.br (=?iso-8859-1?Q?Jo=E3o_Paulo_M._Claro?=) Date: Tue, 10 Jun 2003 14:19:28 -0300 Subject: [Mapserver-users] Pixel.... References: <3EE4ECDD.5905.148C272E@localhost> Message-ID: <000e01c32f74$7d565eb0$cd75e7c8@autofaxgkylsuk> This is a multi-part message in MIME format. ------=_NextPart_000_000B_01C32F5B.4D5F3380 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Steve, How I make to make this passing for parameters in the URL for the = MapServer?=20 I have the following situation, the center of the map is latitude -23 = and longitude -46 and that to insert a point in latitude -23,55 and = longitude -46.46 the imgext=3D-47 -24 -45 -22.=20 How I can insert this point? Thanks Jo=E3o Paulo ----- Original Message -----=20 From: To: ; "Jo=E3o Paulo M. Claro" = Sent: Monday, June 09, 2003 9:23 PM Subject: Re: [Mapserver-users] Pixel.... > Jo=E3o Paulo, >=20 > You can do this either via the mapserver URL parameters or via=20 > mapscript and you can specify the point you want to mark in lat/long=20 > or XY instead of pixels. Look at the FEATURE object in the mapfile=20 > reference or the mapscript reference and look at the URL reference. >=20 > The basic scenario is that you define a FEATURE without a location=20 > defined, then use the URL params or mapscript to give the feature a=20 > coordinate value so it will be displayed. >=20 > Sorry, I don't have an example handy. - Anyone else have an example? >=20 > -Steve >=20 > On 9 Jun 2003 at 20:29, Jo=E3o Paulo M. Claro wrote: >=20 > > Hi Folks, > >=20 > > I have the following problem, necessary to mark on the map a point > > that is not in the center of the map, as I can make this? > >=20 > > I can treat linearly, this to make a ratio in pixel? > >=20 > > Somebody can give an example to me of as to make this?=20 > >=20 > > Cordially, > >=20 > > Jo=E3o Paulo > >=20 >=20 >=20 >=20 > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users ------=_NextPart_000_000B_01C32F5B.4D5F3380 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Steve,
How I make to make this = passing for=20 parameters in the URL for the MapServer?
  I have the following situation, the center of the map is = latitude=20 -23 and longitude -46 and that to insert a point in latitude -23,55 and=20 longitude -46.46 the imgext=3D-47 -24 -45 -22.
 
How=20 I can insert this point?
 
Thanks
 
Jo=E3o Paulo
 
 
 
----- Original Message -----
From: <woodbri@swoodbridge.com>
To: <mapserver-users@lists.gis.umn.edu>;=20 "Jo=E3o Paulo M. Claro" <jpmclaro@yahoo.com.br>
Sent: Monday, June 09, 2003 9:23 = PM
Subject: Re: [Mapserver-users]=20 Pixel....

> Jo=E3o Paulo,
>
> You can do this either via = the=20 mapserver URL parameters or via
> mapscript and you can specify = the point=20 you want to mark in lat/long
> or XY instead of pixels. Look at = the=20 FEATURE object in the mapfile
> reference or the mapscript = reference and=20 look at the URL reference.
>
> The basic scenario is that = you=20 define a FEATURE without a location
> defined, then use the URL = params or=20 mapscript to give the feature a
> coordinate value so it will be=20 displayed.
>
> Sorry, I don't have an example handy. - = Anyone else=20 have an example?
>
> -Steve
>
> On 9 Jun 2003 = at=20 20:29, Jo=E3o Paulo M. Claro wrote:
>
> > Hi = Folks,
> >=20
> > I have the following problem, necessary to mark on the map = a=20 point
> > that is not in the center of the map, as I can make=20 this?
> >
> > I can treat linearly, this to make a = ratio in=20 pixel?
> >
> > Somebody can give an example to me of = as to=20 make this?
> >
> > Cordially,
> >
> = >=20 Jo=E3o Paulo
> >
>
>
>
>=20 _______________________________________________
> Mapserver-users = mailing=20 list
>
Mapserver-users@lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users= ------=_NextPart_000_000B_01C32F5B.4D5F3380-- From novalet@yahoo.com.cn Tue Jun 10 02:21:47 2003 From: novalet@yahoo.com.cn (=?gb2312?q?Chen=20Fu?=) Date: Tue, 10 Jun 2003 09:21:47 +0800 (CST) Subject: [Mapserver-users] Query of city name Message-ID: <20030610012147.63057.qmail@web15201.mail.bjs.yahoo.com> Hi! There is city name in the dbf file. But how can i query it? For example, a text box leave for user, if a string is matched in dbf, then the position of this city is set as the center of image. Is it possible in mapserver's cgi command? or should i setup postgis to query? Thank you!! ===== Remote Scensing Satellite Ground Station Chinese Academy of Science _________________________________________________________ Do You Yahoo!? Á÷Á¬ÍøÂçÊÀ½çµÄ¡°Ä㡱ÊÇË­£¿ http://cn.rd.yahoo.com/mail_cn/tag/?http://cn.surveys.yahoo.com/cn_user_profile_study_may2003 From steve.lime@dnr.state.mn.us Tue Jun 10 19:09:05 2003 From: steve.lime@dnr.state.mn.us (Steve Lime) Date: Tue, 10 Jun 2003 13:09:05 -0500 Subject: [Mapserver-users] JavaMapServer (JNI-only) Message-ID: You're definitely correct on the "pure" java implmentation. The webpage is in need of a facelift. The plan was always to wrap the C version. I curious as to how your stuff compares with the Swig generated JNI interface. Steve >>> Andrew Collins 06/10/03 05:37AM >>> Each I just released a completely barebones JNI interface to a compiled MapServer 3.6.3 DLL, along with a ANT-based build and test environment, at SourceForge: JavaMapServer 0.5.0 http://sourceforge.net/projects/javamapserver I am new to making releases at SF. There is currently no documentation. I didn't include any release notes. I hope to get some improved code out there, with an example, soon. I'm untangling an example which can be deployed in a servlet engine. I'm currently using JavaMapServer inside a servlet running on JBoss. I'm also working on an MBean that puts the MapScriptBean into JNDI. The header documentation in the source files, and the main project page are misleading... I doubt that there will ever be a "pure-Java" implementation of MapServer. For my current needs a JNI interface works just fine. ===== Andrew Collins - andrewrcollins@yahoo.com http://profiles.yahoo.com/andrewrcollins/ _______________________________________________ Mapserver-users mailing list Mapserver-users@lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From mapserver@gismap.ch Tue Jun 10 19:05:41 2003 From: mapserver@gismap.ch (Mapserver) Date: Tue, 10 Jun 2003 20:05:41 +0200 Subject: [Mapserver-users] How to show a delay image during launch of the VM Message-ID: Hi list I use mapplet/jbox and I have a little problem. Clients with slow computers accessing my mapserver-website have to wait for a long time until the Sun-VM ist loaded. During that time the users have a blank screen (!) for up to 20 seconds until the user-interface of mapserver appears. I have to find a way to avoid a blank screen and to replace it with an information or a little animation until the interface appears. Any ideas, how this can be realized? Thanks for help Roman From crawford@kloognome.com Tue Jun 10 19:17:51 2003 From: crawford@kloognome.com (Robert Crawford) Date: Tue, 10 Jun 2003 14:17:51 -0400 Subject: [Mapserver-users] Getting Started Message-ID: <3EE620CF.5070205@kloognome.com> I'm interested in creating a mapping application, based on RedHat 8.0, but I don't want to rebuild PHP in order to install mapscript. Is there any easier way? Thanks! From David.Fawcett@state.mn.us Tue Jun 10 19:30:12 2003 From: David.Fawcett@state.mn.us (Fawcett, David) Date: Tue, 10 Jun 2003 13:30:12 -0500 Subject: [Mapserver-users] Status of .dbf Joins in 4.0 Beta Message-ID: What is the current status of JOINs to .dbf files in the beta 4.01 version? One to one and one to many? David. From pagurekd@agr.gc.ca Tue Jun 10 19:37:58 2003 From: pagurekd@agr.gc.ca (Debbie Pagurek) Date: Tue, 10 Jun 2003 14:37:58 -0400 Subject: [Mapserver-users] Pixel.... Message-ID: you need to have an empty point layer set up in your mapfile that defines the colors to use, and then you can add the appropriate name value pairs in the URL. See Steve Lime's post for more information: http://mapserver.gis.umn.edu/data2/wilma/mapserver-users/0005/msg00086.html Debbie >>> "João Paulo M. Claro" 06/10/03 01:19pm >>> Steve, How I make to make this passing for parameters in the URL for the MapServer? I have the following situation, the center of the map is latitude -23 and longitude -46 and that to insert a point in latitude -23,55 and longitude -46.46 the imgext=-47 -24 -45 -22. How I can insert this point? Thanks João Paulo ----- Original Message ----- From: To: ; "João Paulo M. Claro" Sent: Monday, June 09, 2003 9:23 PM Subject: Re: [Mapserver-users] Pixel.... > João Paulo, > > You can do this either via the mapserver URL parameters or via > mapscript and you can specify the point you want to mark in lat/long > or XY instead of pixels. Look at the FEATURE object in the mapfile > reference or the mapscript reference and look at the URL reference. > > The basic scenario is that you define a FEATURE without a location > defined, then use the URL params or mapscript to give the feature a > coordinate value so it will be displayed. > > Sorry, I don't have an example handy. - Anyone else have an example? > > -Steve > > On 9 Jun 2003 at 20:29, João Paulo M. Claro wrote: > > > Hi Folks, > > > > I have the following problem, necessary to mark on the map a point > > that is not in the center of the map, as I can make this? > > > > I can treat linearly, this to make a ratio in pixel? > > > > Somebody can give an example to me of as to make this? > > > > Cordially, > > > > João Paulo > > > > > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From steve.lime@dnr.state.mn.us Tue Jun 10 19:40:42 2003 From: steve.lime@dnr.state.mn.us (Steve Lime) Date: Tue, 10 Jun 2003 13:40:42 -0500 Subject: [Mapserver-users] Status of .dbf Joins in 4.0 Beta Message-ID: One-to-one works for .dbf. One-to-many does not. >>> "Fawcett, David" 06/10/03 01:30PM >>> What is the current status of JOINs to .dbf files in the beta 4.01 version? One to one and one to many? David. _______________________________________________ Mapserver-users mailing list Mapserver-users@lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From steve.lime@dnr.state.mn.us Tue Jun 10 19:45:27 2003 From: steve.lime@dnr.state.mn.us (Steve Lime) Date: Tue, 10 Jun 2003 13:45:27 -0500 Subject: [Mapserver-users] Query of city name Message-ID: It's a multi step process: 1) user types in a city name, that triggers an attribute query using mapserver 2) the query generates a list of matches (most likely in another window or frame) 3) clicking on a link generates a MapServer URL the respositions the interface in the main window I tend not to use MapServer for stuff like this since it is not as full-featured as Postgres or MySQL. For an example checkout http://www.dnr.state.mn.us/maps/compass.html. Type in 'linwood' and you'll see how we do it anyway. Steve >>> Chen Fu 06/09/03 08:21PM >>> Hi! There is city name in the dbf file. But how can i query it? For example, a text box leave for user, if a string is matched in dbf, then the position of this city is set as the center of image. Is it possible in mapserver's cgi command? or should i setup postgis to query? Thank you!! ===== Remote Scensing Satellite Ground Station Chinese Academy of Science _________________________________________________________ Do You Yahoo!? http://cn.rd.yahoo.com/mail_cn/tag/?http://cn.surveys.yahoo.com/cn_user_profile_study_may2003 _______________________________________________ Mapserver-users mailing list Mapserver-users@lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From dblasby@refractions.net Tue Jun 10 19:47:37 2003 From: dblasby@refractions.net (David Blasby) Date: Tue, 10 Jun 2003 11:47:37 -0700 Subject: [Mapserver-users] PostGIS MUM Workshop Notes Available Message-ID: <3EE627C9.4070607@refractions.net> For those who didnt get a chance to attend last week's Mapserver Users Meeting (MUM) in Minnesota last week, I've placed the PostGIS workshop notes on the http://postgis.org website. There are two files - a detailed MS Word document that's a good stand-alone guide to PostGIS and using PostGIS with mapserver. The other file is a very short MS Powerpoint presentation that gives a few more details on some of the SQL queries used in the guide. Many thanks to Chris Hodgson for giving the actual workshop. dave From steve.lime@dnr.state.mn.us Tue Jun 10 19:57:15 2003 From: steve.lime@dnr.state.mn.us (Steve Lime) Date: Tue, 10 Jun 2003 13:57:15 -0500 Subject: [Mapserver-users] regex / Case Insensitive Query Message-ID: There is no particular option that I've added to the expression parser to do that. You'd have to check the docs for your local regex library to see if it supports something. Otherwise that old message of mine still holds true. If the user types in 'foo' and you use javascript to turn that into '[Ff][Oo][Oo]' then that can work as well. Steve Stephen Lime Data & Applications Manager Minnesota DNR 500 Lafayette Road St. Paul, MN 55155 651-297-2937 >>> "robert fritz" 06/06/03 08:27AM >>> Hello, is it possible to do a case-insensitive itemquery, using a regular expression? Something like : Filter ("[Name]" =~ /*%value%*/) (+ not case sensitive) Maybe something changed: http://mapserver.gis.umn.edu/data2/wilma/mapserver-users/0008/msg00096.html Thank you, robert ____________________________________________________________________________ Jetzt bei WEB.DE FreeMail anmelden = 1qm Regenwald schuetzen! Helfen Sie mit! Nutzen Sie den Serien-Testsieger. http://user.web.de/Regenwald _______________________________________________ Mapserver-users mailing list Mapserver-users@lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From steve.lime@dnr.state.mn.us Tue Jun 10 20:01:51 2003 From: steve.lime@dnr.state.mn.us (Steve Lime) Date: Tue, 10 Jun 2003 14:01:51 -0500 Subject: [Mapserver-users] Spatial Joins Message-ID: Just to add to Paul's note. With the MapServer CGI you can to feature queries which are done in two stages. With mapscript you can do n-stage queries if you had to albeit with multiple commands. Steve >>> Paul Ramsey 06/05/03 06:08PM >>> Wendy Roseberry wrote: > Is it possible to do spatial joins between 2 or more data layers with > mapserver? Could someone provide an example? > > Thanks, > Wendy Roseberry > Software Developer > www.accessArkansas.org You will probably find spatial joins easier to execute in PostGIS than in Mapserver. People mean different things somethings when they say "spatial join". Sometimes they mean "two stage query": click select an item in Layer A and then return all the items in Layer B which are within distance Q. You could do that in Mapserver using Mapscript I think. A general and complete spatial join you would want to use something like PostGIS for. P. -- __ / | Paul Ramsey | Refractions Research | Email: pramsey@refractions.net | Phone: (250) 885-0632 \_ _______________________________________________ Mapserver-users mailing list Mapserver-users@lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From mcilhagga@dmsolutions.ca Tue Jun 10 20:13:00 2003 From: mcilhagga@dmsolutions.ca (Dave McIlhagga) Date: Tue, 10 Jun 2003 15:13:00 -0400 Subject: [Mapserver-users] User Meeting ? References: <200306101613.h5AGDCc3013996@mallit.fr.umn.edu> Message-ID: <3EE62DBC.1040406@dmsolutions.ca> On that note -- I think we all owe Tom, Steve and the staff from the University of Minnesota a big thanks for their excellent organizational efforts. Everything went very smoothly, and I hope I speak for most in saying it was a terrific event! You've set the bar high for next year so we have our work cut out for us. Looking forward to seeing you all here next year in Ottawa - June 2004! Dave -- Dave McIlhagga DM Solutions Group http://www.dmsolutions.ca Thomas E. Burk wrote: > We will be putting materials from the meeting up on the Web site soon. They > will be "at the User Meeting button" on the MapServer home page. > > We thought the meeting was quite successful. That was echoed by everyone who > directly commented to me. > > Tom > ======================= > Dr. Thomas E. Burk > University of Minnesota > 1530 Cleveland Avenue North > St. Paul, MN 55108 > 612-624-6741 > 612-625-5212 (FAX) > tburk@umn.edu > > > >>The user meeting organizers requested slides and any other pertinent >>materials from all the presenters/workshop leaders at the meeting. I >>won't speak for them as to when they will be available, but you should >>see some material on the website soon. >> >>Thomas Bartlett wrote: >> >> >>>G'Day All, >>>I'm interested to hear how the user meeting over the weekend went ?? >>>Will anything be available online eg panel discussion summary, >>>workshop slides?? >>> >>>Cheers >>>Thomas Bartlett >> >> >>-- >>___________________________ >> >>Dean Gadoury >> >>DM Solutions Group >>72 Chamberlain Ave. Third Floor >>Ottawa, Ontario. K1S 1V9 >>613 565-5056 ext. 24 >> >>gadoury@dmsolutions.ca >>www.dmsolutions.ca >> >> > > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > From pond_bear@hotmail.com Tue Jun 10 21:50:30 2003 From: pond_bear@hotmail.com (pond bear) Date: Tue, 10 Jun 2003 15:50:30 -0500 Subject: [Mapserver-users] Can't set the status of a layer to be on. Message-ID: When I set the status of a layer to be default, it shows. But when I set the status of the layer to be ON, it disappears. Does anybody know the reason? Here is my mapfile: NAME UMAC SIZE 658 300 #EXTENT -104.349976 45.824193 -96.408106 49.111218 EXTENT -1398289 -441075 779057 576298 #EXTENT -312640 104632 265792 452180 IMAGECOLOR 255 255 255 SHAPEPATH "../shape/" PROJECTION "proj=laea" "ellps=WGS84" "lat_0=45" "lon_0=-100" "x_0=0" "y_0=0" END WEB TEMPLATE "lowerframe.html" IMAGEPATH "/usr/local/apache2/htdocs/tmp/" IMAGEURL "/tmp/" END LAYER # counties NAME "counties" DATA counties #MAXSCALE 8200000 STATUS default TYPE POLYGON CLASS OUTLINECOLOR 111 111 111 END END LAYER # States NAME "States" DATA states STATUS default TYPE POLYGON CLASS OUTLINECOLOR 0 0 0 END END LAYER # interstate NAME "interstate" DATA interstate STATUS default TYPE LINE CLASS OUTLINECOLOR 0 128 0 END END LAYER # river NAME "river" DATA rivers STATUS default TYPE LINE CLASS OUTLINECOLOR 0 0 128 END END LAYER # cities NAME "cities" DATA cities STATUS on TYPE point CLASS OUTLINECOLOR 255 0 0 END END END _________________________________________________________________ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From hunt@zedxinc.com Tue Jun 10 21:59:58 2003 From: hunt@zedxinc.com (Aaron D. Hunt) Date: Tue, 10 Jun 2003 16:59:58 -0400 Subject: [Mapserver-users] compile error with org Message-ID: <003201c32f93$40a551a0$1805000a@helicity> This is a multi-part message in MIME format. ------=_NextPart_000_002F_01C32F71.B97CCE40 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I am using the config line on a redhat linux system ./configure --without-tiff --with-proj=3D/home/mapserver/proj-4.4.7 = --with-gdal=3D/home/mapserver/gdal-1.1.8/ = --with-ogr=3D/home/mapserver/gdal-1.1.8/ --with-jpeg = --with-gd=3D/home/mapserver/gd-2.0.15 = --with-freetype=3D/home/mapserver/freetype-2.1.4 = --with-ming=3D/home/mapserver/ming-0.2a --with-wmsclient When it gets to ogr I get=20 checking whether we should compile in MPATROL support... MPATROL support not requested. checking whether we should include OGR support... using OGR from /home/mapserver/gdal-1.1.8//ogr. checking if GDAL support requested... configure: error: = '/home/mapserver/gdal-1.1.8/' is not an executable. Make sure you use = --with-gdal=3D/path/to/gdal-config Does anyone have any ideas Aaron D. Hunt Technical Manager ZedX Inc. ------=_NextPart_000_002F_01C32F71.B97CCE40 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I am using the config line on a redhat = linux=20 system
./configure --without-tiff=20 --with-proj=3D/home/mapserver/proj-4.4.7 = --with-gdal=3D/home/mapserver/gdal-1.1.8/=20 --with-ogr=3D/home/mapserver/gdal-1.1.8/ --with-jpeg=20 --with-gd=3D/home/mapserver/gd-2.0.15=20 --with-freetype=3D/home/mapserver/freetype-2.1.4=20 --with-ming=3D/home/mapserver/ming-0.2a = --with-wmsclient
 
When it gets to ogr I get
 
checking whether we should compile in = MPATROL=20 support...
        MPATROL support = not=20 requested.
checking whether we should include OGR=20 support...
        using OGR from=20 /home/mapserver/gdal-1.1.8//ogr.
checking if GDAL support = requested...=20 configure: error: '/home/mapserver/gdal-1.1.8/' is not an = executable.  Make=20 sure you use --with-gdal=3D/path/to/gdal-config
Does anyone have any ideas
 
Aaron D. Hunt
Technical = Manager
ZedX=20 Inc.
------=_NextPart_000_002F_01C32F71.B97CCE40-- From Jean-Francois.Doyon@CCRS.NRCan.gc.ca Tue Jun 10 22:13:17 2003 From: Jean-Francois.Doyon@CCRS.NRCan.gc.ca (Jean-Francois.Doyon@CCRS.NRCan.gc.ca) Date: Tue, 10 Jun 2003 17:13:17 -0400 Subject: [Mapserver-users] compile error with org Message-ID: <7CDD7B94357FD5119E800002A537C46E230818@s5-ccr-r1.ccrs.nrcan.gc.ca> Yup, Like the error message says, you have to point to the gdal-config utility using --with-ogr ... So if your directory is the source tree where gdal was built, it should be something like: --with-ogr=/home/mapserver/gdal-1.1.8/apps/gdal-config (untested) OR, you install the library on the system, which by default puts in the /usr/local/ tree, in which case you use: --with-ogr=/usr/local/bin/gdal-config or simply --with-ogr (it should find it automatically if it's in your path) Cheers, J.F. -----Original Message----- From: Aaron D. Hunt [mailto:hunt@zedxinc.com] Sent: Tuesday, June 10, 2003 5:00 PM To: mapserver-users@lists.gis.umn.edu Subject: [Mapserver-users] compile error with org I am using the config line on a redhat linux system ./configure --without-tiff --with-proj=/home/mapserver/proj-4.4.7 --with-gdal=/home/mapserver/gdal-1.1.8/ --with-ogr=/home/mapserver/gdal-1.1.8/ --with-jpeg --with-gd=/home/mapserver/gd-2.0.15 --with-freetype=/home/mapserver/freetype-2.1.4 --with-ming=/home/mapserver/ming-0.2a --with-wmsclient When it gets to ogr I get checking whether we should compile in MPATROL support... MPATROL support not requested. checking whether we should include OGR support... using OGR from /home/mapserver/gdal-1.1.8//ogr. checking if GDAL support requested... configure: error: '/home/mapserver/gdal-1.1.8/' is not an executable. Make sure you use --with-gdal=/path/to/gdal-config Does anyone have any ideas Aaron D. Hunt Technical Manager ZedX Inc. From ed@topozone.com Tue Jun 10 22:27:11 2003 From: ed@topozone.com (Ed McNierney) Date: Tue, 10 Jun 2003 17:27:11 -0400 Subject: [Mapserver-users] How to show a delay image during launch of the VM Message-ID: <13858AA1A74F30419F319ACB66A9D1222BFAE4@mercator.topozone.com> Roman - The Java VM is loaded from the user's LOCAL machine, and has nothing to do with the speed of their internet connection. The delay is while your APPLET is loaded, either locally or from your server. You should make sure that (a) you don't have extra features in the applet, so it's as small as possible and (b) tell your users that if they're really loading the VM for that long, they need a faster computer . I do not know of any way to display an alternate image while the applet is loading, unfortunately. - Ed Ed McNierney President and Chief Mapmaker TopoZone.com / Maps a la carte, Inc. 73 Princeton Street, Suite 305 North Chelmsford, MA 01863 Phone: (978) 251-4242 Fax: (978) 251-1396 ed@topozone.com -----Original Message----- From: Mapserver [mailto:mapserver@gismap.ch] Sent: Tuesday, June 10, 2003 2:06 PM To: Mapserver-Userlist Subject: [Mapserver-users] How to show a delay image during launch of the VM Hi list I use mapplet/jbox and I have a little problem. Clients with slow computers accessing my mapserver-website have to wait for a long time until the Sun-VM ist loaded. During that time the users have a blank screen (!) for up to 20 seconds until the user-interface of mapserver appears. I have to find a way to avoid a blank screen and to replace it with an information or a little animation until the interface appears. Any ideas, how this can be realized? Thanks for help Roman _______________________________________________ Mapserver-users mailing list Mapserver-users@lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From eduardo@linkgeo.com.br Wed Jun 11 00:15:01 2003 From: eduardo@linkgeo.com.br (Eduardo Patto Kanegae) Date: Tue, 10 Jun 2003 20:15:01 -0300 Subject: [Mapserver-users] map of mapserver users and providers References: Message-ID: <003701c32fa6$20bd7670$b664cec8@vcp.advcp.br> That sounds a great idea! I'm in! I could contribute with developing or documentation if you want... go ahead! Eduardo Patto Kanegae eduardo@linkgeo.com.br ----- Original Message ----- From: "Arnulf Christl (CCGIS)" To: "Joe Bussell" ; Sent: Tuesday, June 10, 2003 5:03 AM Subject: AW: [Mapserver-users] map of mapserver users and providers > Very good idea! If you mean to do it on an international dataset we will > support that idea, especially because we see a great need for something like > that here in Germany. > It would be very helpful to have a tool where the "spatially nearest" > provider, programmer, training location etc. for UMN MapServer is located. > Additionally it would be a great promotion tool (besides the Gallery) to > have a MapServer application showing all MapServer applications - sort of > the super-meta-cascading MapServer... > We can provide data (which is a little hard in Germany because of unsolved > ownership questions regarding public data - dont ask...). We can also help > with client technology (PHP), server space / hardware for this project. If > you need or plan anything - contact us. > > Regards, > Arnulf Christl > > --------------------------------- > arnulf.christl@ccgis.de > http://www.ccgis.de/index_en.html > --------------------------------- > Phone: +49 (0) 228 90826 0 > Direct: +49 (0) 228 90826 23 > Fax: +49 (0) 228 90826 11 > GSM: +49 (0) 172 2958 004 > --------------------------------- > CCGIS GbR > Siemensstra?e 8 > 53121 Bonn > GERMANY > --------------------------------- > > -----Ursprungliche Nachricht----- > Von: mapserver-users-admin@lists.gis.umn.edu > [mailto:mapserver-users-admin@lists.gis.umn.edu]Im Auftrag von Joe > Bussell > Gesendet: Dienstag, 10. Juni 2003 00:40 > An: mapserver-users@lists.gis.umn.edu > Betreff: [Mapserver-users] map of mapserver users and providers > > > I would like to create a map of the users of Mapserver. The plan is to > take something like http://www.trafficdodger.com/perl/warp.cgi and make > a similar page with user's locations plotted. This could easily turn > into a regional developer locater... > > If there is interest I will craft up a form to input the data. If > enough people participate I will create the map and associated locater > service. > > Cordially, > > Joe Bussell > www.trafficdodger.com > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > From eduardo@linkgeo.com.br Wed Jun 11 00:26:28 2003 From: eduardo@linkgeo.com.br (Eduardo Patto Kanegae) Date: Tue, 10 Jun 2003 20:26:28 -0300 Subject: [Mapserver-users] User Meeting ? References: <200306101613.h5AGDCc3013996@mallit.fr.umn.edu> <3EE62DBC.1040406@dmsolutions.ca> Message-ID: <004001c32fa7$b9cc8c60$b664cec8@vcp.advcp.br> Everything was simply great! I think the meeting was very good! And we all saw how usefull MapServer is and how better it is going to be... Thanks MapServerers. regards, Eduardo Patto Kanegae eduardo@linkgeo.com.br ----- Original Message ----- From: "Dave McIlhagga" To: "Thomas E. Burk" Cc: Sent: Tuesday, June 10, 2003 4:13 PM Subject: Re: [Mapserver-users] User Meeting ? > On that note -- I think we all owe Tom, Steve and the staff from the > University of Minnesota a big thanks for their excellent organizational > efforts. Everything went very smoothly, and I hope I speak for most in > saying it was a terrific event! > > You've set the bar high for next year so we have our work cut out for > us. Looking forward to seeing you all here next year in Ottawa - June 2004! > > Dave > -- > Dave McIlhagga > DM Solutions Group > http://www.dmsolutions.ca > > > > Thomas E. Burk wrote: > > We will be putting materials from the meeting up on the Web site soon. They > > will be "at the User Meeting button" on the MapServer home page. > > > > We thought the meeting was quite successful. That was echoed by everyone who > > directly commented to me. > > > > Tom > > ======================= > > Dr. Thomas E. Burk > > University of Minnesota > > 1530 Cleveland Avenue North > > St. Paul, MN 55108 > > 612-624-6741 > > 612-625-5212 (FAX) > > tburk@umn.edu > > > > > > > >>The user meeting organizers requested slides and any other pertinent > >>materials from all the presenters/workshop leaders at the meeting. I > >>won't speak for them as to when they will be available, but you should > >>see some material on the website soon. > >> > >>Thomas Bartlett wrote: > >> > >> > >>>G'Day All, > >>>I'm interested to hear how the user meeting over the weekend went ?? > >>>Will anything be available online eg panel discussion summary, > >>>workshop slides?? > >>> > >>>Cheers > >>>Thomas Bartlett > >> > >> > >>-- > >>___________________________ > >> > >>Dean Gadoury > >> > >>DM Solutions Group > >>72 Chamberlain Ave. Third Floor > >>Ottawa, Ontario. K1S 1V9 > >>613 565-5056 ext. 24 > >> > >>gadoury@dmsolutions.ca > >>www.dmsolutions.ca > >> > >> > > > > > > _______________________________________________ > > Mapserver-users mailing list > > Mapserver-users@lists.gis.umn.edu > > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > > > > > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > From woodbri@swoodbridge.com Wed Jun 11 01:24:15 2003 From: woodbri@swoodbridge.com (woodbri@swoodbridge.com) Date: Tue, 10 Jun 2003 20:24:15 -0400 Subject: [Mapserver-users] Pixel.... In-Reply-To: <000e01c32f74$7d565eb0$cd75e7c8@autofaxgkylsuk> Message-ID: <3EE63E6F.29799.19B2C73C@localhost> Please see http://mapserver.gis.umn.edu/doc36/cgi-reference.html there is an example at the end of the page: "Changing mapfile paratmeters" -Steve On 10 Jun 2003 at 14:19, João Paulo M. Claro wrote: > Steve, > How I make to make this passing for parameters in the URL for the > MapServer? > I have the following situation, the center of the map is latitude > -23 and longitude -46 and that to insert a point in latitude -23,55 > and longitude -46.46 the imgext=-47 -24 -45 -22. > > How I can insert this point? > > Thanks > > João Paulo > > > > ----- Original Message ----- > From: > To: ; "João Paulo M. Claro" > Sent: Monday, June 09, 2003 9:23 PM Subject: > Re: [Mapserver-users] Pixel.... > > > > João Paulo, > > > > You can do this either via the mapserver URL parameters or via > > mapscript and you can specify the point you want to mark in lat/long > > or XY instead of pixels. Look at the FEATURE object in the mapfile > > reference or the mapscript reference and look at the URL reference. > > > > The basic scenario is that you define a FEATURE without a location > > defined, then use the URL params or mapscript to give the feature a > > coordinate value so it will be displayed. > > > > Sorry, I don't have an example handy. - Anyone else have an example? > > > > -Steve > > > > On 9 Jun 2003 at 20:29, João Paulo M. Claro wrote: > > > > > Hi Folks, > > > > > > I have the following problem, necessary to mark on the map a point > > > that is not in the center of the map, as I can make this? > > > > > > I can treat linearly, this to make a ratio in pixel? > > > > > > Somebody can give an example to me of as to make this? > > > > > > Cordially, > > > > > > João Paulo > > > > > > > > > > > _______________________________________________ > > Mapserver-users mailing list > > Mapserver-users@lists.gis.umn.edu > > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > From eric@gomoos.org Wed Jun 11 01:29:58 2003 From: eric@gomoos.org (Eric Bridger) Date: Tue, 10 Jun 2003 20:29:58 -0400 Subject: [Mapserver-users] Can't set the status of a layer to be on. In-Reply-To: Message-ID: <4.3.2.7.2.20030610202612.00aca510@mail.gomoos.org> I don't use cgi mapserver much, but I believe you need to have a query string telling mapserver to turn the layers ON, e.g. ?layers=counties+States+interstate+river or ?layer=counties&layer=States&layer=interstate&layer=river You need to construct your form so that layers or layer appears in the form's query string. Eric Bridger At 03:50 PM 06/10/2003 -0500, pond bear wrote: >When I set the status of a layer to be default, it shows. But when I set the status of the layer to be ON, it disappears. Does anybody know the reason? Here is my mapfile: > > >NAME UMAC >SIZE 658 300 >#EXTENT -104.349976 45.824193 -96.408106 49.111218 >EXTENT -1398289 -441075 779057 576298 >#EXTENT -312640 104632 265792 452180 >IMAGECOLOR 255 255 255 >SHAPEPATH "../shape/" > >PROJECTION > "proj=laea" > "ellps=WGS84" > "lat_0=45" > "lon_0=-100" > "x_0=0" > "y_0=0" >END > >WEB > TEMPLATE "lowerframe.html" > IMAGEPATH "/usr/local/apache2/htdocs/tmp/" > IMAGEURL "/tmp/" >END > > >LAYER # counties > NAME "counties" > DATA counties > #MAXSCALE 8200000 > STATUS default > TYPE POLYGON > CLASS > OUTLINECOLOR 111 111 111 > END >END > > >LAYER # States > NAME "States" > DATA states > STATUS default > TYPE POLYGON > CLASS > OUTLINECOLOR 0 0 0 > END >END > >LAYER # interstate > NAME "interstate" > DATA interstate > STATUS default > TYPE LINE > CLASS > OUTLINECOLOR 0 128 0 > END >END > >LAYER # river > NAME "river" > DATA rivers > STATUS default > TYPE LINE > CLASS > OUTLINECOLOR 0 0 128 > END >END > >LAYER # cities > NAME "cities" > DATA cities > STATUS on > TYPE point > CLASS > OUTLINECOLOR 255 0 0 > END >END > >END > >_________________________________________________________________ >Add photos to your messages with MSN 8. Get 2 months FREE*. >http://join.msn.com/?page=features/featuredemail > >_______________________________________________ >Mapserver-users mailing list >Mapserver-users@lists.gis.umn.edu >http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From sholl@gmx.net Wed Jun 11 07:05:21 2003 From: sholl@gmx.net (Stephan Holl) Date: Wed, 11 Jun 2003 08:05:21 +0200 Subject: [Mapserver-users] rasters with more then 256 colors with gdal Message-ID: <20030611080521.2edb658f.sholl@gmx.net> Dear list, I have read on the list, that there should be a a mapfile-option to process rasters with more than 265 colors (e.g. digital elevation models) directly out of GRASS through gdal. I tried the processing as Frank suggested on the list eralier, but the result ist still not comparable to a geotiff. LAYER NAME "dem" GROUP "relief" TYPE RASTER STATUS ON #switch off map at certain min scale (1:1000): MINSCALE 1000 PROCESSING "SCALE=1066,1840" DATA "./grassdata/spearfish/PERMANENT/cellhd/elevation.dem" CLASS NAME "DEM" END END Also PROCESSING "SCALE = AUTO" does not solve the problem. I am using ms 3.7-cvs. Thanks for any hints. -- Stephan Holl GnuPG Key-ID: 11946A09 From schut@sarvision.com Wed Jun 11 08:56:22 2003 From: schut@sarvision.com (Vincent Schut) Date: Wed, 11 Jun 2003 09:56:22 +0200 Subject: [Mapserver-users] Can't set the status of a layer to be on. In-Reply-To: <4.3.2.7.2.20030610202612.00aca510@mail.gomoos.org> References: <4.3.2.7.2.20030610202612.00aca510@mail.gomoos.org> Message-ID: <200306110956.22840.schut@sarvision.com> Thats right. For mapserver CGI: STATUS DEFAULT means a layer is always drawn, no matter if you request it in your url or not. STATUS ON means you have to explicitly mention the layer in your url for the layer to be drawn, as Eric pointed out. STATUS OFF means you cannot show your layer by mentioning it in the url. Cheers, Vincent. On Wednesday 11 June 2003 02:29, Eric Bridger wrote: > I don't use cgi mapserver much, but I believe you need to have a query > string telling mapserver to turn the layers ON, e.g. > ?layers=counties+States+interstate+river or > ?layer=counties&layer=States&layer=interstate&layer=river > > You need to construct your form so that layers or layer appears in the > form's query string. > > Eric Bridger > > At 03:50 PM 06/10/2003 -0500, pond bear wrote: > >When I set the status of a layer to be default, it shows. But when I set > > the status of the layer to be ON, it disappears. Does anybody know the > > reason? Here is my mapfile: > > > > > >NAME UMAC > >SIZE 658 300 > >#EXTENT -104.349976 45.824193 -96.408106 49.111218 > >EXTENT -1398289 -441075 779057 576298 > >#EXTENT -312640 104632 265792 452180 > >IMAGECOLOR 255 255 255 > >SHAPEPATH "../shape/" > > > >PROJECTION > > "proj=laea" > > "ellps=WGS84" > > "lat_0=45" > > "lon_0=-100" > > "x_0=0" > > "y_0=0" > >END > > > >WEB > > TEMPLATE "lowerframe.html" > > IMAGEPATH "/usr/local/apache2/htdocs/tmp/" > > IMAGEURL "/tmp/" > >END > > > > > >LAYER # counties > > NAME "counties" > > DATA counties > > #MAXSCALE 8200000 > > STATUS default > > TYPE POLYGON > > CLASS > > OUTLINECOLOR 111 111 111 > > END > >END > > > > > >LAYER # States > > NAME "States" > > DATA states > > STATUS default > > TYPE POLYGON > > CLASS > > OUTLINECOLOR 0 0 0 > > END > >END > > > >LAYER # interstate > > NAME "interstate" > > DATA interstate > > STATUS default > > TYPE LINE > > CLASS > > OUTLINECOLOR 0 128 0 > > END > >END > > > >LAYER # river > > NAME "river" > > DATA rivers > > STATUS default > > TYPE LINE > > CLASS > > OUTLINECOLOR 0 0 128 > > END > >END > > > >LAYER # cities > > NAME "cities" > > DATA cities > > STATUS on > > TYPE point > > CLASS > > OUTLINECOLOR 255 0 0 > > END > >END > > > >END > > > >_________________________________________________________________ > >Add photos to your messages with MSN 8. Get 2 months FREE*. > >http://join.msn.com/?page=features/featuredemail > > > >_______________________________________________ > >Mapserver-users mailing list > >Mapserver-users@lists.gis.umn.edu > >http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users -- ______________________________________ Vincent Schut Sarvision B.V. Wageningen, The Netherlands www.sarvision.com From sholl@gmx.net Wed Jun 11 11:48:39 2003 From: sholl@gmx.net (Stephan Holl) Date: Wed, 11 Jun 2003 12:48:39 +0200 Subject: [Mapserver-users] processing does not exist in php/mapscript?! Message-ID: <20030611124839.7bbfc89f.sholl@gmx.net> Dear Mapserver-list, I cannot set the processing-object through php/mapscript. $newlayer = ms_newLayerObj($map); $newlayer->set("name", "mapcalc"); $newlayer->set("status", MS_ON); $newlayer->set("type", MS_LAYER_RASTER); $newlayer->set("data","wwwrun/cellhd/".$outfile); $newlayer->set("processing", "scale=auto"); $newlayer->set("transparency", 45); Is this not yet implemented? -- Stephan Holl GnuPG Key-ID: 11946A09 From Mark.Balman@birdlife.org.uk Wed Jun 11 12:12:13 2003 From: Mark.Balman@birdlife.org.uk (Mark Balman) Date: Wed, 11 Jun 2003 12:12:13 +0100 Subject: [Mapserver-users] Filter and FilterItem Message-ID: Hi All I have just installed the latest mapserver 4 onto windows 98, so far all is well except i cannot get an app to run. I used to be able to select a value from a list box and mapserver would return the shapefile, now I get the message - msQueryByAttributes(): Query Error. No query expression defined.... I have looked at the migration docs but am a bit stumped as to what I need to change... In my mapfile I have Filter "%value%" FilterItem "SciName" and in the initialisation file I have Any ideas most welcome! TIA Mark From twan@twansoft.com Wed Jun 11 12:48:38 2003 From: twan@twansoft.com (Twan Kogels) Date: Wed, 11 Jun 2003 13:48:38 +0200 Subject: [Mapserver-users] Spatial extent for shape file? Message-ID: <5.0.0.25.2.20030611132540.02ab3588@pop.xs4all.nl> Hello, It's been a while since i used mapserver. Yesterday i received a cdrom with raster maps, today i'm getting it to work. The cdrom contains a lot of tiff files which represent a tiled map. The tiff files are of format "GTiff/GeoTIFF". I used the "gdaltindex" program to make a shp index of all the tiles. The cdrom also contains a esri .tfw (or mapserver .wld) and a .tab file for every single tiff file. I'm now making my .map file which mapserver should use, but i'm stuck at defining the EXTENT line. I've looked for documentation about the tiff files on cdrom but found none. The info in the .tab file is interesting: ============================= !table !version 300 !charset WindowsLatin1 Definition Table File "1000047.TIF" Type "RASTER" (0,376000) (0,5333) Label "Pt 1", (0,384000) (0,0) Label "Pt 2", (12000,384000) (8000,0) Label "Pt 3", (12000,376000) (8000,5333) Label "Pt 4" CoordSys Earth Projection 20, 109, "m", 5.387638889, 52.156160556, 0.9999079, 155000, 463000 Units "m" ============================= The output of the program "gdalinfo" analyzing a tiff file on cdrom is also interesting: ============================= gdalinfo 4000007.TIF Driver: GTiff/GeoTIFF Size is 1778, 1185 Coordinate System is `' Origin = (-20.250000,384020.250000) Pixel Size = (40.500000,-40.500000) Metadata: TIFFTAG_SOFTWARE=Handmade Software, Inc. Image Alchemy v1.7.7 Corner Coordinates: Upper Left ( -20.250, 384020.250) Lower Left ( -20.250, 336027.750) Upper Right ( 71988.750, 384020.250) Lower Right ( 71988.750, 336027.750) Center ( 35984.250, 360024.000) Band 1 Block=1778x8 Type=Byte, ColorInterp=Red Band 2 Block=1778x8 Type=Byte, ColorInterp=Green Band 3 Block=1778x8 Type=Byte, ColorInterp=Blue Band 4 Block=1778x8 Type=Byte, ColorInterp=Alpha ============================= I know the the EXTENT line in the .map file means the lower left coordinates en the upper right coordinates, but i don't know how to get this information in my case. The output of gdaltinfo shows several "Corner Coordinates", but i have used gdaltindex to make a .shp file and now i'm using that shape file as index in my .map file: ============================== LAYER NAME "test" STATUS ON TILEINDEX "test.shp" TILEITEM "Location" TYPE RASTER END =============================== so, this renders the gdaltinfo useless, cause the Corner Coordinates aren't correct anymore. The line: =============================== CoordSys Earth Projection 20, 109, "m", 5.387638889, 52.156160556, 0.9999079, 155000, 463000 =============================== in the .tab file seems interesting, but i could not find any information about the meaning of those numbers. Could i get the values for EXTENT from this line? Or is there maybe a program which calculates the EXTENT or Corner Coordinates for a given .shp file? Best regards, Twan Kogels From woodbri@swoodbridge.com Wed Jun 11 13:06:17 2003 From: woodbri@swoodbridge.com (woodbri@swoodbridge.com) Date: Wed, 11 Jun 2003 08:06:17 -0400 Subject: [Mapserver-users] Spatial extent for shape file? In-Reply-To: <5.0.0.25.2.20030611132540.02ab3588@pop.xs4all.nl> Message-ID: <3EE6E2F9.22311.1C35825C@localhost> This is easy now that you have the tileindex! Use shpdump or shpinfo and the extents of your data will be the extents of your tileindex. -Steve W. On 11 Jun 2003 at 13:48, Twan Kogels wrote: > Hello, > > It's been a while since i used mapserver. Yesterday i received a cdrom > with raster maps, today i'm getting it to work. The cdrom contains a > lot of tiff files which represent a tiled map. The tiff files are of > format "GTiff/GeoTIFF". I used the "gdaltindex" program to make a shp > index of all the tiles. > > The cdrom also contains a esri .tfw (or mapserver .wld) and a .tab > file for every single tiff file. > > I'm now making my .map file which mapserver should use, but i'm stuck > at defining the