From deabelle@agro.uba.ar Wed Oct 1 08:25:10 2003 From: deabelle@agro.uba.ar (Diego de Abelleyra) Date: Wed, 1 Oct 2003 04:25:10 -0300 Subject: [Mapserver-users] Isolines References: <1064590442.2000.39.camel@localhost> Message-ID: <001b01c387ed$25cb8680$0100a8c0@agro.uba.ar> Hello, Have someone worked with isolines in mapserver, like for example temperature isolines? Is it posible to do with mapserver? Thamks, Diego de Abelleyra. Buenos Aires, Argentina ----- Original Message ----- From: "Patrick J Barabe" To: "Umberto Nicoletti" Cc: < > Sent: Tuesday, September 30, 2003 3:10 PM Subject: Re: [Mapserver-users] Java mapserver HOWTO and questions > > Hi Umberto, > > Your HOWTO was very useful to me in compiling java mapscript on Solaris. > Thanks for submitting this to the list. > > Now that I'm looking at the javadocs I compiled, I'm exactly sure how to > implement the java module. Do you have some sample JSP code I could > take a look at that demos just bit of core functionality? Also, should > libmapscript.so from the java build directory go anywhere in particular, > or is is sufficient to add this directory to $LD_LIBRARY_PATH? > > Thanks in advance, > Patrick Barabe > > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From collao_andres@hotmail.com Wed Oct 1 00:36:24 2003 From: collao_andres@hotmail.com (collao_andres) Date: Tue, 30 Sep 2003 23:36:24 -0000 Subject: [Mapserver-users] problem with mapserver4 and postgres Message-ID: hello I have compiled to mapserver 4, and I can use LABEL and SHAPE without problems, but when trying to read from the data base in Postgres 7.3.2/PostGIS 0,7,5 does not show respective layer. I have tried of everything, but nothing seems to give result; only stranger who happens is that when making this consultation in postgres appears the following message parse error at or near "geom" at character in the past, this aplication run without problem over mapserver 3.6.6 and when start with version 4 I modified the Mapfile You have any idea?? MAP NAME "FIRSTMAP" STATUS ON #EXTENT -5696501 1923039 5696501 11022882 EXTENT 251537 6338840 258665 6344780 SIZE 400 400 SHAPEPATH "/usr/local/apache2/htdocs/alberto/" IMAGETYPE png IMAGECOLOR 255 255 255 UNITS METERS WEB IMAGEPATH "/usr/local/apache2/htdocs/tmp/" IMAGEURL "/tmp/" END OUTPUTFORMAT NAME "png" MIMETYPE "image/png" DRIVER "GD/PNG" EXTENSION "png" IMAGEMODE PC256 TRANSPARENT FALSE END PROJECTION "proj=utm" "zone=19" "south" "ellps=intl" "towgs84=-288,175,-376,0,0,0,0" "units=m" "no_defs" END LAYER NAME "SAMPLE GRID" PROJECTION "proj=utm" "zone=19" "south" "ellps=intl" "towgs84=-288,175,-376,0,0,0,0" "units=m" "no_defs" END TYPE LINE STATUS ON CLASS COLOR 255 255 128 LABEL TYPE BITMAP SIZE MEDIUM COLOR 255 100 50 END END GRID MINSUBDIVIDE 64 MAXSUBDIVIDE 64 #ABELFORMAT "DDMM" END END LAYER NAME "ssd" STATUS ON DATA "comunas" TYPE POLYGON UNITS METERS SIZEUNITS PIXELS TOLERANCE 0 TOLERANCEUNITS PIXELS CLASS TEMPLATE "void" STYLE SYMBOL 0 COLOR 255 255 255 OUTLINECOLOR 200 200 200 SIZE 1 MINSIZE 1 MAXSIZE 100 END END END LAYER NAME "ejes_calles" STATUS ON DATA "the_geom from ejes_calles" TYPE LINE CONNECTIONTYPE POSTGIS CONNECTION "user=admin password=admin dbname=valparaiso host=localhost port=5432" UNITS METERS SIZEUNITS METERS TOLERANCE 0 TOLERANCEUNITS PIXELS CLASS NAME "calles_zoom_5" STYLE #SYMBOL 0 COLOR 0 0 0 SIZE 10 END END END END From John.Hockaday@ga.gov.au Wed Oct 1 01:01:33 2003 From: John.Hockaday@ga.gov.au (John.Hockaday@ga.gov.au) Date: Wed, 1 Oct 2003 10:01:33 +1000 Subject: [Mapserver-users] OGC implementing and conforming products for mapserv Message-ID: Hi, I was having a look at the OGC list of "Products Conforming to or Implementing OGC Specs or Interfaces" at URL: http://www.opengis.org/testing/product/ I noticed that Mapserv 3.5 is the only mapserv product mentioned on this site. If one checks the "Conforming Only" checkbox, mapserv doesn't show up in the list. This doesn't build up one's confidence in the mapserv product as being OGC compliant. Wouldn't it be a good idea if each time a mapserv product/version was released, it was somehow submitted to this OGC list to advertise if it was compliant or not? Thanks. John From vguzman@maintask.com Wed Oct 1 02:00:53 2003 From: vguzman@maintask.com (=?ISO-8859-1?Q?Vladimir_Guzm=E1n?=) Date: Tue, 30 Sep 2003 20:00:53 -0500 Subject: [Mapserver-users] Interlaced Reference Message-ID: <3F7A2745.6050701@maintask.com> Hello. I'm trying to use fpdf to get a "printable" map with phpmapscript. Everything is fine, except that when I try to generate the Reference Map, I get the following error: *FPDF error: *Interlacing not supported: /usr/local/apache/htdocs/tmp/MS_CTzMgP.png This is because phpmapscript is producing an interlaced png, and FPDF can't handle it. But I have the following in my .map file: OUTPUTFORMAT NAME png MIMETYPE "image/png" DRIVER "GD/PNG" FORMATOPTION "INTERLACE=OFF" END # # Start of reference map # REFERENCE IMAGE "/usr/local/apache/htdocs/sig_curaduria/graphics/reference7.png" EXTENT 983737 984000 1007778 1026000 SIZE 183 320 STATUS ON COLOR -1 -1 -1 OUTLINECOLOR 255 0 0 END And it works perfect for the legend, the scale and the map itself. The file /usr/local/apache/htdocs/sig_curaduria/graphics/reference7.png is not interlaced. My phpmapscript configuration: MapServer Version MapServer version 4.0-beta1 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SWF SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE PHP MapScript Version ($Revision: 1.168 $ $Date: 2003/06/04 17:57:12 $) Any hints? Thanks a lot, -- Vladimir Ilich Guzmán R. ------------------------ http://www.maintask.com From warmerdam@pobox.com Wed Oct 1 04:10:31 2003 From: warmerdam@pobox.com (Frank Warmerdam) Date: Tue, 30 Sep 2003 23:10:31 -0400 Subject: [Mapserver-users] OGC implementing and conforming products for mapserv In-Reply-To: References: Message-ID: <3F7A45A7.8030801@pobox.com> John.Hockaday@ga.gov.au wrote: > Hi, > > I was having a look at the OGC list of "Products > Conforming to or Implementing OGC Specs or > Interfaces" at URL: > > http://www.opengis.org/testing/product/ > > I noticed that Mapserv 3.5 is the only mapserv > product mentioned on this site. If one checks > the "Conforming Only" checkbox, mapserv doesn't > show up in the list. This doesn't build up one's > confidence in the mapserv product as being OGC > compliant. > > Wouldn't it be a good idea if each time a mapserv > product/version was released, it was somehow > submitted to this OGC list to advertise if it was > compliant or not? John, I agree that more recent versions should be included as well as mention of WFS and "web map context" support. However, to be conforming I *believe* we have to put the server through a not-too-cheap conformance testing process. I am not sure anyone is prepared to pay for that though one of the government clients who feel strongly about OGC conformance might step up to pay for conformance testing. I thought Steve or UMN was now responsible for registering MapServer with the OGC products list? 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 ms57@streamyx.com Wed Oct 1 04:12:50 2003 From: ms57@streamyx.com (Steve McCrone) Date: Wed, 01 Oct 2003 11:12:50 +0800 Subject: [Mapserver-users] Find and ZoomTo shape file record Message-ID: <000f01c387c9$f3c89150$403c5edb@clickntrac> On my previous application the user was able to find a record in the shape file and the map would zoom into that record and colour it red. I did this by having a java script function - function findBuilding(inBuilding){ var aForm = document.forms[0] aForm.building.value = inBuilding; aForm.mode.value = "itemquery"; aForm.qlayer.value = "building_query"; aForm.mapext.value = "shapes"; aForm.buffer.value = "0.005"; aForm.submit() } and in my map file - LAYER # this layer just displays one building when it has been queried NAME "building_query" DATA Build TYPE POLYGON STATUS OFF FILTERITEM Bldg_name FILTER "%building%" CLASS TEMPLATE "demo.html" # Use to display map #COLOR 255 0 0 #OUTLINECOLOR 255 0 0 END # CLASS END # LAYER And it works fine. ======================================== Now, I am working with the sample - DHTML rubber-band zoom sample from http://maps.dnr.state.mn.us/mapserver_demos/workshop An I am trying to achive the same functionality. Note: I cannot "fix" the extents of the map area I want to zoom because the spatial coordinates of the shape fuile records are constantly changing. Thanks From burntmage@yahoo.com Wed Oct 1 06:09:29 2003 From: burntmage@yahoo.com (Michael Roach) Date: Tue, 30 Sep 2003 22:09:29 -0700 (PDT) Subject: [Mapserver-users] problem with mapserver4 and postgres In-Reply-To: Message-ID: <20031001050930.21748.qmail@web14809.mail.yahoo.com> --0-619328017-1064984969=:21616 Content-Type: text/plain; charset=us-ascii Has the db changed at all? Make sure the (column) f_geometry_column in the geometry_columns (table) points to the correct column name with the geometry column in the table you want to open "ejes_calles" . Pgadmin II make doing this easy. collao_andres wrote:hello I have compiled to mapserver 4, and I can use LABEL and SHAPE without problems, but when trying to read from the data base in Postgres 7.3.2/PostGIS 0,7,5 does not show respective layer. I have tried of everything, but nothing seems to give result; only stranger who happens is that when making this consultation in postgres appears the following message parse error at or near "geom" at character in the past, this aplication run without problem over mapserver 3.6.6 and when start with version 4 I modified the Mapfile You have any idea?? MAP NAME "FIRSTMAP" STATUS ON #EXTENT -5696501 1923039 5696501 11022882 EXTENT 251537 6338840 258665 6344780 SIZE 400 400 SHAPEPATH "/usr/local/apache2/htdocs/alberto/" IMAGETYPE png IMAGECOLOR 255 255 255 UNITS METERS WEB IMAGEPATH "/usr/local/apache2/htdocs/tmp/" IMAGEURL "/tmp/" END OUTPUTFORMAT NAME "png" MIMETYPE "image/png" DRIVER "GD/PNG" EXTENSION "png" IMAGEMODE PC256 TRANSPARENT FALSE END PROJECTION "proj=utm" "zone=19" "south" "ellps=intl" "towgs84=-288,175,-376,0,0,0,0" "units=m" "no_defs" END LAYER NAME "SAMPLE GRID" PROJECTION "proj=utm" "zone=19" "south" "ellps=intl" "towgs84=-288,175,-376,0,0,0,0" "units=m" "no_defs" END TYPE LINE STATUS ON CLASS COLOR 255 255 128 LABEL TYPE BITMAP SIZE MEDIUM COLOR 255 100 50 END END GRID MINSUBDIVIDE 64 MAXSUBDIVIDE 64 #ABELFORMAT "DDMM" END END LAYER NAME "ssd" STATUS ON DATA "comunas" TYPE POLYGON UNITS METERS SIZEUNITS PIXELS TOLERANCE 0 TOLERANCEUNITS PIXELS CLASS TEMPLATE "void" STYLE SYMBOL 0 COLOR 255 255 255 OUTLINECOLOR 200 200 200 SIZE 1 MINSIZE 1 MAXSIZE 100 END END END LAYER NAME "ejes_calles" STATUS ON DATA "the_geom from ejes_calles" TYPE LINE CONNECTIONTYPE POSTGIS CONNECTION "user=admin password=admin dbname=valparaiso host=localhost port=5432" UNITS METERS SIZEUNITS METERS TOLERANCE 0 TOLERANCEUNITS PIXELS CLASS NAME "calles_zoom_5" STYLE #SYMBOL 0 COLOR 0 0 0 SIZE 10 END END END END _______________________________________________ Mapserver-users mailing list Mapserver-users@lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users --------------------------------- Do you Yahoo!? The New Yahoo! Shopping - with improved product search --0-619328017-1064984969=:21616 Content-Type: text/html; charset=us-ascii
Has the db changed at all? Make sure the (column) f_geometry_column in the geometry_columns (table) points to the correct column name with the geometry column in the table you want to open "ejes_calles" . Pgadmin II make doing this easy.

collao_andres <collao_andres@hotmail.com> wrote:
hello I have compiled to mapserver 4, and I can use LABEL and SHAPE
without problems, but when trying to read from the data base in
Postgres 7.3.2/PostGIS 0,7,5 does not show respective layer. I have
tried of everything, but nothing seems to give result; only stranger
who happens is that when making this consultation in postgres appears
the following message

parse error at or near "geom" at character

in the past, this aplication run without problem over mapserver 3.6.6
and when start with version 4 I modified the Mapfile

You have any idea??

MAP
NAME "FIRSTMAP"
STATUS ON
#EXTENT -5696501 1923039 5696501 11022882
EXTENT 251537 6338840 258665 6344780
SIZE 400 400
SHAPEPATH "/usr/local/apache2/htdocs/alberto/"
IMAGETYPE png
IMAGECOLOR 255 255 255
UNITS METERS
WEB
IMAGEPATH "/usr/local/apache2/htdocs/tmp/"
IMAGEURL "/tmp/"
END
OUTPUTFORMAT
NAME "png"
MIMETYPE "image/png"
DRIVER "GD/PNG"
EXTENSION "png"
IMAGEMODE PC256
TRANSPARENT FALSE
END

