Hi,

On 02/18/11 10:16, Jukka Rahkonen wrote:
Once you have found a perfect solution, how about placing it somewhere in
front of the OSM database instead? Wouldn't it be better to prevent OSM
users from inserting invalid multipolygons than try to fix them temporary
every time they are used?

No, for several reasons. One of them is purely technical; if you wanted to disallow the creation of invalid multipolygons, whenever a user does something as simple as changing the position of a single node, the database would have to find out all ways using that node, and all relations using one of these ways, and compute the polygons for them and find out if that single node move has maybe caused an intersection to appear. That would take way too much time!

Bye
Frederik


_______________________________________________
dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/dev

Reply via email to