Hot answers tagged buffer
For an ArcGIS solution, you can accomplish this analysis with a combination of selections, an intersect and via the create random points tool. Use a select tool to identify your basin. Make sure it is highlighted (usually in light blue) Run the Buffer tool on the "selected" river basin layer. To combine the buffer and the selected feature, use Merge ...
By making a buffer you approximate the distances (as you do not get a true circle, but a polygonal approximation of one). You can improve the rgeos answer by increasing the number of segments of the circle with the "quadsegs" argument: nbg.bff2 <- gBuffer(nuremberg, quadsegs=50, width = 20000) table( unlist(extract(germany, nbg.bff2)) ) 0 1 118 91 ...
You have to use ST_DUMP first to split the multilines into seperate lines, buffer those and then collect them into a multi again: UPDATE rivers SET poly = p.npoly FROM ( SELECT ST_MULTI(ST_COLLECT(ST_BUFFER((q.dump).geom,1) ORDER BY (q.dump).path)) as npoly FROM ( SELECT ST_DUMP(lines) AS dump from rivers where id = 1 ) as ...
i was doing similar to that and i did it by : using near tool that will add nearest street ID field in the accidents table then using the frequency tool it will create table contains the count of each street ID from the previous output last stem using join with the streets table you will get what u want :D
Only top voted, non community-wiki answers of a minimum length are eligible