PROJECTION
"proj=utm"
"zone=19"
"south"
"ellps=intl"
"towgs84=-288,175,-376,0,0,0,0"
"units=m"
"no_defs"
END
LAYER
NAME "SAMPLE GRID"
PROJECTION
"proj=utm"
"zone=19"
"south"
"ellps=intl"
"towgs84=-288,175,-376,0,0,0,0"
"units=m"
"no_defs"
END
TYPE LINE
STATUS ON
CLASS
COLOR 255 255 128
LABEL
TYPE BITMAP
SIZE MEDIUM
COLOR 255 100 50
END
END

GRID
MINSUBDIVIDE 64
MAXSUBDIVIDE 64
#ABELFORMAT "DDMM"
END
END
LAYER
NAME "ssd"
STATUS ON
DATA "comunas"
TYPE POLYGON
UNITS METERS
SIZEUNITS PIXELS
TOLERANCE 0
TOLERANCEUNITS PIXELS
CLASS
TEMPLATE "void"
STYLE
SYMBOL 0
COLOR 255 255 255
OUTLINECOLOR 200 200 200
SIZE 1
MINSIZE 1
MAXSIZE 100
END
END
END
LAYER
NAME "ejes_calles"
STATUS ON
DATA "the_geom from ejes_calles"
TYPE LINE
CONNECTIONTYPE POSTGIS
CONNECTION "user=admin password=admin dbname=valparaiso
host=localhost port=5432"
UNITS METERS
SIZEUNITS METERS
TOLERANCE 0
TOLERANCEUNITS PIXELS
CLASS
NAME "calles_zoom_5"
STYLE
#SYMBOL 0
COLOR 0 0 0
SIZE 10
END
END
END
END


_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users


Do you Yahoo!?
The New Yahoo! Shopping - with improved product search --0-619328017-1064984969=:21616-- From mamwake@yahoo.com Wed Oct 1 07:16:57 2003 From: mamwake@yahoo.com (ronny) Date: Tue, 30 Sep 2003 23:16:57 -0700 (PDT) Subject: [Mapserver-users] errors In-Reply-To: <3F797EF6.4020308@dmsolutions.ca> Message-ID: <20031001061657.48402.qmail@web40310.mail.yahoo.com> thanks for ur reply but i don't see no word grid on this demo's mapfile! --- Daniel Morissette wrote: > ronny wrote: > > > when i try to laod gmap demo below is what am > getting; > > and nothing diplays!! > > > > Warning: MapServer Error in getString(): > (grid):(273) > > in /var/www/html/gmap/htdocs/gmap75.phtml on line > 71 > > > > In version 4.0, there is a new mapfile keyword > called GRID. You need to > add quotes around the word "grid" on the layer name > and data lines in > your mapfile so that the word grid is treated as a > string and not as a > mapfile keyword. > ===== ronny __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com From mamwake@yahoo.com Wed Oct 1 07:31:09 2003 From: mamwake@yahoo.com (ronny) Date: Tue, 30 Sep 2003 23:31:09 -0700 (PDT) Subject: [Mapserver-users] errors In-Reply-To: <3F797EF6.4020308@dmsolutions.ca> Message-ID: <20031001063109.62009.qmail@web40302.mail.yahoo.com> sorry i got it! but now another errors comes up Warning: MapServer Error in loadClass(): (Lands):(105) in /var/www/html/gmap/htdocs/gmap75.phtml on line 71 Warning: Failed to open map file gmap75.map in /var/www/html/gmap/htdocs/gmap75.phtml on line 71 Fatal error: Call to a member function on a non-object in /var/www/html/gmap/htdocs/gmap75.php3 on line 525 --- Daniel Morissette wrote: > ronny wrote: > > > when i try to laod gmap demo below is what am > getting; > > and nothing diplays!! > > > > Warning: MapServer Error in getString(): > (grid):(273) > > in /var/www/html/gmap/htdocs/gmap75.phtml on line > 71 > > > > In version 4.0, there is a new mapfile keyword > called GRID. You need to > add quotes around the word "grid" on the layer name > and data lines in > your mapfile so that the word grid is treated as a > string and not as a > mapfile keyword. > > -- > ------------------------------------------------------------ > Daniel Morissette > morissette@dmsolutions.ca > DM Solutions Group > http://www.dmsolutions.ca/ > ------------------------------------------------------------ > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users ===== ronny __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com From unicoletti@prometeo.it Wed Oct 1 07:58:51 2003 From: unicoletti@prometeo.it (Umberto Nicoletti) Date: 01 Oct 2003 08:58:51 +0200 Subject: [Mapserver-users] Java mapserver HOWTO and questions In-Reply-To: References: <1064590442.2000.39.camel@localhost> Message-ID: <1064991529.1951.7.camel@localhost> On Tue, 2003-09-30 at 20:10, Patrick J Barabe wrote: > Hi Umberto, > > Your HOWTO was very useful to me in compiling java mapscript on Solaris. > Thanks for submitting this to the list. > You're welcome. Could you please post to the list if there were differencies between linux and solaris? I could add them to the howto. > Now that I'm looking at the javadocs I compiled, I'm exactly sure how to > implement the java module. Do you have some sample JSP code I could > take a look at that demos just bit of core functionality? This is the most difficult part, as there is very little docs around. I am planning to add some demo jsps, but they will not be ready any soon (those that i have are very messy, definitely not ready for public scrutiny). What might help you is the php docs. Php classes are rather similar to Java ones. > Also, should > libmapscript.so from the java build directory go anywhere in particular, > or is is sufficient to add this directory to $LD_LIBRARY_PATH? > For this see the Q&A at the end of the HOWTO. PLease remember that your system path (linux/windows) is different from that searched for java. As i said in the q&a there is a reference to an excellent thread on tomcat-users that should help you out. > Thanks in advance, > Patrick Barabe HTH, Umberto > > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From ms57@streamyx.com Wed Oct 1 08:00:51 2003 From: ms57@streamyx.com (Steve McCrone) Date: Wed, 01 Oct 2003 15:00:51 +0800 Subject: [Mapserver-users] Find and ZoomTo shape file record Message-ID: <000001c387ee$25ba04e0$41845fdb@clickntrac> This is a multi-part message in MIME format. --Boundary_(ID_Np4G7A8NpGVZU5fFEswMBw) Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT On my previous application the user was able to find a record in the shape file and the map would zoom into that record and colour it red. I did this by having a java script function - function findBuilding(inBuilding){ var aForm = document.forms[0] aForm.building.value = inBuilding; aForm.mode.value = "itemquery"; aForm.qlayer.value = "building_query"; aForm.mapext.value = "shapes"; aForm.buffer.value = "0.005"; aForm.submit() } and in my map file - LAYER # this layer just displays one building when it has been queried NAME "building_query" DATA Build TYPE POLYGON STATUS OFF FILTERITEM Bldg_name FILTER "%building%" CLASS TEMPLATE "demo.html" # Use to display map #COLOR 255 0 0 #OUTLINECOLOR 255 0 0 END # CLASS END # LAYER And it works fine. ======================================== Now, I am working with the sample - DHTML rubber-band zoom sample from http://maps.dnr.state.mn.us/mapserver_demos/workshop An I am trying to achive the same functionality. Note: I cannot "fix" the extents of the map area I want to zoom because the spatial coordinates of the shape fuile records are constantly changing. Thanks --Boundary_(ID_Np4G7A8NpGVZU5fFEswMBw) Content-type: text/html; charset=iso-8859-1 Content-transfer-encoding: 7BIT
On my previous application the user was able to find a record in the shape
file and the map would zoom into that record and colour it red. I did this
by having a java script function -

function findBuilding(inBuilding){
  var aForm = document.forms[0]
  aForm.building.value  = inBuilding;

  aForm.mode.value = "itemquery";
  aForm.qlayer.value = "building_query";
  aForm.mapext.value = "shapes";
  aForm.buffer.value = "0.005";
  aForm.submit()
}

and in my map file -

LAYER   # this layer just displays one building when it has been queried
  NAME "building_query"
  DATA Build
  TYPE  POLYGON
  STATUS OFF
  FILTERITEM Bldg_name
  FILTER "%building%"
  CLASS
    TEMPLATE "demo.html"        # Use to display map
    #COLOR 255 0 0
    #OUTLINECOLOR 255 0 0
  END # CLASS
END # LAYER

And it works fine.
========================================
Now, I am working with the sample - DHTML rubber-band zoom sample from
http://maps.dnr.state.mn.us/mapserver_demos/workshop

An I am trying to achive the same functionality. Note: I cannot "fix" the
extents of the map area I want to zoom because the spatial coordinates of
the shape fuile records are constantly changing. Thanks

