Re: [mapserver-users] Invalid pdf file from WMS

2011-08-19 Thread thomas bonfort
Worth, a bugreport with a self contained test case is the correct next step. please try to take php out of the loop, a shp2img call causing the crash would be ideal. thanks, thomas On Fri, Aug 19, 2011 at 01:43, Worth Lutz w...@mindspring.com wrote: I can get php MapScript to segfault drawing

[mapserver-users] Error with WFS request from MapInfo

2011-08-19 Thread Jelmer Baas
Hello list, I've been struggling with this issue for a while, now. When I try to add a WFS layer in MapInfo, I receive the following error (from the mapserver logfile): prepare_database(): Query error. Error declaring cursor: ERROR: BOX3D parser - couldnt parse. It should look like:

[mapserver-users] Re: Error with WFS request from MapInfo

2011-08-19 Thread Rahkonen Jukka
Hi, I would start by addind EXTENT to MAP level. WFS 1.0.0 does not support reprojection so select the desired output srsName and use that as map level PROJECTION. Express extents to suit that projection. Mapserver has been pretty poor WFS server for real GIS clients but it is getting better.

[mapserver-users] Re: Error with WFS request from MapInfo

2011-08-19 Thread Rahkonen Jukka
Hi, You can also try to add this to LAYER wfs_extent Description: (Optional) Used for the layer's BoundingBox tag for cases where it is impossible (or very inefficient) for MapServer to probe the data source to figure its extents. The value for this metadata is minx miny maxx maxy

[mapserver-users] XML mapfile

2011-08-19 Thread Ludovic Granjon
Hello Someone is using mapfiles in xml? I tried but it does not work, is there such a minimal mapfile in xml to try? Is there a documentation ? I tried unsuccessfully http://trac.osgeo.org/mapserver/browser/trunk/mapserver/xmlmapfile Thanks Ludovic attachment:

Re: [mapserver-users] XML mapfile

2011-08-19 Thread Alan Boudreault
IIRC, the mapfiles in svn were only to test translation and loading. You can take a small standard mapfile you have and write it in xml. It should be very straighforward and you can use the svn mapfiles as example. Let me know if you need further help. Alan On August 19, 2011 07:42:17 am

Re: [mapserver-users] XML mapfile

2011-08-19 Thread Ludovic Granjon
Thanks Alan Yes that's what I try to do but when I try to launch xmlstarlet I always have an invalid mapfile; for exemple I join my mapfile And the message of xmlstartlet is : mapfile-test_ludo.xml:69: element LayerSet: Schemas validity error : Element

[mapserver-users] Vectorizing/digitizing points that have been rendered as raster

2011-08-19 Thread Wim Vanbelle
Hi, Currently we have a lot of big datasets with points (think 50k points for instance) that we can now cluster service side with mapserver (cool). That works like a charm, but now we would like to fetch information if you click on them. (be it a clustered icon, or a non clustered). The client

Re: [mapserver-users] XML mapfile

2011-08-19 Thread Ludovic Granjon
Yes no problem http://pastebin.com/fPz6qgXx Thanks Le 19/08/2011 15:17, Alan Boudreault a écrit : Paste your mapfile on pastebin.com if you can. Alan On August 19, 2011 08:40:39 am Ludovic Granjon wrote: Thanks Alan Yes that's what I try to do but when I try to launch xmlstarlet I always

Re: [mapserver-users] Vectorizing/digitizing points that have been rendered as raster

2011-08-19 Thread Rahkonen Jukka
Hi, Mapserver 6.0 is listing these filter capabilities ogc:Equals/ ogc:Disjoint/ ogc:Touches/ ogc:Within/ ogc:Overlaps/ ogc:Crosses/ ogc:Intersect/ ogc:Contains/ ogc:DWithin/ ogc:BBOX/ I am not totally sure that all of them really works. Now it depends a bit about your need what filter to use.

Re: [mapserver-users] XML mapfile

2011-08-19 Thread Ludovic Granjon
Ok it seems to be ok, my mapfile xml is valid and I can generate a .map who work fine. I join my minimum mapfile. Thanks Alan Le 19/08/2011 15:34, Ludovic Granjon a écrit : Yes no problem http://pastebin.com/fPz6qgXx Thanks Le 19/08/2011 15:17, Alan Boudreault a écrit : Paste your mapfile on

Re: [mapserver-users] XML mapfile

2011-08-19 Thread Alan Boudreault
Good work Ludovic. That's what I thought. You initially tried to use LayerSet *inside* the Map tag, which is invalid. LayerSet is only used when we put the layers in another xml file. Alan On August 19, 2011 10:04:35 am Ludovic Granjon wrote: Ok it seems to be ok, my mapfile xml is valid and

Re: [mapserver-users] Vectorizing/digitizing points that have

2011-08-19 Thread Hollingbery, Julian
-- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110819/9e 718318/attachment.html -- ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http

[mapserver-users] Re: Raster Data from PostGIS

2011-08-19 Thread Gustavo1376
Hi Florencia, i am Gustavo from Uruguay. Have you finally found the way to load a raster from a PostGis database? I'm trying to do that but no had no success yet. In my case the problem is that my application would generate a new raster everyday, so if i save them to disk it quickly will get

[mapserver-users] Change Class EXPRESSION mapfile in chameleon framework

2011-08-19 Thread lovelietha
Hi all,, I'm using a chameleon framework to make a webGIS..now i wonder how to change and modification CLASS EXPRESSION in mapfile based on what user selects from a form.And how to change that code if i have a new data insert in my database,how to change in order to connect -query- my database