Re: [mapserver-users] WMS layer swapping according to scale

2010-11-09 Thread Gracia Fernández López
Hello Rahkonen, Thanks for answering so quickly. I had already proved that, but I had obtained a warning in the GetCapabilities request and I didn't have realized that it was working. Do you know how I can solve the warning?: Layer Namegroup/Name !-- WARNING: Mandatory metadata

Re: [mapserver-users] draw polygons ordered by field ? (from File System)

2010-11-09 Thread Daniel Morissette
Sebastian E. Ovide wrote: Is it possible define an order on how the polygons are drawn ? Say for example to draw the polygons with field RISK 0 first, then with RISK =1 and so on... I know that using PG we can use Select * from XXX order by RISK Is there any way to do that using

Re: [mapserver-users] draw polygons ordered by field ? (from File System)

2010-11-09 Thread Bart van den Eijnden (OSGIS)
The only way I know of is to use the sortshp utility. http://mapserver.org/utilities/sortshp.html Best regards, Bart Hi All, Reading a shapefile (ESRI/MapInfo) from FS with polygons overlapping. Each polygon is drawn with a different color based on a field called RISK. Is it possible

[mapserver-users] draw polygons ordered by field ? (from File System)

2010-11-09 Thread Sebastian E. Ovide
Hi All, Reading a shapefile (ESRI/MapInfo) from FS with polygons overlapping. Each polygon is drawn with a different color based on a field called RISK. Is it possible define an order on how the polygons are drawn ? Say for example to draw the polygons with field RISK 0 first, then with RISK =1

Re: [mapserver-users] draw polygons ordered by field ? (from File System)

2010-11-09 Thread Rahkonen Jukka
Hi, Sortshp can order data only by one attribute. If that is not enough you can sort shapefile by two or more attributes with ogr2ogr by giving ORDER BY inside the -sql parameter. Of course it is possible to split the shapefile into several layers by using FILTER. In that case the drawing order

RE: [mapserver-users] RE: Real life sample of a Mapfile for shp files on WMS

2010-11-09 Thread Lime, Steve D (DNR)
Actually EXPRESSIONs can handle regex too: CLASSITEM ‘tag’ CLASS EXPRESSION /^TVOP2/ … END This catches all tag’s that begin with the pattern TVOP2. You might want to do a FILTER instead if this is the ONLY filter you need to apply. You’d see a small performance boost if that were the

RE: [mapserver-users] RE: Real life sample of a Mapfile for shp files on WMS

2010-11-09 Thread Fawcett, David (MPCA)
Matt, It looks like Steve Lime's regular expression example will get you what you are looking for. One strategy to think about with MapServer (and any other Web map server) is that when you are looking for the best performance, you want to pre-process your data as much as possible. This

[mapserver-users] RE: Real life sample of a Mapfile for shp files on WMS

2010-11-09 Thread wildcolour
Wow Thanks guys, these where great examples, I got there straight away. Thanks for the advice on performance. This may become an issue, and sounds like it is better to deal with it early. This is a very powerful tool, with a great community base, I am very impressed Now of the fun part, making

Re: [mapserver-users] WMS 1.3.0 questions

2010-11-09 Thread Rahkonen Jukka
Hi, Have a try with EPSG:4326 and you should see a difference. Despite of axes flipping with some projections there should really not be any difference in the GetMap output - image is an image. Do GetCapabilities and you should see difference. I am remembering also that VERSION is a compulsory

Re: [mapserver-users] WMS 1.3.0 questions

2010-11-09 Thread Jeff McKenna
Hello Yves, Some related thoughts: - related ticket for configuring default WMS version: http://trac.osgeo.org/mapserver/ticket/3444 ...please add yourself to the CC list of that ticket and join in the discussions and testing and feedback, thanks - doc pointers:

[mapserver-users] Seeking suggestions on WebGIS

2010-11-09 Thread Reddem
Dear Friends, I am newbie to UMN MapServer and with the knowledge gained through the forum, I designed WebGIS for Ocean Data and Information System. I am herewith providing the link for the same. Please go through and suggest your valuable opinions, for improvement if any.