Tag Info

New answers tagged


The quickest way that I am aware of, is to use the Shapely library (requires the GEOS Engine, you can find a one-click installer for shapely here if you're on windows) The manual provides a dead-on example of what your question: >>> from shapely.geometry import Point >>> a = Point(1, 1).buffer(1.5) >>> b = Point(2, ...


I think you are going to have to break (as a node) the road at the polygon edges to do this in vector space. 1) Use Identity Tool in ArcGIS and this should do the trick. Just option that is something like Just ID Remember to recalculate lengths in the attribute table after the identity (just to be sure) It will add the polygon details (in this case thee ...


You may have multi-part polygons in your file, and the area column would thus be reflecting the total area of all 'parts' of a polygon. You can use the Vector > Geometry Tools > Multiparts to singleparts tool to create single-part polygons, and calculate the $area on those to get the answer you are expecting.


@DarrenCope made a very good point, your layer contained inconsistencies. Please note: I only posted this as an answer as to include a screenshot of the results, please accept Darren's answer when he posts one as he came up with the correct solution. I used the Multiparts to singleparts function (via Vector > Geometry Tools > Multiparts to singleparts) ...


If you have a Spatial Analyst license, then you can Reclassify the slope raster into five classes (0-3, 3-15, etc.). Then, the raster's attribute table will show how many cells are in each class and the area can be easily calculated. If you don't have the license or don't want to make a new raster, then Calavin's suggested method is ideal.


One way to get an area by doing a little manual work is to open up your DEM properties window on the symbology tab. Click on Classify... and click on your class break values in the window on the right. There will be an "Elements in Class" number on the bottom right of the window which is the number of pixels in that class. You can then multiply that number ...

Top 50 recent answers are included