Create new shapefile based on values ranges in existing shapefile using gdal/ogr/pyth

المشرف العام

Administrator
طاقم الإدارة
I have a shapefile containing many thousands of polygons with values ranging 0-105. I would like to create a much simplified file that contains classes for value ranges. E.g. values 30-50 = class 1, values 50-70 = class 2, values 70-100 = class 3. The classes can be integers. The attributes from the original shapefile do not need to be preserved. I'd like to use python and ogr to accomplish this.



أكثر...
 
أعلى