I have a shapefile where there are 3 fields OBJECTID, NAME , LOCALITY. I want to create new shapefile that contains the geometry, projection etc. of the parent shapefile and according to the locality;
OBJECTID NAME LOCALITY
1 JOHN UK
2 ANITA USA
3 CAL USA
4 DAVE UK
This shapefile is read and two seperate shape files are created with the properties
of the parent shape files
OBJECTID NAME LOCALITY
1 JOHN UK
2 DAVE UK
OBJECTID NAME LOCALITY
1 ANITA USA
2 CAL USA
Please guide me how to do it. I am new to Python
