Tag Info

Hot answers tagged

4

You can use Find Identical, using the geometry of the features. Alternately, you can spatially join a feature class to itself, and use the "ARE_IDENTICAL_TO" as your match option. This can be useful if you have a bunch of features stacked on top of each other and you want to deduplicate (features with a Join_Count > 1). I recently used this to clean up some ...


3

Use the geometry object's equals method. With polygons and polylines, if their symmetric difference is empty they are considered equal. So for example, in the below, g2 is the same as g1, it just has an extra vertex in the middle, and g3 is opposite to g1, so always equal. >>> g1 = arcpy.Polyline(arcpy.Array([arcpy.Point(1, 1), arcpy.Point(3, ...


2

Since you know exactly what you want your new symbolization to be, I would suggest saving a layer file with that symbolization. In arcmap, add a test layer to your table of contents, and symbolize it as desired (1-100 orange, 101-200 red, 201-300 blue). Then right-click on the layer in the table of contents and 'Save As Layer File...' This lets you save the ...


1

As a cavaet, be very careful about doing any geometry comparisons particularly geometry objects. One should be aware that the geometric operations are 2D whether you have 3D objects. You will have to compare the individual values to check for equality, preferably in Python. On a second, but related point, be careful what the geometry means. Consider the ...


1

Offset B is the height of the target object. Imagine that you want to know if you would see the top of a NEW house in the landscape (the house is not there yet). With offset B, you can define that height and it will be added to the base height in order to test the visibility of the roof top. The difference with an extrusion (adding a value to the base ...


1

Well, big bros don't like lengthy chats on this forum. We are left with 2 options. My one - make it an answer, yours - accept it before reading further. In short you have to modify DSM inside building outline. Use Geoprocessing - Environment _ Spatial Extent to set it to DSM. Use Geoprocessing - Environment _ Raster Analysis - Cell Size to set it same as ...


1

Since arcpy doesn't let you customize your layers, and only load symbology from already-created layers, you'll need a library of layers for all your potential combinations of values. Then you're going to have to figure out a way to reference the correct layer file for your layer that suits your data. Something like this perhaps. I find the min and max ...



Only top voted, non community-wiki answers of a minimum length are eligible