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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 576fd686b221ff4314d2424005656f0511acf74ffd29dde94e200ca2626e0fa1 |
|
MD5 | 5276b30ffa9e4d383a3047c00db3a6a7 |
|
BLAKE2b-256 | 9b4d2caf792816bbbde6f91e73334211ec6a1eee79a77b62c32a89bd31ffbb22 |