|
POST
|
Problem: To create a graph profile with a featureclass you need M and Z values. Therefore use a route featureclass and overlay over a DTM to add elevations using Interpolate Shape tool. But then the M values have disappeared, so I have to rebuild the M values from somewhere. Could the M measures be retained?
... View more
08-08-2011
03:38 PM
|
0
|
10
|
6101
|
|
POST
|
If you create centroid labels for the polygons and then create a TIN from the points you can use the from-to of the lines to get a list of adjacent polygons. That may make it easier to dissolve pairs of polygons. Note that you can dissolve all the pairs in a single process.
... View more
07-20-2011
01:44 AM
|
0
|
0
|
3025
|
|
POST
|
I assume the fingers are part of the larger polygons? So they are not easy to identify with spatial indexes that measure ratios. If you have a grid licence you could convert to rasters and run expand/shrink processes that removes the slivers.
... View more
07-20-2011
01:36 AM
|
0
|
0
|
5382
|
|
POST
|
My suggestion is to use a cursor to calculate fields if you are in a Python script. Leave CalculateField for the modelbuilders! Since CalculateField just runs a cursor, the speed will be the same. A cursor can be much easier to program, and read. There are no special characters to escape such as bangs! It is much easier to debug. You can trap 'unexpected data' such as nulls or divide by zero without a complete crash which you will get with CalculateField. You can use a selection query in opening the cursor to limit the records more easily than having to use a layer definition.
... View more
07-20-2011
01:13 AM
|
0
|
0
|
2626
|
|
POST
|
I understand that data driven pages have to be set first in the MXD, there is no function in Arcpy. You will have to think of a workaround. eg Have a template MXD with DDP enabled, presumably with a suitable layer for the pages. Then copy the layers from the "unabled MXD" and you can then plot the pages. or if you have access to an ArcObjects wizard, use the comptypes module to enable DDP with the required ArcObjects calls.
... View more
07-20-2011
12:59 AM
|
0
|
0
|
1643
|