--Boundary_(ID_Np4G7A8NpGVZU5fFEswMBw)-- From Thomas E Burk Wed Oct 1 16:06:23 2003 From: Thomas E Burk (Thomas E Burk) Date: Wed, 1 Oct 2003 10:06:23 -0500 (CDT) Subject: [Mapserver-users] OGC implementing and conforming products for mapserv Message-ID: <200310011506.h91F6N6M008985@mallit.fr.umn.edu> It's one of those things that just gets overlooked. Thanks for the reminder. We'll get 4.0 added to the "implements" list. Previously the decision was to not spend the time, etc. to prove conformance. We can revisit that again. Tom ======================= Dr. Thomas E. Burk University of Minnesota 1530 Cleveland Avenue North St. Paul, MN 55108 612-624-6741 612-625-5212 (FAX) tburk@umn.edu >From: Frank Warmerdam >User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5a) Gecko/20030718 >X-Accept-Language: en-us, en >MIME-Version: 1.0 >To: John.Hockaday@ga.gov.au >Cc: mapserver-users@lists.gis.umn.edu >Subject: Re: [Mapserver-users] OGC implementing and conforming products for mapserv >Content-Transfer-Encoding: 7bit >X-BeenThere: mapserver-users@lists.gis.umn.edu >X-Mailman-Version: 2.0.13 >List-Unsubscribe: , >List-Id: Mapserver Users Mailing List (Appropriate for general users) >List-Post: >List-Help: >List-Subscribe: , >List-Archive: >Date: Tue, 30 Sep 2003 23:10:31 -0400 > >John.Hockaday@ga.gov.au wrote: >> Hi, >> >> I was having a look at the OGC list of "Products >> Conforming to or Implementing OGC Specs or >> Interfaces" at URL: >> >> http://www.opengis.org/testing/product/ >> >> I noticed that Mapserv 3.5 is the only mapserv >> product mentioned on this site. If one checks >> the "Conforming Only" checkbox, mapserv doesn't >> show up in the list. This doesn't build up one's >> confidence in the mapserv product as being OGC >> compliant. >> >> Wouldn't it be a good idea if each time a mapserv >> product/version was released, it was somehow >> submitted to this OGC list to advertise if it was >> compliant or not? > >John, > >I agree that more recent versions should be included as well as mention of >WFS and "web map context" support. However, to be conforming I *believe* we >have to put the server through a not-too-cheap conformance testing process. >I am not sure anyone is prepared to pay for that though one of the government >clients who feel strongly about OGC conformance might step up to pay for >conformance testing. > >I thought Steve or UMN was now responsible for registering MapServer with the >OGC products list? > >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 ter-haseborg@sf-datentechnik.de Wed Oct 1 17:08:58 2003 From: ter-haseborg@sf-datentechnik.de (Frieso ter Haseborg) Date: Wed, 1 Oct 2003 18:08:58 +0200 Subject: [Mapserver-users] user-defined URL-Variables in MapFile Message-ID: <0DF955F15A102E4F81B948D44A45015A06922E@nt-sf-exchange.Windows2000> Hi, is there any way to let MS pass user-defined url-variables through to a PHP/MapScript embedded as a wms-layer in a mapfile? I'm working on a PHP/MapScript-component for creating dynamic layers. The PHP shall be used in a mapfile as ogc-compliant wms-layer. It's implemented this way: [...] LAYER NAME "wms" TYPE RASTER STATUS OFF CONNECTION "http://[...]/mapscript/dynamic-layer.php" CONNECTIONTYPE WMS METADATA [...] END END [...] I need to give the PHP specific instructions e.g. for authorization-purposes but all the php get's are the ogc-variables. Any ideas? TIA, Frieso ter Haseborg - Software Development - -- -------------------------------------------------- S&F Datentechnik GmbH&Co.KG Reimersstr. 41b 26789 Leer, Germany From blaine@plansight.com Wed Oct 1 17:08:44 2003 From: blaine@plansight.com (blaine@plansight.com) Date: Wed, 01 Oct 2003 11:08:44 -0500 Subject: [Mapserver-users] Changing Layer Colors on-the-fly Message-ID: <20031001160844.30306.qmail@mx3.webblake.com> All I would like to change the colors of a layer when another layer is turned on. (Specifically when I turn on air photos I want other layers to change to a color that can be seen easier.) Anyone have suggestions on how to do that? Blaine From bhudspeth@edac.unm.edu Wed Oct 1 17:07:53 2003 From: bhudspeth@edac.unm.edu (William Hudspeth) Date: Wed, 01 Oct 2003 10:07:53 -0600 Subject: [Mapserver-users] No layer colors In-Reply-To: <3F721098.8080009@edac.unm.edu> References: <3F721098.8080009@edac.unm.edu> Message-ID: <3F7AFBD9.6050307@edac.unm.edu> William Hudspeth wrote: > Hello all, > > I have recently set up Mapscript 4.0 (which otherwise is working > great) on a new server , and I am trying to run a script and > associated mapfile that I know works on an older installation. My > problem is, when I try to display data layers, whether point, line, or > polygon, their defined colors (as specified in the mapfile) do not > appear. They are all displayed as shades of gray. > > I suspect that it may have something to do with my system and > Mapserver configuration parameters. They are as follows: > > ./configure --with-postgis --with-proj --with-gdal --with-wmsclient > --with-pdf --with-pgsql --with-gd=/usr/local/src/gd-2.0.15 > --with-php=/usr/local/src/php-4.3.3 --with-wms --without-tiff > > Newly installed packages include: > > gd-2.0.15 > gdal-1.1.9 > curl-7.10.7 > libgeotiff-1.2.1 > PDFlib-5.0.1 > php-4.3.3 > proj 4.4.7 > postgis-0.7.5 > postgresql-7.3.4 > > Thanks in advance for the help, > > Bill > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From rusty@main.nc.us Wed Oct 1 21:06:35 2003 From: rusty@main.nc.us (Rusty Holleman) Date: Wed, 01 Oct 2003 16:06:35 -0400 Subject: [Mapserver-users] raster layers in PDF output don't get cropped Message-ID: <3F7B33CB.30702@main.nc.us> Curious if anyone else has seen this sort of behavior. I'm running mapserver 4.0, gd 2.0.12, PDFlib Lite 5.0.1. I have a map that composites several images, then draws roads on top. It works great when I render to PNG, but if I render to PDF the raster data spills all over the page. Watching acroread display the file, as it displays each raster layer the image is intact but all of the page outside the image bounding box gets colored with some color from the image, overwriting previous raster layers. If I add the formatoption OUTPUT_TYPE=RASTER, then I get mostly what I want except that places that are transparent (i.e. it falls on an offsite pixel for all of the raster layers) end up red rather than white. This can be circumvented by placing a small all-white image at the lowest layer, with no offsite value. Of course, setting OUTPUT_TYPE=RASTER defeats much of the purpose of rendering to PDF anyway, so this is not really a solution. Any ideas? Any other details I should post? thanks, rusty From scottf@secr.com Wed Oct 1 21:12:18 2003 From: scottf@secr.com (Scott Ferguson) Date: Wed, 1 Oct 2003 15:12:18 -0500 Subject: [Mapserver-users] new user Message-ID: <4F03BF4B4F2AD311919B00A0C9A7A1918D38BC@64.19.25.70.nw.nuvox.net> Hi - just found out about Mapserver. I'm running RedHat 9.0/Apache2.0 and am trying to install Mapserver 4.0. I'm a little confused as to why the "make" command is not creating the mapserv executable file. I've compiled and configured the mandatory utilities, but am not successful in creating the executable file. Any ideas?? thanks Scott Ferguson GIS Manager Global Routing Technologies 636.449.3212 scottf@secr.com www.grti.net From steve.lime@dnr.state.mn.us Wed Oct 1 21:35:21 2003 From: steve.lime@dnr.state.mn.us (Steve Lime) Date: Wed, 01 Oct 2003 15:35:21 -0500 Subject: [Mapserver-users] Show Big-5 with new version of GD Message-ID: I will look into it. How hard it is to add really depends how the GD stuff works. I could simply boil down to a configure check, or it could be much more complex. Please file this as a feature request in Bugzilla (http://mapserver.gis.umn.edu/bugs)... Steve >>> "phli" 9/29/2003 8:03:24 AM >>> Dear all, The new version of GD has included the capability in showing "Shift_JIS" (japanese) and "Big-5" (traditional chinese) fonts with the new function gdImageStringFTEx, instead of gdImageStringFT. It would be great if the next release of mapserver can include this capability. Or a patch for adding this capability will be greatly appreciated. (If anyone can provide such a patch, we are willing to pay for it, if the price is affordable.) Sincerely, Pei-Hwao Li --------------------------------------------------------------------------------------------- | Pei-Hwao Li, PhD Student Email: phli@ev076.ev.nctu.edu.tw | Inst. of Environ. Engrg. Tel/mobile:+886-3-5731947/0958415217 | National Chiao Tung Univ., 75 Po-Ai St., Hsinchu, Taiwan 30090, ROC. --------------------------------------------------------------------------------------------- From steve.lime@dnr.state.mn.us Wed Oct 1 21:41:11 2003 From: steve.lime@dnr.state.mn.us (Steve Lime) Date: Wed, 01 Oct 2003 15:41:11 -0500 Subject: [Mapserver-users] Changing Layer Colors on-the-fly Message-ID: You can use the REQUIRES parameter to toggle between 2 seperate layer definitions. For example: LAYER NAME 'photos' ... END LAYER NAME 'county_without_photo' GROUP 'county' REQUIRES '![photos]' ... END LAYER NAME 'county_with_photo' GROUP 'county' REQUIRES '[photos]' ... END Depending on the status of the photos layer only one of the county layers will be used. Steve >>> 10/1/2003 11:08:44 AM >>> All I would like to change the colors of a layer when another layer is turned on. (Specifically when I turn on air photos I want other layers to change to a color that can be seen easier.) Anyone have suggestions on how to do that? Blaine _______________________________________________ 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 Oct 1 21:42:15 2003 From: steve.lime@dnr.state.mn.us (Steve Lime) Date: Wed, 01 Oct 2003 15:42:15 -0500 Subject: [Mapserver-users] No layer colors Message-ID: Are you displaying these over the top of greyscale imagery? >>> William Hudspeth 10/1/2003 11:07:53 AM >>> William Hudspeth wrote: > Hello all, > > I have recently set up Mapscript 4.0 (which otherwise is working > great) on a new server , and I am trying to run a script and > associated mapfile that I know works on an older installation. My > problem is, when I try to display data layers, whether point, line, or > polygon, their defined colors (as specified in the mapfile) do not > appear. They are all displayed as shades of gray. > > I suspect that it may have something to do with my system and > Mapserver configuration parameters. They are as follows: > > ./configure --with-postgis --with-proj --with-gdal --with-wmsclient > --with-pdf --with-pgsql --with-gd=/usr/local/src/gd-2.0.15 > --with-php=/usr/local/src/php-4.3.3 --with-wms --without-tiff > > Newly installed packages include: > > gd-2.0.15 > gdal-1.1.9 > curl-7.10.7 > libgeotiff-1.2.1 > PDFlib-5.0.1 > php-4.3.3 > proj 4.4.7 > postgis-0.7.5 > postgresql-7.3.4 > > Thanks in advance for the help, > > Bill > > _______________________________________________ > 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 gayathri@ou.edu Wed Oct 1 21:51:45 2003 From: gayathri@ou.edu (Swaminathan, Gayathri) Date: Wed, 1 Oct 2003 15:51:45 -0500 Subject: [Mapserver-users] new user Message-ID: Are you doing these steps, "[user@host mapserver]$ ./configure --help You will note the ability to specify which library to use, and from which location. Under normal circumstances the configuration script will automatically find all the libraries on your system and use them: [user@host mapserver]$ ./configure " Mentioned in the compile how to at http://mapserver.gis.umn.edu/doc40/unix-install-howto.html Thanks, Gayathri -----Original Message----- From: Scott Ferguson [mailto:scottf@secr.com] Sent: Wednesday, October 01, 2003 3:12 PM To: mapserver-users@lists.gis.umn.edu Subject: [Mapserver-users] new user Hi - just found out about Mapserver. I'm running RedHat 9.0/Apache2.0 and am trying to install Mapserver 4.0. I'm a little confused as to why the "make" command is not creating the mapserv executable file. I've compiled and configured the mandatory utilities, but am not successful in creating the executable file. Any ideas?? thanks Scott Ferguson GIS Manager Global Routing Technologies 636.449.3212 scottf@secr.com www.grti.net _______________________________________________ Mapserver-users mailing list Mapserver-users@lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From rjames57@yahoo.com Wed Oct 1 22:12:12 2003 From: rjames57@yahoo.com (Randy James) Date: Wed, 1 Oct 2003 14:12:12 -0700 (PDT) Subject: [Mapserver-users] new user In-Reply-To: <4F03BF4B4F2AD311919B00A0C9A7A1918D38BC@64.19.25.70.nw.nuvox.net> Message-ID: <20031001211212.10635.qmail@web12507.mail.yahoo.com> Hi Post the error message you get when the compile stops. Cheers Randy --- Scott Ferguson wrote: > Hi - just found out about Mapserver. I'm running RedHat > 9.0/Apache2.0 and > am trying to install Mapserver 4.0. I'm a little > confused as to why the > "make" command is not creating the mapserv executable > file. I've compiled > and configured the mandatory utilities, but am not > successful in creating > the executable file. Any ideas?? > thanks > > Scott Ferguson > GIS Manager > Global Routing Technologies > 636.449.3212 > scottf@secr.com > www.grti.net > > > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com From gayathri@ou.edu Wed Oct 1 22:17:05 2003 From: gayathri@ou.edu (Swaminathan, Gayathri) Date: Wed, 1 Oct 2003 16:17:05 -0500 Subject: [Mapserver-users] new user Message-ID: Hi: Also forgot to ask in my last email.... Are you just doing "./configure" Or including libraries using "--with-" A very detailed help on "configure" appears when you do "./configure --help". That may be handy when trying to Build this. Also, do you have your required libraries compiled already? That is your library ".so" files should be there in Their respective folders before you proceed to compile mapserver. HTH, Gayathri From gayathri@ou.edu Wed Oct 1 22:36:05 2003 From: gayathri@ou.edu (Swaminathan, Gayathri) Date: Wed, 1 Oct 2003 16:36:05 -0500 Subject: [Mapserver-users] new user Message-ID: Ya should be but don't bother about the ".so" files. So, if you are trying to compile mapserver with GD, PROJ say, you will have to compile GD first and then proj and then Do "./configure --with-proj[=DIR for PROJ where lib was created] --with GD [=DIR for GD where lib was created] And then do make. Cheers, Gayathri -----Original Message----- From: Scott Ferguson [mailto:scottf@secr.com] Sent: Wednesday, October 01, 2003 4:23 PM To: 'Swaminathan, Gayathri' Subject: RE: [Mapserver-users] new user this could be my problem. I tried the "./configure" only, then I tried including the "--with-" as well. I received the same results. Maybe I don't have the ".so" files in their respective folders. I believe all of the ".so" files are in my /usr/local/lib/ directory. -----Original Message----- From: Swaminathan, Gayathri [mailto:gayathri@ou.edu] Sent: Wednesday, October 01, 2003 4:17 PM To: 'scottf@secr.com' Cc: Mapserver List (mapserver-users@lists.gis.umn.edu) Subject: RE: [Mapserver-users] new user Hi: Also forgot to ask in my last email.... Are you just doing "./configure" Or including libraries using "--with-" A very detailed help on "configure" appears when you do "./configure --help". That may be handy when trying to Build this. Also, do you have your required libraries compiled already? That is your library ".so" files should be there in Their respective folders before you proceed to compile mapserver. HTH, Gayathri From rjames57@yahoo.com Wed Oct 1 22:45:47 2003 From: rjames57@yahoo.com (Randy James) Date: Wed, 1 Oct 2003 14:45:47 -0700 (PDT) Subject: [Mapserver-users] new user In-Reply-To: <4F03BF4B4F2AD311919B00A0C9A7A1918D38C1@64.19.25.70.nw.nuvox.net> Message-ID: <20031001214547.61728.qmail@web12501.mail.yahoo.com> Hi You must not have configured the compile, i do not think there is a makefile until you make one with: ./configure Cheers Randy --- Scott Ferguson wrote: > this is the error message after typing the "make" > command: > > "make: ***No target specified and no makefile found. > Stop." > > thanks > > -----Original Message----- > From: Randy James [mailto:rjames57@yahoo.com] > Sent: Wednesday, October 01, 2003 4:12 PM > To: scottf@secr.com > Cc: Mapserver-users@lists.gis.umn.edu > Subject: Re: [Mapserver-users] new user > > > Hi > > Post the error message you get when the compile stops. > > Cheers > Randy > > --- Scott Ferguson wrote: > > Hi - just found out about Mapserver. I'm running > RedHat > > 9.0/Apache2.0 and > > am trying to install Mapserver 4.0. I'm a little > > confused as to why the > > "make" command is not creating the mapserv executable > > file. I've compiled > > and configured the mandatory utilities, but am not > > successful in creating > > the executable file. Any ideas?? > > thanks > > > > Scott Ferguson > > GIS Manager > > Global Routing Technologies > > 636.449.3212 > > scottf@secr.com > > www.grti.net > > > > > > > > _______________________________________________ > > Mapserver-users mailing list > > Mapserver-users@lists.gis.umn.edu > > > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > > __________________________________ > Do you Yahoo!? > The New Yahoo! Shopping - with improved product search > http://shopping.yahoo.com > > __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com From gayathri@ou.edu Wed Oct 1 23:14:29 2003 From: gayathri@ou.edu (Swaminathan, Gayathri) Date: Wed, 1 Oct 2003 17:14:29 -0500 Subject: [Mapserver-users] new user Message-ID: Scott, The compilation with GD and Proj alone was an example. Here is the list of mandatory libraries needed: GD 2.0.12 or greater PROJ4 -yes the 4.4.7 is good from www.remotesensing.org Freetype-version 2 or greater You will have to obtain these seperately and then compile each one of them successfully. Then do, "./configure --with-gd --with-proj --with-freetype " Now, Additional libraries such as jpeg library, Libtiff, Postgis, Libcurl for WMS etc., can be added., and then their respective --with- Can be added to "./configure" step Then after you sucessfully generate a makefile using this step., (the makefile will be in the same path where configure is), do "make" More help should be available in Mapserver Wiki Cheers, Gayathri -----Original Message----- From: Scott Ferguson [mailto:scottf@secr.com] Sent: Wednesday, October 01, 2003 4:57 PM To: 'Swaminathan, Gayathri' Subject: RE: [Mapserver-users] new user ok, the with GD compile was successful, but the with proj was not. I found a couple different files to download for the "proj4". One is for "openev" and the other is labeled as "proj4.4.7 tar.gz" Are these the correct files? thanks -----Original Message----- From: Swaminathan, Gayathri [mailto:gayathri@ou.edu] Sent: Wednesday, October 01, 2003 4:36 PM To: 'scottf@secr.com' Cc: Mapserver List (mapserver-users@lists.gis.umn.edu) Subject: RE: [Mapserver-users] new user Ya should be but don't bother about the ".so" files. So, if you are trying to compile mapserver with GD, PROJ say, you will have to compile GD first and then proj and then Do "./configure --with-proj[=DIR for PROJ where lib was created] --with GD [=DIR for GD where lib was created] And then do make. Cheers, Gayathri -----Original Message----- From: Scott Ferguson [mailto:scottf@secr.com] Sent: Wednesday, October 01, 2003 4:23 PM To: 'Swaminathan, Gayathri' Subject: RE: [Mapserver-users] new user this could be my problem. I tried the "./configure" only, then I tried including the "--with-" as well. I received the same results. Maybe I don't have the ".so" files in their respective folders. I believe all of the ".so" files are in my /usr/local/lib/ directory. -----Original Message----- From: Swaminathan, Gayathri [mailto:gayathri@ou.edu] Sent: Wednesday, October 01, 2003 4:17 PM To: 'scottf@secr.com' Cc: Mapserver List (mapserver-users@lists.gis.umn.edu) Subject: RE: [Mapserver-users] new user Hi: Also forgot to ask in my last email.... Are you just doing "./configure" Or including libraries using "--with-" A very detailed help on "configure" appears when you do "./configure --help". That may be handy when trying to Build this. Also, do you have your required libraries compiled already? That is your library ".so" files should be there in Their respective folders before you proceed to compile mapserver. HTH, Gayathri From TMitchell@lignum.com Wed Oct 1 23:29:31 2003 From: TMitchell@lignum.com (Tyler Mitchell) Date: Wed, 1 Oct 2003 15:29:31 -0700 Subject: [Mapserver-users] SOT: Historical Event Markup and Linking Message-ID: Came across this very interesting application. Uses SVG for maps, timelines, animations, etc. Select one of the "local documents" in the left side of the page to see it in action. I thought you'd be interested in case you are thinking about animations and alternative representations of map or location-based information. http://heml.mta.ca/heml-cocoon/ It looks like it could use mapserver - anyone from Mount Alison University on this list? >From the FAQ: "How do you make the SVG maps that underlie Heml map views? These are created by a php script called Nimue. Quite simply, it passes lat/long and colour values to pscoast, a part of the GMT mapping tools; the resulting postscript is converted to SVG with pstoedit; and the SVG document is translated to the origin with a xslt transformation. Nimue is entirely based on free software, and it works well on a RH Linux 7.3 box. I don't have a dedicated machine for Nimue, so I can't provide an address. The process is so CPU-intensive that it would overwhelm the other uses that a machine was being put to" From dbarron@ddive.com Thu Oct 2 01:41:35 2003 From: dbarron@ddive.com (Dan Barron) Date: Wed, 01 Oct 2003 17:41:35 -0700 Subject: [Mapserver-users] State & National Park Boundary Data Message-ID: <6.0.0.22.0.20031001174003.03e38358@arctictern.ddive.com> Hi, Can anyone point me to a source for state and national park boundary data in shp format? Thanks, Dan From burntmage@yahoo.com Thu Oct 2 03:28:22 2003 From: burntmage@yahoo.com (Michael Roach) Date: Wed, 1 Oct 2003 19:28:22 -0700 (PDT) Subject: [Mapserver-users] State & National Park Boundary Data In-Reply-To: <6.0.0.22.0.20031001174003.03e38358@arctictern.ddive.com> Message-ID: <20031002022822.67851.qmail@web14802.mail.yahoo.com> --0-1274135920-1065061702=:67572 Content-Type: text/plain; charset=us-ascii Funny place to find this data but @ Bureau of Transportation Statistics 2002. http://www.bts.gov/gis/download_sites/ntad02/newusdownloadform.html Dan Barron wrote:Hi, Can anyone point me to a source for state and national park boundary data in shp format? Thanks, Dan _______________________________________________ Mapserver-users mailing list Mapserver-users@lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users --------------------------------- Do you Yahoo!? The New Yahoo! Shopping - with improved product search --0-1274135920-1065061702=:67572 Content-Type: text/html; charset=us-ascii
Funny place to find this data but @ Bureau of Transportation Statistics 2002.
 
