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

Row 'isNull()' problem

$
0
0
Hello,

I am attempting to loop over a centerline shapefile and pull out specific values per field value to set as a new row value in another shapefile.

However, the code fails when the returned value is null, even when using the isNull() method as so:

http://help.arcgis.com/en/arcgisdesk...0000001q000000

Code:

if not self.centerline.isNull(suffix):
    self.newStreet.S_suffix = self.centerline.getValue(suffix)

Has anyone run into this problem with this method before?

Viewing all articles
Browse latest Browse all 2485

Trending Articles