Re: [mapserver-users] GetFeature WFS request with Spatial Filter DWITHIN

2020-04-27 Thread Rahkonen Jukka (MML)
Hi, The vendor specific filters are listed in the WFS GetCapabilities. Try https://demo.geo-solutions.it/geoserver/wfs?service=WFS&version=2.0.0&request=GetCapabilities and you will find a lot of filters, including “Nearest”. I do not know the exact syntax to use in WFS filter but perhaps Andr

Re: [mapserver-users] Make PROJECTION mandatory?

2020-04-27 Thread Rahkonen Jukka (MML)
Hi, My point is that defaults may be fine as long as everything goes right. But when you need to find out what goes wrong it is much easier if projections are explicitly set. Especially if you are at your customers site or you are trying to give help through the mailing list when the mapfile an

Re: [mapserver-users] Make PROJECTION mandatory?

2020-04-27 Thread Basques, Bob (CI-StPaul)
Very subtle Jeff. :c) I was thinking about a "Gotcha" page in the documentation. There a few of these same sort of MapServer gothchas that could be included up high in the docs table of contents. Bobb -Original Message- From: mapserver-users On Behalf Of Jeff McKenna Sent: Monda

Re: [mapserver-users] Make PROJECTION mandatory?

2020-04-27 Thread Jeff McKenna
I do look forward to approving pull requests from all of the people talking now of doc updates ;) I really look forward to this. :) -jeff -- Jeff McKenna MapServer Consulting and Training Services https://gatewaygeo.com/ On 2020-04-27 5:04 p.m., Mark Volz wrote: Hello, Just to add in my

Re: [mapserver-users] Make PROJECTION mandatory?

2020-04-27 Thread Mark Volz
Hello, Just to add in my two cents to this. 1) I don’t think we should have to specify a projection at the and level if they are the same as that would seem redundant to me. However, it should be allowed if a user wants to specify the projection at both levels. 2) Perhaps it would be good f

[mapserver-users] NOTICE: May 13, 2020 - OSGeo Local Chapter Virtual Meeting (aka TCMUG)

2020-04-27 Thread Basques, Bob (CI-StPaul)
All, So, the last meeting was interesting in that we went virtual with it for the first time. All in all it worked out very well. We even had a few out of towners show up. We presented a couple of short presentations that seemed to be of interest to the group based on the questions raised. O

Re: [mapserver-users] Make PROJECTION mandatory?

2020-04-27 Thread Basques, Bob (CI-StPaul)
All, I can second Steve’s idea. We were using Mapserver for years before we needed to pay attention to projections, because all of our data wasin our local coordinate system. We now work projection across all map services for all layers, either by explicitly stating the projection or having

Re: [mapserver-users] GetFeature WFS request with Spatial Filter DWITHIN

2020-04-27 Thread Steve Lime
To be clear, Fran - are you saying the issue isn't the result set rather the order? If so I don't know of a way to affect that order. In terms of a nearest feature or features. This would be something that I would be keen on addressing. I've run into a variant of this issue using the CGI and mode=

Re: [mapserver-users] Make PROJECTION mandatory?

2020-04-27 Thread Steve Lime
I would prefer to pursue as a documentation/communication exercise first. It's not that I don't agree that PROJECTION blocks are generally recommended but making them required and introducing artificial projections to deal with cases when projections aren't used (embedded legends, scale bars and ot

Re: [mapserver-users] GetFeature WFS request with Spatial Filter DWITHIN

2020-04-27 Thread Rahkonen Jukka (MML)
Hi, The DWithin function in WFS is a true/false function just like the equivalent PostGIS function https://postgis.net/docs/ST_DWithin.html. You can’t find the nearest feature with DWithin. A not so good workaround is to increase the distance until the result is not empty. Mapserver does not h

[mapserver-users] GetFeature WFS request with Spatial Filter DWITHIN

2020-04-27 Thread Fran Acuña Parra
Hi, Following the topic about another question that I sent, I'm using a Getfeature WFS request with a DWITHIN spatial filter to returns the closes feature of a layer given some specific coordinates. The request works fine, but when there are several features that match the filter it doesn't return

Re: [mapserver-users] Make PROJECTION mandatory?

2020-04-27 Thread Jeff McKenna
Hi Jukka, I personally consider defining PROJECTION blocks at the MAP level and all LAYERs mandatory, in my day-to-day work, for each and every mapfile. If you do not specify all of these, MapServer makes assumptions and you are just asking for trouble downstream through WMS clients etc. (yo

[mapserver-users] Make PROJECTION mandatory?

2020-04-27 Thread Rahkonen Jukka (MML)
Hi, Recent Mapserver buids require PROJ and GDAL https://mapserver.gis.umn.edu/ja/development/rfc/ms-rfc-127.html. That means that every Mapserver can support PROJECTION blocks both at the MAP level and within LAYER. And because there are no more builds without Proj support there is no real ne