kiselev-dv / gazetteer

OSM ElasticSearch geocoder and addresses exporter
http://osm.me
Other
98 stars 21 forks source link

split and slice succeed,but block at join using Gazetteer-1.3 #38

Closed burningc closed 9 years ago

burningc commented 9 years ago

the output file is 10 bytes and join doesn't finish. command: java -jar gazetteer.jar split map.osm java -jar gazetteer.jar slice java -jar gazetteer.jar join --handlers out-gazetteer ./out.json.gz

kiselev-dv commented 9 years ago

How big is map.osm

burningc commented 9 years ago

No matter how big the map is(from dozens of kb to hundreds of MB),it always blocks at the last join step.I download maps from https://mapzen.com/data/metro-extracts.I tried beijing_china.osm,shijiazhuang_china.osm and los-angeles_california.osm and none succeeded.

kiselev-dv commented 9 years ago

Try. v1.4 I've succeeded with Beijing for instance. Try

java -jar gazetteer.jar slice --x10
java -Xmx2g -jar gazetteer.jar --threads 2 join --handlers out-gazetteer ./out.json.gz
burningc commented 9 years ago

v1.4 works.Thank you for your great work!

kiselev-dv commented 9 years ago

Glad to hear that. Also keep an eye on https://github.com/kiselev-dv/gazetteer/issues/39 it's rather close issue.