http://www.bts.gov/gis/download_sites/ntad02/newusdownloadform.html

Dan Barron <dbarron@ddive.com> wrote:
Hi,

Can anyone point me to a source for state and national park boundary data
in shp format?

Thanks,

Dan

_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users


Do you Yahoo!?
The New Yahoo! Shopping - with improved product search --0-1274135920-1065061702=:67572-- From ter-haseborg@sf-datentechnik.de Thu Oct 2 07:48:04 2003 From: ter-haseborg@sf-datentechnik.de (Frieso ter Haseborg) Date: Thu, 2 Oct 2003 08:48:04 +0200 Subject: [Mapserver-users] user-defined URL-Variables in MapFile Message-ID: <0DF955F15A102E4F81B948D44A45015A06922F@nt-sf-exchange.Windows2000> Hi, okay embarrassing - the correct answer is: "RTFM"! ;-) >From the "MapFile Reference - MapServer 4.0": [...] New in MapServer 4.0, variables can be substituted within mapfile parameter values. At this time, cookie and CGI parameter values are supported. This allows mapserver mapfiles to be aware of a user's cookies (Good for implementing security), or non-mapserver request parameters (Good for integrating with other systems). Syntax: '%' + variable name + '%' [...] Works great! Sorry for the annoyance, Frieso >-----Original Message----- >From: Frieso ter Haseborg >Sent: Wednesday, October 01, 2003 6:09 PM >To: mapserver-users@lists.gis.umn.edu >Subject: [Mapserver-users] user-defined URL-Variables in MapFile > > >Hi, > >is there any way to let MS pass user-defined url-variables through to a >PHP/MapScript embedded as a wms-layer in a mapfile? > >I'm working on a PHP/MapScript-component for creating dynamic layers. >The PHP shall be used in a mapfile as ogc-compliant wms-layer. It's >implemented this way: > >[...] >LAYER > NAME "wms" > TYPE RASTER > STATUS OFF > CONNECTION "http://[...]/mapscript/dynamic-layer.php" >passthrough!> > CONNECTIONTYPE WMS > METADATA > [...] > END >END >[...] > >I need to give the PHP specific instructions e.g. for >authorization-purposes but all the php get's are the ogc-variables. > >Any ideas? > >TIA, > >Frieso ter Haseborg >- Software Development - > >-- > >-------------------------------------------------- >S&F Datentechnik GmbH&Co.KG >Reimersstr. 41b >26789 Leer, Germany > >_______________________________________________ >Mapserver-users mailing list >Mapserver-users@lists.gis.umn.edu >http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > From shpr@libero.it Thu Oct 2 09:46:59 2003 From: shpr@libero.it (Stefano Bonnin) Date: Thu, 2 Oct 2003 10:46:59 +0200 Subject: [Mapserver-users] Problem with Mascript ShapeObj.values array Message-ID: <000701c388c1$bf5525c0$0601a8c0@comai.loc> Hi, I'm trying to get information from Postgis with PHPMapscript This is my layer definition: LAYER NAME "Percolato" METADATA "LYRNAME" "Percolato" "DESCRIPTION" "P.O.I2" "TABLE" "edtlyr_percolato_1" "QUERY_FIELDS" "gid,name,value,type" "RESULT_FIELDS" "Nome,ID,Tipo" END GROUP "P.O.I" STATUS ON DATA "the_geom from edtlyr_percolato_1" TYPE point CONNECTIONTYPE POSTGIS CONNECTION "user=user dbname=dbname" MAXSCALE 7000 MINSCALE 0 LABELITEM "name" LABELMAXSCALE 3500 CLASSITEM "type" CLASS CLASS NAME "a" EXPRESSION 'a' SYMBOL "prelievoperco" COLOR 255 255 255 SIZE 15 TEMPLATE "blank.html" LABEL BACKGROUNDCOLOR 0 0 0 FONT "arial" TYPE TRUETYPE POSITION lc MINSIZE 10 MAXSIZE 25 COLOR 255 255 255 BACKGROUNDSHADOWCOLOR 128 128 128 ANTIALIAS true END END END And this is my PHPMapscript code (It can be wrong because I have extracted some line with cut and past): ..... ..... $oLayer = $gpoMap->GetLayer($iLayer); $numResults = $oLayer->getNumResults(); $oLayer->open(); $resultFields = explode(",", $oLayer->getMetaData("RESULT_FIELDS")); for ($iRes=0; $iRes < $numResults; $iRes++) { $oRes = $oLayer->getResult($iRes); $oShape = $oLayer->getShape($oRes->tileindex,$oRes->shapeindex); fwrite($fp, "\n"); for($iField=0; $iField < sizeof($queryFields); $iField++) { if ($queryFields[$iField] == 'gid') { $gid = $oShape->values[$queryFields[$iField]]; } else if ($queryFields[$iField] == 'name') { $pname = $oShape->values[$queryFields[$iField]]; } else if ($queryFields[$iField] == 'type') { $pname = $oShape->values[$queryFields[$iField]]; } else if ($queryFields[$iField] == "value") { $vl = $oShape->values[$queryFields[$iField]]; } } } ...... ...... The tree first variables $gid, $pname and $vl has a correct value BUT the last one ($vl) has NO VALUE. The $oShape->values length is 3. Why the array length is only 3? My postgres table has the following attributes: "the_geom", "value","type", "name" and "gid". Thanks in advance. --- Outgoing mail is certified Virus Free. (FLASHH!) Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.522 / Virus Database: 320 - Release Date: 29/09/03 From mschepel@gis.nl Thu Oct 2 12:34:28 2003 From: mschepel@gis.nl (Menno Schepel) Date: Thu, 2 Oct 2003 13:34:28 +0200 Subject: [Mapserver-users] Oracle Spatial error Message-ID: Rodrigo, I have read your messages in the mapserv lists regarding the error messages generated from within the Mapserv (v4.0) environment when trying to connect to Oracle Spatial through a map file. I believe that my problem is similar to the problem that Yu Hsin had before (http://mapserver.gis.umn.edu/data2/wilma/mapserver-users/0202/msg00317. html through http://mapserver.gis.umn.edu/data2/wilma/mapserver-users/0202/msg00333.h tml). I am able to connect to OracleSpatial using SQLPLUS or when I start up Mapserv form the DOS prompt using the QUERY_STRING command with the same arguments as the ones used in the CGI environment. I am also able to generate an image from the Oracle Spatial layers using the map file and shp2img from the prompt. However, when I try to connect to Oracle Spatial using the CGI I am receiving the following errors: msDrawMap(): Image handling error. Failed to draw layer named 'weg'. msOCIConnect() in msOracleSpatialLayerOpen(): OracleSpatial error. I saw a lot of solutions mentioning setting some environment var's within Apache. I am working on a WinXP platform and I am using IIS as webserver. Oracle and the Oracle Spatial database is stored locally. It may be a stupid question, but it seems that if I am using IIS, there is no need for me to get access through Apache? All the CGI processes run under IIS. If so, then I should add somewhere the path or the reference to the tnsnames.ora I guess, but where? I would appreciate it if you could help sort this mess out. Regards, Menno Schepel From mcilhagga@dmsolutions.ca Thu Oct 2 13:25:25 2003 From: mcilhagga@dmsolutions.ca (Dave McIlhagga) Date: Thu, 02 Oct 2003 08:25:25 -0400 Subject: [Mapserver-users] OGC implementing and conforming products for mapserv In-Reply-To: <200310011506.h91F6N6M008985@mallit.fr.umn.edu> References: <200310011506.h91F6N6M008985@mallit.fr.umn.edu> Message-ID: <3F7C1935.4070103@dmsolutions.ca> Since we've (DM Solutions) been looking after all implementation of OGC specifications in MapServer, I think it's reasonable that we would take responsibility for ensuring we are properly registered at OGC for implemenation and/or conformance of OGC specs. We've discussed this internally recently. Assefa is responsible at our end for our OGC implementations -- he will follow-up with OGC at each MapServer release to identify any further implementations or conformance of mapServer to the specs. Re. WMS support in mapServer, we are striving for conformance and are going through conformance testing at the moment. With any luck, we'll pass the conformance test by the release of MapServer 4.1. Dave Thomas E Burk wrote: > It's one of those things that just gets overlooked. Thanks for the reminder. > We'll get 4.0 added to the "implements" list. Previously the decision was to not > spend the time, etc. to prove conformance. We can revisit that again. > > Tom > ======================= > Dr. Thomas E. Burk > University of Minnesota > 1530 Cleveland Avenue North > St. Paul, MN 55108 > 612-624-6741 > 612-625-5212 (FAX) > tburk@umn.edu > > >>From: Frank Warmerdam >>User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5a) Gecko/20030718 >>X-Accept-Language: en-us, en >>MIME-Version: 1.0 >>To: John.Hockaday@ga.gov.au >>Cc: mapserver-users@lists.gis.umn.edu >>Subject: Re: [Mapserver-users] OGC implementing and conforming products for > > mapserv > >>Content-Transfer-Encoding: 7bit >>X-BeenThere: mapserver-users@lists.gis.umn.edu >>X-Mailman-Version: 2.0.13 >>List-Unsubscribe: , > > > >>List-Id: Mapserver Users Mailing List (Appropriate for general users) > > > >>List-Post: >>List-Help: >>List-Subscribe: , > > > >>List-Archive: >>Date: Tue, 30 Sep 2003 23:10:31 -0400 >> >>John.Hockaday@ga.gov.au wrote: >> >>>Hi, >>> >>>I was having a look at the OGC list of "Products >>>Conforming to or Implementing OGC Specs or >>>Interfaces" at URL: >>> >>>http://www.opengis.org/testing/product/ >>> >>>I noticed that Mapserv 3.5 is the only mapserv >>>product mentioned on this site. If one checks >>>the "Conforming Only" checkbox, mapserv doesn't >>>show up in the list. This doesn't build up one's >>>confidence in the mapserv product as being OGC >>>compliant. >>> >>>Wouldn't it be a good idea if each time a mapserv >>>product/version was released, it was somehow >>>submitted to this OGC list to advertise if it was >>>compliant or not? >> >>John, >> >>I agree that more recent versions should be included as well as mention of >>WFS and "web map context" support. However, to be conforming I *believe* we >>have to put the server through a not-too-cheap conformance testing process. >>I am not sure anyone is prepared to pay for that though one of the government >>clients who feel strongly about OGC conformance might step up to pay for >>conformance testing. >> >>I thought Steve or UMN was now responsible for registering MapServer with the >>OGC products list? >> >>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 >> > > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > -- Dave McIlhagga President, DM Solutions Group http://www.dmsolutions.ca EMail : mcilhagga@dmsolutions.ca Phone : 613-565-5056 x15 Fax : 613-565-0925 From gerry.creager@tamu.edu Thu Oct 2 13:55:01 2003 From: gerry.creager@tamu.edu (Gerry Creager) Date: Thu, 02 Oct 2003 07:55:01 -0500 Subject: [Mapserver-users] OGC implementing and conforming products for mapserv In-Reply-To: <3F7C1935.4070103@dmsolutions.ca> References: <200310011506.h91F6N6M008985@mallit.fr.umn.edu> <3F7C1935.4070103@dmsolutions.ca> Message-ID: <3F7C2025.6070102@tamu.edu> Excellent news. Thanks, Gerry Creager Texas A&M University Dave McIlhagga wrote: > Since we've (DM Solutions) been looking after all implementation of OGC > specifications in MapServer, I think it's reasonable that we would take > responsibility for ensuring we are properly registered at OGC for > implemenation and/or conformance of OGC specs. > > We've discussed this internally recently. Assefa is responsible at our > end for our OGC implementations -- he will follow-up with OGC at each > MapServer release to identify any further implementations or conformance > of mapServer to the specs. > > Re. WMS support in mapServer, we are striving for conformance and are > going through conformance testing at the moment. With any luck, we'll > pass the conformance test by the release of MapServer 4.1. > > Dave > > > Thomas E Burk wrote: > >> It's one of those things that just gets overlooked. Thanks for the >> reminder. We'll get 4.0 added to the "implements" list. Previously the >> decision was to not spend the time, etc. to prove conformance. We can >> revisit that again. >> >> Tom >> ======================= >> Dr. Thomas E. Burk >> University of Minnesota >> 1530 Cleveland Avenue North >> St. Paul, MN 55108 >> 612-624-6741 >> 612-625-5212 (FAX) >> tburk@umn.edu >> >> >>> From: Frank Warmerdam >>> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5a) >>> Gecko/20030718 >>> X-Accept-Language: en-us, en >>> MIME-Version: 1.0 >>> To: John.Hockaday@ga.gov.au >>> Cc: mapserver-users@lists.gis.umn.edu >>> Subject: Re: [Mapserver-users] OGC implementing and conforming >>> products for >> >> >> mapserv >> >>> Content-Transfer-Encoding: 7bit >>> X-BeenThere: mapserver-users@lists.gis.umn.edu >>> X-Mailman-Version: 2.0.13 >>> List-Unsubscribe: >>> , >> >> >> >> >>> List-Id: Mapserver Users Mailing List (Appropriate for general users) >> >> >> >> >>> List-Post: >>> List-Help: >>> >>> List-Subscribe: >>> , >> >> >> >> >>> List-Archive: >>> Date: Tue, 30 Sep 2003 23:10:31 -0400 >>> >>> John.Hockaday@ga.gov.au wrote: >>> >>>> Hi, >>>> >>>> I was having a look at the OGC list of "Products Conforming to or >>>> Implementing OGC Specs or Interfaces" at URL: >>>> >>>> http://www.opengis.org/testing/product/ >>>> >>>> I noticed that Mapserv 3.5 is the only mapserv product mentioned on >>>> this site. If one checks the "Conforming Only" checkbox, mapserv >>>> doesn't show up in the list. This doesn't build up one's confidence >>>> in the mapserv product as being OGC compliant. >>>> Wouldn't it be a good idea if each time a mapserv product/version >>>> was released, it was somehow submitted to this OGC list to advertise >>>> if it was compliant or not? >>> >>> >>> John, >>> >>> I agree that more recent versions should be included as well as >>> mention of >>> WFS and "web map context" support. However, to be conforming I >>> *believe* we >>> have to put the server through a not-too-cheap conformance testing >>> process. >>> I am not sure anyone is prepared to pay for that though one of the >>> government >>> clients who feel strongly about OGC conformance might step up to pay for >>> conformance testing. >>> >>> I thought Steve or UMN was now responsible for registering MapServer >>> with the >>> OGC products list? >>> >>> 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 >>> >> >> >> _______________________________________________ >> Mapserver-users mailing list >> Mapserver-users@lists.gis.umn.edu >> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users >> > From gayathri@ou.edu Thu Oct 2 16:12:20 2003 From: gayathri@ou.edu (Swaminathan, Gayathri) Date: Thu, 2 Oct 2003 10:12:20 -0500 Subject: [Mapserver-users] new user Message-ID: Hi: libgd.so.2 is the GD lib file., guess that will be problem :) Can you find it? Do you have it in your gd directory? Did you make gd and install it? Post this information to the list as well. You will have several pointers that way, and will lead to a quicker solution. Thanks, Gayathri -----Original Message----- From: Scott Ferguson [mailto:scottf@secr.com] Sent: Thursday, October 02, 2003 10:00 AM To: 'Swaminathan, Gayathri' Subject: RE: [Mapserver-users] new user Gayathri- well I made it through the 'make' command with your instructions, but received this message("./mapserv: error while loading shared libraries: libgd.so.2: cannot open shared object file: No such file or directory") when typing this command "./mapserv" at the mapserver prompt. The mapserv executable binary file was created, but wasn't sure if this error message was acceptable to move forward with the install. thanks, Scott -----Original Message----- From: Swaminathan, Gayathri [mailto:gayathri@ou.edu] Sent: Wednesday, October 01, 2003 5:14 PM To: 'scottf@secr.com' Cc: Mapserver List (mapserver-users@lists.gis.umn.edu) Subject: RE: [Mapserver-users] new user Scott, The compilation with GD and Proj alone was an example. Here is the list of mandatory libraries needed: GD 2.0.12 or greater PROJ4 -yes the 4.4.7 is good from www.remotesensing.org Freetype-version 2 or greater You will have to obtain these seperately and then compile each one of them successfully. Then do, "./configure --with-gd --with-proj --with-freetype " Now, Additional libraries such as jpeg library, Libtiff, Postgis, Libcurl for WMS etc., can be added., and then their respective --with- Can be added to "./configure" step Then after you sucessfully generate a makefile using this step., (the makefile will be in the same path where configure is), do "make" More help should be available in Mapserver Wiki Cheers, Gayathri -----Original Message----- From: Scott Ferguson [mailto:scottf@secr.com] Sent: Wednesday, October 01, 2003 4:57 PM To: 'Swaminathan, Gayathri' Subject: RE: [Mapserver-users] new user ok, the with GD compile was successful, but the with proj was not. I found a couple different files to download for the "proj4". One is for "openev" and the other is labeled as "proj4.4.7 tar.gz" Are these the correct files? thanks -----Original Message----- From: Swaminathan, Gayathri [mailto:gayathri@ou.edu] Sent: Wednesday, October 01, 2003 4:36 PM To: 'scottf@secr.com' Cc: Mapserver List (mapserver-users@lists.gis.umn.edu) Subject: RE: [Mapserver-users] new user Ya should be but don't bother about the ".so" files. So, if you are trying to compile mapserver with GD, PROJ say, you will have to compile GD first and then proj and then Do "./configure --with-proj[=DIR for PROJ where lib was created] --with GD [=DIR for GD where lib was created] And then do make. Cheers, Gayathri -----Original Message----- From: Scott Ferguson [mailto:scottf@secr.com] Sent: Wednesday, October 01, 2003 4:23 PM To: 'Swaminathan, Gayathri' Subject: RE: [Mapserver-users] new user this could be my problem. I tried the "./configure" only, then I tried including the "--with-" as well. I received the same results. Maybe I don't have the ".so" files in their respective folders. I believe all of the ".so" files are in my /usr/local/lib/ directory. -----Original Message----- From: Swaminathan, Gayathri [mailto:gayathri@ou.edu] Sent: Wednesday, October 01, 2003 4:17 PM To: 'scottf@secr.com' Cc: Mapserver List (mapserver-users@lists.gis.umn.edu) Subject: RE: [Mapserver-users] new user Hi: Also forgot to ask in my last email.... Are you just doing "./configure" Or including libraries using "--with-" A very detailed help on "configure" appears when you do "./configure --help". That may be handy when trying to Build this. Also, do you have your required libraries compiled already? That is your library ".so" files should be there in Their respective folders before you proceed to compile mapserver. HTH, Gayathri From TMCNEIL@arinc.com Thu Oct 2 16:31:22 2003 From: TMCNEIL@arinc.com (McNeil, Todd W. (TMCNEIL)) Date: Thu, 2 Oct 2003 11:31:22 -0400 Subject: [Mapserver-users] MapServer 3.5: Error Message Message-ID: <0734A2B8CF21D711B98B00080224869C062D9FEA@exanpmb3.arinc.com> Hi All, I'm new to this list and new to using MapServer, but I was hoping to learn about it and possibly use it. I'm a GIS user, specifically with ESRI and MapInfo products and have used ArcIMS a little. Someone pointed me to MapServer because it willl use shapefiles natively to create maps and it's free. I downloaded version 3.5 and installed it using the instructions. Everything seems to be working so far. I've tested the CGI executable using the instructions: http://localhost/scripts/mapserv.exe (localhost is not actually my machine name) and get this message: No query information to decode. QUERY_STRING not set. I also downloaded the Tutorial and have come across an error message that does not make sense to me. I am going through the 1st example of section 1 of the tutorial. I use this URL to retrieve a map image: http://tmcneil1/Scripts/mapserv.exe?map=e:/projects/tutorial35/s1/s1ex1.map& amp;mode=map , and the resulting error message is: mapserv(): Web application error. No template provided. I'm not sure what's going on or if I am just plain missing something. I have read that there are three files that I don't have, the application initialization html file (demo_init.html), the map file (demo.map), and the main html template file (demo.html). Where can I find these and will it make my MapServer work? Any help will be greatly appreciated. Thanks, ********************************** Todd McNeil ARINC Annapolis, MD Tel: 410.266.2302 Email: tmcneil@arinc.com Fax: 410.573.3170 Web: http://www.arinc.com From scottf@secr.com Thu Oct 2 16:40:36 2003 From: scottf@secr.com (Scott Ferguson) Date: Thu, 2 Oct 2003 10:40:36 -0500 Subject: [Mapserver-users] installation Message-ID: <4F03BF4B4F2AD311919B00A0C9A7A1918D38CC@64.19.25.70.nw.nuvox.net> after compiling the source code and creating the 'mapserv' file I received this message when typing the ./mapserv command at the prompt to test it: "./mapserv: error while loading shared libraries: libgd.so.2: cannot open shared object file: No such file or directory" I've already compiled these librabries GD, Proj, and Freetype with success. Although, the 'libgd.so.2' file was not in my GD directory. any ideas as to the problem?? thanks Scott Ferguson GIS Manager Global Routing Technologies 636.449.3212 scottf@secr.com www.grti.net From rjames57@yahoo.com Thu Oct 2 17:17:26 2003 From: rjames57@yahoo.com (Randy James) Date: Thu, 2 Oct 2003 09:17:26 -0700 (PDT) Subject: [Mapserver-users] MapServer 3.5: Error Message In-Reply-To: <0734A2B8CF21D711B98B00080224869C062D9FEA@exanpmb3.arinc.com> Message-ID: <20031002161726.79441.qmail@web12504.mail.yahoo.com> Hi I found that the best way to get started was to download the demo and get that running first. The demo has examples of all the files you need. Cheers Randy --- "McNeil, Todd W. (TMCNEIL)" wrote: > Hi All, > > I'm new to this list and new to using MapServer, but I > was hoping to learn > about it and possibly use it. I'm a GIS user, > specifically with ESRI and > MapInfo products and have used ArcIMS a little. Someone > pointed me to > MapServer because it willl use shapefiles natively to > create maps and it's > free. I downloaded version 3.5 and installed it using > the instructions. > Everything seems to be working so far. I've tested the > CGI executable using > the instructions: http://localhost/scripts/mapserv.exe > (localhost is not > actually my > machine name) and get this message: > No query information to decode. QUERY_STRING not set. > > I also downloaded the Tutorial and have come across an > error message that > does not make sense to me. I am going through the 1st > example of section 1 > of the tutorial. I use this URL to retrieve a map image: > http://tmcneil1/Scripts/mapserv.exe?map=e:/projects/tutorial35/s1/s1ex1.map& > amp;mode=map > &mode=map> , and the resulting error message is: > mapserv(): Web application error. No template provided. > I'm not sure what's going on or if I am just plain > missing something. I > have read that there are three files that I don't have, > the application > initialization html file (demo_init.html), the map file > (demo.map), and the > main html template file (demo.html). Where can I find > these and will it > make my MapServer work? Any help will be greatly > appreciated. > Thanks, > ********************************** > Todd McNeil > ARINC > Annapolis, MD > Tel: 410.266.2302 Email: tmcneil@arinc.com > Fax: 410.573.3170 Web: http://www.arinc.com > > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com From rjames57@yahoo.com Thu Oct 2 17:27:15 2003 From: rjames57@yahoo.com (Randy James) Date: Thu, 2 Oct 2003 09:27:15 -0700 (PDT) Subject: [Mapserver-users] installation In-Reply-To: <4F03BF4B4F2AD311919B00A0C9A7A1918D38CC@64.19.25.70.nw.nuvox.net> Message-ID: <20031002162715.93331.qmail@web12505.mail.yahoo.com> Hi Have you checked in /usr/local/lib if your compiled GD yourself it would be in there, but if you are using a rpm it is in /usr/lib you may need to add the path to /usr/local/lib in your ld.so.conf and run ldconfig Cheers Randy --- Scott Ferguson wrote: > after compiling the source code and creating the > 'mapserv' file I received > this message when typing the ./mapserv command at the > prompt to test it: > > "./mapserv: error while loading shared libraries: > libgd.so.2: cannot open > shared object file: No such file or directory" > > I've already compiled these librabries GD, Proj, and > Freetype with success. > Although, the 'libgd.so.2' file was not in my GD > directory. > any ideas as to the problem?? > thanks > > Scott Ferguson > GIS Manager > Global Routing Technologies > 636.449.3212 > scottf@secr.com > www.grti.net > > > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com From adams@terrestris.de Thu Oct 2 17:44:33 2003 From: adams@terrestris.de (Till Adams) Date: Thu, 02 Oct 2003 18:44:33 +0200 Subject: [Mapserver-users] installation References: <4F03BF4B4F2AD311919B00A0C9A7A1918D38CC@64.19.25.70.nw.nuvox.net> Message-ID: <3F7C55F1.7030006@terrestris.de> Scott, I guess you have to re-read your ld.so.conf table, probably you'll find it in /etc There are two ways to go: 1. Edit the file ld.so.conf and add the line /usr/lib Then restart your server or run '/sbin/ldconfig' 2. Run the command '/sbin/ldconfig /usr/local' (Both as 'root') If you choose way 2 please remember, that you'll have to give this command every time you restart your server. Hope that's it, have a nice weekend (yes, we in germany have bank-holiday tomorrow and I'm NOT going to work ...) Till Scott Ferguson schrieb: > after compiling the source code and creating the 'mapserv' file I received > this message when typing the ./mapserv command at the prompt to test it: > > "./mapserv: error while loading shared libraries: libgd.so.2: cannot open > shared object file: No such file or directory" > > I've already compiled these librabries GD, Proj, and Freetype with success. > Although, the 'libgd.so.2' file was not in my GD directory. > any ideas as to the problem?? > thanks > > Scott Ferguson > GIS Manager > Global Routing Technologies > 636.449.3212 > scottf@secr.com > www.grti.net > > > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > -- ***** Besuchen Sie uns auf der acqua alta ***** ***** vom 24.-27. November in München ***** ----- Dipl. Geogr. Till Adams terrestris, Paulsen&Adams GbR Siemensstr. 8 * 53121 Bonn Tel.: 0228 962 899 52 * Fax.: 0228 962 899 57 info@terrestris.de * www.terrestris.de From markadams@cuestasys.com Thu Oct 2 17:59:54 2003 From: markadams@cuestasys.com (Mark Adams) Date: Thu, 2 Oct 2003 12:59:54 -0400 Subject: [Mapserver-users] SLD support? Message-ID: <000a01c38906$9a9e2390$1300a8c0@cuestasys.com> This is a multi-part message in MIME format. ------=_NextPart_000_000B_01C388E5.138C8390 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Does anyone know if MapServer includes support for the Styled Layer Descriptors (SLD) specification at this point? Thanks in advance. ------------------------------ Mark Adams Business & Systems Analyst Cuesta Systems Inc. Email: markadams@cuestasys.com ------=_NextPart_000_000B_01C388E5.138C8390 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Does anyone know if MapServer includes support for the Styled Layer Descriptors (SLD) specification at = this point?

 

