[Qgis-user] wkt

Jorge Gustavo Rocha jgr at di.uminho.pt
Fri Oct 27 02:43:20 PDT 2017


Hi,

It seems that your data is JSON encoded.
I would suggest to write a very small Javascript (using node, for
example) to convert it from JSON to WKT.

Regards,

Jorge Gustavo

On 26-10-2017 15:49, Michael.Dodd wrote:
> I have 1000+ geometries as shown below and need to find the area of
> each, some of them have more than one chunk to the polygon. The format
> is not wkt format but is probably convertable.  Is there a way to get
> these into qgis and do the area calculations?
> 
> 
>> {"circles":[],"polygons":[[[61.438,-0.461],[57.491,-9.645],[55.00,-9.689],[54.6983,-11.579],[50.985177,-11.53],[51.06809,-6.56982],[49.0944,-6.56],[50.0914,-1.73],[50.48454,1.076],[52.90801,2.878]]],"rectangles":[]}
> 
> 
> 
>> {"circles":[],"polygons":[],"rectangles":[[[51.0951,0.03457],[51.094,0.033871]]]}
> 
> 
> 
> 
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
> 

J. Gustavo
-- 
Jorge Gustavo Rocha
Departamento de Informática
Universidade do Minho
4710-057 Braga
Tel: +351 253604480
Fax: +351 253604471
Móvel: +351 910333888
skype: nabocudnosor



More information about the Qgis-user mailing list