[talk-au] navit files

Sam Couter sam at couter.id.au
Thu Oct 15 09:50:14 BST 2009

Franc Carter <franc.carter at gmail.com> wrote:
> On Tue, Oct 13, 2009 at 9:55 PM, John Smith <deltafoxtrot256 at gmail.com>wrote:
> > I wonder if it's possible to duplicate the object to break it up into
> > 2 objects instead of one, and strip appropriate tags from the
> > respective objects.
> >
> Yep, that's the 'correct' solution that I am assuming, without having
> actually delved
> in to the code at the moment.

The solution outlined by cp15 (see Liz's earlier message) is to modify
attr_longest_match to return more than just one match when appropriate.

The hard part will be deciding how to determine when more matches should
be returned and what those matches should be. Returning too many matches
will greatly increase the size of the Navit map file, which is obviously
Sam Couter         |  mailto:sam at couter.id.au
OpenPGP fingerprint:  A46B 9BB5 3148 7BEA 1F05  5BD5 8530 03AE DE89 C75C
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openstreetmap.org/pipermail/talk-au/attachments/20091015/aaab75ec/attachment.pgp>

More information about the Talk-au mailing list