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
Error parsing file
Error at line 1, col 1
Bad file format: ./tiles_sn/63240346.osm.pbf
Error parsing file
Error at line 1, col 1
Bad file format: ./tiles_sn/63240347.osm.pbf
Error parsing file
Error at line 1, col 1
Bad file format: ./tiles_sn/63240348.osm.pbf
Error parsing file
Error at line 1, col 1
Bad file format: ./tiles_sn/63240349.osm.pbf
Error parsing file
Error at line 1, col 1
Bad file format: ./tiles_sn/63240350.osm.pbf
Error parsing file
Exception in thread "main" java.lang.NullPointerException
        at 
uk.me.parabola.mkgmap.combiners.FileInfo.getFileInfo(FileInfo.java:139)
        at uk.me.parabola.mkgmap.main.Main.endOptions(Main.java:428)
        at 
uk.me.parabola.mkgmap.CommandArgsReader.readArgs(CommandArgsReader.java:126)
        at uk.me.parabola.mkgmap.main.Main.main(Main.java:132)
"
Settings:
Splitter:
java -Xmx1500M -jar splitter/dist/splitter.jar --mapid=63240345 
--max-nodes=1000000 --output-dir=tiles_sn --pbf ./sachsen.osm.pbf
Mkgmap:
java -Xmx1500M -jar  mkgmap-locator-r1959.jar --latin1 --boundsdirectory=bounds 
--series-name=Germany --family-name=Sachsen --remove-short-arcs --index --net 
--route --tdbfile --nsis --merge-lines --location-autofill=0 
--country-name=Deutschland --country-abbr=DEU --area-name=DEU --family-id=4 
--product-id=45 --style-file=./master/basemap_style/ ./tiles_sn/*.osm.pbf 
./master/basemap.TYP

Cheers
Martin


Am 06.06.2011 um 20:34 schrieb WanMil:

> How did you create your test.osm.pbf file?
> 
>> WanMil,
>> 
>> I know we are talking about mkgmap, but with mkgmap I also get a bad file 
>> format error with a pbf-file...
>> 
>> Martin
>> 
>> 
>> Am 06.06.2011 um 20:28 schrieb WanMil:
>> 
>>> Martin,
>>> 
>>> I am talking about mkgmap, not splitter.
>>> Francisco Moraes is working on pbf support for splitter and he posted
>>> some patches for that. Please search the mkgmap dev list.
>>> 
>>> WanMil
>>> 
>>>> Hi WanMil,
>>>> 
>>>> which option I've to use with the splitter (splitter-r174) to get a 
>>>> pbf-output?
>>>> And the mkgmap-locator-r1959 still says:
>>>> "Error at line 1, col 1
>>>> Bad file format: ./test.osm.pbf"
>>>> 
>>>> Cheers
>>>> Martin
>>>> 
>>>> Am 06.06.2011 um 19:46 schrieb WanMil:
>>>> 
>>>>> Hi Martin,
>>>>> 
>>>>> pbf is supported.
>>>>> 
>>>>> WanMil
>>>>> 
>>>>>> Hi WanMil,
>>>>>> 
>>>>>> could you include the pbf-support?!
>>>>>> I think this will be a speed improvement.
>>>>>> 
>>>>>> Martin
>>>>>> 
>>>>>> Am 06.06.2011 um 19:33 schrieb WanMil:
>>>>>> 
>>>>>>> Hi all,
>>>>>>> 
>>>>>>> it's been a long time since the locator branch was merged and I want to
>>>>>>> start thinking about what has to be done to merge it back to trunk.
>>>>>>> 
>>>>>>> So please post your bugs or features that need to be fixed before
>>>>>>> merging it back to trunk.
>>>>>>> By the way: do you think the branch should be merged or should we
>>>>>>> abandon the branch because it has too many flaws?
>>>>>>> 
>>>>>>> WanMil
>>>>>>> _______________________________________________
>>>>>>> mkgmap-dev mailing list
>>>>>>> [email protected]
>>>>>>> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>>>>>>> 
>>>>>> 
>>>>>> _______________________________________________
>>>>>> mkgmap-dev mailing list
>>>>>> [email protected]
>>>>>> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>>>>> 
>>>>> _______________________________________________
>>>>> mkgmap-dev mailing list
>>>>> [email protected]
>>>>> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>>>>> 
>>>> 
>>>> _______________________________________________
>>>> mkgmap-dev mailing list
>>>> [email protected]
>>>> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>>> 
>>> _______________________________________________
>>> mkgmap-dev mailing list
>>> [email protected]
>>> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>>> 
>> 
>> _______________________________________________
>> mkgmap-dev mailing list
>> [email protected]
>> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
> 
> _______________________________________________
> mkgmap-dev mailing list
> [email protected]
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
> 

_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to