Hot answers tagged arcgis-9.3
You can get it this way: row.GetValue("your_shape_field_name").GetPart().z And here you can get more information and a complete example from the ArcGIS Desktop Help.
The length of the string should not be a problem in your case. For Python the maximum string length is more than 2 Go in 32-bit (see here). As mentioned in the comment, each individual path in the concatenated string is limited in the Windows API (with some exceptions like the use of "\?\" for very long paths). The maximum length for a path is defined ...
If your ultimate aim is to remove all of the islands and if the island polygons have the same attributes and assuming you are using ArcGIS then you can use the Dissolve tool and bypass the need to select them: QGIS has a tool also called dissolve which will also allow you to select and attribute field to base the dissolve on:
I don't have the full picture (where does z1 come from and is it valid ? Is your shapefile a 3D shapefile ?), but for a start the use of two cursors does not seem to be necessary. while rowLine: #... feat = rowsPoint.NewRow() ptObj = gp.CreateObject('Point') ptObj.x = x1 ptObj.y = y1 ptObj.z = z1 feat.Shape = ptObj ...
Only top voted, non community-wiki answers of a minimum length are eligible