
I am trying to make an overlay to show a railway viaduct. I have the following in my 'lines' file: railway=* & bridge=viaduct [0x10304 level 2 continue] railway=* [0x11 level 2] (I have lines defined for these codes in my typ file.) The first statement is never matched, although I know there are 'bridge=viaduct' tags in the input file. e.g. way http://www.openstreetmap.org/browse/way/5908762 However, railway=* & bridge=* [0x10304 level 2 continue] railway=* [0x11 level 2] does work. Can anybody suggest what I am doing wrong? Thanks, Roger -- ------------------------------------------------------------------------ Roger Calvert ------------------------------------------------------------------------

El 05/03/12 18:35, Roger Calvert escribió:
I am trying to make an overlay to show a railway viaduct. I have the following in my 'lines' file:
railway=* & bridge=viaduct [0x10304 level 2 continue] railway=* [0x11 level 2]
(I have lines defined for these codes in my typ file.)
The first statement is never matched, although I know there are 'bridge=viaduct' tags in the input file. e.g. way http://www.openstreetmap.org/browse/way/5908762
However,
railway=* & bridge=* [0x10304 level 2 continue] railway=* [0x11 level 2]
does work.
Can anybody suggest what I am doing wrong? Do you have another bridge=viaduct line in your file, prior to the one with railway=*?

No - neither 'viaduct' nor 'bridge' appears anywhere else in the 'lines' file. ------------------------------------------------------------------------ Roger Calvert ------------------------------------------------------------------------ On 05/03/2012 17:46, Carlos Dávila wrote:
El 05/03/12 18:35, Roger Calvert escribió:
I am trying to make an overlay to show a railway viaduct. I have the following in my 'lines' file:
railway=* & bridge=viaduct [0x10304 level 2 continue] railway=* [0x11 level 2]
(I have lines defined for these codes in my typ file.)
The first statement is never matched, although I know there are 'bridge=viaduct' tags in the input file. e.g. way http://www.openstreetmap.org/browse/way/5908762
However,
railway=* & bridge=* [0x10304 level 2 continue] railway=* [0x11 level 2]
does work.
Can anybody suggest what I am doing wrong? Do you have another bridge=viaduct line in your file, prior to the one with railway=*?
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

On 05/03/12 17:35, Roger Calvert wrote:
I am trying to make an overlay to show a railway viaduct. I have the following in my 'lines' file:
railway=* & bridge=viaduct [0x10304 level 2 continue] railway=* [0x11 level 2]
Well that should work of course, its likely to be something else wrong on the line(s) before that prevents that line being seen, so it would be best to post the whole file. ..Steve

Sorry, I owe everyone an apology for wasting their time. I have just found that the test file I am compiling is out of sync with the live OSM data. A new download works as it should. Roger ------------------------------------------------------------------------ Roger Calvert ------------------------------------------------------------------------ On 05/03/2012 19:35, Steve Ratcliffe wrote:
On 05/03/12 17:35, Roger Calvert wrote:
I am trying to make an overlay to show a railway viaduct. I have the following in my 'lines' file:
railway=*& bridge=viaduct [0x10304 level 2 continue] railway=* [0x11 level 2] Well that should work of course, its likely to be something else wrong on the line(s) before that prevents that line being seen, so it would be best to post the whole file.
..Steve _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
participants (3)
-
Carlos Dávila
-
Roger Calvert
-
Steve Ratcliffe