[mapserver-users] the lines one above other

2015-02-12 Thread Vladimir
Hello All! The task is to show multilevel junction of highway. The lines should be at the same layer and has the same style, for example see orange lines on attached pic: [img]http://s14.postimg.org/yk40e0nq9/crossroad.jpg[/img] Is it possible to draw the lines one above other by an one layer?

[mapserver-users] MapServer 7.0 Beta1 Released

2015-02-12 Thread thomas bonfort
The MapServer team is pleased to announce the long overdue first beta release of MapServer 7.0. Please help us testing and let us know any findings. Details of the new features, migration instructions, and download links can be found on the dedicated announcement page at

[mapserver-users] mapserv 7.0 and gif

2015-02-12 Thread Richard Greenwood
Very exciting to see the 7.0 beta! So I built it and satisfied the gif dependency. I define a gif OUTPUTFORMAT definition in my map file, I request a map with map_imagetype=image/gif but I get a PNG. So is gif support truly gone in 7.0? And if so, it seems a little misleading to have a libgif

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

2015-02-12 Thread Smith, Michael ERDC-RDE-CRREL-NH
This is also not an issue in Oracle. M On 2/12/15, 8:55 AM, thomas bonfort thomas.bonf...@gmail.com wrote: Actually there is an issue opened for this, as the order by inside the subquery is not guaranteed to be maintained in the outer query: https://github.com/mapserver/mapserver/issues/5008 .

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

2015-02-12 Thread Lars Fricke
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 Am

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

2015-02-12 Thread Eichner, Andreas - SID
I'm not sure about this but AFAIK MapServer draws features in the order they are returned by the query. For Shapefiles there is the sortshp utility. If you're on a relational database like PostGIS or OracleSpatial you can try including the ORDER BY prio within the DATA. But since MS wraps it

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

2015-02-12 Thread Lars Fricke
For me it works by sorting in the map file. I then put the needed layers into my WMS request. The order does not matter in the request it seems. Best Lars Am 12.02.2015 um 13:52 schrieb Eichner, Andreas - SID: I'm not sure about this but AFAIK MapServer draws features in the order they are

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

2015-02-12 Thread Vladimir
Andreas. Thanks for response too. I use phpmapscript and postgis. How can I use order by  for this purpose? Sorry. I have some correction: What I have:  http://s18.postimg.org/vkvb8jprd/crossroad1.jpg What I need:  http://s14.postimg.org/yk40e0nq9/crossroad.jpg

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

2015-02-12 Thread Smith, Michael ERDC-RDE-CRREL-NH
No, MapServer respects the feature order. Using the ORDER BY with a database connection, MapServer will draw features in that order. Mike -- Michael Smith US Army Corps Remote Sensing GIS/Center On 2/12/15, 7:52 AM, Eichner, Andreas - SID andreas.eich...@sid.sachsen.de wrote: I'm not sure

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

2015-02-12 Thread thomas bonfort
Actually there is an issue opened for this, as the order by inside the subquery is not guaranteed to be maintained in the outer query: https://github.com/mapserver/mapserver/issues/5008 . For mssql there has been a patch applied, for postgis it is not needed yet. On 12 February 2015 at 08:48,

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

2015-02-12 Thread Lars Fricke
Hello Vladimir, I'm not sure if I understand right. However what I would do is the following: 1) Put all sources into different layers. That is: If you have different street layers in different sources, you can make one layer each in the mapfile or

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

2015-02-12 Thread Vladimir
Lars. Thank you very much for response. Please see the pics. What I have: http://s14.postimg.org/yk40e0nq9/crossroad.jpg What I need: http://s14.postimg.org/yk40e0nq9/crossroad.jpg The problem is the orange roads lies in a one layer because they are identical features(has the same type). It is

[mapserver-users] Segfaults with MapScript from Python

2015-02-12 Thread Jelmer Baas
Hi List, Some of my automated renders are failing because Python crashes with an Segmentation fault. I've finally found at least some logs of this: Feb 12 16:16:19 vm-ctwrender07 kernel: [276759.889265] traps: python[8002] general protection ip:7f104ec4f50f sp:7fff17d8d790 error:0 in

Re: [mapserver-users] Segfaults with MapScript from Python

2015-02-12 Thread Dan Little
I don't see any debugging symbols in there making life a little bit more difficult. Is your Python code very complex? Could a useful snippet be posted to a gist? On Thu, Feb 12, 2015 at 9:44 AM, Jelmer Baas b...@speerit.nl wrote: Hi List, Some of my automated renders are failing because

Re: [mapserver-users] Segfaults with MapScript from Python

2015-02-12 Thread Jelmer Baas
The code isn't all that complex, not much more than three layers with a postgis source and using an ogr_style column. I'll do my best to create a stripped-down script and test dataset tomorrow. -- Jelmer Van: Dan Little [theduckylit...@gmail.com]