https://github.com/kosmtik/kosmtik-overpass-layer
Add overpass layers to your Kosmtik project.
https://github.com/kosmtik/kosmtik-overpass-layer
Last synced: about 1 year ago
JSON representation
Add overpass layers to your Kosmtik project.
- Host: GitHub
- URL: https://github.com/kosmtik/kosmtik-overpass-layer
- Owner: kosmtik
- Created: 2014-09-22T11:21:57.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2020-09-12T18:16:57.000Z (almost 6 years ago)
- Last Synced: 2023-02-26T04:37:16.267Z (over 3 years ago)
- Language: JavaScript
- Homepage:
- Size: 7.81 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# kosmtik-overpass-layer
Add overpass layers to your Kosmtik project
Just add `"type": "overpass"` and a `request` key with your overpass query in
your Carto layer. The plugin will run the queries, cache them on disk, and transform
the layers in normal geojson layers.
## Example:
```
{
"id": "natural",
"geometry": "polygon",
"extent": [1.2632799,43.1225469,1.2651281,43.1236188
],
"Datasource": {
"request": "area[name='Montbrun-Bocage'][admin_level=8]->.zone;(way(area.zone)[natural];);(._;>;);out;",
"type": "overpass"
}
}
```
## Install
While in your Kosmtik root, run:
`node index.js plugins --install kosmtik-overpass-layer`
## Issues and feature requests
Please report any issue or feature request on the [main kosmtik repository](https://github.com/kosmtik/kosmtik/issues).