0

Input data can be excel, text, whatever. I would like to produce shapefiles from data on a computer without GIS installed. Is there anything out there?

Fiona seems to be such a module. Are there any other modules? Is Fiona the best choice?

I have data in a list like this:

mylist = [["lat1","long1","lat2","long2","var1","var2","var3"],
         [55.000,7.000,54.000,6.000,30,40,50]
         [54.000,6.000,52.000,8.000,30,40,50]
         [52.000,8.000,53.000,7.000,30,40,50]
         [53.000,7.000,50.000,6.000,30,40,50]
         [50.000,6.000,55.000,7.000,30,40,50]]

And I would like to make a shapefile (polyline) out of that.

whuber
  • 69,783
  • 15
  • 186
  • 281
Alex
  • 722
  • 1
  • 7
  • 16

1 Answers1

2

This is what fiona module would do, but in a sense you are then adding some GIS functionnalities to Python. Further GIS-like analysis on the geometries can then be performed using shapely.

Kadir Şahbaz
  • 76,800
  • 56
  • 247
  • 389
radouxju
  • 49,636
  • 2
  • 71
  • 144