JSPM

osmosis2geojson

0.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q5458F
  • License ISC

Converts from Osmosis polygon filter file format to GeoJSON format

Package Exports

  • osmosis2geojson

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (osmosis2geojson) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

osmosis2geojson

Converts from Osmosis polygon filter file format to GeoJSON format.

Install

npm install osmosis2geojson

Usage

The osmosis2geojson script will read an Osmosis polygon file and output to GeoJSON format.

./osmosis2geojson.js shuna.poly >> shuna.geojson

GeoJSON uses the WGS84 geographic coordinate reference system. Polygon file coordinates are assumed to be in WGS84.

Limitations

The Osmosis polygon format allows for several files to be combined to form a multi-sectioned file. This is not currently supported.

Dependencies

Authors

Licence

This project is licensed under the ISC Licence - see the LICENCE.txt file for details

Acknowledgments