Here is an idea: We could do this check in Themepark. Allow setting a function 
for each table that takes a geometry and returns a geometry. It can simply 
return `nil` if it wants to reject the geometry. Themepark would call this 
function before doing the insert. We can provide simple stock functions that 
check for max length or max area and so on and provide a default function 
that's used if you don't set anything that will reject, say, all areas larger 
than 10% of the planet.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/osm2pgsql-dev/osm2pgsql/discussions/2428#discussioncomment-14838734
You are receiving this because you are subscribed to this thread.

Message ID: 
<osm2pgsql-dev/osm2pgsql/repo-discussions/2428/comments/[email protected]>
_______________________________________________
Tile-serving mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/tile-serving

Reply via email to