geodaisy
geodaisy copied to clipboard
Example of buggy LineString conversion
Hi, thanks for this very useful package! I’ve found a bug in LineString conversion:
>>> wkt = 'LINESTRING (-58.6120605 -34.64203155822248,-58.6132713 -34.6409059)'
>>> convert.wkt_to_geojson(wkt)
'{"type": "LineString", "coordinates": [-93.25409205822248, -93.2541772]}'
Somehow the lats & lons are being summed into coordinates:
-93.25 = -58.61 + -34.64