kartograph / kartograph.org

website for kartograph mapping library
http://kartograph.org
282 stars 207 forks source link

Get invalid blocksize error when trying to generate SVG from tutorial #58

Open corybarr opened 9 years ago

corybarr commented 9 years ago

Hi. I'm not able to make it through the tutorial on rendering SVGs. When running osm2pgsql, I get the following error. Any ideas?

$ osm2pgsql -l -r pbf -d osm berlin.osm.pbf osm2pgsql SVN version 0.87.0 (64bit id space)

Using built-in tag processing pipeline Using projection SRS 4326 (Latlong) Setting up table: planet_osm_point Setting up table: planet_osm_line Setting up table: planet_osm_polygon Setting up table: planet_osm_roads Allocating memory for dense node cache Allocating dense node cache in one big chunk Allocating memory for sparse node cache Sharing dense sparse Node-cache: cache=800MB, maxblocks=102400*8192, allocation method=3 Mid: Ram, scale=10000000

Reading in file: berlin.osm.pbf Invalid blocksize 1013478509 Error occurred, cleaning up

coderade commented 8 years ago

I have the same problem and I don't found anything related to this error, unless this page.

And the problem is with your .pbf file: _berlin.osm.pbf_.

A answered a question of this problem here: http://gis.stackexchange.com/questions/182884/get-invalid-blocksize-error-when-trying-to-generate-a-render-base-with-osm2pgsql