variable length tag descriptions (second thought)
This commit is contained in:
parent
a145230e0f
commit
ba867b4779
20 changed files with 372 additions and 1334 deletions
|
|
@ -168,8 +168,9 @@ public class OsmCutter extends MapCreatorBase
|
|||
relsParsed++;
|
||||
checkStats();
|
||||
|
||||
String route = r.getTag( "route" );
|
||||
// filter out non-cycle relations
|
||||
if ( ! "bicycle".equals( r.getTag( "route" ) ) )
|
||||
if ( route == null )
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
@ -177,6 +178,7 @@ public class OsmCutter extends MapCreatorBase
|
|||
String network = r.getTag( "network" );
|
||||
if ( network == null ) network = "";
|
||||
writeId( cyclewayDos, r.rid );
|
||||
cyclewayDos.writeUTF( route );
|
||||
cyclewayDos.writeUTF( network );
|
||||
for ( int i=0; i<r.ways.size();i++ )
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue