Skip to content

Commit

Permalink
update links in description to reflect more recent code structure
Browse files Browse the repository at this point in the history
  • Loading branch information
tyrasd committed Jan 2, 2014
1 parent df918ef commit 1ad4d34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -44,8 +44,8 @@ Converts OSM data into GeoJSON.
* `data`: the OSM data. Either as a XML DOM or in [OSM JSON](http://overpass-api.de/output_formats.html#json).
* `options`: optional. The following options can be used:
* `flatProperties`: If true, the resulting GeoJSON feature's properties won't be a structured json object rather than a simple key-value list.
* `uninterestingTags`: Either a [blacklist](https://github.com/tyrasd/osmtogeojson/blob/5d8684dc80712c3dc44d7a72692a2df3c7253cb1/osmtogeojson.js#L12-L22) of tag keys or a callback function. Will be used to decide if a feature is *interesting* enough for its own GeoJSON feature.
* `polygonFeatures`: Either a [json object](https://github.com/tyrasd/osmtogeojson/blob/5d8684dc80712c3dc44d7a72692a2df3c7253cb1/osmtogeojson.js#L23-L103) or callback function that is used to determine if a closed way should be treated as a Polygon or LineString. [read more](https://wiki.openstreetmap.org/wiki/Overpass_turbo/Polygon_Features)
* `uninterestingTags`: Either a [blacklist](https://github.com/tyrasd/osmtogeojson/blob/2.0.0/index.js#L14-L24) of tag keys or a callback function. Will be used to decide if a feature is *interesting* enough for its own GeoJSON feature.
* `polygonFeatures`: Either a [json object](https://github.com/tyrasd/osmtogeojson/blob/2.0.0/polygon_features.json) or callback function that is used to determine if a closed way should be treated as a Polygon or LineString. [read more](https://wiki.openstreetmap.org/wiki/Overpass_turbo/Polygon_Features)

The result is a javascript object of GeoJSON data:

Expand Down

0 comments on commit 1ad4d34

Please sign in to comment.