I'm trying to work with the shapefile on python, the file " donnees.shp" contains 3d points I need to extract attributes from this file but my code returns an error:
>>> import shapefile >>> r = shapefile.Reader("donnees.shp") >>> r.shapes().shapeType ... 1 >>> r.shapes().points ...[[841001.0, 6399999.0]] >>> r.shapes().z ... Traceback (most recent call last): File "", line 1, in r.shapes().z AttributeError: _Shape instance has no attribute 'z'
what is the nature of this error? what am I missing?
thank you for you answer