in2Trans.shpConversion.removeFeature

removeFeature(featureIn, nFeature2Remove)[source]

Remove feature number nFeature2Remove from featureIn

Parameters
  • featureIn (dict) – shape file dicionary (structure produced by SHP2Array, readLine or readPoint)

  • nFeature2Remove (int) – index of feature to remove from featureIn

Returns

featureOut – shape file dicionary without feature nFeature2Remove

Return type

dict