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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4bc890bd92bfa73a6483dc6f596fff24c4e7e8f68a21af7f7fb47e0f73b8c22 |
|
MD5 | 1ce8b41bfedb1badf9b90707febedb95 |
|
BLAKE2b-256 | ebb6291c5d0e1b6e7b666d86abfd7324b14585b09b774a3de1dcee17a1c596cf |