Sascha Silbe schrieb: > On Wed, Jan 06, 2010 at 04:46:23PM +0100, Tobias Knerr wrote: > > [Innerorts über spezielles Tag an jedem Weg markieren] >> Möchtest du lieber Bounding-Polygone auswerten? > Ja! Vorverarbeitung ist sowieso nötig (zumindest wenn man in mehr als > nur ein paar Städten routen will) und LineString-in-LinearRing lässt > sich z.B. mit GEOS einfach _und_ schnell überprüfen (insbesondere wenn > man die Grenzen in einen RTree packt).
Jetzt sind wir aber bei den Anforderungen von "kann jeder Programmierer ohne Vorkenntnisse problemlos" zu "kann ein Geo-Experte problemlos" übergegangen... Der Ersteller einer kleinen Anwendung, der mal eben OSM "in creative and unexpected ways" verwenden will, hat womöglich von GEOS und RTree noch nie was gehört. > Ich programmiere lieber einen Polygon-Check als ein Tool, was falsch > gesetzte innerorts=yes/no erkennt. Letzteres ist aber als Nutzer der Daten nicht deine Aufgabe. :) Im übrigen: Was sind deine Antworten auf die sonstigen im traffic-zone-Proposal aufgeführten Kritikpunkte an Polygonen? > Why don't you use polygons for this? > * Polygons are two-dimensional. There are situations where bridges > or similar three-dimensional structures cause "zones" to vertically > overlap, which cannot be represented by polygons. > * Downloading only a part of the map (e.g. a part of a city) can > result in polygons missing from the download, despite ways from > inside the polygon being part of the downloaded data. > * A mapper will often know that a certain way is part of a zone > without knowing where the zone boundaries are. > * Tags on ways are easier to evaluate for applications. Polygons > require more advanced programming techniques to reduce performance > problems from inclusion tests. > * it's very incorrect, because only the roads themselves are part of > any kind of traffic-zone and not the whole area; e.g. roads in parcs > or on private property or even tracks. Tobias Knerr _______________________________________________ Talk-de mailing list [email protected] http://lists.openstreetmap.org/listinfo/talk-de

