from osgeo import ogr geojson = """{"type":"Point","coordinates":[108420.33,753808.59]}""" point = ogr.CreateGeometryFromJson(geojson) print "%d,%d" % (point.GetX(), point.GetY())
创建几何从GeoJSON
关注公众号获取免费资源