|
POST
|
Similarly, for the original poster, Fill can do the job with an extra step of creating a bathub boundary around the raster and artificially altering the original DEM using the Con tool: Before Fill tool (ocean on right): After Fill tool: Values behind the barrier are the lowest crossing point on the barrier.
... View more
04-14-2016
03:03 PM
|
0
|
0
|
2465
|
|
POST
|
You should be able to get to this using the Fill tool. Hillshade Before: Hillshade After Fill: The values inside the filled sink are the elevation of the lowest point of the levee.
... View more
04-14-2016
02:35 PM
|
0
|
1
|
2465
|
|
POST
|
I think you should be able to do something like the following inside your loop: orig_vis = layer.visible # either True or False
arcpy.mapping.UpdateLayer(df, layer, sourcely, False) # update layer
layer.visible = orig_vis # set visibility
... View more
04-14-2016
01:46 PM
|
1
|
3
|
3239
|
|
POST
|
Have you checked that the CRS is correctly defined for both datasets?
... View more
04-14-2016
12:54 PM
|
0
|
0
|
2770
|
|
POST
|
I'm at 10.2.2, but I get your error if I try to use the expression without Advanced selected.
... View more
04-12-2016
11:38 AM
|
0
|
1
|
6361
|
|
POST
|
I would append the features to the MDB feature class, then export back out to shapefile if you need it in that format. This will give you an empty table, with the fields you need, associated with your shapefile features.
... View more
04-12-2016
11:29 AM
|
1
|
1
|
5318
|
|
POST
|
Without any other information, it sounds like you may be able to use the Append tool. Append adds features from a feature class (your CAD linework) to another feature class (your personal geodatabase feature class), using the latter's table schema. You can match up fields between the two using the field map parameter.
... View more
04-12-2016
11:11 AM
|
0
|
3
|
5318
|
|
POST
|
Is your MDB file a personal geodatabase feature class or table?
... View more
04-12-2016
11:01 AM
|
0
|
0
|
5318
|
|
POST
|
You might be right, Chris. The supported formats lists "OpenGIS KML Encoding Standard" although I don't know if that includes all KML, or any KMZ.
... View more
04-12-2016
09:37 AM
|
0
|
0
|
11819
|
|
POST
|
There is no way to view KMZ in ArcMap without converting it.
... View more
04-12-2016
08:51 AM
|
1
|
2
|
11819
|
|
POST
|
What is LS == supposed to mean? Also, I suspect you're going to want to change ^ to ** (Map Algebra operators).
... View more
04-11-2016
05:17 PM
|
1
|
2
|
5441
|
|
POST
|
There are lots of extras out there for specific requirements, but most basically you're looking at a trade-off between price and accuracy. So, if you don't have any other requirements, get the cheapest unit that meets your accuracy requirement.
... View more
04-11-2016
01:19 PM
|
0
|
1
|
2197
|
|
POST
|
Here is at least most of what you'd need to convert polyline to polygon via Python: >>> in_lines = "open_lines" # input lines
... sr = arcpy.Describe(in_lines).spatialReference # CRS
... out_polys = [] # output list
... with arcpy.da.SearchCursor(in_lines,'SHAPE@',spatial_reference=sr) as cursor: # loop through lines
... for row in cursor: # for each record
... new_polyline_array = arcpy.Array()
... for part in row[0]: # for each geometry part, if multipart
... new_polyline_part_array = arcpy.Array()
... for pnt in part: # for each vertex
... new_polyline_part_array.add(pnt) # add the vertex to the array
... if not part[0].equals(pnt): # check if part is closed
... new_polyline_part_array.add(part[0]) # if not, close it
... new_polyline_array.add(new_polyline_part_array) # add the parts to the output list
... out_polys.append(arcpy.Polygon(new_polyline_array,sr)) # convert the output list to polygon objects
... arcpy.CopyFeatures_management(out_polys,r'in_memory\out_polys') # write to disk
... View more
04-11-2016
11:35 AM
|
2
|
1
|
3591
|
|
POST
|
Hmmm the dialog gives you an option (register the product). You could convert polylines to polygons using Python geometry objects, but I'm somewhat pressed for time at the moment.
... View more
04-11-2016
10:57 AM
|
0
|
2
|
3591
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 11-25-2015 01:51 PM | |
| 1 | 08-30-2013 02:22 PM | |
| 1 | 04-12-2011 11:19 AM | |
| 1 | 09-17-2021 09:43 AM | |
| 1 | 04-04-2012 12:05 PM |
| Online Status |
Offline
|
| Date Last Visited |
07-15-2023
12:11 AM
|