[mkgmap-dev] Index and equally named cities
From Martin mkmap at snailrun.de on Mon Jul 11 17:18:38 BST 2011
Steve, I've tried to merge the locator-branch with your city-region-branch, but I get a few errors and he failed to build the jar. Could you please merge it for me? I've tried: svn co http://svn.parabola.me.uk/mkgmap/branches/locator mkgmap-locator cd mkgmap-locator svn merge ^/branches/city-region-index ant dist and then... martins-macbook-pro-15:mkgmap-locator Martin$ ant dist Buildfile: /Users/Martin/Desktop/map/mkgmap-locator/build.xml prepare: compile: [javac] /Users/Martin/Desktop/map/mkgmap-locator/build.xml:93: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Compiling 399 source files to /Users/Martin/Desktop/map/mkgmap-locator/build/classes [javac] /Users/Martin/Desktop/map/mkgmap-locator/src/uk/me/parabola/mkgmap/reader/osm/bin/OsmBinHandler.java:27: package crosby.binary does not exist [javac] import crosby.binary.BinaryParser; [javac] ^ [javac] /Users/Martin/Desktop/map/mkgmap-locator/src/uk/me/parabola/mkgmap/reader/osm/bin/OsmBinHandler.java:28: package crosby.binary does not exist [javac] import crosby.binary.Osmformat; [javac] ^ [javac] /Users/Martin/Desktop/map/mkgmap-locator/src/uk/me/parabola/mkgmap/reader/osm/bin/OsmBinMapDataSource.java:24: package crosby.binary.file does not exist [javac] import crosby.binary.file.BlockInputStream; [javac] ^ [javac] /Users/Martin/Desktop/map/mkgmap-locator/src/uk/me/parabola/mkgmap/reader/osm/bin/OsmBinHandler.java:42: cannot find symbol [javac] symbol : class BinaryParser [javac] location: class uk.me.parabola.mkgmap.reader.osm.bin.OsmBinHandler [javac] public class BinParser extends BinaryParser { [javac] ^ [javac] /Users/Martin/Desktop/map/mkgmap-locator/src/uk/me/parabola/mkgmap/reader/osm/bin/OsmBinHandler.java:44: package Osmformat does not exist [javac] protected void parse(Osmformat.HeaderBlock header) { [javac] ^ [javac] /Users/Martin/Desktop/map/mkgmap-locator/src/uk/me/parabola/mkgmap/reader/osm/bin/OsmBinHandler.java:64: package Osmformat does not exist [javac] protected void parseNodes(List<Osmformat.Node> nodes) { [javac] ^ [javac] /Users/Martin/Desktop/map/mkgmap-locator/src/uk/me/parabola/mkgmap/reader/osm/bin/OsmBinHandler.java:87: package Osmformat does not exist [javac] protected final void parseDense(Osmformat.DenseNodes nodes) { [javac] ^ [javac] /Users/Martin/Desktop/map/mkgmap-locator/src/uk/me/parabola/mkgmap/reader/osm/bin/OsmBinHandler.java:130: package Osmformat does not exist [javac] protected void parseWays(List<Osmformat.Way> ways) { [javac] ^ [javac] /Users/Martin/Desktop/map/mkgmap-locator/src/uk/me/parabola/mkgmap/reader/osm/bin/OsmBinHandler.java:164: package Osmformat does not exist [javac] protected void parseRelations(List<Osmformat.Relation> rels) { [javac] ^ [javac] /Users/Martin/Desktop/map/mkgmap-locator/src/uk/me/parabola/mkgmap/reader/osm/bin/OsmBinMapDataSource.java:60: cannot find symbol [javac] symbol : class BlockInputStream [javac] location: class uk.me.parabola.mkgmap.reader.osm.bin.OsmBinMapDataSource [javac] BlockInputStream stream = new BlockInputStream(is, reader); [javac] ^ [javac] /Users/Martin/Desktop/map/mkgmap-locator/src/uk/me/parabola/mkgmap/reader/osm/bin/OsmBinMapDataSource.java:60: cannot find symbol [javac] symbol : class BlockInputStream [javac] location: class uk.me.parabola.mkgmap.reader.osm.bin.OsmBinMapDataSource [javac] BlockInputStream stream = new BlockInputStream(is, reader); [javac] ^ [javac] /Users/Martin/Desktop/map/mkgmap-locator/src/uk/me/parabola/mkgmap/reader/osm/bin/OsmBinHandler.java:65: package Osmformat does not exist [javac] for (Osmformat.Node binNode : nodes) { [javac] ^ [javac] /Users/Martin/Desktop/map/mkgmap-locator/src/uk/me/parabola/mkgmap/reader/osm/bin/OsmBinHandler.java:93: operator + cannot be applied to Osmformat.DenseNodes.getLat,long [javac] long lat = nodes.getLat(nid) + lastLat; [javac] ^ [javac] /Users/Martin/Desktop/map/mkgmap-locator/src/uk/me/parabola/mkgmap/reader/osm/bin/OsmBinHandler.java:93: incompatible types [javac] found : <nulltype> [javac] required: long [javac] long lat = nodes.getLat(nid) + lastLat; [javac] ^ [javac] /Users/Martin/Desktop/map/mkgmap-locator/src/uk/me/parabola/mkgmap/reader/osm/bin/OsmBinHandler.java:94: operator + cannot be applied to Osmformat.DenseNodes.getLon,long [javac] long lon = nodes.getLon(nid) + lastLon; [javac] ^ [javac] /Users/Martin/Desktop/map/mkgmap-locator/src/uk/me/parabola/mkgmap/reader/osm/bin/OsmBinHandler.java:94: incompatible types [javac] found : <nulltype> [javac] required: long [javac] long lon = nodes.getLon(nid) + lastLon; [javac] ^ [javac] /Users/Martin/Desktop/map/mkgmap-locator/src/uk/me/parabola/mkgmap/reader/osm/bin/OsmBinHandler.java:95: operator + cannot be applied to Osmformat.DenseNodes.getId,long [javac] long id = nodes.getId(nid) + lastId; [javac] ^ [javac] /Users/Martin/Desktop/map/mkgmap-locator/src/uk/me/parabola/mkgmap/reader/osm/bin/OsmBinHandler.java:95: incompatible types [javac] found : <nulltype> [javac] required: long [javac] long id = nodes.getId(nid) + lastId; [javac] ^ [javac] /Users/Martin/Desktop/map/mkgmap-locator/src/uk/me/parabola/mkgmap/reader/osm/bin/OsmBinHandler.java:100: cannot find symbol [javac] symbol : method parseLat(long) [javac] location: class uk.me.parabola.mkgmap.reader.osm.bin.OsmBinHandler.BinParser [javac] Coord co = new Coord(parseLat(lat), parseLon(lon)); [javac] ^ [javac] /Users/Martin/Desktop/map/mkgmap-locator/src/uk/me/parabola/mkgmap/reader/osm/bin/OsmBinHandler.java:100: cannot find symbol [javac] symbol : method parseLon(long) [javac] location: class uk.me.parabola.mkgmap.reader.osm.bin.OsmBinHandler.BinParser [javac] Coord co = new Coord(parseLat(lat), parseLon(lon)); [javac] ^ [javac] /Users/Martin/Desktop/map/mkgmap-locator/src/uk/me/parabola/mkgmap/reader/osm/bin/OsmBinHandler.java:109: cannot find symbol [javac] symbol : method getStringById(int) [javac] location: class uk.me.parabola.mkgmap.reader.osm.bin.OsmBinHandler.BinParser [javac] String key = getStringById(keyid); [javac] ^ [javac] /Users/Martin/Desktop/map/mkgmap-locator/src/uk/me/parabola/mkgmap/reader/osm/bin/OsmBinHandler.java:110: cannot find symbol [javac] symbol : method getStringById(int) [javac] location: class uk.me.parabola.mkgmap.reader.osm.bin.OsmBinHandler.BinParser [javac] String val = getStringById(valid); [javac] ^ [javac] /Users/Martin/Desktop/map/mkgmap-locator/src/uk/me/parabola/mkgmap/reader/osm/bin/OsmBinHandler.java:131: package Osmformat does not exist [javac] for (Osmformat.Way binWay : ways) { [javac] ^ [javac] /Users/Martin/Desktop/map/mkgmap-locator/src/uk/me/parabola/mkgmap/reader/osm/bin/OsmBinHandler.java:166: package Osmformat does not exist [javac] for (Osmformat.Relation binRel : rels) { [javac] ^ [javac] /Users/Martin/Desktop/map/mkgmap-locator/src/uk/me/parabola/mkgmap/reader/osm/bin/OsmBinHandler.java:182: operator + cannot be applied to long,Osmformat.Relation.getMemids [javac] long mid = lastMid + binRel.getMemids(j); [javac] ^ [javac] /Users/Martin/Desktop/map/mkgmap-locator/src/uk/me/parabola/mkgmap/reader/osm/bin/OsmBinHandler.java:182: incompatible types [javac] found : <nulltype> [javac] required: long [javac] long mid = lastMid + binRel.getMemids(j); [javac] ^ [javac] /Users/Martin/Desktop/map/mkgmap-locator/src/uk/me/parabola/mkgmap/reader/osm/bin/OsmBinHandler.java:187: package Osmformat.Relation does not exist [javac] if (binRel.getTypes(j) == Osmformat.Relation.MemberType.NODE) { [javac] ^ [javac] /Users/Martin/Desktop/map/mkgmap-locator/src/uk/me/parabola/mkgmap/reader/osm/bin/OsmBinHandler.java:198: package Osmformat.Relation does not exist [javac] } else if (binRel.getTypes(j) == Osmformat.Relation.MemberType.WAY) { [javac] ^ [javac] /Users/Martin/Desktop/map/mkgmap-locator/src/uk/me/parabola/mkgmap/reader/osm/bin/OsmBinHandler.java:200: package Osmformat.Relation does not exist [javac] } else if (binRel.getTypes(j) == Osmformat.Relation.MemberType.RELATION) { [javac] ^ [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 29 errors BUILD FAILED /Users/Martin/Desktop/map/mkgmap-locator/build.xml:93: Compile failed; see the compiler error output for details. Total time: 6 seconds Thanks Am 11.07.2011 um 16:42 schrieb Steve Ratcliffe: > On 11/07/11 15:26, maning sambale wrote: >> Thanks will wait and test. > > You need wait no longer! > > The current city-region-index branch version has the changes. Please let > me know what you think. > > ..Steve > _______________________________________________ > mkgmap-dev mailing list > mkgmap-dev at lists.mkgmap.org.uk > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev >
- Previous message: [mkgmap-dev] Index and equally named cities
- Next message: [mkgmap-dev] Index and equally named cities
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list