logo separator

[mkgmap-dev] [PATCH v1] Add defer relation support to PBF reading

From WanMil wmgcnfg at web.de on Sun Oct 23 13:32:40 BST 2011

> On Sat, Oct 22, 2011 at 09:20:00PM +0200, WanMil wrote:
>> Adds the missing support for deferred relations when working with PBF files.
>
> Thanks WanMil, but unfortunately this simple patch does not seem to be
> doing the trick for me. I tested with the ferry relation 155054: the
> highway=bus_stop members of the subrelations do not get the relation
> name (Suomenlinnan lautta) appended to their names.
>
> 	Marko

Hi Marko,

the problem seems to be not the patch but either splitter or PBF dump 
utils.

I downloaded the finland.osm.pbf extract from geofabrik, run splitter 
and used mkgmap with the patch. As you described the patch did nothing. 
I reconverted the tile containing the relation 155054 to osm XML using 
osmconvert. In the resulting file no relation contained a member with 
type="relation". Only members with type="node" or type="way" are contained.

So there are three possible problems:
1. The geofabrik dump does not contain subrelations
2. Splitter does not support subrelations
3. Osmconvert does not support subrelations

My current favourite is that splitter is the problem. Maybe someone who 
knows splitter better than me can have a look at it? Thanks!

WanMil




More information about the mkgmap-dev mailing list