Metadata-Version: 2.1
Name: django-rgd-geometry
Version: 0.2.6.dev0
Summary: UNKNOWN
Home-page: https://github.com/ResonantGeoData/ResonantGeoData
Author: Kitware, Inc.
Author-email: rgd@kitware.com
License: Apache 2.0
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Web Environment
Classifier: Framework :: Django :: 3.0
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: django-rgd
Provides-Extra: worker
Requires-Dist: shapely ; extra == 'worker'
Requires-Dist: fiona ; extra == 'worker'

[![logo](https://raw.githubusercontent.com/ResonantGeoData/ResonantGeoData/main/logos/RGD_Logo.png)](https://github.com/ResonantGeoData/ResonantGeoData/)

# Resonant GeoData Geometry

A submodule of Resonant GeoData for storing shapefiles.


## Installation

Follow the instructions for the core `django-rgd` app first, then

```
pip install --find-links https://girder.github.io/large_image_wheels django-rgd-geometry
```

Add this app to your `INSTALLED_APPS` along with the core RGD app:

```py
INSTALLED_APPS += [
    'django.contrib.gis',
    'rgd',
    'rgd_geometry',
]
```


## Models

This app adds a few additional models on top of the core app for storing geometry data

- `GeometryArchive`: the base data model for ingesting shapefile data. This will run a background task to pull out all vector geometry from an uploaded archive to generate a new `Geometry` record.
- `Geometry`: A place to store a collection of vector geometry. This can be manually created without a shapefile.


## Management Commands

- `rgd_geometry_demo`: populate the database with example shapefiles.


