[Routing] Binary file format

Marcus Wolschon marcus at wolschon.biz
Tue Dec 11 08:28:29 GMT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Adrian Stabiszewski schrieb:
>> This must be a misunderstanding. OSM does have junction nodes.
>> Shapefiles don't.
>>
> 
> Yes, you're right. But what I mean is that people don't use them to connect
> ways. I guess it should be possible to add junction nodes automatically
> since they can be well defined.


Dear Adrian,

what do you mean?
If 2 ways are connected there must be a node connecting them
in the current API-XML-Format. You may removed nodes that you
do not need for routing after calculating your way+junction-metrics
and removing ways,nodes and relations that are irrelevant for
local routing and for local map-rendering.

Please also do not forget that you need to be able to render
the map locally from the data-format you use because you are
likely to be offline. (If you where reliably online the whole
exercise would be pointless because a big machine capable of
using the current format at your home could do everything for you.)

Marcus
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHXkotf1hPnk3Z0cQRAnnoAKCHHD4zLibgpDCUz9H8p/9rf41s6gCfWTF4
RSlWy5pCjqe7ttiyDS3vOZc=
=CmT0
-----END PGP SIGNATURE-----




More information about the Routing mailing list