A GIS extension for graphene-django that defines scalars, field conversions, and other useful things
Project description
https://github.com/serioeseGmbH/django-graphene-gis-extension
django-graphene-gis-extension extends django-graphene with GIS related type definitions (i.e. scalars, field conversions, …).
Quick start
Install the package with pip:
pip install django-graphene-gis-extension
Add “serious_django_services” to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [ ... 'graphene_gis_extension', ]
Use the scalars and input type definitions wherever you need them, for instance in a Query:
from graphene_gis_extension.scalars import PointScalar from graphene_gis_extension.input_types import NearInputType class Query(graphene.ObjectType): thing_with_location = graphene.Field( ThingWithLocationType, exactly_at=graphene.Argument(PointScalar) near=graphene.Argument(NearInputType) )
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for django-graphene-gis-extension-0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ade259e6152282300fef6fdd50567e643d7208dedc769587db4cd0673083a280 |
|
MD5 | d660ab503fa72353022539f7ff169a0a |
|
BLAKE2b-256 | 7244981217f2ec3fc888f6629e6e1f9eae39ceddd9f59332ce5d7140c9f23cb4 |