in2Trans.shpConversion.extractFeature

extractFeature(featureIn, nFeature2Extract)[source]

Extract feature nFeature2Extract from featureIn

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

  • nFeature2Extract (int) – index of feature to extract from featureIn

Returns

featureOut – shape file dicionary with feature nFeature2Extract

Return type

dict