TastyPie & projecting of spatial data

9 views
Skip to first unread message

Stodge

unread,
Apr 20, 2017, 9:42:29 AM4/20/17
to Tastypie
One of my Django models includes a lat/long coordinate using PostGIS. It's data that I receive as a lat/long pair but the web client will display it as a cartesian coordinate in the local coordinate system.

Is there a mechanism in TastyPie to automatically project the coordinates, or do I need to manually apply the projection, maybe in the dehydrate function?

Thanks
Reply all
Reply to author
Forward
0 new messages