Shashika
Shashika

Reputation: 1636

OSM(Open Street Map) file reading and patitioning

I'm new to OSM file format. I have a big OSM file which 2GB large.

What is the best way to read OSM data ?

If I need to separate data into several chunks and process, is there a way to the partition?

Upvotes: 0

Views: 340

Answers (1)

MaM
MaM

Reputation: 2069

If you refer to planet dumps/extracts, you use osmosis to split on bounding boxes or boundary polygones. Otherwise you can query the DB via Overpass API and don't need to splitup as you can request the desired bboxes.

Upvotes: 2

Related Questions