RE: [mapserver-users] OUTPUTFORMAT shapefiles instead of GML2/GML3 withWFS?

2008-12-02 Thread Kralidis,Tom [Ontario]
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Maarten Plieger Sent: Tuesday, 02 December 2008 07:25 To: mapserver-users@lists.osgeo.org Subject: [mapserver-users] OUTPUTFORMAT shapefiles instead of GML2/GML3 withWFS? Hi all, Is it

Re: [mapserver-users] Postgis query

2008-12-02 Thread Paul Ramsey
If you turn on statement logging in pgsql, you can see what SQL mapserver is sending to pgsql. That will clarify if there is a way for you to change your statement to get what you want, or if there's an error in what mapserver is asking for, or an error in how mapserver is processing what is

Re: [mapserver-users] I need ur help (plz urgent)

2008-12-02 Thread Steve Lime
Ques 1: Not sure how you get the regex error with [map]. That tag goes in the html template (e.g. input type=hidden name=map map=[map]) but note that it will only work IF you are setting map on the original call to MapServer. Ques 2: SAVEMAP is not switchable, you'd have to edit mapserv.c and

Re: [mapserver-users] OUTPUTFORMAT shapefiles instead of GML2/GML3 with WFS?

2008-12-02 Thread bartvde
Hi Maarten, no unfortunately not, there used to be talk about an OGR output driver, so that any OGR (write) format could be written, but this was never implemented. Geoserver does have this functionality. Would be nice to have this in Mapserver though. Best regards, Bart Hi all, Is it

Re: [mapserver-users] Postgis query

2008-12-02 Thread Carlos Ruiz
I guess the problem resides in the use of INNER and LEFT joins. Also, the order of the tables is important. The first tables specified in a query within the joins must be the ones which stablish the records agrupation or discrimination. IC Carlos Ruiz   --- On Tue, 12/2/08, mark balman

[mapserver-users] Postgis query

2008-12-02 Thread mark balman
Hi All I am trying to output a query from postgis using three tables and it is not quite working. First table is a quarter degree grid (spatial table) Second table is a table with each grid cell id along with many species id per grid cell Third table is list of species My query definition works

Re: [mapserver-users] ICON Placing co-ordinates.....

2008-12-02 Thread Steve Lime
You'd use the icon as a symbol like so: LAYER NAME 'TheIcon' STATUS DEFAULT TYPE POINT FEATURE # This is where you specify position on the map POINTS x y END END CLASS STYLE SYMBOL 2.gif END END END Steve On 12/1/2008 at 11:08 PM, in message [EMAIL

Re: [mapserver-users] ICON Placing co-ordinates.....

2008-12-02 Thread Robert Sanson
I am having some trouble too. I want to pass in the x y as variables. Here is the section in my map file: LAYER NAME 'gps_point' STATUS DEFAULT TYPE POINT FEATURE # This is where you specify position on the map POINTS %gpsx% %gpsy% END END CLASS STYLE SYMBOL

RE: [mapserver-users] ICON Placing co-ordinates.....

2008-12-02 Thread Fawcett, David
Robert, I thought that I remembered posting an example to fix a similar issue and went back into the archives to find it. Funny thing, it was a thread that you started! The solution was to create the feature on the fly through a URL configuration.

RE: [mapserver-users] ICON Placing co-ordinates.....SOLVED

2008-12-02 Thread Robert Sanson
Thanks very much David. I was just about to post a message that I had solved it. Last time I was dealing with annotation. This time a GPS point reprojected into x,y. This is what works: Map file: LAYER NAME 'gps_point' STATUS DEFAULT TYPE POINT FEATURE # This is where you specify

RE: [mapserver-users] ICON Placing co-ordinates.....SOLVED

2008-12-02 Thread Fawcett, David
If you set the layer status to ON or OFF, your 'gps_point' layer won't show up on the map (at the default, unintended location) until you add the layer name explicitly in your URL call. David. -Original Message- From: Robert Sanson [mailto:[EMAIL PROTECTED]

RE: [mapserver-users] ICON Placing co-ordinates.....SOLVED

2008-12-02 Thread Robert Sanson
Thanks - I hadn't spotted that. Mapfile section now has STATUS OFF. Robert Fawcett, David [EMAIL PROTECTED] 3/12/2008 10:12 a.m. If you set the layer status to ON or OFF, your 'gps_point' layer won't show up on the map (at the default, unintended location) until you add the layer name