Re: [mapserver-users] mapserver 6.0.1
Avin Mohanza avin_n...@yahoo.com wrote: and why does my debian wheezy alway install mapserver 6.0.1? Unfortunately there are no official debian or Ubuntu packages of newer version. However, there is an inofficial repository of mapserver 6.2.1 at http://git.linuxminded.nl/git/pkg-grass/mapserver A package build from this code works fine for me: git clone http://git.linuxminded.nl/git/pkg-grass/mapserver cd mapserver dpkg-buildpackage -b Regards Sven -- Das Internet ist kein rechtsfreier Raum, das Internet ist aber auch kein bürgerrechtsfreier Raum. (Wolfgang Wieland Bündnis 90/Die Grünen) /me is giggls@ircnet, http://sven.gegg.us/ on the Web ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] mapserver 6.0.1
i cant open those pages you give :( how do i solve this problem below? msDrawMap(): Image handling error. Failed to draw layer named 'arnsbergMS3'. msShapefileOpen(): Unable to access file. (/var/www/arnsbergMS/arnsberg-regbez-latest.osm?type=polygontag=namestyle=/usr/share/qgis/python/plugins/osm/styles/medium_scale.style) msShapefileOpen(): Unable to access file. (/var/www/arnsbergMS/arnsberg-regbez-latest.osm?type=polygontag=namestyle=/usr/share/qgis/python/plugins/osm/styles/medium_scale.style) i appreciate every help.. thank you -- View this message in context: http://osgeo-org.1560.x6.nabble.com/mapserver-6-0-1-tp5064640p5064648.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
Re: [mapserver-users] mapserver 6.0.1
what do i do next after i convert the osm file into shp? -- View this message in context: http://osgeo-org.1560.x6.nabble.com/mapserver-6-0-1-tp5064640p5064654.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
Re: [mapserver-users] mapserver 6.0.1
Hello, These are tutorials to use OSM with MapServer : * https://github.com/mapserver/mapserver/wiki/RenderingOsmData * http://trac.osgeo.org/mapserver/wiki/RenderingOsmData * http://trac.osgeo.org/mapserver/wiki/RenderingOsmDataUbuntu I hop it will help you Jonathan Beliën Le 8/07/2013 11:08, Yves Jacolin (Free) a écrit : Hello, I am not sure you can read osm file from mapserver. You should convert them into shapefle or better put the data into postgresql database. Regards, Y. Le lundi 8 juillet 2013 02:00:26 avin mohanza a écrit : i cant open those pages you give :( how do i solve this problem below? msDrawMap(): Image handling error. Failed to draw layer named 'arnsbergMS3'. msShapefileOpen(): Unable to access file. (/var/www/arnsbergMS/arnsberg-regbez-latest.osm?type=polygontag=namestyle= /usr/share/qgis/python/plugins/osm/styles/medium_scale.style) msShapefileOpen(): Unable to access file. (/var/www/arnsbergMS/arnsberg-regbez-latest.osm?type=polygontag=namestyle= /usr/share/qgis/python/plugins/osm/styles/medium_scale.style) i appreciate every help.. thank you -- View this message in context: http://osgeo-org.1560.x6.nabble.com/mapserver-6-0-1-tp5064640p5064648.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 mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] mapserver 6.0.1
Hello, Best things to do: * read http://www.mapserver.org/introduction.html * read http://www.mapserver.org/ogc/wms_server.html You should search document on WMS services to understand what it is used for. * you can install and read the mapserver workshop : https://github.com/mapserver/ms-ogc-workshop You will understand mapserver things (install, configuration and WMS services) and will know what to do (and more) with your shapefile. Y. Le lundi 8 juillet 2013 02:30:26 avin mohanza a écrit : what do i do next after i convert the osm file into shp? -- View this message in context: http://osgeo-org.1560.x6.nabble.com/mapserver-6-0-1-tp5064640p5064654.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] mapserver 6.0.1
thank you all i have converted the osm format into shp format. and luckily i can show my map in browser.. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/mapserver-6-0-1-tp5064640p5064683.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
Re: [mapserver-users] MapServer 6.0.1 ignoring WMS options?
David According to the WMS specs, BBOX parameters for getMap requests are comma-separated, you are using spaces only (url-encoded as %20). I would expect MS to return an exception instead of ignoring this. armin On 05/03/2012 21:20, David Miller wrote: Hi list! We have MapServer 6.0.1 installed on our Linux system (CentOS 5.7) and have encountered an issue where the WMS options (i.e. BBOX, HEIGHT, WIDTH) seem to be ignored for a GetMap request. I have checked options for and output from running the configure script for building the executable. The --with-proj and --with-wms options are specified (though one shouldn't need it if --with-proj is there correctly). Output from running the configure script indicates that the-DUSE_WMS_SVR compiler switch was on when compiling the mapwms.c code, which is where that becomes important. I examined that code and it's here that MapServer first uses the extents in the mapfile as defaults but then adjusts that based on the BBOX, HEIGHT, and WIDTH options in the GetMap request. Running -v on the resulting executable also indicates SUPPORTS=WMS_SERVER. The call to MapServer does produce an image but for the entire EXTENT of the data that's specified in the mapfile. Doesn't make any difference whether it's a raster or point layer. Example REQUEST: http://(our main site address)/cgi-bin/mapserv?REQUEST=GetMapSERVICE=WMSVERSION=1.1.1FORMAT=image%2FpngMODE=mapMAP=wxmap%2Fglmpvis.mapLAYERS=mosaicSRS=EPSG%3A3857TRANSPARENT=TRUESTYLES=BBOX=-13807095.590531%203308267.5857033%20-12241665.251469%204482340.341WIDTH=640HEIGHT=480 First part of the mapfile: MAP NAME testgrib IMAGETYPE PNG EXTENT -1400 300 -700 700 As you can see, the EXTENT in the mapfile are different than the BBOX values. When I put the BBOX values in the EXTENT area in the mapfile, the image lines up with the map background as it should. So for some reason, it appears that something isn't being set correctly to allow our MapServer to accept standard WMS options. Perhaps somehow, this value of USE_WMS_SVR in mapwms.c isn't getting set correctly? But, by all the output we've checked, it looks like MapServer gets built correctly and to enable it as a WMS server. Anyone else with a similar issue or somewhere else we should check for a problem? Thanks for any help! Dave M ___ 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] MapServer 6.0.1 ignoring WMS options?
David, You aren't making a WMS request. You are making a MapServer request. When making a map server request, you use mapext=minx+miny+maxx+maxymode=map With WMS, you'd request SERVICE=WMSREQUEST=GETMAPBBOX=minx,miny,maxx,maxy. Note there is no mode=map See http://mapserver.org/ogc/wms_server.html for details on a proper WMS request. Mike From: David Miller teknocrea...@gmail.commailto:teknocrea...@gmail.com Date: Mon, 5 Mar 2012 15:20:43 -0500 To: mapserver-users@lists.osgeo.orgmailto:mapserver-users@lists.osgeo.org Subject: [mapserver-users] MapServer 6.0.1 ignoring WMS options? Hi list! We have MapServer 6.0.1 installed on our Linux system (CentOS 5.7) and have encountered an issue where the WMS options (i.e. BBOX, HEIGHT, WIDTH) seem to be ignored for a GetMap request. I have checked options for and output from running the configure script for building the executable. The --with-proj and --with-wms options are specified (though one shouldn't need it if --with-proj is there correctly). Output from running the configure script indicates that the -DUSE_WMS_SVR compiler switch was on when compiling the mapwms.c code, which is where that becomes important. I examined that code and it's here that MapServer first uses the extents in the mapfile as defaults but then adjusts that based on the BBOX, HEIGHT, and WIDTH options in the GetMap request. Running -v on the resulting executable also indicates SUPPORTS=WMS_SERVER. The call to MapServer does produce an image but for the entire EXTENT of the data that's specified in the mapfile. Doesn't make any difference whether it's a raster or point layer. Example REQUEST: http://(our main site address)/cgi-bin/mapserv?REQUEST=GetMapSERVICE=WMSVERSION=1.1.1FORMAT=image%2FpngMODE=mapMAP=wxmap%2Fglmpvis.mapLAYERS=mosaicSRS=EPSG%3A3857TRANSPARENT=TRUESTYLES=BBOX=-13807095.590531%203308267.5857033%20-12241665.251469%204482340.341WIDTH=640HEIGHT=480 First part of the mapfile: MAP NAME testgrib IMAGETYPE PNG EXTENT -1400 300 -700 700 As you can see, the EXTENT in the mapfile are different than the BBOX values. When I put the BBOX values in the EXTENT area in the mapfile, the image lines up with the map background as it should. So for some reason, it appears that something isn't being set correctly to allow our MapServer to accept standard WMS options. Perhaps somehow, this value of USE_WMS_SVR in mapwms.c isn't getting set correctly? But, by all the output we've checked, it looks like MapServer gets built correctly and to enable it as a WMS server. Anyone else with a similar issue or somewhere else we should check for a problem? Thanks for any help! Dave M ___ mapserver-users mailing list mapserver-users@lists.osgeo.orgmailto: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] mapserver 6.0.1 and cairo SVG
Hi, Works as an url encoded format=image%2Fsvg%2Bxml from browser. I do not know if this is how it should be, though. -Jukka Rahkonen- Lähettäjä: mapserver-users-boun...@lists.osgeo.org [mapserver-users-boun...@lists.osgeo.org] käyttäjän Raivo Alla [snaper...@gmail.com] puolesta Lähetetty: 14. syyskuuta 2011 9:47 Vastaanottaja: mapserver-users@lists.osgeo.org Aihe: [mapserver-users] mapserver 6.0.1 and cairo SVG Hello! Friends, I have some issues with getting SVG output working here... I have latest MS4W install: MapServer version 6.0.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=KML SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=CAIRO SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE I don't see OUTPUT=SVG there, but I guess its normal, since this MS version has non-native (Cairo) SVG support. Well, but even if I have configured in my mapfile the outputformat like that: IMAGETYPE svg OUTPUTFORMAT NAME svg DRIVER CAIRO/SVG MIMETYPE image/svg+xml IMAGEMODE RGB EXTENSION svg END ...and get correct GetCapabilities request, where SVG format is listed as first, then I still cant see SVG format listed when using ArcMap as WMS-client (there are PNG24, JPEG and PNG8 listed though). Also when I send GetMap request (setting FORMAT=image/svg+xml) through browser, I get response: msWMSLoadGetMapParams(): Image handling error. Unsupported output format (image/svg xml). Where should I dig into? Thank you in advance, Raivo Alla, Estonia ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users