Re: [mapserver-users] the lines one above other

2015-02-13 Thread Vladimir
Lars,  Thanx in any event for devoting your attention. Vladimir, I see, so you do not need the order of the LAYERS but the order of the FEATURES. I did not understand that correctly at first, sorry. In that case, I guess Andreas approach would be the one. Best Lars

Re: [mapserver-users] the lines one above other

2015-02-13 Thread Rahkonen Jukka (MML)
Hi, With OSM and Mapnik it is a two phase process. First osm2pgsql tries to generate sensible z-index values and then Mapnik makes “order by” queries to the database. The queries are here https://github.com/gravitystorm/openstreetmap-carto/blob/master/project.yaml and as an example (SELECT

Re: [mapserver-users] the lines one above other

2015-02-13 Thread Vladimir
Bobb Thanks you very much for detailed answer. I'll have to place the parts of lines in various layers. There is no other elegant decision as i understood, but I wonder how web-map-giants like GOOGLE or OSM get out of this scrape. Vladimir,   I’ve faked this in the past by drawing the same layer

Re: [mapserver-users] mapserv 7.0 and gif

2015-02-13 Thread Eichner, Andreas - SID
According to http://www.mapserver.org/MIGRATION_GUIDE.html#mapserver-6-4-to-7-0-migration: * GD graphics library support was removed (http://www.mapserver.org/development/rfc/ms-rfc-99.html) and had been optional since 6.2. * GIF output cannot be produced from MapServer although 8-bit PNG

Re: [mapserver-users] [EXTERNAL] Re: the lines one above other

2015-02-13 Thread Vladimir
Sorry, I have some correction, it is right illustrations: Result when order by asc: http://s28.postimg.org/lqs8nxw31/asc.jpg Result when order by desc: http://s12.postimg.org/xondilekt/desc.jpg ___ mapserver-users mailing list

Re: [mapserver-users] [EXTERNAL] Re: the lines one above other

2015-02-13 Thread Vladimir
I would draw your attention to the source of this discussion. http://osgeo-org.1560.x6.nabble.com/the-lines-one-above-other-td5187093.html It seems I found how to display multilevel junction of highway with ORDER BY in the case using a one layer. Adding order by id desc or order by id asc in

Re: [mapserver-users] mapserver 7 wfs_encoding

2015-02-13 Thread thomas bonfort
http://mapserver.org/development/rfc/ms-rfc-103.html -- thomas On 13 February 2015 at 10:17, steve.tout...@inspq.qc.ca wrote: Congratulations for the huge improve performance for WFS filtering with postgis and oracle... Mapserver 7 doesn't use wfs_encoding specified in the mapfile

Re: [mapserver-users] [EXTERNAL] Re: the lines one above other

2015-02-13 Thread Eichner, Andreas - SID
It seems I found how to display multilevel junction of highway with ORDER BY in the case using a one layer. Adding order by id desc or order by id asc in subquery $highwayLayer-set(data,geom from (select id, 'id = '||id as name, geom from my_table where ST_Intersects(geom, !BOX!) order by

Re: [mapserver-users] [EXTERNAL] Re: the lines one above other

2015-02-13 Thread thomas bonfort
You can do it in a single layer, provided that you have someway of determining via attributes that a given road segment isn't connected to other road segments below it (typically that would be something saying it's a bridge rather than a regular road). The behavior is undocumented and relies on

[mapserver-users] mapserver 7 wfs_encoding

2015-02-13 Thread Steve . Toutant
Congratulations for the huge improve performance for WFS filtering with postgis and oracle... Mapserver 7 doesn't use wfs_encoding specified in the mapfile anymore, I see anything in the changelog about that. Is there something change?___

Re: [mapserver-users] mapserv 7.0 and gif

2015-02-13 Thread thomas bonfort
Richard, Allowing for image/gif in requests and GIF outputformats is to allow existing mapfiles and requests to still be serviced without breaking, even though the returned format will be png. The gif dependency is there to allow loading of gif pixmap symbols, as was already the case. -- thomas

Re: [mapserver-users] mapserver 7 wfs_encoding

2015-02-13 Thread Steve . Toutant
oh! That means that if our database or datasource is encoded iso-8859-1, we need to set ENCODING iso-8859-1 in all our layers, there is no parameter at the MAP level right? And, Mapfiles themselves will be expected to be UTF8-encoded. Non UTF8-encoded mapfiles will need to be iconv?d to utf8.

Re: [mapserver-users] mapserver 7 wfs_encoding

2015-02-13 Thread thomas bonfort
Yes, that is correct. We need to update the migration guide to include this. On 13 February 2015 at 10:39, steve.tout...@inspq.qc.ca wrote: oh! That means that if our database or datasource is encoded iso-8859-1, we need to set ENCODING iso-8859-1 in all our layers, there is no parameter at

Re: [mapserver-users] the lines one above other

2015-02-13 Thread Vladimir
There is question about placing the parts of lines in various layers. I added the small part of line above the highway with linecap=butt for stops the line exactly at the end as described in http://mapserver.org/mapfile/symbology/construction.html#linecap. But butts of the line has some thin