Wouter Scherphof ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A6e4f2240-c053-413f-a3d3-88cd07ffe4df
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiNmNkYjE2YTJhODMyNGYxMjk4OTRkMzE1OWZlNDE3YjYiLCJwIjoiaiJ9
 ) / Improvement ( 
https://osgeo-org.atlassian.net/browse/GEOS-10047?atlOrigin=eyJpIjoiNmNkYjE2YTJhODMyNGYxMjk4OTRkMzE1OWZlNDE3YjYiLCJwIjoiaiJ9
 ) GEOS-10047 ( 
https://osgeo-org.atlassian.net/browse/GEOS-10047?atlOrigin=eyJpIjoiNmNkYjE2YTJhODMyNGYxMjk4OTRkMzE1OWZlNDE3YjYiLCJwIjoiaiJ9
 ) Provide (just) the BBOX as a parameter in SQL Views ( 
https://osgeo-org.atlassian.net/browse/GEOS-10047?atlOrigin=eyJpIjoiNmNkYjE2YTJhODMyNGYxMjk4OTRkMzE1OWZlNDE3YjYiLCJwIjoiaiJ9
 )

Issue Type: Improvement Assignee: Unassigned Created: 03/May/21 4:11 PM 
Priority: Medium Reporter: Wouter Scherphof ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A6e4f2240-c053-413f-a3d3-88cd07ffe4df
 )

In a SQL View definition, we can use the :where_clause: placeholder ( 
https://docs.geoserver.org/latest/en/user/data/database/sqlview.html#place-holder-for-the-sql-where-clause
 ) , which includes the requested BBOX.

It would be very useful to have a similar parameter, :bbox: , with just the 
BBOX value, so that a spatial index filter can be constructed at the most 
sensible spot in complex queries (e.g. pass it as a parameter value to a 
database function).

We currently work around this by passing the BBOX as a viewparam ( 
https://docs.geoserver.org/latest/en/user/data/database/sqlview.html#parameterizing-sql-views
 ) , but it's quite tedious to set that up.

( 
https://osgeo-org.atlassian.net/browse/GEOS-10047#add-comment?atlOrigin=eyJpIjoiNmNkYjE2YTJhODMyNGYxMjk4OTRkMzE1OWZlNDE3YjYiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-10047#add-comment?atlOrigin=eyJpIjoiNmNkYjE2YTJhODMyNGYxMjk4OTRkMzE1OWZlNDE3YjYiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100157- 
sha1:e888363 )
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to