Questions tagged [python-parser]

For questions about ArcGIS Python Parser for labelling expressions and field calculations

Filter by
Sorted by
Tagged with
-1
votes
1answer
228 views

Python Contour index [closed]

I'm getting my feet wet with python in the field Calculator. I'm working with contour data and I'm looking to see if someone can help me. I basically need to do this, but with python.
-2
votes
1answer
69 views

Field calculator in ArcGIS 10.4 multiline python code

I am trying to use field calculator to calculate a field based on unique types in another field. I had to go for a for loop to add new values. I have 81 classes and every class should be assigned an ...
-2
votes
2answers
2k views

vb script for carriage return in label string over 50 character long

IN ArcGIS, what is the vbscript in the label expression box to build a label which has the outcome that if the string is over 50 characters long then the label should be formatted over 2 lines.
-2
votes
2answers
398 views

Writing python script to group and sum records from each group? [closed]

I am doing hydrology analysis in ArcMap 10.2 and have a drainage area feature class containing hundreds of records. Each record is assigned a drainage area name and acreage amount. How do I sum all ...
-2
votes
1answer
171 views

Converting VB to Python for Labeling in ArcGIS Desktop?

I am using ArcGIS Desktop 10.2.1. I am really new to Python and do not understand VB. I need to convert this VB script to Python. The code is below. It believe it is looking for a numerical value ...