Metadata-Version: 2.1
Name: hvor
Version: 0.1.1
Summary: A library for assigning Norwegian metadata to coordinates
Home-page: https://github.com/bkkas/iout_foss
Keywords: pandas,dataframe,geopandas
Author: Espen Hafstad Solvang
Author-email: espenhafstadsolvang@gmail.com
Requires-Python: >=3.8,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: Rtree (>=0.9.7,<0.10.0)
Requires-Dist: geopandas (>=0.9.0,<0.10.0)
Requires-Dist: setuptools (>=57.4.0,<58.0.0)
Project-URL: Repository, https://github.com/bkkas/iout_foss
Description-Content-Type: text/markdown

# Hvor

A library for assigning Norwegian metadata to coordinates. For example, if you
have a list of coordinates, and you'd like to know which county and municipality
each coordinate belongs to, `hvor` can help you.

## Installation

Simply run

```
pip install hvor
```

## Usage

```python
from hvor import add_metadata_columns_to_df

df = add_metadata_columns_to_df(df)
```

Voila! County and municipality metadata for your coordinates have been added to
your dataframe (\*but only if your latitude and longitude columns were called
`lat` and `lon`😅).

## Credits

Big thanks to [robhop](https://github.com/robhop) for sharing his lightly
processed county and municipality polygons. Also big thanks to Kartverket, for
supplying the original dataset.

