-
-
Notifications
You must be signed in to change notification settings - Fork 364
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make WFS Query Extents Available for Templating #4405
Comments
|
Are you interested more in the original bbox, the extent of matching features or both? Probably talking about adding couple of tags... Steve |
|
I'm only really interested in being able to access the individual parts of the bbox e.g. bbox.minx, bbox.miny etc. so that I can reformat them a space between coordinate pairs rather than 4 comma-separated values as it is just now. That would certainly satisfy my requirements at this stage. Many thanks. Regards, Donald |
|
It guess accessing those components would require explicit splitting and populating the BBOX parameter via processExtentTag(). It seems it is currently only available as ordinary CGI request parameter. |
|
I agree. That extent is readily available just as the query bbox. |
|
Having looked at this again, I can get the required information and formating by adding querystring parameters to the WFS call from the client since querystring parameters all seem to be passed directly through and are available for templating. Therefore, in my case, I do not now need templating options extended. As well as "bbox" formatted with a space between the coordinate pairs, I also needed a "linearring" where the coordinate pairs are formated thus: "ll.x,lly lt.x,lt.y rt.x,rt.y rb.x,rb.y ll.x,ll.y" i.e. a box with the last coordinates being the same as the first. I would be happy to see this request closed if no one else has the same requirement. Thank you all. Regards, Donald |
|
I'll leave open but push to 6.4 release... Steve |
|
Not feeling motivated in light of my other tickets... Closing. |
I posted the following message to Mapserver Users:
A reply from Andreas Eichner suggested looking at "[shpminx], [shpminy] etc." but this only applies to the individual features within [resultset]. Likewise, Steve Lime suggested "[rawext]" which has limitations as "[mapext]" which provides the extents as configured in the map file; they bear no relationship to the query extents as defined by BBOX in the querystring.
I have created this ticket as suggested by Steve Lime.
Regards,
Donald
What's required is a keyword to gives the overall extents of the whole query by providing access to the individual parts of querystring BBOX i.e. "bbox.minx" etc or
The text was updated successfully, but these errors were encountered: