Re: [MapServer-users] mapserver.conf question
do you mean: /etc/apache2/apache2.conf Thanks On Tuesday, May 28, 2024 at 06:51:01 PM GMT+12, Richard Duivenvoorde wrote: I was in the same position :-) What I did on my laptop (running apache): In apache.conf you can set it by using: SetEnv MAPSERVER_CONFIG_FILE /opt/mapserver/mapserver.conf If you use Nginx though (which apparently lacks env variables) I used: https://gist.github.com/lhammond/f59d8db526101e9896d0c9bdd8f15139 https://mkliver.github.io/blog/mapserver-ubuntu-nginx But maybe others have better solutions... Regards, Richard Duivenvoorde On 5/28/24 02:52, Brent Wood via MapServer-users wrote: > Hi, > > I'm coming back to mapserver after many years away & have a question. > Probably more later... > > I'm setting things up & get the error message: > /msLoadConfig(): Unable to access file. See mapserver.org/mapfile/config.html > for more information. > / > / > / > I'm running on Linux Mint (Ubuntu) so the default location is presumably > /usr/local/etc/mapserver.conf > > I have copied/renamed the sample file here & given read access to www-data. > Still get the error message. > > The docs suggest using the MAPSERVER_CONFIG_FILE environment variable. > > I entered the following into the /etc/environment file, which I thought was > supposed to work (according to Dr Google), > MAPSERVER_CONFIG_FILE="/usr/local/etc/mapserver.conf" > > I still get the error, and if I open a new shell (as me), the variable is not > set, so that isn't working as I expected. > > > Can anyone suggest how/where the environment variable should be set for > mapserver to find the file? > (or any other way to get this working) > > I think it would be useful to include this info in the docs, as it is not > apparent to me, and perhaps others. > > > ___ > MapServer-users mailing list > MapServer-users@lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/mapserver-users ___ MapServer-users mailing list MapServer-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users
[MapServer-users] mapserver.conf question
Hi, I'm coming back to mapserver after many years away & have a question. Probably more later... I'm setting things up & get the error message: msLoadConfig(): Unable to access file. See mapserver.org/mapfile/config.html for more information. I'm running on Linux Mint (Ubuntu) so the default location is presumably /usr/local/etc/mapserver.conf I have copied/renamed the sample file here & given read access to www-data. Still get the error message. The docs suggest using the MAPSERVER_CONFIG_FILE environment variable. I entered the following into the /etc/environment file, which I thought was supposed to work (according to Dr Google), MAPSERVER_CONFIG_FILE="/usr/local/etc/mapserver.conf" I still get the error, and if I open a new shell (as me), the variable is not set, so that isn't working as I expected. Can anyone suggest how/where the environment variable should be set for mapserver to find the file? (or any other way to get this working) I think it would be useful to include this info in the docs, as it is not apparent to me, and perhaps others. ___ MapServer-users mailing list MapServer-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Help with failing Postgis query...
Thanks guys, I have solved this problem (but am working through another :-) The logged SQL with the error says: "... find_srid('','rdb.species_master','point'))"... and it can't find the srid. This is because my query gets the point from the maps.null_point table, not the rdb.species_master one, so there is no geometry_columns entry for the column in the rdb table. It seems mapserver uses the first table in the SQL from clause to find the SRID for the geometry column (even if that column in not in the first table), and my query had it as the second table listed... if I change the order of the tables in the from clause so the first one listed contains the geometry it seems to work... Not sure if this is a bug? I can't find it mentioned anywhere on Google... Cheers Brent Wood Programme leader: Environmental Information Delivery NIWA DDI: +64 (4) 3860529 [cid:imagec1f72c.PNG@56107fed.4c9e4abf]<http://www.niwa.co.nz> Brent Wood Principal Technician - GIS and Spatial Data Management Programme Leader - Environmental Information Delivery T +64-4-386-0529 National Institute of Water & Atmospheric Research Ltd (NIWA) 301 Evans Bay Parade, Greta Point, Wellington Connect with NIWA: niwa.co.nz<https://www.niwa.co.nz> Facebook<https://www.facebook.com/nzniwa> Twitter<https://twitter.com/niwa_nz> LinkedIn<https://www.linkedin.com/company/niwa> Instagram<https://www.instagram.com/niwa_science> To ensure compliance with legal requirements and to maintain cyber security standards, NIWA's IT systems are subject to ongoing monitoring, activity logging and auditing. This monitoring and auditing service may be provided by third parties. Such third parties can access information transmitted to, processed by and stored on NIWA's IT systems. From: mapserver-users on behalf of Lime, Steve D (MNIT) Sent: Wednesday, February 13, 2019 08:39 To: Stephen Woodbridge; mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] Help with failing Postgis query... Also, I'd turn on debugging. The PostGIS code is very good about writing meaningful debugging information to that log file. -Original Message- From: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Stephen Woodbridge Sent: Sunday, February 10, 2019 11:04 PM To: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] Help with failing Postgis query... Brent, Are you wrapping your query like: DATA "select * from (select ROW_NUMBER() OVER (order by code) as id, code, sci_name, com_name, lower(family_com)||' ('|| family_sci||')' as Family, point from rdb.species_master s, maps.null_point p where code in (select distinct species from trawl.t_catch) limit 10) as foo using unique id using srid=4326" where srid is appropriate for your data? -Steve W On 2/10/2019 7:51 PM, Brent Wood wrote: > > Hi, > > > I'm getting an error with an SQL in a mapfile. > > > The query works from from the command line: > > > select ROW_NUMBER() OVER (order by code) as id, code, sci_name, > com_name, lower(family_com)||' ('|| family_sci||')' as Family, point > from rdb.species_master s, maps.null_point p where code in (select > distinct species from trawl.t_catch) limit 10 ; > > > id,code,sci_name,com_name,family,locn > 1,AAT,Alainopasiphaea australis,Alainopasiphaea > australis,,010120E610 > > ... > > > When embedded in a mapfile & invoked from a browser or QGIS I get an > error: > > > WFS server error. ms_error->code not found > msPostGISLayerWhichShapes(): Query error. Error executing query. > > > > Any suggestions? > > > Brent Wood > > Programme leader: Environmental Information Delivery > NIWA > DDI: +64 (4) 3860529 > > > <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.niwa.co.nz&data=02%7C01%7Csteve.lime%40state.mn.us%7Ccd30802415dd452ec1eb08d68fde5c89%7Ceb14b04624c445198f26b89c2159828c%7C0%7C0%7C636854582543096664&sdata=muvSp2QB5z9I7aenwMwa%2F5DmbW5M7wXVD%2BabvBeIS8A%3D&reserved=0> > > > Brent Wood > Principal Technician - GIS and Spatial Data Management > Programme Leader - Environmental Information Delivery > T +64-4-386-0529 > > National Institute of Water & Atmospheric Research Ltd (NIWA) > 301 Evans Bay Parade, Greta Point, Wellington > Connect with NIWA: niwa.co.nz > <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.niwa.co.nz&data=02%7C01%7Csteve.lime%40state.mn.us%7Ccd30802415dd452ec1eb08d68fde5c89%7Ceb14b04624c445198f26b89c2159828c%7C0%7C0%7C636854582543096664&sdata=s2gvY68GZi7OqTFz7YYZonbbJCm
[mapserver-users] Help with failing Postgis query...
Hi, I'm getting an error with an SQL in a mapfile. The query works from from the command line: select ROW_NUMBER() OVER (order by code) as id, code, sci_name, com_name, lower(family_com)||' ('|| family_sci||')' as Family, point from rdb.species_master s, maps.null_point p where code in (select distinct species from trawl.t_catch) limit 10 ; id,code,sci_name,com_name,family,locn 1,AAT,Alainopasiphaea australis,Alainopasiphaea australis,,010120E610 ... When embedded in a mapfile & invoked from a browser or QGIS I get an error: WFS server error. ms_error->code not found msPostGISLayerWhichShapes(): Query error. Error executing query. Any suggestions? Brent Wood Programme leader: Environmental Information Delivery NIWA DDI: +64 (4) 3860529 [cid:image0b988e.PNG@bcbaef9b.478419bf]<http://www.niwa.co.nz> Brent Wood Principal Technician - GIS and Spatial Data Management Programme Leader - Environmental Information Delivery T +64-4-386-0529 National Institute of Water & Atmospheric Research Ltd (NIWA) 301 Evans Bay Parade, Greta Point, Wellington Connect with NIWA: niwa.co.nz<https://www.niwa.co.nz> Facebook<https://www.facebook.com/nzniwa> Twitter<https://twitter.com/niwa_nz> LinkedIn<https://www.linkedin.com/company/niwa> Instagram<https://www.instagram.com/niwa_science> To ensure compliance with legal requirements and to maintain cyber security standards, NIWA's IT systems are subject to ongoing monitoring, activity logging and auditing. This monitoring and auditing service may be provided by third parties. Such third parties can access information transmitted to, processed by and stored on NIWA's IT systems. ___ mapserver-users mailing list mapserver-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] problem serving postgis raster as WMS
Perfect!!! Solved, much appreciated!!! Brent Wood Programme leader: Environmental Information Delivery NIWA DDI: +64 (4) 3860529 Brent Wood Principal Technician - GIS and Spatial Data Management Programme Leader - Environmental Information Delivery +64-4-386-0529 | 301 Evans Bay Parade, Greta Point, Wellington | www.niwa.co.nz<http://www.niwa.co.nz> [NIWA]<http://www.niwa.co.nz> To ensure compliance with legal requirements and to maintain cyber security standards, NIWA's IT systems are subject to ongoing monitoring, activity logging and auditing. This monitoring and auditing service may be provided by third parties. Such third parties can access information transmitted to, processed by and stored on NIWA's IT systems. From: mapserver-users [mapserver-users-boun...@lists.osgeo.org] on behalf of Stephen Woodbridge [wood...@swoodbridge.com] Sent: Sunday, June 4, 2017 1:25 PM To: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] problem serving postgis raster as WMS Brent, Does this help: https://postgis.net/docs/RT_FAQ.html#idm27746 What version of gdal do you have installed. You might need the mode=2 argument on the DATA statement. -Steve W ___ mapserver-users mailing list mapserver-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] problem serving postgis raster as WMS
Hi, I'm looking to (eventually) manage several hundred raster layers in Postgis. I have prototyped a single layer using a worldclim file, and can open the Postgis raster table in QGIS (using db manager) and display it as expected with pseudocolour. It is a single band layer, with pixel values in the -36 to 30 range (avg temperatures). I have set up a mapfile to serve this as a WMS. I can connect to the service with QGIS, see the layer listed and add it to the canvas. The legend shows the three colours I have set as classes for the layer, but the layer does not appear on the canvas (or if it does it is invisible). The mapserver log suggests (to me anyway) that it is working OK. I have added a global land shapefile, also served as WMS to the same mapfile to give some context, which opens and displays OK as a WMS layer in QGIS. The mapfile, along with the mapserver log entry, are at https://pastebin.com/2jjGFYaW If anyone can help me sort out why I'm not seeing any data in QGIS from the Postgis raster WMS layer, I'd appreciate it! Thanks Brent Wood Programme leader: Environmental Information Delivery NIWA DDI: +64 (4) 3860529 Brent Wood Principal Technician - GIS and Spatial Data Management Programme Leader - Environmental Information Delivery +64-4-386-0529 | 301 Evans Bay Parade, Greta Point, Wellington | www.niwa.co.nz<http://www.niwa.co.nz> [NIWA]<http://www.niwa.co.nz> To ensure compliance with legal requirements and to maintain cyber security standards, NIWA's IT systems are subject to ongoing monitoring, activity logging and auditing. This monitoring and auditing service may be provided by third parties. Such third parties can access information transmitted to, processed by and stored on NIWA's IT systems. ___ mapserver-users mailing list mapserver-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] cascading WMS service problem: "cannot calculate extent"
Hi, I am working on a local OSM WMS service (provided by mapserver). I want to cascade this & use it within other servers/maps. And advice appreciated. I have set up a simple mapfile to do this, but keep getting a "cannot calculate extent" error that I cannot explain or resolve. I think the error is from my service, and not the one being cascaded. The underlying services (in different styles) can be viewed in a browser at: http://maps.nzoss.org.nz/?mode=browse&template=openlayers&layers=all&map=/opt/basemaps/osm-michelin.map and http://maps.nzoss.org.nz/?mode=browse&template=openlayers&layers=all&map=/opt/basemaps/osm-bing.map<http://150.242.41.10/?mode=browse&template=openlayers&layers=all&map=/opt/basemaps/osm-bing.map> and http://maps.nzoss.org.nz/?mode=browse&template=openlayers&layers=all&map=/opt/basemaps/osm-google.map And can be accessed directly at http://maps.nzoss.org.nz/cgi-bin/mapserv?map=/opt/basemaps/osm-google.map<http://150.242.41.10/cgi-bin/mapserv?map=/opt/basemaps/osm-google.map> The mapfile to cascade this is below, could someone please let me know why this fails? MAP NAME "osmnz2" EXTENT 12863671 -7350771 21885121 -1422127 UNITS meters SIZE 1000 1000 IMAGETYPE PNG24 PROJECTION "init=epsg:3857" END WEB IMAGEPATH "/ms4w/tmp/ms_tmp/" IMAGEURL "/ms_tmp/" METADATA "wms_enable_request" "*" "wms_title" "WMS testing" "wms_srs" "EPSG:3857" "ows_keywordlist""osm nz" "ows_fees" "none" "ows_accessconstraints" "none" "ows_contactorganization" "none" "ows_contactperson" "for this demo service:none" "ows_contactposition" "none" "ows_contactvoicetelephone" "none" "ows_contactfacsimiletelephone" "none" "ows_address" "none" "ows_city""none" "ows_country" "none" "ows_role""none" "ows_contactinstructions" "none" "ows_hoursofservice" "whenever" "ows_contactelectronicmailaddress" "none" END END LAYER NAME"osmnz" EXTENT 12863671 -7350771 21885121 -1422127 PROJECTION "init=epsg:3857" END # end of object "projection" TYPERASTER CONNECTION "http://150.242.41.10/cgi-bin/mapserv?map=/opt/basemaps/osm-google.map"; CONNECTIONTYPE WMS STATUS ON DUMPFALSE METADATA "wms_name" "osmnz" "wms_format""image/jpeg" "wms_server_version""1.0.0" "wms_title" "osm_nz" "wms_srs" "epsg:3857" "wms_extent""12863671 -7350771 21885121 -1422127" "wms_abstract" "NZ Open Streetmap service" "wms_version" "1.1.1" "queryable" "false" END # end of metadata object END # end of layer "osm_nz" END # map Brent Wood Brent Wood Principal Technician - GIS and Spatial Data Management Programme Leader - Environmental Information Delivery +64-4-386-0529 | 301 Evans Bay Parade, Greta Point, Wellington | www.niwa.co.nz<http://www.niwa.co.nz> [NIWA]<http://www.niwa.co.nz> To ensure compliance with legal requirements and to maintain cyber security standards, NIWA's IT systems are subject to ongoing monitoring, activity logging and auditing. This monitoring and auditing service may be provided by third parties. Such third parties can access information transmitted to, processed by and stored on NIWA's IT systems. ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Adding a logo & attribution
Hi, What is the recommended way to add a logo & text attribution clause in the bottom right corner of a mapserver WMS service? Thanks Brent Wood Programme leader: Environmental Information Delivery NIWA DDI: +64 (4) 3860529 Brent Wood Principal Technician - GIS and Spatial Data Management Programme Leader - Environmental Information Delivery +64-4-386-0529 | 301 Evans Bay Parade, Greta Point, Wellington | www.niwa.co.nz<http://www.niwa.co.nz> [NIWA]<http://www.niwa.co.nz> To ensure compliance with legal requirements and to maintain cyber security standards, NIWA's IT systems are subject to ongoing monitoring, activity logging and auditing. This monitoring and auditing service may be provided by third parties. Such third parties can access information transmitted to, processed by and stored on NIWA's IT systems. ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Fw: Help setting up a OSM WMS service with Mapserver: attribution text and 180 issues
Hi, Resent due to formatting issues - apologies! I'm organising the setting up of a public WMS service for OSM data around New Zealand. This system is working, in a basic way, but there are some specific questions I have: 1. What is the recommended way to have mapserver display a logo & OSM attribution on the map. 2. how can I best address the issue where features E of the 190 line are not displayed E of the 180 line - ie: as +-180 rather than 0-360. The system is a fully automated build - on Github at https://github.com/kinow/nz-osm-server At present, we envisage performance as WMS is adequate for the anticipated load, and given we want to support multiple styles & projections - the space required for pre-rendered tiles is prohibitive. We are supporting a few different map styles. You can open it as a standalone map tool in a browser with each of the styles (michelin, bing & google) here: http://maps.nzoss.org.nz/?mode=browse&template=openlayers&layers=all&map=/opt/basemaps/osm-michelin.map and http://maps.nzoss.org.nz/?mode=browse&template=openlayers&layers=all&map=/opt/basemaps/osm-bing.map and http://maps.nzoss.org.nz/?mode=browse&template=openlayers&layers=all&map=/opt/basemaps/osm-google.map Thanks, Brent Wood ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] OSM via mapserver setup help?
Thanks Luke, I understand the mapserver URL formatting well enough, my problem is not understanding where I put the mapfiles within the Ubuntu Apache folder structures so the mapserver cgi program can find & read them. Cheers, Brent From: Luke To: Brent Wood Cc: "mapserver-users@lists.osgeo.org" Sent: Sunday, July 5, 2015 8:57 PM Subject: Re: [mapserver-users] OSM via mapserver setup help? Hi Brett Have you read this http://mapserver.org/ogc/wms_server.html? WMS mapfile is set in the WMS url i.e. http://my.host.com/cgi-bin/mapserv?map=mywms.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetCapabilities Luke Bassett Melbourne Australia ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] OSM via mapserver setup help?
Hi, I'm looking to create a WMS & WM(T)S server for OSM data in New Zealand, on Mint 17 (Ubuntu 14.04 Trusty LTS) I have followed the instructions here:https://github.com/mapserver/mapserver/wiki/Rendering-OSM-data-on-Ubuntu-12.04 Which as about as up to date as any mapserver/imposm instructions I have found. I have sorted out a few issues, but it is not yet working - probably due to my ignorance of things apache. As far as I can tell, the instructions do NOT describe how to get a WMS working with the mapfiles, only how to get a TMS working with the cache (which does not work for me either - & instructions like "check the apache logs" don't help me much - being well ahead of my apache knowledge. I have got mapserver working as a cgi OK - with the usual error message to say it is working from the browser, "No query information to decode. QUERY_STRING is set, but empty." My problem seems to be getting the paths/url set so mapserver can find the osmbase.map, etc to access the osm data in the database. Any advice appreciated. Brent Wood ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Live DVD advice
Hi, I'm looking to build a LiveDVD/USB key with QGIS, OSM base layer and web services for New Zealand. Our road & topo data is very up to date in OSM, and we have numerous government (central, regional & local) agencies and others providing data via OGC services, so I'm hoping the system will have embedded OSM, and pre-loaded OGC servers to connect to, as well as some QGIS plugins specific to New Zealand. The disk/key is intended for schools & demonstrations showing FOSS, FOSS GIS, Open Data and Open Standards, focused on NZ data. Some years ago I built a laptop system demo'ed at several local schools which worked OK, with mapserver serving OSM via WMS direct from Postgis. NZ is small enough that the data could be rendered dynamically from the vector data in a reasonably interactive system. I can't reasonably use Postgis on a read only filesystem, and all the later guides assume that tiles will be used. Does anyone have any advice as to how I might best do this? Thanks, Brent Wood ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] MapServer SOS setup questions
Mapservers SOS implementation is pretty minimal these days. You might look at 52N for their FOSS SOS server. You can either harvest you data into the internal db, or use Hibernate to build a middleware tool that can access your db directly. Brent Wood From: Carsen Banister To: mapserver-users@lists.osgeo.org Sent: Tuesday, November 25, 2014 2:50 PM Subject: [mapserver-users] MapServer SOS setup questions Hi, I would appreciate any help on some items associated with setting up MapServer SOS. I am quite new to MapServer, and am trying to get up to speed as quickly as possible. The reason for using MapServer’s SOS is that the database structure is custom and I’m not aware of any other SOS servers that support custom MySQL databases (if you can point me in a direction easier than MapServer, please do!). So, the questions I am hoping to get clarification on are: 1. How do you connect different layers together? e.g. layer and sublayer. What is the syntax for that in the mapfile? 2. Is there a way to dynamically generate layers (e.g. from database query result), or does the layer structure have to be hardcoded? 3. When you do a GetObservation, how do you set up MapServer so that that request pulls data from the database, e.g. OVF file configuration? Thanks in advance for any assistance. Best regards,Carsen ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Web Client
I recommend you use QGIS as a desktop client to test the WxS server setup, it is simple & robust, and helps get things working well server side before you start on the web client. Alternatives include uDIG and gvSIG. To build the web client, try Openlayers or Leaflet. For PHP you can use the Mapscript that comes with Mapserver. Welcome to the QGIS project!OpenLayers: Home Leaflet — an open-source JavaScript library for interactive maps PHP MapScript — MapServer 6.4.1 documentation HTH, Brent Wood From: Ceyhun Ganioglu To: mapserver-users@lists.osgeo.org Sent: Tuesday, August 12, 2014 10:37 PM Subject: [mapserver-users] Web Client Hi, First of all I would like to say "Hello" to everybody as I am a newbie of both MapServer and the mailing list. I need some suggestions about the web based client to send WMS and WFS requests to Map Server to display map and database records. I had a look at the internet and found some projects. But it takes unbelievable long time to read all documentations to see if it provides a few things I need. The basic functions I need are: - Possible to list layers - Solid zoom in/out functions - Design/icons and display functions customizable - Preferably written in PHP (not a must) I won't say no if there's one provides more functions :) So I wanted to ask which clients are good enough just like a daily chat with friends :) I hope I am not breaking any rules of the group at the first day. Any suggestions? Many thanks in advance Ceyhun ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Layer with over 6000 shapefiles
This is less a mapserver issue than a data management issue - and shapefiles are not a particularly good way to manage data. I suggest you look at a spatially enabled database, with attribute & spatial indexes, such as Postgis, instead of shapefiles as a data source. These are pretty much designed for such use cases. That said, if you cannot use a spatial database in this case, you can do things with mapserver to improve things - like have multiple layers (though 6000 seems a bit excessive) in a single group - so addressable as a single layer but each with its own shapefile spatial index file. Brent Wood From: "EVANS, JAMES R GS-13 USAF ACC 84 RADES/SCZE" To: "mapserver-users@lists.osgeo.org" Sent: Thursday, January 30, 2014 5:32 AM Subject: [mapserver-users] Layer with over 6000 shapefiles Hi, Is there a way to add a layer that points to 6000 some odd shapefiles? I've created a set of contour files for the whole world, and when I had the info in a single shapefile it was about 260GBs. Mapserver would serve it up, but performance was horrible. I now have the set broken up into about 6000 separate shapefiles, but don't know how to address that in a single layer. I tried using gdaltindex, to create a single index file that points to all the other shapefiles, but I get an error saying the shapefiles are an unsupported type. Is there some other way to create an index that Mapserver can use to point to this many shapefiles? Thanks, James ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] cannot change coordinate system when using MapCache to
So what SRS's are advertised in the MapCache capabilities document? Is the URL for that publicly available? From: Mark Volz To: "mapserver-users@lists.osgeo.org" Sent: Tuesday, December 31, 2013 9:14 AM Subject: [mapserver-users] cannot change coordinate system when using MapCache to Brent and Bobb. I am using EPSG 103749, which is ESRI's custom version for our county coordinates. I added those coordinates into MapServer and MapCache. MapCache advertises the county coordinates, UTM 15, Google, and apparently GCS_WGS_1984. -I tried using UTM 15 which is a more common projection. That did not work. -I should also mention that I can connect directly from an ArcGIS client to MapServer using county coordinates. The only coordinate system that MapServer advertises is in our county coordinates. Thanks Mark Volz, GISP GIS Specialist > > Hi Mark, > > Is your WMS service advertising "county coordinates" as a supported CRS? > > > If the WMS default CRS is WGS and no other is advertised then (in my limited > experience) Arc will only request content in an advertised CRS - so your > default of WGS is the only one it will request. > > Brent Wood > > > > > > Hello, > > For some reason ArcGIS will only consume my MapCache WMS service in > GCS_WGS_1984.? This causes the air photos to be reprojected once on the > server (County Coordinates-->WGS) and again on the ArcGIS client ( WGS --> > County Coordinates).? I would to avoid reprojecting my air photos.? > Unfortunately, nothing happens when I open "Change Coordinate System" > in ArcMap then select County Coordinates.? Is this an ArcGIS issue, or is > there a problem with MapCache?? > > Thanks > > Mark Volz, GISP > GIS Specialist > ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] cannot change coordinate system when using MapCache to serve to ArcGIS clients
Hi Mark, Is your WMS service advertising "county coordinates" as a supported CRS? If the WMS default CRS is WGS and no other is advertised then (in my limited experience) Arc will only request content in an advertised CRS - so your default of WGS is the only one it will request. Brent Wood From: Mark Volz To: "mapserver-users@lists.osgeo.org" Sent: Tuesday, December 31, 2013 8:20 AM Subject: [mapserver-users] cannot change coordinate system when using MapCache to serve to ArcGIS clients Hello, For some reason ArcGIS will only consume my MapCache WMS service in GCS_WGS_1984. This causes the air photos to be reprojected once on the server (County Coordinates-->WGS) and again on the ArcGIS client ( WGS --> County Coordinates). I would to avoid reprojecting my air photos. Unfortunately, nothing happens when I open "Change Coordinate System" in ArcMap then select County Coordinates. Is this an ArcGIS issue, or is there a problem with MapCache? Thanks Mark Volz, GISP GIS Specialist ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Intersect and Union with mapserver
I'm not sure if the unioning desired is dynamic & user driven or not. Robert's WPS solution will work if such a dynamic union is required - carried out at runtime as requested by the user and driven by user supplied parameters. Another possibility, which mapserver is quite capable of serving, can be achieved using Postgis - a data management tool rather than simple shapefiles. Load each shapefile into a Postgis database and use the database for the required data processing. As a relational database, the Postgis "layer" served as WMS or WMS can be the result of a query which unions the two layers - also at runtime - but as directed by the server (actually the SQL statement in mapserver that defines the layer being served). This approach abstracts (separates) the delivery of the spatial data by mapserver from the underlying data manipulation (UNIONING) in Postgis. For example, the data layer served by mapserver is defined by a Postgis SQL on two tables (shapefiles) a & b - (a) being properties &(b) waterfalls: "select distinct a.id, a.name, a.owner as owner_name, b.name as waterfall_name, ST_Union(a.geom, b.geom) as geomunion where ST_Intersects(a.geom, b.geom);" The output is the geometric union of each waterfall with the each property it interects spatially, along with attributes from both tables. This is admittedly simplistic, and probably needs some refinement to be robust in the real world, but hopefully it illustrates how this sort of union can perhaps be served by mapserver without a WPS. Also, note that the SQL can be modified on the fly, using either OGC filter encoding or mapserver variable substitution, to accept an additional where clause so that the user can select a waterfall name or property owner name as a filter, & just return the matching records, which also provides some of the user control of parameters that a more sophisticated WPS can provide. Given the layer is defined by a join on two tables which is carried out at runtime - the result will always be current - so results may change between requests as the contents of the underlying tables change. Cheers Brent Wood From: Robert Sanson To: mapserver-users@lists.osgeo.org; saka royban Sent: Monday, December 30, 2013 9:44 AM Subject: Re: [mapserver-users] Intersect and Union with mapserver What you need is a Web Processing Service (WPS). The client app needs to allow the user to select the two layers to UNION or Intersect, then pass the request to the WPS which performs the task, and passes the resulting layer back to the client for display. I don't believe Mapserver can do this yet, although it could participate in the selection process and the display of the result. regards, Robert >>> saka royban 30/12/2013 6:21 a.m. >>> Thanks steve. Because i'm kind of ArcGIS-oriented guy, i should explain what i see there and loonking for that here. Supppose that 2 verctor layers as input, Union analysis produces another vector layer with attributes of both input layers while features of input layers are UNIONED. I hope i have explained well what i have in my mind. (and sorry for my english, as well). Regards -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Intersect-and-Union-with-mapserver-tp5095717p5095731.html Sent from the Mapserver - User mailing list archive at Nabble.com. ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users This email and any attachments are confidential and intended solely for the addressee(s). If you are not the intended recipient, please notify us immediately and then delete this email from your system. This message has been scanned for Malware and Viruses by Websense Hosted Security. www.websense.com ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] WMS Server and Custom ESPG code
The client will also need to know the projection parameters for the map to be displayed. A local call to shpimage should be able to generate the image to test that mapserver can draw the image in that projection, as an image, but to have it used with other data (layers) both client & server need to "know" the projection used. Brent Wood From: Brian Fischer To: "mapserver-users@lists.osgeo.org" Sent: Saturday, November 2, 2013 7:41 AM Subject: [mapserver-users] WMS Server and Custom ESPG code I am trying to use MapServer 6.2.1 as a WMS server with a custom projection and espg code, but I keep getting this error message. msWMSLoadGetMapParams(): WMS server error. Invalid SRS given : SRS must be valid for all requested layers. Is this supported? I have followed these steps. 1) Defined the custom projection with a new espg code in \ms4w\proj\nad\epsg 2) In the mapfile, I added the reference to the Proj (CONFIG "PROJ_LIB" "E:/ms4w/proj/nad") 3) Defined the new espg in the Web, Projection, Layer objects of the mapfile. 4) Verified the mapfile works using the shp2img utility Has anyone else go this to work? Thanks! Brian ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Factors Influencing Participant Satisfaction with Free/Libre and Open Source Software Projects
Apologies for the cross posting, but this thesis may be of interest to a wide array of FOSS related lists. It just went public: Title: Factors Influencing Participant Satisfaction with Free/Libre and Open Source Software Projects Author: Chawner, Brenda Abstract: The purpose of this research was to identify factors that affect participants’ satisfaction with their experience of a free/libre open source software (FLOSS) project. ... http://researcharchive.vuw.ac.nz/handle/10063/1710___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] WFS/WMS servers
--- On Tue, 10/14/08, Chip Taylor <[EMAIL PROTECTED]> wrote: > From: Chip Taylor <[EMAIL PROTECTED]> > Subject: [mapserver-users] WFS/WMS servers > To: mapserver-users@lists.osgeo.org, [EMAIL PROTECTED] > Date: Tuesday, October 14, 2008, 10:30 AM > Does anyone have a list or a resource for publically > available WFS and WMS > servers along with descriptions of available layers? > > Chip Taylor > > ___ > mapserver-users mailing list > mapserver-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [MAPSERVER-USERS] problem with GeomFromText - updating PostGis table
--- SUSANNE <[EMAIL PROTECTED]> wrote: Hi Susanne, Try having LINESTRING (upper case) instead of linestring. HTH, Brent Wood > > Hello to everyone, > > I have a mapserver/PostGreSQL/PostGis application where I am now able to > show PostGis layers. > > To insert lines I want to set following commands with php: > > $sql_i = "insert into zobject3 (the_geom) VALUES (GeomFromText('linestring > (-99232 261118,-98232 262118)',31282) ) "; > pg_query($sql_i); > > I get following error message: > Query failed: ERROR Invalid OGC WKT (does not start with P,L,M,C or G) > > Inserting a (non geomtric parameter) with following command works OK: > > $sql_i = "insert into zobject3 (name) VALUES ("test") > pg_query($sql_i); > > I would be very pleased if anyone can give me some usefull hint. > > Thanks a lot, > > Susanne Kalliany > > -- > View this message in context: > http://www.nabble.com/problem-with-GeomFromText---updating-PostGis-table-tp17053946p17053946.html > Sent from the Mapserver - User mailing list archive at Nabble.com. > > ___ > mapserver-users mailing list > mapserver-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Reg: 3D Mapping Capability for Mapserver
--- venkat <[EMAIL PROTECTED]> wrote: > Dear All, > > I am Venkat,I want to a stand alone application for 3D analysis.I am using > C#.net.is Mapserver having 3D mapping capability?or is there any other > open source software is available.Please let me know . I am waiting for your > great response.It is very urgent. Hi Venkat, Some open source options to look at: GMT (Generic Mapping Tools) can generate & plot surfaces in 3D very effectively, but is not strictly a 3D analysis tool. OpenDX is a very powerful multidimensional visualisation tool, but not really for analysis. R can do all sorts of multidimensional modelling/statistics. http://gmt.soest.hawaii.edu http://www.opendx.org http://www.r-project.org HTH, Brent Wood ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] PostGIS data in EPSG:31300 using for GoogleMaps overlay
--- Rahkonen Jukka <[EMAIL PROTECTED]> wrote: > Hi, > > In this: > DATA "new_geom from (select gid, transform(the_geom,4326) as new_geom > from > table) as mytable using unique gid using srid=4326" > > First, "(select gid ..." is selecting the unique column of your table. Change > "gid" to suit your table. > Then "using unique gid" is referring to what was selected in the inner query. > If the query is done in this way you must use the name of your unique column > instead of "gid" also here. > > Perhaps more clear would be to write > "(SELECT my_unique_column AS gid",... and > "using unique gid" > > I am not an experienced PostGIS user, let's hope this information is correct. Hi Jukka, Indeed it is. I used gid as a default geom id column, but could have been more explicit. > Brent, > > Maybe quite a basic question, but I'm not used to define my data > syntax as the one you propose. > Can you help me out with the declaration. > I'm quite confused what to fill in for gid > > Do I leave it like it is and just write gid or doi I have > or do I have to define my primary key column (f.i.: tbl_b_cabu_pkey). > > For both I get an error message, saying either column OID does not > exist or column tbl_b_cabu_pkey does not exist. > However there are both there... > > DATA "new_geom from (select gid, transform(the_geom,4326) as new_geom from > table) as mytable using unique gid using srid=4326" Try: DATA "new_geom from (select tbl_b_cabu_pkey, transform(the_geom,4326) as new_geom from table) as mytable using unique tbl_b_cabu_pkey using srid=4326" This is effectively the same as: DATA "new_geom from (select tbl_b_cabu_pkey as gid, transform(the_geom,4326) as new_geom from table) as mytable unique gid using srid=4326" Hopefully the two examples show how this works. Note that "mytable" is an arbitrary name, and you can call it anything you want to. Similarly, the "new_geom" is used as an alias in the SQL, so it becomes the name of the geometry collumn in the virtual table, so this is the name mapserver is given in the DATA statement. Again you can use whatever name you like, provided the same one is used in both places. If you need other columns for labels, or classes, etc., just add them to the SQL that generates "mytable". This facility does not just allow reprojection by PostGIS, which doesn't offer much really as mapserver can do the same thing, but allows the "mytable" to be the result of a complex join accross tables, etc, thus supporting the power of SQL & a relational database behind the mapping engine. > > Thanks for helping out ! You're welcome, Brent ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] PostGIS data in EPSG:31300 using for Google Maps overlay
--- Steven De Vriendt <[EMAIL PROTECTED]> wrote: > Hi list, > > I have some data in PostGIS I wish to overlay in Google Maps using WMS > I'm using the same data in a mapserver application, where EPSG code > 31300 is used. > Now for overlay in Google Maps, 4326 is required. > I have made a copy of my map-file and specified 4326 as projection > system.Yet, non of my data is showing up. > > Do I need to reproject my data for this use ? I thought PostGIS was > capable of doing reprojection on the fly ? Hi Steven, Both mapserver & POstGIS can reproject the data on the fly, but they need to be told the input & output projections. As your data is all displayed via mapserver, the instructions either way will be in your mapfile. To reproject using PostGIS, edit the SQL command in your data statement which retrieves the PostGIS data. You need to tell PostGIS to return a virtual table to mapserver, and transform the data to the required projection in this. Edit the data line in the layer something like this: DATA "new_geom from (select gid, transform(the_geom,4326) as new_geom from table) as mytable using unique gid using srid=4326" To reproject in mapserver, you need to set the main mapfile projection to EPSG:4326, using, in the global header part of the mapfile: UNITS DD PROJECTION "init=epsg:4326" END In the METADATA section, you'll need to set the output projection for WMS, eg: METADATA "wms_title" "My WMS Server" "wms_srs" "EPSG:4326" END Then in the layer definition, you specify the layer's native projection, so mapserver can reproject from one to the other: LAYER ... PROJECTION "init=epsg:31300" END ... END Note that to reproject in PostGIS, Proj.4 support must be compiled into PostGIS, and similarly for mapserver if you do the reprojection there. If you compiled these from source, this is not done by default, & you'll need to run configure with the appropriate flag. If you installed from a package, or on Windows, proj support is generally built in. HTH, Brent Wood ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [MAPSERVER-USERS] php database mapfile
--- nickthegreek- <[EMAIL PROTECTED]> wrote: You can use variables & classes as one way, I've done that with variables in a PostGIS SQL string. Your mapfile would have someyhing like: LAYER countries STATUS ON ... CLASS EXPRESSION country='%country%' ... You need to pass the value called country & set it to the value returned from your map query. As long as no country values are null in your data, nothing gets plotted in that class unless there is a match. If there is, this class gets added to the map, using whatever symbology you defined for that class. This enables similar functionality without mapscript. For info on using variables like this, see http://mapserver.gis.umn.edu/docs/reference/mapfile/variable_sub > > hello.. what i wanna know is.. i have in my application a box checked box > which say e,g rivers.. > > when someone ticks it.. then in the map apperas the rives..what i mean is > ..in php code.. the status in the rivers layer is converting in ON and > display..from the code below > > > if (preg_match("/cities/", $layers)){ > > $cities = "CHECKED"; > $this_layer = $map->getLayerByName('europe cities'); > $this_layer->set('status', MS_ON); > > > } > > else { > $cities = ""; > $this_layer = $map->getLayerByName('europe cities'); > $this_layer->set('status', MS_OFF); > } > > what i wanna know is..i have down drop list.. i do a click and i have manu > with all countries..if i made a select and i the menu a country ..how could > i change the data in the mafile? i mean > data "the_geom from table where name=greece" in a way like the above i wrote > ...?? > > > thanks > > -- > View this message in context: > http://www.nabble.com/php-database-mapfile-tp16519414p16519414.html > Sent from the Mapserver - User mailing list archive at Nabble.com. > > ___ > mapserver-users mailing list > mapserver-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Mapserver & PHP scripting
Hi, Quick question, I'd like to add some php functionality to a simple CGI mapserver application with an html template file. I'd much prefer not to rewrite it in mapscript, everything else works perfectly & the PHP I want to use is not for the mapping side of things, but to provide database driven pick lists & data extract tables etc. The mapserver CGI output recieved by a browser, & viewed with "view source", includes the PHP code in the html template, but it is not parsed as php. So my question is, is there a way to have the html output generated by CGI mapserver passed through php & properly invoked? Presumeably by apache prior to sending it on to the client. Thanks, Brent Wood ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Problem with polygons
Hi Kamen, If you are using UTM projected coordinate values, defining your layer SRID as WGS84 (EPSG:4326) in the map file doesn't seem correct. You might also try specifying your LayerSRS tag in the OVF file to keep this explicit. If this is the problem, then I'm not sure why your points data would work & polygons don't. Brent Wood > From: Kamen Rider <[EMAIL PROTECTED]> > Date: 26-mar-2008 9:51 > Subject: > To: mapserver-users@lists.osgeo.org > > Hello, > I need something specific: To draw polygons (parcels) over a SHP map, and > none of the examples I found on the web worked. > Also I have no problems displaying points and I'm using UTM coordinates. > > This is what I did: > > 1.- Compiled MS on Linux (CentOS) and Install. > MapServer version 5.0.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=WBMP OUTPUT=SVG > SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=SOS_SERVER > INPUT=EPPL7 INPUT=OGR INPUT=GDAL INPUT=MYGIS INPUT=SHAPEFILE > > 2.- Installed MySql. > > 3.- Created a table on MySql to store polygons. Here is the description. > This table is called "prueba" > +--+-+--+-+-+---+ > | Field| Type| Null | Key | Default | Extra | > +--+-+--+-+-+---+ > | NUM | int(11) | YES | | NULL| | > | ID | int(11) | YES | | NULL| | > | poligono | text| YES | | NULL| | > +--+-+--+-+-+---+ > This is what inserted on field poligono: > POLYGON((35 627,35 6275000,36 6275000,36 627,35 > 627)) > ** > 4.- Then created a OVF file, according to this example. (aqidata.ovf) > http://www.dottedeyes.com/web_mapping/blog/2008/02/06/how-to-display-polygons-from-non-spatial-databases/ > > This is my OVF file : > > > > > MYSQL:test,user=root,password=x,host=localhost,port=3306,tables=prueba > select NUM, ID, poligono from prueba > ID > wkbPolygon > > > > Using OGRINFO I Tested the connection, this is the result: > > INFO: Open of `/var/www/cgi-bin/tests/aqidata.ovf' > using driver `VRT' successful. > > Layer name: aqidata > Geometry: Polygon > Feature Count: 1 > Layer SRS WKT: > (unknown) > NUM: Integer (11.0) > ID: Integer (11.0) > poligono: Binary (0.0) > OGRFeature(aqidata):1 > NUM (Integer) = 1 > ID (Integer) = 1 > poligono (Binary) = > 504F4C59474F4E282833353030303020363237303030302C333530303030203632373530... > > > 5.- Then a created a MAP file: > > MAP > NAME "Testing" > EXTENT -13.12 6409691.13 525065 6511086 > #IMAGETYPE JPEG > #IMAGETYPE PNG24 > IMAGETYPE PNG > IMAGECOLOR 255 255 255 > STATUS ON > SIZE 400 400 > FONTSET "fonts.txt" > SYMBOLSET "symbols.txt" > > > WEB > METADATA > "key1" "value1" > "key2" "value2" > "key3" "value3" > "key4" "value4" > END > END > > > PROJECTION > "init=epsg:4326" > END > > LAYER > NAME "POLIGONO" > DEBUG ON > STATUS DEFAULT > TYPE POLYGON > PROJECTION > "init=epsg:4326" > END > CONNECTIONTYPE OGR > CONNECTION "aqidata.ovf" > DATA "aqidata" > CLASS >NAME "MyClass" >STYLE >COLOR 0 0 0 >OUTLINECOLOR 255 0 0 >SIZE 8 >END > END > END > END > > > It doesn't show anything, just a white rectangle. Not even an error. > But when I display just points it works fine (using "PointsFromColumns"). > > I hope you could help me. > > Thanks, > > Pablo Molina S. > > ___ > mapserver-users mailing list > mapserver-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] upload/stream data from GPS unit?
> On Mar 27, 2008, at 12:43 PM, Fawcett, David wrote: > My guess is that you will need some sort of device to log the data > from the GPS and then transmit it across a wireless network (pager, > SMS, cell phone). At your base station, you would have capture the > messages, parse them, and then probably stuff the data into a > database (PostGIS?). > > Your MapServer map file could then point to the spatial data layer > in PostGIS. Every hit to MapServer would show the latest data. This is exactly the approach I have taken in providing similar data showing vessel movements & track. It works well. Database views & queries provide a simple latest (ie, current) position as well as easily permitting automated building of objects like daily paths, etc, for long term warehousing of conveniently packaged path data. Cheers, Brent Wood ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
RE: [mapserver-users] Linux installation
> > > > Until now I was using mapserver only under Windows environments but now > > I need to change to a Linux platform. > > > > My knowledge about Linux is very limited, so I will need some help: > > > > > > > > Is there any distribution recommended in order to run mapserver over it?? > > > > Is there any tutorial or manual explaining how to install mapserver 5 > > w/postgis over Linux?? I suggest you look at these books: Web Mapping Illustrated: Using Open Source GIS Toolkits by Tyler Mitchell Beginning MapServer: Open Source GIS Development by Bill Kropla I have found them largely complimentary & very useful. Also, if you look at OpenSuse as your Linux distro, there is a repository which now includes mapserver, including java & php mapscript, as well as a pretty good selection of FOSS GIS tools. See:http://download.opensuse.org/repositories/Application:/Geo/ Cheers, Brent Wood ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users