Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jokull/skipulagsstofnun
Find regional plans for coordinates
https://github.com/jokull/skipulagsstofnun
Last synced: 13 days ago
JSON representation
Find regional plans for coordinates
- Host: GitHub
- URL: https://github.com/jokull/skipulagsstofnun
- Owner: jokull
- License: mit
- Created: 2020-09-18T15:20:41.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-06-21T12:22:10.000Z (over 2 years ago)
- Last Synced: 2024-12-17T03:58:33.153Z (15 days ago)
- Language: Python
- Size: 1.48 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# skipulagsstofnun
Library to lookup polygons, coordinates and metadata of approved local site plans in Iceland.
Used by [Planitor](https://www.planitor.io).
## Install
```bash
brew install gdal # or similar
poetry add skipulagsstofnun
```or
```bash
pip install skipulagsstofnun
```## Use
```python
>>> from skipulagsstofnun import plans
>>> shape, plan = plans.get_plan(64.1525571, -21.9508792)
>>> plan
{'id': 'skipulag_deiliskipulag.198969', 'type': 'Feature', 'skipnr': '8136', 'nrsveitarf': '0', 'sveitarfelag': 'Reykjavíkurborg', 'heiti': 'Deiliskipulag stgr. 1.116 og 1.115.3, Slippa- og Ellingsensreitur', 'skipstig': 'deiliskipulag', 'malsmed': 'nytt', 'dagsinnsett': None, 'dagsleidrett': datetime.date(2016, 4, 14), 'gagnaeigandi': 'Skipulagsstofnun', 'dagsheimild': None, 'heimild': None, 'nakvaemnix': '0', 'vinnslufer': None}
```You can construct a link to a page hosted by Skipulagsstofnun with the PDF
scans for this local site plan.`http://skipulagsaaetlanir.skipulagsstofnun.is/skipulagvefur/display.aspx?numer={skipnr}`