Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

svevang/osm-extract-by-region

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

OSM Extract by Region

Quickly extract a geographic feature from a region of OSM data. Supply a polygon and let osmosis extract all the data contained within it.

Getting Started

Install osmosis

apt-get install osmosis

Run the supplied script with region and feature parameters. e.g:

./osm_extract.sh central-america puerto-rico

this will output a file "extractions/puerto-rico.osm" that contains all the osm data for puerto rico.

Thanks ta geo-fabrick!

Features

Don't see the feature you want? Here is a way to make your own:

  1. Open google earth and create a polygon
  2. export the coordinates in a kml
  3. slice the kml down to the coordinates and create an osmosis poly file
  4. open a pull request!

About

Extract a region of OSM data bounded by a polygon.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages