Re: [mapserver-users] ONE PASS QUERY (RFC 52) - FEATURE OR BUG?

2010-03-22 Thread Paul Ramsey
Is it better to back out to the old behaviour or would defining a filter object that allows complex query logic meet the need in a more direct way? (Ie, is running multiple queries a feature or a workaround for an even older limitation?) P. On Mon, Mar 22, 2010 at 9:21 PM, Lime, Steve D (DNR) wr

RE: [mapserver-users] ONE PASS QUERY (RFC 52) - FEATURE OR BUG?

2010-03-22 Thread Lime, Steve D (DNR)
I think we're in need of a RFC 52a. Clearly the compound query handling the old approach afforded is of value to a group of users and that wasn't accounted for in the initial RFC. The work around Assefa had to do with WFS and a certain subset of OGC filters at the sprint is evidence that the app

[mapserver-users] Re: Cannot get a PostGIS layer to render in Mapserver...

2010-03-22 Thread mapper99
I am running PostGIS 1.5 for PostgreSQL 8.4. It appears the force_2d function is available: -- Function: force_2d(geometry) -- DROP FUNCTION force_2d(geometry); CREATE OR REPLACE FUNCTION force_2d(geometry) RETURNS geometry AS '$libdir/postgis-1.5', 'LWGEOM_force_2d' LANGUAGE 'c' IMMUTABLE

Re: [mapserver-users] ONE PASS QUERY (RFC 52) - FEATURE OR BUG?

2010-03-22 Thread Frank Warmerdam
Tamas Szekeres wrote: In my understanding with the original approach the driver should: 1. Retain the result set of the queries at the layer (ie. in the layerinfo structure) until the layer is open and no subsequent whichShapes is called to 'invalidate' the query. Tamas, Your point here is

[mapserver-users] MapServer 5.6.3 released (obsoletes 5.6.2)

2010-03-22 Thread Daniel Morissette
The MapServer team announces the release of MapServer version 5.6.3. This release obsoletes 5.6.2 which was announced only two days ago. Unfortunately, two issues introduced in 5.6.2 made that release unusable for several use cases involving PostGIS and SDE layers, prompting us to issue a new

Re: [mapserver-users] ONE PASS QUERY (RFC 52) - FEATURE OR BUG?

2010-03-22 Thread Tamas Szekeres
Hi, I second to these concerns, absolutely. With regards to RFC 52 there have been a couple of breaking changes in MapServer 5.6 which prevents me from upgrading to this version in my existing projects. I've already tried to ring the bell in this topic with a couple of posts (see below), but it se

Re: [mapserver-users] keyimage / getlegendgraphic

2010-03-22 Thread Yewondwossen Assefa
Jörg, bug related to this is http://trac.osgeo.org/mapserver/ticket/3398. It should be fixed in trunk regards, Jörg Thomsen wrote: huhu, does really nobody have an idea how to solve this? :( since an update from mapserver 4.x to 5.6 we have a problem with the keyimage of rasterlayers. T

[mapserver-users] Re: mapserver not generating proper map

2010-03-22 Thread BrainDrain
If layer hasn't tilesSize/imageSize options it copies from map.baseLayer/map Did you set tileSize for map and every layer? What do you mean background (it's just a one layer)? I'm using OL 2.8 for a long time with raster base layers and transparent vector layer (both from mapserver) and I have no

[mapserver-users] Re: mapserver not generating proper map

2010-03-22 Thread sunny74
Hi BrainDrain, Thanks for your reply. Your solution doesn't work. the code relating to the info control is the culprit. It started giving errors, then I commented it but after that the map was not getting displayed. Finally after a lot of effort I got the map but with problems stated earlier. Af

Re: [mapserver-users] Map file xsl transformation and regular expressions

2010-03-22 Thread Alan Boudreault
It's fixed. The new xslt will be in MapServer 5.6.3. Thanks, Alan On March 22, 2010 02:56:16 pm Alexandre Soares wrote: > Hi Alan, > > I found one small bug: the default value of expressionType complex type is > 'CONSTANT'. However, the stylesheet will only quote if the value of the > attribute

Re: [mapserver-users] Map file xsl transformation and regular expressions

