Re: [mapserver-users] Mapserver filter/expression by DATE

2016-08-09 Thread Jeff McKenna
Good catch Ian, I can see inside the docs source paths of "translated/uk", so it is on our side. I've created a ticket for this, and I will now attempt to change that to the proper "ua" country code. https://github.com/mapserver/docs/issues/150 -jeff On 2016-08-09 11:04 AM, Ian Turton

Re: [mapserver-users] Mapserver filter/expression by DATE

2016-08-09 Thread Ian Turton
I have http://mapserver.org/uk/ogc/wms_dimension.html as my dimension, which seems wrong as ususally I would be GB or en_gb in this context. However I believe that the 2 letter Ukrainian code is 'UA' not UK for exactly this reason (see https://en.wikipedia.org/wiki/ISO_3166-2:UA) - I think

Re: [mapserver-users] Mapserver filter/expression by DATE

2016-08-09 Thread Yves Jacolin
On Tuesday, August 09, 2016 15:27:41 Andrea Aime wrote: > On Tue, Aug 9, 2016 at 3:21 PM, Ian Turton wrote: > > PS does anyone know why the MapServer site thinks I'd like cyrillic > > characters in the headings? > > Happens to me as well :-) > > [image: Inline image 1] > >

Re: [mapserver-users] Mapserver filter/expression by DATE

2016-08-09 Thread Andrea Aime
On Tue, Aug 9, 2016 at 3:21 PM, Ian Turton wrote: > PS does anyone know why the MapServer site thinks I'd like cyrillic > characters in the headings? > Happens to me as well :-) [image: Inline image 1] Cheers Andrea -- == GeoServer Professional Services from the

Re: [mapserver-users] Mapserver filter/expression by DATE

2016-08-09 Thread Ian Turton
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 wrote: > I have a PostGIS database and I have a

Re: [mapserver-users] Mapserver filter/expression by DATE

2016-08-09 Thread Jeff McKenna
Hi Daniel, I think for the thousands of readers on this mailing list, you really need to give examples of your psql queries that you are trying (people in these open communities find editing your mistakes much easier than suggesting new solutions). So, dive into the commandline :) Do some

Re: [mapserver-users] Mapserver filter/expression by DATE

2016-08-09 Thread drobins
Hi jeff, does this apply also if I have different projects from different start/enddates? Lets say I have 3 projects: Project A: 2016-01-01 till 2019-01-01 Project B: 2017-02-02 till 2022-01-01 Project C: 2018-03-03 till 2025-05-01 When I check YR2017 I want to see Project A and B but not C

Re: [mapserver-users] How avoid overlapping of label between two distinct layers

2016-08-09 Thread Andrea Peri
Hi Steve, I try setting position auto and test the results. Thx for hint. A. 2016-08-09 14:31 GMT+02:00 Lime, Steve D (MNIT) : > Are you setting a fixed position (e.g. CC)? You can try AUTO and MapServer > will try different placements to avoid collisions. --Steve >

Re: [mapserver-users] Mapserver filter/expression by DATE

2016-08-09 Thread Jeff McKenna
Hello, You can create your query through the commandline tool 'psql', and once you have that working you can test through the 'ogrinfo' commandline tool, using its '-sql' switch. Then you can test through MapServer with the 'shp2img' commandline tool, by setting that query within the DATA

Re: [mapserver-users] How avoid overlapping of label between two distinct layers

2016-08-09 Thread Lime, Steve D (MNIT)
Are you setting a fixed position (e.g. CC)? You can try AUTO and MapServer will try different placements to avoid collisions. --Steve From: mapserver-users [mapserver-users-boun...@lists.osgeo.org] on behalf of Andrea Peri [aperi2...@gmail.com] Sent:

Re: [mapserver-users] How avoid overlapping of label between two distinct layers

2016-08-09 Thread Andrea Peri
HI Thomas, Yes, I put the FORCE=true. But setting FORCE=false, mapserver will remove the label overlapping.

Re: [mapserver-users] How avoid overlapping of label between two distinct layers

2016-08-09 Thread thomas bonfort
Mapserver will prevent label coliding by default unless you force it to do otherwise. I suspect that in your case one of the layers is either not using a labelcache, set to FORCE, or is a client WMS layer for which your own mapserver has no control/knowledge of label positions. -- thomas On 9

[mapserver-users] How avoid overlapping of label between two distinct layers

2016-08-09 Thread Andrea Peri
Hi, I need to avoid the overlapping of labels between two layers. To do this I try to set the BUFFER option in both layers, but I see it seem don't work as I expected. Perhaps the buffer is working only for label of same layers ? This is a sample of actual overlapping:

[mapserver-users] Mapserver filter/expression by DATE

2016-08-09 Thread drobins
I have a PostGIS database and I have a column "startdate" and "enddate" in my database (-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