logo separator

[mkgmap-dev] improved diagnostics patch v2

From Gerd Petermann gpetermann_muenchen at hotmail.com on Sun Jan 10 08:04:04 GMT 2021

Hi Mike,

sorry, I looked at your first patch but forgot to answer. I always hesitate to change those debug messages because some users parse them with scripts.
I think Way.toString() should work similar to Node.toString and Relation.toString and thus return a string starting with "WAY:". See my modified version.

I don't like the repeated code producing the "generated from" messages. Isn't it possible to implement that once in classElement?

Gerd



________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Mike Baggaley <mike at tvage.co.uk>
Gesendet: Samstag, 9. Januar 2021 17:18
An: 'Development list for mkgmap'
Betreff: [mkgmap-dev] improved diagnostics patch v2

Hi Gerd,

My previous diagnostic improvements patch seems to have got lost, but since
then I have noticed another couple of items to include, so attached is an
updated version.

Cheers,
Mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diagnostics3.patch
Type: application/octet-stream
Size: 4623 bytes
Desc: diagnostics3.patch
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20210110/57c14eab/attachment.obj>


More information about the mkgmap-dev mailing list