[OSM-dev] OSM Database schema

Martin Koppenhoefer dieterdreist at gmail.com
Sat Jan 4 22:01:08 UTC 2020



sent from a phone

> On 4. Jan 2020, at 17:28, Jean Marie Falisse <fa003029 at skynet.be> wrote:
> 
> Is it still true that in the OSM database, areas are not represented as such?


areas can be represented as areas through multipolygon relations which are always areas or by help of an additional tag (area=yes/no), or through plausibility (tags and their combinations may imply an area or not). There isn’t a dedicated area object, maybe this is what you meant. Areas are represented with ways, and tags or relations are required to define the ways as areas.


> That would mean, for instance, that a pedestrian zone, let’s say a big square in a city, cannot be made to be crossed diagonally when used in a route planner. Am I right?


typically routing engines operate on graphs, i.e. they do not route diagonally across areas, but this isn’t related to the question whether there is a dedicated datatype for areas or not.

Cheers Martin 


More information about the dev mailing list