Quantcast
Channel: Forums - Python
Viewing all articles
Browse latest Browse all 2485

delete rows with FID=1

$
0
0
System ArcGIS 9.3
python 2.6

Hello

I have two kinds of point shapefiles in a folder.
Type A has only one row in the attribute table. (FID=0)
Type B has two rows.(FID=0 and 1)

Please kindly advise python code to delete the second row(FID= 1) of type B shapefiles.
(P.S. The values of the second row of type B are identical to those of the row of type A)
(Coding ideas are welcomed, much better with explicit code)

Thank you.

Viewing all articles
Browse latest Browse all 2485

Trending Articles