graphql-python / graphene

GraphQL framework for Python
http://graphene-python.org/
MIT License
8.06k stars 822 forks source link

Add GeoJSON types #63

Closed syrusakbary closed 8 years ago

syrusakbary commented 8 years ago

Add GeoJSON types (graphene.geo) and the mapping from Django Geo fields to it.

syrusakbary commented 8 years ago

Not relevant right now. It could be useful create a custom package graphene-geojson.

Virako commented 7 years ago

Hello @syrusakbary, if I want to use graphql with the geodjango, is possible? I'm newby with graphql, but when i want to try add models.PointField to graphql, I obtain Exception: Don't know how to convert the Django field player.Player.pos (<class 'django.contrib.gis.db.models.fields.PointField'>). Do you know how to resolve this problem? Is easy or i should create a graphene-geojson package first? Thanks you very much

Mhs-220 commented 6 years ago

same problem here, how can i solve it?

farnoodma commented 6 years ago

+1

zbyte64 commented 6 years ago

This guy is working on one: https://github.com/flavors/django-graphql-geojson/