[mapserver-users] Mapserver filter/expression by DATE

Ian Turton ijturton at gmail.com
Tue Aug 9 06:21:36 PDT 2016


Could you use the WMS dimension support?
http://mapserver.org/uk/ogc/wms_dimension.html

Ian

PS does anyone know why the MapServer site thinks I'd like cyrillic
characters in the headings?

On 9 August 2016 at 12:56, drobins <d.robins at gisarts.nl> wrote:

> I have a PostGIS database and I have a column "startdate" and "enddate" in
> my
> database (YYYY-MM-DD format).
> What I want to do is make a filter/expression that checks if a certain
> selected date falls between those 2 dates.
>
> Example:
> I have a checkbox for enable/disable the following layers:
> 2016
> 2017
> 2018
> 2019
> 2020
>
> I have an entry in my database with:
> startdate: 2016-01-01
> enddate: 2019-01-01
>
> If I check the layer 2017, I would like it to check if its between the
> start/enddate and if yes, display it.
> Is this possible with Mapserver/Openlayers?
>
>
>
> --
> View this message in context: http://osgeo-org.1560.x6.
> nabble.com/Mapserver-filter-expression-by-DATE-tp5280038.html
> Sent from the Mapserver - User mailing list archive at Nabble.com.
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users




-- 
Ian Turton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20160809/2539a3ce/attachment.htm>


More information about the MapServer-users mailing list