Re: [mapserver-users] msWMSFeatureInfo(): Unsupported INFO_FORMAT value (text/html).

2009-11-23 Thread Daniel Morissette
The wms_feature_info_mime_type metadata should be at the map/web level. You'll also need different templates for the HEADER, TEMPLATE and FOOTER for your layers since all three serve a different purpose. BTW, there was a thread about a similar issue on the openlayers-users list on Friday,

[mapserver-users] date format in a template (after a GetFeatureInfo call)...

2009-11-23 Thread Martin Ouellet
Hi, I've got a GetFeatureInfo which return a date (in my template). Since we don't control the sql statement behind the GetFeatureInfo, is there a way to format the date in the template? my layer retreive the data from Oracle Spatial and I received the date in this form: 19-NOV-09 which is

Re: [mapserver-users] date format in a template (after a GetFeatureInfocall)...

2009-11-23 Thread Rahkonen Jukka
Hi, How about making an Oracle view for publishing data through Mapserver and selecting date as TO_CHAR and control the format that way? -Jukka Rahkonen- Martin Ouellet wrote: Hi, I've got a GetFeatureInfo which return a

Re: [mapserver-users] msWMSFeatureInfo(): Unsupported INFO_FORMAT value (text/html).

2009-11-23 Thread Ir. Peter Huis in 't Veld
Hi Daniel, Correct I did place the wms_feature_info_mime_type at the wrong level. Problem solved I would say. thanks, Peter Daniel Morissette schreef: The wms_feature_info_mime_type metadata should be at the map/web level. You'll also need different templates for the HEADER, TEMPLATE and

Re: [mapserver-users] Usage of Vendor Option

2009-11-23 Thread Stephen Woodbridge
David, Try using labelcache_map_edge_buffer -10 at map level WEB METADATA PROCESSING LABEL_NO_CLIP=ON at layer level Partials=true with labels -Steve W. David Alda Fernandez de Lezea wrote: Hello, Thanks for your response. Just to clarify I've just added the

Re: [mapserver-users] date format in a template (after a GetFeatureInfo call)...

2009-11-23 Thread Josh Hevenor
It might not be what you're looking for, but you can define your layer as geom from (select a, b, c, to_char(the_date, 'format') from osTable) using... Josh Martin Ouellet wrote: Hi, I've got a GetFeatureInfo which return a date (in my template). Since we don't control the sql statement

[mapserver-users] Tile Mode to use Maprserver with Google maps