Thanks in advance.

 

------------------= ------------

Mark = Adams

Business & = Systems Analyst

Cuesta Systems = Inc.

Email: = markadams@cuestasys.com

 

------=_NextPart_000_000B_01C388E5.138C8390-- From morissette@dmsolutions.ca Thu Oct 2 19:02:08 2003 From: morissette@dmsolutions.ca (Daniel Morissette) Date: Thu, 02 Oct 2003 14:02:08 -0400 Subject: [Mapserver-users] SLD support? In-Reply-To: <000a01c38906$9a9e2390$1300a8c0@cuestasys.com> References: <000a01c38906$9a9e2390$1300a8c0@cuestasys.com> Message-ID: <3F7C6820.1010701@dmsolutions.ca> Mark Adams wrote: > Does anyone know if MapServer includes support for the Styled Layer > Descriptors (SLD) specification at this point? > Not yet, but we're working on it. This work is scheduled to be completed end of November, so expect it in a release around the end of the year. -- ------------------------------------------------------------ Daniel Morissette morissette@dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From m_anderson14@hotmail.com Thu Oct 2 19:32:11 2003 From: m_anderson14@hotmail.com (Michael Anderson) Date: Thu, 02 Oct 2003 18:32:11 +0000 Subject: [Mapserver-users] No scalebar, legend, or ref map images when I use 4.0 Message-ID: If I use 4.0 instead of 3.6.3 no legend, reference map, or scalebar images are created. The template still returns paths to where they should be, but the images never get written out. I've looked through the documented changes and don't see anything that explains it. What am I missing? Thanks. Mike Michael Anderson Spatial Information Technologies, Inc. _________________________________________________________________ Share your photos without swamping your Inbox. Get Hotmail Extra Storage today! http://join.msn.com/?PAGE=features/es From assefa@dmsolutions.ca Thu Oct 2 19:34:52 2003 From: assefa@dmsolutions.ca (Yewondwossen Assefa) Date: Thu, 02 Oct 2003 14:34:52 -0400 Subject: [Mapserver-users] SLD support? In-Reply-To: <000a01c38906$9a9e2390$1300a8c0@cuestasys.com> References: <000a01c38906$9a9e2390$1300a8c0@cuestasys.com> Message-ID: <3F7C6FCC.40507@dmsolutions.ca> It is not supported at this point. It is our intention to have the SLD support sometimes this fall (around end of November). Best Regards. Mark Adams wrote: > Does anyone know if MapServer includes support for the Styled Layer > Descriptors (SLD) specification at this point? > > > > Thanks in advance. > > > > ------------------------------ > > Mark Adams > > Business & Systems Analyst > > Cuesta Systems Inc. > > Email: markadams@cuestasys.com > > > -- ---------------------------------------------------------------- Assefa Yewondwossen Software Analyst Email: assefa@dmsolutions.ca http://www.dmsolutions.ca/ Phone: (613) 565-5056 (ext 14) Fax: (613) 565-0925 ---------------------------------------------------------------- From scottf@secr.com Thu Oct 2 19:44:46 2003 From: scottf@secr.com (Scott Ferguson) Date: Thu, 2 Oct 2003 13:44:46 -0500 Subject: [Mapserver-users] installation In-Reply-To: <4F03BF4B4F2AD311919B00A0C9A7A191948A67@64.19.25.70.nw.nuvox.net> Message-ID: <4F03BF4B4F2AD311919B00A0C9A7A1918D38D0@64.19.25.70.nw.nuvox.net> thanks i've got mapserver running now. I'm testing the 'demo' map file now. Looks like the demo file uses gif images. I'll probably get an error message since I don't have the gif licensing. Scott -----Original Message----- From: Randy James [mailto:rjames57@yahoo.com] Sent: Thursday, October 02, 2003 11:27 AM To: scottf@secr.com Cc: Mapserver-users@lists.gis.umn.edu Subject: Re: [Mapserver-users] installation Hi Have you checked in /usr/local/lib if your compiled GD yourself it would be in there, but if you are using a rpm it is in /usr/lib you may need to add the path to /usr/local/lib in your ld.so.conf and run ldconfig Cheers Randy --- Scott Ferguson wrote: > after compiling the source code and creating the > 'mapserv' file I received > this message when typing the ./mapserv command at the > prompt to test it: > > "./mapserv: error while loading shared libraries: > libgd.so.2: cannot open > shared object file: No such file or directory" > > I've already compiled these librabries GD, Proj, and > Freetype with success. > Although, the 'libgd.so.2' file was not in my GD > directory. > any ideas as to the problem?? > thanks > > Scott Ferguson > GIS Manager > Global Routing Technologies > 636.449.3212 > scottf@secr.com > www.grti.net > > > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com From doug@moximedia.com Thu Oct 2 20:55:08 2003 From: doug@moximedia.com (Doug Cates) Date: 02 Oct 2003 12:55:08 -0700 Subject: [Mapserver-users] Building GDAL with Xerces on Redhat 9 Message-ID: <1065124507.28157.21.camel@moxi-rh9> Hi, I'm trying to build a development version of MapServer 4.1 with WFS SERVER support so I can test using complex filters. I'd use a Windows binary if one was available, but since it isn't, I'm trying to put it on a RH9 box here, the only Linux box that I have available. I can't seem to get GDAL to build with Xerces-C. I noticed a thread earlier this year about this that seemed to indicate that GDAL 1.1.8 must be used with Xerces-C 1.6.0. Is that the only valid combination allowed, or has GDAL been updated to support newer versions of Xerces? An idea: The installation docs should have a version matrix, specifying the exact versions of all the supporting libraries that should be used when building a specific version of MapServer. Does anyone have any tips on installing this? Would anytone be willing to look at my installation logs to see if anything jumps out at them? Regards, Doug -- Doug Cates Moxi Media Inc. 757 - 1641 Lonsdale Avenue North Vancouver, BC, Canada V7M 2J5 Phone: 604-984-8109 Fax: 604-608-4764 E-mail: doug@moximedia.com Web: www.moximedia.com From morissette@dmsolutions.ca Thu Oct 2 21:07:20 2003 From: morissette@dmsolutions.ca (Daniel Morissette) Date: Thu, 02 Oct 2003 16:07:20 -0400 Subject: [Mapserver-users] Problem with Mascript ShapeObj.values array In-Reply-To: <000701c388c1$bf5525c0$0601a8c0@comai.loc> References: <000701c388c1$bf5525c0$0601a8c0@comai.loc> Message-ID: <3F7C8578.7000700@dmsolutions.ca> I am no PostGIS expert, but I would expect that the values[] array would return only the fields that are explicitly selected either via your DATA string or via things like CLASSITEM, LABELITEM, etc. In your case, your DATA statement selects only the geometry, and then CLASSITEM and LABELITEM add "name" and "type". "gid" may be pulled by default by the postgis driver I'm not sure. If you want "value" then you'll probably have to add it to the DATA statement. Daniel Stefano Bonnin wrote: > Hi, > > I'm trying to get information from Postgis with PHPMapscript > > This is my layer definition: > > LAYER > NAME "Percolato" > METADATA > "LYRNAME" "Percolato" > "DESCRIPTION" "P.O.I2" > "TABLE" "edtlyr_percolato_1" > "QUERY_FIELDS" "gid,name,value,type" > "RESULT_FIELDS" "Nome,ID,Tipo" > END > GROUP "P.O.I" > STATUS ON > DATA "the_geom from edtlyr_percolato_1" > TYPE point > CONNECTIONTYPE POSTGIS > CONNECTION "user=user dbname=dbname" > MAXSCALE 7000 > MINSCALE 0 > LABELITEM "name" > LABELMAXSCALE 3500 > CLASSITEM "type" > CLASS > CLASS > NAME "a" > EXPRESSION 'a' > SYMBOL "prelievoperco" > COLOR 255 255 255 > SIZE 15 > TEMPLATE "blank.html" > LABEL > BACKGROUNDCOLOR 0 0 0 > FONT "arial" > TYPE TRUETYPE > POSITION lc > MINSIZE 10 > MAXSIZE 25 > COLOR 255 255 255 > BACKGROUNDSHADOWCOLOR 128 128 128 > ANTIALIAS true > END > END > END > > And this is my PHPMapscript code (It can be wrong because I have extracted > some line with cut and past): > > ..... > ..... > $oLayer = $gpoMap->GetLayer($iLayer); > $numResults = $oLayer->getNumResults(); > > $oLayer->open(); > $resultFields = explode(",", $oLayer->getMetaData("RESULT_FIELDS")); > > for ($iRes=0; $iRes < $numResults; $iRes++) { > $oRes = $oLayer->getResult($iRes); > $oShape = $oLayer->getShape($oRes->tileindex,$oRes->shapeindex); > > fwrite($fp, "\n"); > for($iField=0; $iField < sizeof($queryFields); $iField++) { > > if ($queryFields[$iField] == 'gid') { > $gid = > $oShape->values[$queryFields[$iField]]; > } > else if ($queryFields[$iField] == 'name') { > $pname = > $oShape->values[$queryFields[$iField]]; > } > else if ($queryFields[$iField] == 'type') { > $pname = > $oShape->values[$queryFields[$iField]]; > } > else if ($queryFields[$iField] == "value") { > $vl = > $oShape->values[$queryFields[$iField]]; > } > > } > } > ...... > ...... > > > The tree first variables $gid, $pname and $vl has a correct value > > BUT > > the last one ($vl) has NO VALUE. > > The $oShape->values length is 3. > Why the array length is only 3? > > My postgres table has the following attributes: "the_geom", "value","type", > "name" and "gid". > > Thanks in advance. > > From mservin@tecnoaccion.com.ar Thu Oct 2 21:21:04 2003 From: mservin@tecnoaccion.com.ar (Mario Servin) Date: Thu, 2 Oct 2003 17:21:04 -0300 Subject: [Mapserver-users] How to convert a CSV data to shapefile Message-ID: <025101c38922$b476e510$9105a8c0@mariolaptop> This is a multi-part message in MIME format. ------=_NextPart_000_024E_01C38909.8F12C9B0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, I have aset of points in lat, lon format that i want to represent a = plygon in a shapefile. Is there any free tool I can use for that? Regards, Mario ------=_NextPart_000_024E_01C38909.8F12C9B0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi,
    I have aset of = points in lat,=20 lon format that i want to represent a plygon in a shapefile. Is there = any free=20 tool I can use for that?
    = Regards,
       =20         Mario
