Re: [mapserver-users] working with date formats in identify templates

2014-06-13 Thread Lime, Steve D (MNIT)
There's nothing inherent in templates to do this for you but there are options: 1. Use javascript in the template, something like: GIS Date: var date_jf = '[item name="Date"]'; // process the date into something prettier var date = ...; // output the date (zillio

[mapserver-users] working with date formats in identify templates

2014-06-13 Thread Mark Volz
Hello I have a date that is in Julian format. I would like to convert that date from Julian format such as '20140423' to something more user friendly like '4/23/2014' or 'April 23, 2014' etc. Can I accomplish this through mapserver? GIS Date: [item name="Date"

Re: [mapserver-users] WFS and WMS

2014-06-13 Thread Rahkonen Jukka (Tike)
Hi, A rough example is here. I am sure it is not perfect but at least both WMS and WFS layers work with QGIS 2.0. I know there is an odd mixture of ows*, wms* and wfs* metadata items. http://latuviitta.org/downloads/wms-wfs.zip Zip file contains a Spatialite database for data and a correspondin

Re: [mapserver-users] WFS and WMS

2014-06-13 Thread Jeff McKenna
On 2014-06-13, 9:56 AM, Rahkonen Jukka (Tike) wrote: > Hi, > > > > An official demo server > would be a great supporting resource and people could send just links > like “See, this one is advertised as a Mapserver WFS in > http://demo.mapserver.org/ but hey, it is WMS at the same!” > > > /

Re: [mapserver-users] WFS and WMS

2014-06-13 Thread Rahkonen Jukka (Tike)
Hi, I will need to make one first. I am going to use the famous "states.shp" that is used as one of the demo layers of Geoserver. I would say that we should have something similar for Mapserver, a bunch of mapfiles and some demo datasets that could be dropped on the server so that they just wor

Re: [mapserver-users] WFS and WMS

2014-06-13 Thread Martin Kofahl
Consider also the setting wms/wfs/ows_enable_request "*" to enable/disable a specific layer for wms or wfs. Martin 2014-06-13 14:31 GMT+02:00 Jörg Thomsen : > Hi Paul, > > Am 13.06.2014 14:20, schrieb Malm Paul: > > Hi list! > > > > Is it possible to combine configuration for both WFS and WMS in

Re: [mapserver-users] WFS and WMS

2014-06-13 Thread Malm Paul
Yes please, if you have one I would be grateful. /Paul From: Rahkonen Jukka (Tike) [mailto:jukka.rahko...@mmmtike.fi] Sent: den 13 juni 2014 14:30 To: Malm Paul; 'mapserver-users@lists.osgeo.org' Subject: Re: WFS and WMS Short answer: yes. However, you would perhaps like to see an example, or?

Re: [mapserver-users] WFS and WMS

2014-06-13 Thread Jeff McKenna
Yes it is, instead of "wms_" or "wfs_" use "ows_" in your metadata. -jeff On 2014-06-13, 9:20 AM, Malm Paul wrote: > Hi list! > > Is it possible to combine configuration for both WFS and WMS in a mapfile? > > > > Thanks, > > /Paul > -- Jeff McKenna MapServer Consulting and Training S

Re: [mapserver-users] WFS and WMS

2014-06-13 Thread Jörg Thomsen
Hi Paul, Am 13.06.2014 14:20, schrieb Malm Paul: > Hi list! > > Is it possible to combine configuration for both WFS and WMS in a mapfile? yes. you can combine wms_* and wfs_* in metadata-section or use ows_* if the metadata is the same for wms and wfs. Jörg > > > > Thanks, > > /Paul > >

Re: [mapserver-users] WFS and WMS

2014-06-13 Thread Rahkonen Jukka (Tike)
Short answer: yes. However, you would perhaps like to see an example, or? -Jukka Rahkonen- Malm Paul wrote Hi list! Is it possible to combine configuration for both WFS and WMS in a mapfile? Thanks, /Paul ___ mapserver-users mailing list mapserver-u

[mapserver-users] WFS and WMS

2014-06-13 Thread Malm Paul
Hi list! Is it possible to combine configuration for both WFS and WMS in a mapfile? Thanks, /Paul ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] TileIndex - accuracy and truncation ?

2014-06-13 Thread Rahkonen Jukka (Tike)
Hi, I am sure that the accuracy of tileindex vectors does not make the trouble. The tileindex is only used for selecting which images will be needed for building the requested output image and this is done by selecting polygons which intersect with the requested BBOX. Once the correct image f