POST
|
Ah, mid! I've done this before, I just couldn't remember which function I'd used... I looked into the python-field calculator documentation you linked - as using python would really be much better - but my field calculator wouldn't accept the python code. I'll have to look into whether some kind of python update or plugin is required. It looks like Arc 10 allows you to indicate that you are using python... In the meantime, thanks very much for the VB help!
... View more
01-25-2012
10:54 AM
|
0
|
0
|
694
|
POST
|
Thanks curtvprice, But I didn't think it was possible to use python with Arc 9.3.1....is it?
... View more
01-25-2012
09:39 AM
|
0
|
0
|
694
|
POST
|
I have a somewhat related question, though it pertains to Arcmap 9.3.1. I have a field [Col_Row] that gives the column and row of a shapefile grid in the format of 23-999. I want to extract the columns and rows into their own fields such that "23-999" becomes "23" and "999" using "-" as a delimiter. The problem is that the lengths are variable, eg the field can contain values like "1-2", "351-7", "81-253" which makes substring, trim, left and right commands tricky. I've tried using substring as follows: substring([Col_Row],1,instr([Col_Row],'-')-1) But I get a VBA error... Any help would be much appreciated. Such a simple task, and yet I've already spent hours trying to do it.
... View more
01-17-2012
11:02 AM
|
0
|
0
|
694
|
POST
|
Hi all, I solved my problem, not sure if it will solve yours. I used the "split" function to cut my polyline with a grid polygon such that all polyline segments ended at the boundaries in the grid. Should work for administrative boundaries or other shapefiles.... Don't forget you'll need to re-calculate the polyline segment lengths after this--use "calculate geometry" and make sure you're in the projection/units you want.
... View more
09-04-2010
12:29 PM
|
0
|
0
|
378
|
POST
|
Also looking for a solution to this. I need to split road polylines by a grid polygon's boundaries. Doing road by road is not an option as my road data covers several states (over 400,000 segments)...
... View more
05-29-2010
11:52 AM
|
0
|
0
|
378
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|