如何从经纬度列表中创建几何对象

时间:2018-06-25 17:05:06

标签: python-2.7 geometry wkt

我有一个看起来像这样的几何图形键,我想从中创建一个Geom对象,像这样的MultiPolygon(((-xx.73833882299999 yy.41161324700006, -xx.73826573899998 yy.41172750400005....)))

"geometry" : {
      "type" : "MultiPolygon",
      "coordinates" : [ [ [ [ -xx.73833882299999, yy.41161324700006 ], [ -xx.73826573899998, yy.41172750400005 ], [ -xx.73841407199996, yy.411798780000034 ], [ -xx.73847373299998, yy.411705506000033 ], [ -xx.73838981999995, yy.41166518500007 ], [ -xx.73840324199995, yy.411644202000044 ], [ -xx.73833882299999, yy.41161324700006 ], [ -xx.73833882299999, yy.41161324700006 ] ] ] ]
    }

python中是否有一个函数可以帮助您做到这一点?

0 个答案:

没有答案