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,=
font>
I=E2=80=99am trying to =
compile the UMN
Mapserver with the WMS Client support and always get the following
error-message:
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.
>>> 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.
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:
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
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?
------_=_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.
------=_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,
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,=
font>
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