2010-03-22 Thread Alexandre Soares
Hi Alan, I found one small bug: the default value of expressionType complex type is 'CONSTANT'. However, the stylesheet will only quote if the value of the attribute is equal to 'CONSTANT', which is not if you don't supply a value for this attribute. All other cases seem to work fine. That is, 583

[mapserver-users] keyimage / getlegendgraphic

2010-03-22 Thread Jörg Thomsen
huhu, does really nobody have an idea how to solve this? :( since an update from mapserver 4.x to 5.6 we have a problem with the keyimage of rasterlayers. The keyimage is unusually large, but with the old version it worked. the original imagine is 451*1949 px the keysize in the mapfile is give

Re: [mapserver-users] List of color combination in MapServer

2010-03-22 Thread Daniel Morissette
Stephen Woodbridge wrote: Phalguni Pal wrote: Hi friends, 1. Could you anybody tell me where can I get the list of some standard MapServer colors with color mames, like: COLOR 0 0 0 > Black COLOR 255 0 0 --> Red COLOR -1 -1 -1 ---> light blue These are standard RGB values

[mapserver-users] Memory Leaks with Python Mapscript?

2010-03-22 Thread Jason Beverage
Hi all, I'm using Python mapscript to generate map tiles similar to the way that TileCache does and I think I'm running into some memory leaks. I'm generating my mapObj and layerObj on the fly based on contents of our database. If I let my seed process run for a very long time, the memory use see

Re: [mapserver-users] List of color combination in MapServer

2010-03-22 Thread Stephen Woodbridge
Phalguni Pal wrote: Hi friends, 1. Could you anybody tell me where can I get the list of some standard MapServer colors with color mames, like: COLOR 0 0 0 > Black COLOR 255 0 0 --> Red COLOR -1 -1 -1 ---> light blue These are standard RGB values for colors, except -1 -1 -1

Re: [mapserver-users] Map file xsl transformation and regular expressions

2010-03-22 Thread Alan Boudreault
Alexandre, could you test the new xsl file and see if your two issues have been fixed. You can get it via: http://trac.osgeo.org/mapserver/browser/trunk/mapserver/xmlmapfile/mapfile.xsl?format=raw I did a quick fix to integrate it in MS 5.6.3, which is supposed to be released today. expressio

[mapserver-users] Error showing tracks from gpx file

2010-03-22 Thread Dejan Gambin
Hi, I am trying to show data from gpx file using Mapserver. I can successfully show "track_points" layer but when trying with "tracks" layer, which is "multi line string" with one feature only, I get: msOGRFileNextShape(): IllegalArgumentException: point array must contain 0 or >1 elements he

[mapserver-users] List of color combination in MapServer

2010-03-22 Thread Phalguni Pal
Hi friends, 1. Could you anybody tell me where can I get the list of some standard MapServer colors with color mames, like: COLOR 0 0 0 > Black COLOR 255 0 0 --> Red COLOR -1 -1 -1 ---> light blue etc. 2. How to fill a hollow square with two diffetent colors (50-50%)? Thanking

[mapserver-users] Re: mapserver not generating proper map

2010-03-22 Thread BrainDrain
map = new OpenLayers.Map('<%=map.ClientID%>', {tileSize: new OpenLayers.Size(600,600)}); or layer.tileSize=new OpenLayers.Size(600,600); layer.imageSize = layer.tileSize; -- View this message in context: http://n2.nabble.com/mapserver-not-generating-proper-map-tp4776875p4777049.html Sent from

[mapserver-users] mapserver not generating proper map

2010-03-22 Thread sunny74
Hi, I am generating a simple map but mapserver is not generating a proper map. In fact initially it produced a proper one but after that due to code changes or some other reason started producing this one. My code to call mapserver is: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>

[mapserver-users] Re: Cannot get a PostGIS layer to render in Mapserver...

2010-03-22 Thread BrainDrain
I think you didn't not install postgis extensions correctly (You need for ex. function force_ 2d(geography)). Or your postgis version is lower than 1.3.5 (PostGIS adds support for geographic objects). -- View this message in context: http://n2.nabble.com/Cannot-get-a-PostGIS-layer-to-render-in-