我试图把信息补充到我的数据库中,在座标上添加<条码>django.contrib.gis。 我写了一个<条码>南代码>数据迁移,从数据库中取出地址,请谷歌坐标(我认为,我的最佳工具是为此使用<条码>。
接下来,我需要从<条码>WGS84:4326上调回的坐标。 页: 1
I m lost among the GeoDjango docs trying to find a way to do this. This far, I gather I need to do this:
gcoord = SpatialReference("4326")
mycoord = SpatialReference("22186")
trans = CoordTransform(gcoord, mycoord)
but then, I don t know how to use that CoordTransform
object.. seems to be used by GDAL s data objects, but that s overkill for what I want to do..