POST
|
I know this is a really old thread, but I just ran into this same issue today and I thought my comments may be of help to someone in the future. I ended up going into the environment settings to get rid of the Z and M values. I used the Feature To Polygon (Data Management) tool. Then in the Environments settings of the tool I set the M Values to "Disabled" and I also set the Z Values to "Disabled". As a side note I recommend using the feature to point tool first to get the attributes into a point feature class. Then in the Feature to Polygon tool, you can add the point feature class in the "Label Features" section. This makes it so the new polygon feature class still has all of the correct attributes as well as being a plain polygon without Z or M values.
... View more
06-28-2016
07:31 AM
|
6
|
0
|
3670
|
POST
|
Hello, I'm attempting to upgrade my 9.3 vb.net code to Arc10. I have several lines of code that used to update the field values in a table (found in a pgdb). I can't seem to figure out why the table fields are no longer being updated in my Arc10 code. The section of code is found below. Any help/ideas would be much appreciated. ' Calculate values Dim GPcalculateField As New CalculateField GPcalculateField.in_table = LIQUOR_GDB_PATH & LIQUOR_TEMP_GDB & "\" & NEW_APPLICANTS_TABLE Dim strField As String() = {"Name", "Address", "LicenseType", "DateRevised", "Approved", "City"} For Each field As String In strField GPcalculateField.field = field Select Case field Case "Address" GPcalculateField.expression = """" & strAddress & """" Case "Name" GPcalculateField.expression = """" & strName & """" Case "LicenseType" GPcalculateField.expression = """" & strLiquorType & """" Case "DateRevised" GPcalculateField.expression = """" & strDate & """" Case "Approved" GPcalculateField.expression = """" & strApproved & """" Case "City" GPcalculateField.expression = """" & "Greeley" & """" End Select If RunTool(GP, GPcalculateField, Nothing) = 0 Then MessageBox.Show("Could not calculate fields." & ControlChars.CrLf & "See debug info." & ControlChars.CrLf & "Ending Application.", "Liquor License Application", MessageBoxButtons.OK, MessageBoxIcon.Exclamation) FinishTasks(GP) Exit Sub End If Next field
... View more
03-01-2011
01:58 PM
|
0
|
1
|
2254
|
Title | Kudos | Posted |
---|---|---|
6 | 06-28-2016 07:31 AM |
Online Status |
Offline
|
Date Last Visited |
06-22-2023
07:39 PM
|