Skip to main content
11 events
when toggle format what by license comment
Nov 17, 2014 at 23:01 vote accept wowohweewah
Nov 16, 2014 at 23:42 answer added Michael Stimson timeline score: 2
Nov 14, 2014 at 21:40 comment added Chris W There are two possible routes to go. Identify the problem in the original code, which needs more information and an edit to the question, per the comments. Or deal with just fixing your current data. To do that you'll need tables anyway - your shapefiles aren't really valid with no valid geometry, so essentially they already are tables. You might be able to use them (or their dbfs) directly as inputs, but ultimately the quickest route is the Make XY Event Layer (Data Management) tool.
Nov 13, 2014 at 14:31 comment added wowohweewah @MichaelMiles-Stimson unfortunately there's a huge list of shapefiles I need to batch process. Exporting to table then back to shapefile is certainly an option though. It's not the z-non-inclusion that's the problem through, it's that there is no coordinate information in the point geometry (however a duplicate was made in the attribute table for x,y,z columns that wrote fine)
Nov 13, 2014 at 14:29 comment added wowohweewah @ChrisW yup have the license.
Nov 13, 2014 at 1:38 comment added Michael Stimson If you are doing this as a one off, export the table and then right click in catalog - select Create Feature Class > From XY Table which will allow you to select the 'z' coordinate for 3d data. It would be much faster than writing code updating the Z. If you're looking to fix your original code you need to do shape@x, shape@y and shape@z on your insert cursor, not just shape@xy. If you want to fix your original code please post some so we can see where you're not including the Z.
Nov 13, 2014 at 1:28 comment added Chris W Do you have access to a 3D Analyst extension license?
Nov 12, 2014 at 23:42 history edited wowohweewah CC BY-SA 3.0
added 99 characters in body
Nov 12, 2014 at 22:57 comment added PolyGeo Would you be able to edit your question to include the feature type (points, lines or polygons) of your shapefiles, as well as some details about how your shapefiles "were produced programatically", please?
Nov 12, 2014 at 22:56 history edited PolyGeo
edited tags
Nov 12, 2014 at 22:55 history asked wowohweewah CC BY-SA 3.0