variable length tag descriptions (first shot)

This commit is contained in:
Arndt 2014-05-18 19:17:05 +02:00
parent 6768a197ba
commit a145230e0f
23 changed files with 860 additions and 124 deletions

View file

@ -6,13 +6,13 @@
package btools.mapcreator;
public final class OsmLinkP
public class OsmLinkP
{
/**
* The description bitmap is mainly the way description
* used to calculate the costfactor
*/
public long descriptionBitmap;
public byte[] descriptionBitmap;
/**
* The target is either the next link or the target node
@ -22,8 +22,8 @@ public final class OsmLinkP
public OsmLinkP next;
public boolean counterLinkWritten( )
public final boolean counterLinkWritten( )
{
return descriptionBitmap == 0L;
return descriptionBitmap == null;
}
}