2009-11-23 Thread RODIER BATISSE, ALEXANDRE
Hi everybody, I am trying to resolve a urgent necesity with Mapserver and Google Maps, but I have a very Basic problem (perhaps because I'm not a good developer): I think, If I not wrong, we can add a wms Mapserver layer in Google Maps, but for that we need to serve the layer with Tile

Re: [mapserver-users] php-mapscript compilation problem on OpenSuse 11.1/11.2

2009-11-23 Thread Martin Ouellet
Even with the mapserv-5.6-beta5, there's still no php_mapscript.so after the compilation. I notice one thing, the directory /usr/include/php5/dl (which I see appear while the make command is running) is missing on my server. Could it be the problem?. Here's my ./configure command: configure:

[mapserver-users] WMSgetFeatureInfo and variable substitution

2009-11-23 Thread Steve . Toutant
Hi, I already posted this problem on openlayers list, but it might be a mapserver issue. OpenLayers.Control.WMSGetFeatureInfo doesn't use the FILTER key in my mapfile. This filter is define with variables like this: FILTER semcdc in (%SEMCDC%) and rss in (%RSS%) and ordre in (%ORDRE%) . The

Re: [mapserver-users] WMSgetFeatureInfo and variable substitution

2009-11-23 Thread Martin Ouellet
One way to do it is to pass new parameters(with tha exact name of you're mapfile variable) in the GetFeatureInfo URL so it would look something like this: Here is the request GetFeatureInfo /cgi-bin/mapserv.exe?map=MYMAP

Re: [mapserver-users] WMSgetFeatureInfo and variable substitution

2009-11-23 Thread Daniel Morissette
I saw your post on the openlayers list, and it seems from your description of the problem that the SEMCDC, RCC and ORDER params are included by OpenLayers in a GetMap request but it fails to include them in the corresponding GetFeatureInfo request. If that's the case then that's an issue with

Re: [mapserver-users] php-mapscript compilation problem on OpenSuse 11.1/11.2

2009-11-23 Thread Daniel Morissette
Martin Ouellet wrote: Even with the mapserv-5.6-beta5, there's still no php_mapscript.so after the compilation. I notice one thing, the directory /usr/include/php5/dl (which I see appear while the make command is running) is missing on my server. Could it be the problem?. Here's my

Re: [mapserver-users] WMSgetFeatureInfo and variable substitution

2009-11-23 Thread bartvde
Daniel is right. Steve, I've opened up an OpenLayers bug [1]. In the meantime you can try and use vendorParams on the GetFeatureInfo control, but you need to update the property whenever your values change. Further discussion can best be done on the OL mailing list. [1]

[mapserver-users] connecting to ArcSDE postgis

2009-11-23 Thread Mark Volz
Hello, I just want to check now that ArcSDE can use PostGIS can Mapserver directly connect to the database using the postgis connection, or does it still need to use the SDE connection? p.s. I don't need to know how that would work at this time, I just need to know if it is possible Thanks

Re: [mapserver-users] php-mapscript compilation problem on OpenSuse 11.1/11.2

2009-11-23 Thread Martin Ouellet
Every time I try to build I do a make distclean wich is supposed to be more cleaner than a make clean when available. here is the ouptut spssogl92t:/usr/src/mapserver-5.6.0-beta5/mapscript/php3 # make clean rm -f *.so *.o perl.out spssogl92t:/usr/src/mapserver-5.6.0-beta5/mapscript/php3 # make

Re: [mapserver-users] connecting to ArcSDE postgis

2009-11-23 Thread Paul Ramsey
On Mon, Nov 23, 2009 at 12:17 PM, Mark Volz markv...@co.lyon.mn.us wrote: Hello, I just want to check now that ArcSDE can use PostGIS can Mapserver directly connect to the database using the postgis connection, or does it still need to use the SDE connection? p.s.  I don’t need to know how

[mapserver-users] TOLERANCE

2009-11-23 Thread Ted Spradley
Hi all, Simplifying from earlier. 1. Does TOLERANCE apply to polygons (layers)? The documentation says it only applies to points, but I am finding postings referring to it applying to line and polygon features. If yes to #1, 2. Using mode = itemfeaturequery to find a polygon in

Re: [mapserver-users] WMSgetFeatureInfo and variable substitution

2009-11-23 Thread Steve . Toutant
vendorParams works very well! Thanks very much Steve bart...@osgis.nl@lists.osgeo.org Envoyé par : mapserver-users-boun...@lists.osgeo.org 23/11/2009 01:56 PM A Daniel Morissette dmorisse...@mapgears.com cc mapserver-users mapserver-users@lists.osgeo.org Objet Re: [mapserver-users]

Re: [mapserver-users] TOLERANCE

2009-11-23 Thread Steve Lime
Hi Ted: 1) Yes. 2) The tolerances used in a feature query are from the layer(s) being queried, that is, the qlayer if you set that explicitly. I wonder if you might be running into problems because your map units are in DD and/or the projections being done. Any chance you could whip up a test

Re: [mapserver-users] connecting to ArcSDE postgis

2009-11-23 Thread Richard Greenwood
On Mon, Nov 23, 2009 at 1:17 PM, Mark Volz markv...@co.lyon.mn.us wrote: Hello, I just want to check now that ArcSDE can use PostGIS can Mapserver directly connect to the database using the postgis connection, or does it still need to use the SDE connection? ESRI's documentation indicates

[mapserver-users] RE: LABELS

2009-11-23 Thread Ludwig Kniprath
Hi, you get a centered label which does not move around when panning with LABEL: POSITION cc and LAYER: PROCESSING LABEL_NO_CLIP=ON, as for example: ---schnipp-- LAYER NAME Country CONNECTIONTYPE postgis