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
though I don't know how hard is to solve these "corner cases" around 180º long. It is kind of a generic problem with geometry types and postgis.
For this very instance the trick may be splitting the geography polygons around 180º before casting back to geometry. Take a look at this post: https://carto.com/blog/jets-and-datelines/
The text was updated successfully, but these errors were encountered:
When using Area of Interest analysis with points close to the map margins (~180º longitude) invalid polygons are generated, covering the whole world:
Carto file with an example: carto.zip
The query to generate the analysis was:
An example from that dataset with the issue:
Point in the dataset:
Point after buffer (invalid render both in builder and in Qgis):
Some info from CartoDB/crankshaft#187 (comment) by @rafatower:
I'm pretty sure the "offending" query is generated in camshaft:
camshaft/lib/node/nodes/buffer.js
Lines 47 to 65 in 99d6e5d
though I don't know how hard is to solve these "corner cases" around 180º long. It is kind of a generic problem with geometry types and postgis.
For this very instance the trick may be splitting the geography polygons around 180º before casting back to geometry. Take a look at this post: https://carto.com/blog/jets-and-datelines/
The text was updated successfully, but these errors were encountered: