You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
More complex interpolation (closer to templating) would be useful. I can't use !geom_hash! in complex queries, but !geom_hash(hgrid.the_geom)! would work if tilesplash supported it. Concerned that it may be a can of worms, though. Still, more advanced substitutions could be useful in all kinds of situations...
WHERE !intersects! --defaults to the_geomWHERE !intersects(hgrid.the_geom)! --override for fancy queriesWHERE !intersects(the_geom_webmercator, 3857)! --optional transformSELECT !geojson!, !id! --sensible defaultsSELECT !geojson(hgrid.the_geom)!, !id(hgrid.centroid)! --override stuff, customize stuff
This would let us abstract away some more complicated (but commonly used) geospatial features without making them opaque. Users could get fancy features like polygon deduplication (something not even OSM has figured out) without having to reinvent the wheel, and hopefully without muddying their existing SQL.
If it's extensible enough, I can see this working for more advanced stuff like
SELECT !hexbins! FROM points WHERE !intersects!
The text was updated successfully, but these errors were encountered:
More complex interpolation (closer to templating) would be useful. I can't use
!geom_hash!
in complex queries, but!geom_hash(hgrid.the_geom)!
would work if tilesplash supported it. Concerned that it may be a can of worms, though. Still, more advanced substitutions could be useful in all kinds of situations...This would let us abstract away some more complicated (but commonly used) geospatial features without making them opaque. Users could get fancy features like polygon deduplication (something not even OSM has figured out) without having to reinvent the wheel, and hopefully without muddying their existing SQL.
If it's extensible enough, I can see this working for more advanced stuff like
The text was updated successfully, but these errors were encountered: