logo separator

[mkgmap-dev] Why are all the un-named peaks called '6140565'?

From Mark Burton markb at ordern.com on Mon Mar 15 15:28:53 GMT 2010

Hi Steve,

> > <node id='27424899' lat='55.8449129' lon='-4.4298279'>
> > <tag k='highway' v='bus_stop'/>
> > <tag k='nat_ref' v='6140565'/>
> > </node>  
> 
> It may be a clue that nat_ref does not occur in the style file at all. 
> As far as I can tell so far, the problem is happening after style 
> processing. Very strange.

In StyledConverter.elementSetup() if an element doesn't have a name but
it has a ref (ref|int_ref|nat_ref|etc.) the first ref gets assigned to
the name. It also does some pattern matching like the filter stuff
does. I wonder if there is a connection...?

Mark



More information about the mkgmap-dev mailing list