------=_NextPart_000_024E_01C38909.8F12C9B0-- From mschepel@gis.nl Thu Oct 2 21:23:35 2003 From: mschepel@gis.nl (Menno Schepel) Date: Thu, 2 Oct 2003 22:23:35 +0200 Subject: [Mapserver-users] RE: Oracle 8.1.7 & MapServer HowTo XP/2000 In-Reply-To: <8240822375.20031002180952@tydac.ch> Message-ID: <000201c38923$16dd04f0$02001aac@xpmenno> Hi Flavio, Thanks for the response. I did not have so much trouble getting Oracle 9i installed (I think). The main features are running, so I think I can skip the first part of your mail. The part about MapServer. I guess this was before MapServer published a precompiled Win32 executable on their website (v4.0 with Oracle support), or does the situation that you describe still exists? I will look into the thing about the SQLNET_AUTHENTICATION. Although I am not sure if this still exists in Oracle 9i. The structure that you describe for the mapfile I implemented already, with the only difference that the geometry column that you describe (geom etc.) seems to have changed. Also I am not sure yet what to do with the srid number. It seems that most of the "peculiarities" that you describe about Oracle Spatial have changed with the new version. I will post results if I have found something. Thanks for now, Menno. -----Original Message----- From: Flavio Hendry [mailto:flavio@tydac.ch] Sent: 02 October 2003 18:10 To: mschepel@gis.nl Subject: Fwd: Oracle 8.1.7 & MapServer HowTo XP/2000 Hi Menno Maybe the below helps (see especially MapServer Part, Item 2) ===8<==============Original message text=============== Hi List First many thanks to Assefa, Daniel and ... Google ... Daniel Morisette told me to report the way to get the monster running with XP/2000 and MapServer. No guarantee whatsoever that your computer won't explode .... ;-) ... The Oracle part: A: You will not be able to install Oracle on a PC under Win 2000 or Win XP - just won't do anything - known bug, do as follows: ******* 1 - Copy your Oracle CD into hard disk in your machine. For example Copy from oracle8i CD into "C:\tmp\orainst" ... (on some sites I found not to call this dir "oracle") 2 - Search the two files named Symcjit.dll in the dir where you have copied Oracle8i. You can found them in (example): C:\tmp\orainst\stage\Components\oracle.swd.jre\1.1.7.30\1 \DataFiles\Expanded\jre\win32\bin\symcjit.dll or use search option in the c:\oracle directory to find 2 files symcjit.dll to 3 - Rename this file (Example): symcjit_back.dll (make sure to find two files and rename them) 4 - Execute the Oracle setup.exe from C:\Oracle\setup.exe and follow the instructions ... B: on Win XP, when rebooting you might get the constantly showing up ugly error that java.exe crashed. To stop that go into the win admin toool / services and stop the "Oracle HTTPServer" Service and set it to manual. ********* The MapServer Part: 1. Download and install MapServer Oracle Compilation from DM Solutions (I don't know it DM leaves the files there however, worst case contact me ...): mapserver/php_mapscript (php4.3.2) build with Oracle oci librairies (8.1.7) at http://www2.dmsolutions.ca/tmp/mapserver_ora8.1.7.zip The zip contains the exe file of mapserver, php_mapscript_40.dll and oci.dll. Note that php_mapscript_40.dll is build with links to other libraries like xerces, pdf, .... So you need to download those dll and install them. The best approch is to download and install first the zip at http://www2.dmsolutions.ca/mapserver/dl/mapserver-4.0-win32-php4.3.2.zip and then replace the exe and the php_mapscript_40.dll with the new ones. 2. there will be an additional thing to fix in oracle: ****** Obviously this is a well know feature (bug). After a successfull installation of Oracle 8.1.7 you have to change SQLNET.AUTHENTICATION_SERVICE=(NTS) to SQLNET.AUTHENTICATION_SERVICE=() in sqlnet.ora (search for this file in the dir where you installed Oracle). ******* 3. Map-File, looks i.e. like that: LAYER CONNECTION "chur/chur@demo" CONNECTIONTYPE oraclespatial DATA "geoloc from Bodenbedeckung using srid 262148" GROUP "AV" NAME "Bodenbedeckung" SIZEUNITS PIXELS STATUS ON TOLERANCE 0 TOLERANCEUNITS PIXELS TYPE POLYGON UNITS METERS CLASSITEM "ART" CLASS NAME "Gebaeude" EXPRESSION "Gebaeude" COLOR 255 255 220 OUTLINECOLOR 0 0 0 TEMPLATE ttt.htm END END Some things to be explained: - chur/chur@demo are userid/password@service - "geoloc" is the Geometry column Oracle uses (sometimes GEOM or whatever ...) - the srid number you'll find in the table called SDO_GEOM_METADAT_TABLE or in any Table under the register called "Spatial". Hope it helps if somebody has to go through the same nightmare ... Mit freundlichem Gruss / Best Regards Flavio Hendry ---------------------------------------------------------------- ++++++++++ Neue Neapoljs Seiten auf www.neapoljs.com +++++++++++ ---------------------------------------------------------------- ############ Mit freundlichen Gruessen / Kind Regards ############ Flavio Hendry- mailto:flavio@tydac.ch ############ TYDAC AG - http://www.tydac.ch #### #### Geographic Information Solutions #### #### Luternauweg 12 -- CH-3006 Bern ############ Tel +41 (0)31 368 0180 - Fax +41 (0)31 368 1860 ---------------------------------------------------------------- From eric@gomoos.org Thu Oct 2 18:34:01 2003 From: eric@gomoos.org (Eric Bridger) Date: Thu, 02 Oct 2003 13:34:01 -0400 Subject: [Mapserver-users] MapServer 3.5: Error Message In-Reply-To: <0734A2B8CF21D711B98B00080224869C062D9FEA@exanpmb3.arinc.co m> Message-ID: <4.3.2.7.2.20031002132336.00ac0720@mail.gomoos.org> At 11:31 AM 10/02/2003 -0400, McNeil, Todd W. (TMCNEIL) wrote: >Hi All, >I also downloaded the Tutorial and have come across an error message that >does not make sense to me. I am going through the 1st example of section 1 >of the tutorial. I use this URL to retrieve a map image: >http://tmcneil1/Scripts/mapserv.exe?map=e:/projects/tutorial35/s1/s1ex1.map& >amp;mode=map >&mode=map> , and the resulting error message is: >mapserv(): Web application error. No template provided. You will most likely need to edit the html files you downloaded in the Tutorial. You may also need to edit the s1ex1.map file to change any paths to paths suiting your setup. From spencer@dmsolutions.ca Thu Oct 2 21:38:35 2003 From: spencer@dmsolutions.ca (Paul Spencer) Date: 02 Oct 2003 16:38:35 -0400 Subject: [Mapserver-users] Building GDAL with Xerces on Redhat 9 In-Reply-To: <1065124507.28157.21.camel@moxi-rh9> References: <1065124507.28157.21.camel@moxi-rh9> Message-ID: <1065127114.7413.17.camel@beaker.localdomain> Doug, Frank will likely have a comment, but the last time I did this (a few days ago on, on a RH9 box) I had to use 1.6.0. The gdal configure was ./configure --with-xerces after running configure/make/make install on xercesc ... which puts it in /usr/local/ The build on this version of xercesc is slightly different from the current build instructions on the apache web site because they changed the directory structure slightly, but I think it was only one directory different then everything else worked the same as the current build instructions (too bad they don't include the build instructions with the tarball!) Cheers, Paul On Thu, 2003-10-02 at 15:55, Doug Cates wrote: > Hi, > > I'm trying to build a development version of MapServer 4.1 with WFS > SERVER support so I can test using complex filters. I'd use a Windows > binary if one was available, but since it isn't, I'm trying to put it on > a RH9 box here, the only Linux box that I have available. > > I can't seem to get GDAL to build with Xerces-C. I noticed a thread > earlier this year about this that seemed to indicate that GDAL 1.1.8 > must be used with Xerces-C 1.6.0. Is that the only valid combination > allowed, or has GDAL been updated to support newer versions of Xerces? > > An idea: The installation docs should have a version matrix, specifying > the exact versions of all the supporting libraries that should be used > when building a specific version of MapServer. > > Does anyone have any tips on installing this? Would anytone be willing > to look at my installation logs to see if anything jumps out at them? > > Regards, > Doug From Armin Burger Thu Oct 2 23:34:19 2003 From: Armin Burger (Armin Burger) Date: Thu, 2 Oct 2003 23:34:19 +0100 Subject: [Mapserver-users] Building GDAL with Xerces on Redhat 9 Message-ID: <20031002213427.BCVL26816.viefep11-int.chello.at@libero.it> Doug, I compiled Gdal 1.1.9 with Xerces 1.7.0 using --with-xerces --with-xerces-lib="-L/usr/local/lib -lxerces-c1_7_0 -lpthread" and it worked fine. I don't know if the '--with-xerces-lib' is absolutely necessary. Armin > Hi, > I'm trying to build a development version of MapServer 4.1 with WFS > SERVER support so I can test using complex filters. I'd use a Windows > binary if one was available, but since it isn't, I'm trying to put it on > a RH9 box here, the only Linux box that I have available. > I can't seem to get GDAL to build with Xerces-C. I noticed a thread > earlier this year about this that seemed to indicate that GDAL 1.1.8 > must be used with Xerces-C 1.6.0. Is that the only valid combination > allowed, or has GDAL been updated to support newer versions of Xerces? > An idea: The installation docs should have a version matrix, specifying > the exact versions of all the supporting libraries that should be used > when building a specific version of MapServer. > Does anyone have any tips on installing this? Would anytone be willing > to look at my installation logs to see if anything jumps out at them? > Regards, > Doug > -- > Doug Cates > Moxi Media Inc. > 757 - 1641 Lonsdale Avenue > North Vancouver, BC, Canada V7M 2J5 > Phone: 604-984-8109 > Fax: 604-608-4764 > E-mail: doug@moximedia.com > Web: www.moximedia.com > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From jeff@planyukon.ca Thu Oct 2 22:42:38 2003 From: jeff@planyukon.ca (Jeff Hamm) Date: Thu, 02 Oct 2003 14:42:38 -0700 Subject: [Mapserver-users] raster layers in PDF output don't get cropped Message-ID: <3F7C9BCE.B4E12733@planyukon.ca> Rusty; Does your application provide explicit extents to Mapserver to (re)process the map as PDF output? I don't believe Mapserver is capable of reading the extents from a raster layer ( see http://mapserver.gis.umn.edu/doc/wms-server-howto.htm ) : Note: wms_extent MUST be provided for raster layers in the current version since MapServer probing rasters for their extents is on the TODO list! I wonder if Mapserver has to reprocess the PNG to create a PDF output, and in so doing loses the EXTENTS for your output. Jeff Hamm GIS & Planning Advisor Yukon Land Use Planning Council Whitehorse, Yukon From Jean-Francois.Doyon@CCRS.NRCan.gc.ca Thu Oct 2 22:47:56 2003 From: Jean-Francois.Doyon@CCRS.NRCan.gc.ca (Jean-Francois.Doyon@CCRS.NRCan.gc.ca) Date: Thu, 2 Oct 2003 17:47:56 -0400 Subject: [Mapserver-users] Building GDAL with Xerces on Redhat 9 Message-ID: <7CDD7B94357FD5119E800002A537C46E230A16@s5-ccr-r1.ccrs.nrcan.gc.ca> Yeah, I've run into this as well. This is a dependency of GDAL though, not mapserver. The MapServer UNIX compile HOW-TO does list minimum library version requirements for the libraries it cares about directly. I'm not going to start going down further than that into the dependcy tree however! J.F. -----Original Message----- From: Doug Cates [mailto:doug@moximedia.com] Sent: Thursday, October 02, 2003 3:55 PM To: mapserver-users@lists.gis.umn.edu Subject: [Mapserver-users] Building GDAL with Xerces on Redhat 9 Hi, I'm trying to build a development version of MapServer 4.1 with WFS SERVER support so I can test using complex filters. I'd use a Windows binary if one was available, but since it isn't, I'm trying to put it on a RH9 box here, the only Linux box that I have available. I can't seem to get GDAL to build with Xerces-C. I noticed a thread earlier this year about this that seemed to indicate that GDAL 1.1.8 must be used with Xerces-C 1.6.0. Is that the only valid combination allowed, or has GDAL been updated to support newer versions of Xerces? An idea: The installation docs should have a version matrix, specifying the exact versions of all the supporting libraries that should be used when building a specific version of MapServer. Does anyone have any tips on installing this? Would anytone be willing to look at my installation logs to see if anything jumps out at them? Regards, Doug -- Doug Cates Moxi Media Inc. 757 - 1641 Lonsdale Avenue North Vancouver, BC, Canada V7M 2J5 Phone: 604-984-8109 Fax: 604-608-4764 E-mail: doug@moximedia.com Web: www.moximedia.com _______________________________________________ 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 Thu Oct 2 23:21:35 2003 From: steve.lime@dnr.state.mn.us (Steve Lime) Date: Thu, 02 Oct 2003 17:21:35 -0500 Subject: [Mapserver-users] State & National Park Boundary Data Message-ID: I sincerely doubt you'll find a single source for state park boundaries. Minnesota's are available at deli.dnr.state.mn.us. Steve >>> Dan Barron 10/1/2003 7:41:35 PM >>> Hi, Can anyone point me to a source for state and national park boundary data in shp format? Thanks, Dan _______________________________________________ Mapserver-users mailing list Mapserver-users@lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From maskellp@ntlworld.com Thu Oct 2 23:44:43 2003 From: maskellp@ntlworld.com (Phil Maskell) Date: Thu, 2 Oct 2003 23:44:43 +0100 Subject: [Mapserver-users] Using OGR with tab files Message-ID: <000701c38936$c5f71710$2002a8c0@mobile> Hi, I have set MapServer 4.0 up with the demo, I have used OGR to load a POLYGON type layer from a tab, but cannot get it to work with LINE or POINT. This is a sample of the layer in my map file: # This works LAYER NAME Counties_region TYPE POLYGON STATUS DEFAULT CONNECTIONTYPE OGR CONNECTION "data/Counties.TAB" STYLEITEM "AUTO" CLASS NAME "Counties" END PROJECTION "AUTO" END END # Layer # This doesn't work LAYER NAME Motorways TYPE LINE STATUS DEFAULT CONNECTIONTYPE OGR CONNECTION "data/Motorways.TAB" STYLEITEM "AUTO" CLASS NAME "Motorways" END PROJECTION "AUTO" END END # Layer I hope someone can explain what I'm doing wrong. Thanks in advance Phil Maskell --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.521 / Virus Database: 319 - Release Date: 23/09/2003 From doug@moximedia.com Fri Oct 3 02:12:24 2003 From: doug@moximedia.com (Doug Cates) Date: 02 Oct 2003 18:12:24 -0700 Subject: [Mapserver-users] Re: Building GDAL with Xerces on Redhat 9 In-Reply-To: <1065124507.28157.21.camel@moxi-rh9> References: <1065124507.28157.21.camel@moxi-rh9> Message-ID: <1065143543.15396.39.camel@moxi-rh9> Hi, Thanks to assistance from Armin Burger, I've successfully got the WFS SERVER going on RH9 using xerces 1.7.0 and gdal 1.1.9, configuring gdal with the following options: --with-xerces --with-xerces-lib="-L/usr/local/lib -lxerces-c1_7_0 -lpthread" Great user support around here. Thanks. Doug On Thu, 2003-10-02 at 12:55, Doug Cates wrote: > Hi, > > I'm trying to build a development version of MapServer 4.1 with WFS > SERVER support so I can test using complex filters. I'd use a Windows > binary if one was available, but since it isn't, I'm trying to put it on > a RH9 box here, the only Linux box that I have available. > > I can't seem to get GDAL to build with Xerces-C. I noticed a thread > earlier this year about this that seemed to indicate that GDAL 1.1.8 > must be used with Xerces-C 1.6.0. Is that the only valid combination > allowed, or has GDAL been updated to support newer versions of Xerces? > > An idea: The installation docs should have a version matrix, specifying > the exact versions of all the supporting libraries that should be used > when building a specific version of MapServer. > > Does anyone have any tips on installing this? Would anytone be willing > to look at my installation logs to see if anything jumps out at them? > > Regards, > Doug From maskellp@ntlworld.com Fri Oct 3 04:21:59 2003 From: maskellp@ntlworld.com (Phil Maskell) Date: Fri, 3 Oct 2003 04:21:59 +0100 Subject: [Mapserver-users] Using OGR with tab files In-Reply-To: Message-ID: <003a01c3895d$81c856e0$2002a8c0@mobile> Thanks for this, I tried it, still no joy. Being new to MapServer, do you think this has anything to do with my projection settings? The tabs are using "British National Grid". I use the following: PROJECTION "init=epsg:27700" END Phil -----Original Message----- From: Matthew Haines [mailto:mhaines94108@hotmail.com] Sent: 03 October 2003 03:30 To: maskellp@ntlworld.com Subject: Re: [Mapserver-users] Using OGR with tab files I have the line "FORCE TRUE" in my LAYER declaration for a POINT type layer. Matthew ----Original Message Follows---- From: "Phil Maskell" To: Subject: [Mapserver-users] Using OGR with tab files Date: Thu, 2 Oct 2003 23:44:43 +0100 Hi, I have set MapServer 4.0 up with the demo, I have used OGR to load a POLYGON type layer from a tab, but cannot get it to work with LINE or POINT. This is a sample of the layer in my map file: # This works LAYER NAME Counties_region TYPE POLYGON STATUS DEFAULT CONNECTIONTYPE OGR CONNECTION "data/Counties.TAB" STYLEITEM "AUTO" CLASS NAME "Counties" END PROJECTION "AUTO" END END # Layer # This doesn't work LAYER NAME Motorways TYPE LINE STATUS DEFAULT CONNECTIONTYPE OGR CONNECTION "data/Motorways.TAB" STYLEITEM "AUTO" CLASS NAME "Motorways" END PROJECTION "AUTO" END END # Layer I hope someone can explain what I'm doing wrong. Thanks in advance Phil Maskell --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.521 / Virus Database: 319 - Release Date: 23/09/2003 _______________________________________________ Mapserver-users mailing list Mapserver-users@lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users _________________________________________________________________ Frustrated with dial-up? Get high-speed for as low as $29.95/month (depending on the local service providers in your area). https://broadband.msn.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.521 / Virus Database: 319 - Release Date: 23/09/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.521 / Virus Database: 319 - Release Date: 23/09/2003 From maskellp@ntlworld.com Fri Oct 3 04:30:16 2003 From: maskellp@ntlworld.com (Phil Maskell) Date: Fri, 3 Oct 2003 04:30:16 +0100 Subject: [Mapserver-users] Does MapServer support "OpenGIS Simple Features For SQL" Message-ID: <003b01c3895e$aa148af0$2002a8c0@mobile> Hi, Being new to MapServer I have read a bit about OGR Simple Features Library supporting multiple Vector format, does MapServer support getting Simple Features from an SQL database like MySQL? Thanks in advance. Phil Maskell --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.521 / Virus Database: 319 - Release Date: 23/09/2003 From eduardo_islas@hotmail.com Fri Oct 3 04:46:53 2003 From: eduardo_islas@hotmail.com (Eduardo Islas) Date: Thu, 02 Oct 2003 22:46:53 -0500 Subject: [Mapserver-users] mode=map & FILTER Message-ID:
I have programmed my own application that works importing images to flash and VB applications using the CGI executable in mode=map. I want to use a label layer but filtering and showing only some labels. If I use FILTER & FILTERITEM in the mapfile I get no labels at all (never). I read that in order to use FILTER I need to specify other mode in the CGI Script but I want to keep the mode=map to get the image directly. This is my script:
 
LAYER
  MAXSCALE 150
  NAME "texto"
  DATA texto
  STATUS DEFAULT
  TYPE POINT
  LABELITEM "Label"
  LABELANGLEITEM "Angle"
  FILTERITEM "Hierarchy"
  FILTER "Hierarchy >0"
  CLASS
    SIZE 6
    COLOR 0 0 0
  LABEL
    TYPE TRUETYPE
    FONT "TAHOMA"
    ANTIALIAS TRUE
    OUTLINECOLOR 255 255 255
    COLOR 0 0 0
    POSITION UR
    MINSIZE 6
    FORCE true
  END
  END # end of class object
END # end of layer object


MSN 8 with e-mail virus protection service: 2 months FREE* From pramsey@refractions.net Fri Oct 3 05:57:56 2003 From: pramsey@refractions.net (Paul Ramsey) Date: Thu, 02 Oct 2003 21:57:56 -0700 Subject: [Mapserver-users] Does MapServer support "OpenGIS Simple Features For SQL" In-Reply-To: <003b01c3895e$aa148af0$2002a8c0@mobile> References: <003b01c3895e$aa148af0$2002a8c0@mobile> Message-ID: <200310022157.56862.pramsey@refractions.net> Sure. You can pull SFSQL features from PostGIS (postgis.refractions.net) and OracleSpatial. You can also pull pseudo geometric data from MySQL 3.6 using BLOBs to store your data. PostGIS and Oracle both have spatial indexes, so they can scale to very large data sets. The 3.6 MySQL hack does not. P. On Thursday 02 October 2003 20:30, Phil Maskell wrote: > > Being new to MapServer I have read a bit about OGR Simple Features > Library supporting multiple Vector format, does MapServer support > getting Simple Features from an SQL database like MySQL? From marc.jacquin@geosys-inc.com Fri Oct 3 09:28:54 2003 From: marc.jacquin@geosys-inc.com (Marc Jacquin) Date: Fri, 3 Oct 2003 10:28:54 +0200 Subject: [Mapserver-users] Just for fun In-Reply-To: <200310022157.56862.pramsey@refractions.net> Message-ID: http://www.googlefight.com/cgi-bin/compare.pl?q1=Mapserver&q2=ArcIMS&B1=Make +a+fight%21&compare=1&langue=us Marc From plists@prometheus.org.yu Fri Oct 3 10:17:51 2003 From: plists@prometheus.org.yu (Attila Csipa) Date: Fri, 3 Oct 2003 11:17:51 +0200 Subject: [Mapserver-users] Does MapServer support "OpenGIS Simple Features For SQL" In-Reply-To: <003b01c3895e$aa148af0$2002a8c0@mobile> References: <003b01c3895e$aa148af0$2002a8c0@mobile> Message-ID: <200310031117.51875.plists@prometheus.org.yu> On Friday 03 October 2003 05:30, Phil Maskell wrote: > Being new to MapServer I have read a bit about OGR Simple Features > Library supporting multiple Vector format, does MapServer support > getting Simple Features from an SQL database like MySQL? Yes, you might want to visit the Wiki for details ( http:// mapserver.gis.umn.edu/cgi-bin/wiki.pl?MySQL ) From morissette@dmsolutions.ca Fri Oct 3 15:11:29 2003 From: morissette@dmsolutions.ca (Daniel Morissette) Date: Fri, 03 Oct 2003 10:11:29 -0400 Subject: [Mapserver-users] Re: [Fwd: Fwd: PHPMapscript] In-Reply-To: <3F7D73D4.9000008@dmsolutions.ca> References: <3F7D73D4.9000008@dmsolutions.ca> Message-ID: <3F7D8391.90708@dmsolutions.ca> (I've CC'd this to the mapserver-users list since this question comes up often there.) Hi Steve, This is a known issue which has been in PHP for a while. If you configure PHP as a CGI as the documentation says then it shouldn't affect you. (This happens only if your PHP is configured as an Apache module which is not supported for MapScript version 4.0 anyway) We also have our own bug on this: http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=252 As you can see when you read the bug, the problem is not directly related to MapScript even though it affects it. Unfortunately the PHP guys probably won't recognize the issue until we show them the faulty code. I've been through that before with other PHP bugs and the only way to get the bug fixed has been to submit a patch, very frustrating! Of course sniper@php.net is right in his comment saying that the mapscript module was written for PHP3 and then ported to PHP4, but even if it was rewritten today using only PHP4 stuff the issue would remain since it is in PHP and not in MapScript. So where does that take you? We blame PHP and they blame us and you're stuck in the middle. Well for the time being you should configure your PHP as a CGI as suggested in http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?PHPMapScript and the issue will go away. Also, I've been working on removing that PHP CGI limitation for version 4.1 and one of the issues I need to resolve is this regex issue. I have a few ideas on how we can resolve this... just need time to work on this now. Best Regards, Daniel -- ------------------------------------------------------------ Daniel Morissette morissette@dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ > ------------------------------------------------------------------------ > > Subject: > PHPMapscript > From: > "Stephen Irven" > Date: > Thu, 02 Oct 2003 17:46:16 +0100 > To: > > > > Hi, > > I understand your organisation develops and maintains the PHPMapscript > utility, and just thought you should be aware of a bug/configuration > issue in the section which ships with mapserver 4.0. > > The current versions (certainly 4.3..3 or higher) of PHP won't allow > themselves to be configured with system regex when used with apache, and > PHPMapscript seems to require system regex to compile. This seems to > mean that it can't be used with any recent version of PHP/Apache > > See: http://bugs.php.net/bug.php?id=25704 > > I'll let you know if I find any good solutions to this > > Cheers, > steve > From burntmage@yahoo.com Fri Oct 3 19:19:30 2003 From: burntmage@yahoo.com (Michael Roach) Date: Fri, 3 Oct 2003 11:19:30 -0700 (PDT) Subject: [Mapserver-users] Using OGR with tab files In-Reply-To: <003a01c3895d$81c856e0$2002a8c0@mobile> Message-ID: <20031003181930.69399.qmail@web14812.mail.yahoo.com> --0-1062273278-1065205170=:65292 Content-Type: text/plain; charset=us-ascii This format works for me under MS4.0 when using TAB files. As far as projections go, giving no projection is better than the wrong one. But, I don't believe projection is your issue here. LAYER NAME interstate TYPE line PROJECTION "init=epsg:4269" #LONG/LAT NAD83 END #PROJECTION CONNECTIONTYPE OGR CONNECTION "/opt/mapdata/interstate.TAB" STATUS DEFAULT CLASS COLOR 0 0 0 END #CLASSEND #LAYER Phil Maskell wrote:Thanks for this, I tried it, still no joy. Being new to MapServer, do you think this has anything to do with my projection settings? The tabs are using "British National Grid". I use the following: PROJECTION "init=epsg:27700" END Phil -----Original Message----- From: Matthew Haines [mailto:mhaines94108@hotmail.com] Sent: 03 October 2003 03:30 To: maskellp@ntlworld.com Subject: Re: [Mapserver-users] Using OGR with tab files I have the line "FORCE TRUE" in my LAYER declaration for a POINT type layer. Matthew ----Original Message Follows---- From: "Phil Maskell" To: Subject: [Mapserver-users] Using OGR with tab files Date: Thu, 2 Oct 2003 23:44:43 +0100 Hi, I have set MapServer 4.0 up with the demo, I have used OGR to load a POLYGON type layer from a tab, but cannot get it to work with LINE or POINT. This is a sample of the layer in my map file: # This works LAYER NAME Counties_region TYPE POLYGON STATUS DEFAULT CONNECTIONTYPE OGR CONNECTION "data/Counties.TAB" STYLEITEM "AUTO" CLASS NAME "Counties" END PROJECTION "AUTO" END END # Layer # This doesn't work LAYER NAME Motorways TYPE LINE STATUS DEFAULT CONNECTIONTYPE OGR CONNECTION "data/Motorways.TAB" STYLEITEM "AUTO" CLASS NAME "Motorways" END PROJECTION "AUTO" END END # Layer I hope someone can explain what I'm doing wrong. Thanks in advance Phil Maskell --------------------------------- Do you Yahoo!? The New Yahoo! Shopping - with improved product search --0-1062273278-1065205170=:65292 Content-Type: text/html; charset=us-ascii
 This format works for me under MS4.0 when using TAB files. As far as projections go, giving no projection is better than the wrong one. But, I don't believe projection is your issue here.
LAYER
	NAME interstate 
	TYPE line 
        PROJECTION
	  "init=epsg:4269" #LONG/LAT NAD83
	END #PROJECTION
CONNECTIONTYPE OGR CONNECTION "/opt/mapdata/interstate.TAB" STATUS DEFAULT CLASS COLOR 0 0 0 END #CLASS END #LAYER


Phil Maskell <maskellp@ntlworld.com> wrote:
Thanks for this, I tried it, still no joy.

Being new to MapServer, do you think this has anything to do with my
projection settings? The tabs are using "British National Grid".

I use the following:

PROJECTION
"init=epsg:27700"
END

Phil

-----Original Message-----
From: Matthew Haines [mailto:mhaines94108@hotmail.com]
Sent: 03 October 2003 03:30
To: maskellp@ntlworld.com
Subject: Re: [Mapserver-users] Using OGR with tab files


I have the line "FORCE TRUE" in my LAYER declaration for a POINT type
layer.

Matthew

----Original Message Follows----
From: "Phil Maskell"
To:
Subject: [Mapserver-users] Using OGR with tab files
Date: Thu, 2 Oct 2003 23:44:43 +0100

Hi,

I have set MapServer 4.0 up with the demo, I have used OGR to load a
POLYGON type layer from a tab, but cannot get it to work with LINE or
POINT.

This is a sample of the layer in my map file:

# This works
LAYER
NAME Counties_region
TYPE POLYGON
STATUS DEFAULT
CONNECTIONTYPE OGR
CONNECTION "data/Counties.TAB"
STYLEITEM "AUTO"
CLASS
NAME "Counties"
END
PROJECTION
"AUTO"
END
END # Layer

# This doesn't work
LAYER
NAME Motorways
TYPE LINE
STATUS DEFAULT
CONNECTIONTYPE OGR
CONNECTION "data/Motorways.TAB"
STYLEITEM "AUTO"
CLASS
NAME "Motorways"
END
PROJECTION
"AUTO"
END
END # Layer

I hope someone can explain what I'm doing wrong.

Thanks in advance

Phil Maskell


Do you Yahoo!?
The New Yahoo! Shopping - with improved product search --0-1062273278-1065205170=:65292-- From kgeurts@gis.umn.edu Fri Oct 3 20:21:39 2003 From: kgeurts@gis.umn.edu (Kari Geurts) Date: Fri, 03 Oct 2003 14:21:39 CDT Subject: [Mapserver-users] Fwd: Using OGR with tab files Message-ID: <200310031921.h93JLdwG009199@dingo.software.umn.edu> Phil Maskell wrote: > Hi, > > I have set MapServer 4.0 up with the demo, I have used OGR to load a > POLYGON type layer from a tab, but cannot get it to work with LINE or > POINT. > > This is a sample of the layer in my map file: > > # This works > LAYER > NAME Counties_region > TYPE POLYGON > STATUS DEFAULT > CONNECTIONTYPE OGR > CONNECTION "data/Counties.TAB" > STYLEITEM "AUTO" > CLASS > NAME "Counties" > END > PROJECTION > "AUTO" > END > END # Layer > > # This doesn't work > LAY