RE: [mapserver-users] WFS Error "column = 1" on msPostGISLayerGetShape

2010-07-12 Thread Benoit PESTY
Thanks for the answers, Apparently removing the "gml_featureid" "cell_id" line doesn't change anything. I suppose that the PK is detected and used. I have solved the problem by adding "USING UNIQUE oid". Thanks, > Date: Fri, 9 Jul 2010 11:19:48 -0500 > From: a...@squeakycode.net > To: boolean1

[mapserver-users] UMN + Postsgis, features skipped

2010-07-12 Thread Andreas Neumann
Hi all, I have troubles with the UMN/Postgis combo. When I just draw the layer with a single class, it draws fine, but as soon as I use classification with an EXPRESSION (simple string comparison), a lot of features are skipped. Attached I am sending a mapfile with just one class (buildings from

[mapserver-users] WCS error. Requested BBOX (...) outside requested coverage

2010-07-12 Thread turtlewax
Thanks in advance for any guidance. I have my own server, but I'm using the server referenced in the documentation to get a handle on expected behavior. == my request. == http://maps.dnr.state.mn.us/cgi-bin/mapserv50? MAP=/usr/l

Re: [mapserver-users] UMN + Postsgis, features skipped

2010-07-12 Thread Michael Schulz
Hi Andreas, could you try the map-file with the layer EXTENT removed and see if that improves the situation? I seem to remember having a similar problem, with the layer extent parameter, that is generated by the QGIS mapfile exporter. Cheers, Michael 2010/7/12 Andreas Neumann : > Hi all, > > I

Re: [mapserver-users] UMN + Postsgis, features skipped

2010-07-12 Thread Andreas Neumann
ok - the problem is solved. The source table was a view and it turned out that some fields had an invisible line break at the end of the string and therefore did not match with the expression. In the table they visually looked the same, but one did not immediately see the line break at the end ...

Re: [mapserver-users] UMN + Postsgis, features skipped

2010-07-12 Thread Jeff McKenna
For the record, when I hit this wall, I always view what features are returned by using the ogrinfo commandline utility (and therefore cutting out the possibilities of problems specific to MapServer). In this case you can pass expressions through the '-sql' switch in ogrinfo: ogrinfo PG:"ho

RE: [mapserver-users] PHP mapscript querybyrect()

2010-07-12 Thread Charlie Allgrove
Many thanks for that. Added a TEMPLATE section to the layer and it's burst into life. Many thanks Charlie -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Daniel Morissette Sent: 09 July 2010 20:07 To: mapserve

Re: [mapserver-users] WFS Filter encoding . . . Anyone know what the Units list for DWithin that MapServer honors?

2010-07-12 Thread Yewondwossen Assefa
On 11/07/2010 5:40 PM, Blammo wrote: Ok, I got another related question . . On a DWithin return list, any chance that the results are ordered by distance from a point, closest first? Or isn't this something I can depend on from MapServer? There is no guarantee on that. The search is done w

Re: [mapserver-users] WFS Filter encoding . . . Anyone know what the Units list for DWithin that MapServer honors?

2010-07-12 Thread Yewondwossen Assefa
On 11/07/2010 6:02 PM, Blammo wrote: More info, Using this service call: https://www.sharedgeo.org/MNGEO-ro/public/ows?SERVICE=wfs&VERSION=1.1.0&REQUEST=getFeature&TYPENAME=layer_3&FILTER=%3CFilter%3E%3CDWithin%3E%3CPropertyName%3EGeometry%3C/PropertyName%3E%3Cgml:Point%3E%3Cgml:coordinates%3E-

Re: [mapserver-users] UMN + Postsgis, features skipped

2010-07-12 Thread Carlos Ruiz
Andreas, First, try to run SELECT DISTINCT(type) FROM "av_mopublic"."land_cover_lcsurface" to ensure that all the types that you're classifying exists. I know this sounds silly but we must check if the type column contains all the types you're looking for. When some features are missing, i

Re: [mapserver-users] getlegendgraphic error with GROUP layers

2010-07-12 Thread Yewondwossen Assefa
@Assefa: Do you have a more detailed implementation plan for this issue? I am also highly interested in this feature. Best regards Stephan [1] http://trac.osgeo.org/mapserver/ticket/3411 It is still planned to be addressed before 6.0. I am not sure yet about the release date but

Re: [mapserver-users] UMN + Postsgis, features skipped

2010-07-12 Thread Andreas Neumann
Thanks for the hint, Jeff! Andreas On Mon, July 12, 2010 3:45 pm, Jeff McKenna wrote: > For the record, when I hit this wall, I always view what features are > returned by using the ogrinfo commandline utility (and therefore cutting > out the possibilities of problems specific to MapServer). In

[mapserver-users] how creating wmc layer

2010-07-12 Thread Ricardo Rodríguez
hello all, I have a question how you can quickly generate WMC Web Map Context Ricardo Rodríguez Univalle ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users

RE: [mapserver-users] how creating wmc layer

2010-07-12 Thread Kralidis,Tom [Ontario]
> hello all, I have a question how you can quickly generate WMC > Web Map Context > Check out http://www.mapserver.org/ogc/mapcontext.html for more information. ..Tom ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osg

[mapserver-users] Re: How to use moveLayerUp

2010-07-12 Thread Stefan Schwarzer
Daniel Morissette wrote: > > Have a look at the mapObj's getlayersdrawingorder() and > setlayersdrawingorder() methods Hmm... searched around, but couldn't really find a working example. Seems that hardly anyone is using these calls - or not facing problems with them... I do understand a littl