Skip to content
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

Support keyword substitution in provider queries #14306

Open
qgib opened this issue Oct 13, 2011 · 9 comments
Open

Support keyword substitution in provider queries #14306

qgib opened this issue Oct 13, 2011 · 9 comments
Labels
Data Provider Related to specific vector, raster or mesh data providers Feature Request

Comments

@qgib
Copy link
Contributor

qgib commented Oct 13, 2011

Author Name: Sandro Santilli (@strk)
Original Redmine Issue: 4374

Redmine category:data_provider


When fetching features from a query it would be useful to allow using keywords to be substituted on each fetching.
Such keywords, in particular pixel sizes and extent, could be used by the query to preprocess geometries (like DP-simplification, grid snapping etc.) and reduce the amount of geometries fetched (using extent information).

@qgib
Copy link
Contributor Author

qgib commented Dec 9, 2011

Author Name: Paolo Cavallini (@pcav)


  • category_id was configured as Data Provider

@qgib
Copy link
Contributor Author

qgib commented Dec 16, 2011

Author Name: Giovanni Manghi (@gioman)


  • fixed_version_id was configured as Version 1.7.4

@qgib
Copy link
Contributor Author

qgib commented Apr 15, 2012

Author Name: Giovanni Manghi (@gioman)


  • fixed_version_id was changed from Version 1.7.4 to Version 2.0.0

@qgib
Copy link
Contributor Author

qgib commented Oct 6, 2012

Author Name: Pirmin Kalberer (Pirmin Kalberer)


  • fixed_version_id was changed from Version 2.0.0 to Future Release - Nice to have

@qgib
Copy link
Contributor Author

qgib commented Jul 28, 2016

Author Name: Andreas Wicht (@andywicht)


That would be a great change in order to make actual use of the postgis_topology in QGIS. For tiny topologies it would not make much of a difference, but for the bigger ones.
Big topologies are completely un-editable in QGIS due to the restriction that spatial indexing is not compatible with the TopoGeometry type.
So, given the fact, that a table additionally stores the Geometry representation of a TopoGeometry, the Geometry column could be used to query the spatial extents and therefore utilising spatial indexing while displaying and editing the TopoGeometry column.

That would enable anybody to utilise QGIS for the editing process of large postgis topologies as no custom web-gis solutions would have to be developed.

Reconsidering the target version would be highly appreciated by me :-)

@qgib
Copy link
Contributor Author

qgib commented Jul 28, 2016

Author Name: Sandro Santilli (@strk)


I guess "target version" could be changed if someone provides an actual patchset to implement the keyword substitution.

@qgib
Copy link
Contributor Author

qgib commented Apr 30, 2017

Author Name: Giovanni Manghi (@gioman)


  • easy_fix was configured as 0

@qgib qgib added Feature Request Data Provider Related to specific vector, raster or mesh data providers labels May 24, 2019
@qgib qgib added this to the Future Release - Nice to have milestone May 24, 2019
@strk
Copy link
Contributor

strk commented Aug 27, 2019

One problem with keyword substitution is that attributes fetching would then end up depending on current extent (unless we have the substitution pass an "universe" bounding box in that case)

@strk
Copy link
Contributor

strk commented Aug 28, 2019

@andywicht could you please take a look at #31468 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Data Provider Related to specific vector, raster or mesh data providers Feature Request
Projects
None yet
Development

No branches or pull requests

2 participants