[mapserver-users] mapfile for OpenStreetMap

2014-02-07 Thread Andrea Peri
Hi, there is some available mapfile able to render the OpenStreetMap datasets ? I found something but it is using the mapscript, and python. I not use the mapscript and like to found a mapfile only sample. -- - Andrea Peri . . . . . . . . . qwerty àèìòù - _

Re: [mapserver-users] mapfile for OpenStreetMap

2014-02-07 Thread TDS
Look at https://github.com/mapserver/basemaps for IMPOSM or Mapnik for osm2pgsql. MfG M. Martin mailto:t...@tds-net.de 1+1=10 You have a question? - 4

Re: [mapserver-users] mapfile for OpenStreetMap

2014-02-07 Thread Till Adams
Dear Andrea, there must be somewhere the files for the WMS shootout which are based on OSM and the structure delivered by imposm. To find soemwhere here: http://wiki.osgeo.org/wiki/Benchmarking_2011/ We've setup a osm wms which was originally based on these mapfiles but is different. So if y

Re: [mapserver-users] XML parsing error with extended Inspire WMS 1.1.1 capabilities

2014-02-07 Thread Yves Jacolin
FYI, Pierre Mauduit worked on this: https://github.com/mapserver/mapserver/pull/4861 Y. 2014-02-06 Yves Jacolin : > Hello, > > Thanks, we will try to do a pull request on this soon. > > Y. > > > 2014-01-31 Eichner, Andreas - SID-NLKM : > > >> > I get this error: Namespace prefix xsi for type on

Re: [mapserver-users] mapfile for OpenStreetMap

2014-02-07 Thread Jeff McKenna
Hi Till, That's great that those Benchmark mapfiles are so useful, I love that! Thanks for sharing this with everyone. And thanks to the MapServer team! Your old friend, -jeff -- Jeff McKenna MapServer Consulting and Training Services http://www.gatewaygeomatics.com/ On 2/7/2014, 4:48 AM,

Re: [mapserver-users] MapServer should not collapse geometries in same layer class

2014-02-07 Thread thomas bonfort
Gregor, It's not possible yet, but shouldn't be very difficult to add with a PROCESSING key to disable the behaviour. Definitely open an enhancement issue for this so we don't forget about it, and eventually contract a developper if you want to guarantee it's added to the coming version. regards,

Re: [mapserver-users] MapServer should not collapse geometries in same layer class

2014-02-07 Thread Rahkonen Jukka (Tike)
Hi, If the aim is to see objects end, isn't GEOMTRANSFORM END just perfect for that? http://www.mapserver.org/mapfile/style.html "end: produces the last point of the current feature geometry. When used with ANGLE AUTO, it can for instance be used to render arrowheads on line segments." -Jukka R

[mapserver-users] How to change output from selectOutputFormat('PNG32')?

2014-02-07 Thread Robert R. Raiz
Hello, Basically I would want to get a resulting png8 files because png32 produces a larger file (in KiB). Can someone clear this out for me? If I change PNG32 to PNG8 is returns the same thing (a png32). If I comment this line in the script I still get PNG32. Where does it get the image format

Re: [mapserver-users] mapfile for OpenStreetMap

2014-02-07 Thread thomas bonfort
> > That one looks good: > http://svn.osgeo.org/osgeo/foss4g/benchmarking/wms/2011/mapserver/osm-google.map That's actually generated from the github basemaps project. I would very strongly recommend basing any serious mapfile off the basemaps project rather than this generated one, as that one is,

Re: [mapserver-users] How to change output from selectOutputFormat('PNG32')?

2014-02-07 Thread Rahkonen Jukka (Tike)
Hi, Unfortunately I do not know your script. In a basic WMS usage the available formats are announced in GetCapabilities (hmm, seems to be version 5.6.5...) http://demo.mapserver.org/cgi-bin/wms?SERVICE=WMS&VERSION=1.3.0&REQUEST=Getcapabilities So if this is the default 8-bit png http://demo.map

Re: [mapserver-users] MapServer should not collapse geometries in same layer class

2014-02-07 Thread Gregor Karzelek
Hi, If the aim is to see objects end, isn't GEOMTRANSFORM END just perfect for that? In theory GEOMTRANSFORM „end“ seems perfect for this. But according to my tests the GEOMTRANSFORMED style is painted below the other styles. No matter on which position in the STYLE list of the CLASS I put it (

[mapserver-users] PostGIS Data Query vs Expression

2014-02-07 Thread Travis Kirstine
What is the best practice for using selecting data with a where clause in MapServer using PostGIS connection i.e. DATA "the_geom from (SELECT gid, the_geom FROM audience_table WHERE audience = 'Farmers') as foo using unique gid using SRID=4326" OR DATA "the_geom from audience_table using SRID=4

Re: [mapserver-users] PostGIS Data Query vs Expression

2014-02-07 Thread Lime, Steve D (MNIT)
Anything you can do in the data definition limits the number of features sent over the network, so that's preferable. Class expressions are generally used to sort features you want to draw differently. Steve From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.os

Re: [mapserver-users] PostGIS Data Query vs Expression

2014-02-07 Thread Travis Kirstine
thx On 7 February 2014 11:05, Lime, Steve D (MNIT) wrote: > Anything you can do in the data definition limits the number of features > sent over the network, so that's preferable. Class expressions are > generally used to sort features you want to draw differently. > > > > Steve > > > > *From:*

Re: [mapserver-users] MapServer should not collapse geometries in same layer class

2014-02-07 Thread Stephen Woodbridge
On 2/7/2014 10:48 AM, Gregor Karzelek wrote: Hi, If the aim is to see objects end, isn't GEOMTRANSFORM END just perfect for that? In theory GEOMTRANSFORM „end“ seems perfect for this. But according to my tests the GEOMTRANSFORMED style is painted below the other styles. No matter on which pos

Re: [mapserver-users] MapServer should not collapse geometries in same layer class

2014-02-07 Thread Gregor Karzelek
The STYLEs are rendered in the order they are encountered in the mapfile. So if you want it on top then make it the last style block. Have tried it. Has not worked with the GEOMTRANSFORMed STYLE. Can retry and send example on Tuesday when I'm back in the office. ___

Re: [mapserver-users] PostGIS Data Query vs Expression

2014-02-07 Thread Gregor Karzelek
Hi, Personally I would advice to use FILTER for that. FILTER is passed directly to the PostGIS DB as Part of the SQL WHERE and this way you can distinct more easily between "FROM" (DATA) and "WHERE" (FILTER). For example in combination with OSM one can re-use the DATA for different road catego

Re: [mapserver-users] MapServer should not collapse geometries in same layer class

2014-02-07 Thread Rahkonen Jukka (Tike)
Hi, I made a quick test. SYMBOL NAME "arrow-end" TYPE vector FILLED true POINTS 0 0.4 3 0.4 3 0 5 0.8 3 1.6 3 1.2 0 1.2 0 0.4 END # POINTS ANCHORPOINT 1 0.5 END # SYMBOL

Re: [mapserver-users] mapfile for OpenStreetMap

2014-02-07 Thread Jeff McKenna
Here is the working Benchmarking link: http://wiki.osgeo.org/wiki/Benchmarking_2011 (thanks Flavio) -jeff -- Jeff McKenna MapServer Consulting and Training Services http://www.gatewaygeomatics.com/ On 2/7/2014, 4:48 AM, Till Adams wrote: > Dear Andrea, > > there must be somewhere the f