logo separator

[mkgmap-dev] Indexing street belonging to two cities

From Gerd Petermann gpetermann_muenchen at hotmail.com on Thu Oct 20 13:03:27 BST 2022

Hi Piotr,

reg. multipile cities: I'm sorry, it seems I no longer understand the code in mkgmap :(
In fact it seems I somehow lost my ability to understand and handle complex problems, probably it's time for me to stop doing this.

My first patch works as intended but doesn't change the output as expected.
I thought that mkgmap can handle roads with multiple cities but you seem to be right that this only works when the cities are encoded with the house numbers.
I've no idea what mkgmap should write for your input and our tools to analyse the GMP format are too poor as well.
Maybe cgpsmapper creates fake house numbers for the additional cities?

Reg. [Sign]: I might look at this again in the winter. Right now I prefer to cycle and do some OSM mapping.



ciao,
Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Gerd Petermann <gpetermann_muenchen at hotmail.com>
Gesendet: Dienstag, 18. Oktober 2022 09:34
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] Indexing street belonging to two cities

Hi Piotr,

it seems I already worked on the [Sign] stuff in 2016, see https://www.mkgmap.org.uk/pipermail/mkgmap-dev/2016q1/024703.html

I have no idea why I stopped at that time, but it means that I was wrong when I wrote that we already know how to write
the [Sign] data. I've confused that with the method how we write destination hints.

I'll start again to look at the data from Andrzej.

Reg. multiple cities for one road:
My patch only handles the @ in city names. The manual shows that this trick can also be used for RegionName.
I have to add some more code to handle this in the way documented in the manual.

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Piotr Wawrzyniak <wopozka at gmail.com>
Gesendet: Montag, 17. Oktober 2022 16:11
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] Indexing street belonging to two cities

pon., 17 paź 2022 o 15:50 Gerd Petermann
<gpetermann_muenchen at hotmail.com> napisał(a):
> well, GPSMapEdit says it is NT format, and for the existence of the sub type GMP means NT format.

Well, it might be alike from index point of view, but I am sure that
the whole NT, have never been decoded.

> Anyhow, I might find a way to work around that.

That could be awesome, if you need any additional data, please let me
know, I will try to prepare specific data if you wish.

> Do you know what the data starting with HLevel0 is about? I cannot find that in the cGPSmapper
> manual version 2.5

You can ignore it, it is extension from navitel, and it is used in the
source code for bridges depiction. In general it shows level: -1 mean
tunel, +1 etc mean above surface.

> I've also noticed that mkgmap ignores the key Routeparam because it expects RouteParam.
> I guess it should ignore case as with some other key words?

Yes, mkgmap ignores Routparam, but it is not an issue at all, as I am
preprocessing source for mkgmap. It might be that cgpmapper is not
case sensitive at all, but I would need to check it. Should I?
Routeparam is a result of another software, that prepares mp for
cgpamapper. It creates routing data (nodes), restrictions, signs and
balances routing classes. But apparently cgpamapper accepts Routeparam
as well.
Piotr
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk
https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk
https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


More information about the mkgmap-dev mailing list