[mapserver-users] Using unique

2011-07-14 Thread Pena Kupen
Sorry doubleposting! There where little copy/paste-error. You can ignore prior... -Pena Hello all, I'm just upgrading our system from mapserver 5.4.2 to 5.6.6. In some of our layer queries, I got now error: msPostGISParseData(): Query error. Error parsing PostGIS DATA variable. You must

[mapserver-users] Using unique

2011-07-14 Thread Pena Kupen
Hello all, I'm just upgrading our system from mapserver 5.4.2 to 5.6.6. In some of our layer queries, I got now error: msPostGISParseData(http://mapserver.org/input/vector/postgis.html): Query error. Error parsing PostGIS DATA variable. You must specifiy 'using unique' when supplying a

[mapserver-users] Re: Run Time Substitution and Mapscript questions

2011-07-14 Thread ChiefDan
I think I sussed out what is going for. An FYI for others, once you call mapscript.mapObj(yourmapfile), the mapfile is processed, so no run time substitutions can occur. What kept me confused was the fact that calling map.draw() results in a WMS call out through Apache so I kept assuming it works

Re: [mapserver-users] Using unique

2011-07-14 Thread Carlos Ruiz
Pena, Can you post your query ? You can use: DATA the_geom FROM tablein the traditional way Or, if you're using a query or a view datasource, you can use: DATA the_geom FROM query|view AS alias USING UNIQUE column USING SRID=SRC Cheers from México IC Carlos Ruiz

[mapserver-users] Difference in test map behavior from MapServer 5.6.5 to 6.0.1

2011-07-14 Thread Nicolas Chenier
Good day all, This is a bump as I never received an answer... Quick update - I updated my binary to 6.0.1 but this issue remains: I am investigating an issue where the background in the PNG generated by the example map that comes with MapServer changes from a red-orange color (with MapServer

[mapserver-users] wms 1.3, getfeaturelisturl, getdataurl

2011-07-14 Thread Jachym Cepicky
Hi, in WMS 1.3.0, there are following elements for each layer: FeatureListURL A server may use a FeatureListURL element to point to a list of the features represented in a Layer. FeatureListURL is not inherited by child layers. The enclosed Format element indicates the file format MIME type of

Re: [mapserver-users] Difference in test map behavior from MapServer 5.6.5 to 6.0.1

2011-07-14 Thread Havard Tveite
On 14/07/11 22:35, Nicolas Chenier wrote: Good day all, This is a bump as I never received an answer... Quick update - I updated my binary to 6.0.1 but this issue remains: I am investigating an issue where the background in the PNG generated by the example map that comes with MapServer changes

Re: [mapserver-users] Using unique

2011-07-14 Thread Pena Kupen
Hello Carlos and all, I'm using query, which is little cryptic. location from ( select h.location, h.oid, k.expla, h.date1, h.expla, h.total, ku.locationname as name from (select pa.location, ha.type_id as oid, ha.date1, pa_n.name, pa_n.location_id, ha.car_id, ha.total