|
|
|
|
|
by TuringTest
1479 days ago
|
|
> OSM stores maps as graphs, in flat files where each line is either a node, an ordered list of nodes, or metadata. The graph nodes can be arbitrarily ordered in OSM files, which leads to computational complexity when parsing them. This is not a bad thing, since it means that the spec for OSM files can be extremely simple, which makes it easy for people to contribute to OSM. That's actually a sensible design. Treat user-facing stored data as user interface. If you need efficient processing of that data, such as fast parsing, you can always build it elsewhere, such as by caching that data into an intermediate structure that is recompiled whenever the user data changes. |
|
Are you telling me, the main mode of contributing to OSM should be to edit XML files and put in GPS coordinates by hand?
That would be about the most user-hostile UI for map editing I could think of.