
9 Jun
2011
9 Jun
'11
12:07 p.m.
On 06/06/11 19:44, Martin wrote:
I've used a bounding-box-cut, created with osmosis. Now I've downloaded splitter from trunk, patched with the patch provided by Francisco (19/5/2011, 21:37). Now I can splitt pbf-files to pbf-tiles, but also get:
"Error at line 1, col 1 Bad file format: ./tiles_sn/63240345.osm.pbf
Whenever you get the error "at line 1, col 1" it is because mkgmap is trying to read the pbf as xml and not as pbf. This is probably because you don't have the required pbf jars in the right place. You can use the same ones as splitter, but you need them in the *same* directory as mkgmap.jar. I now need to do the work so that building mkgmap installs the correct jars out-of-the-box like in splitter. ..Steve