New answers tagged

2

Here are a few links to get you started in the right direction. This is not simple Euclidean geometry question. See Charles F. F. Kinney's (cffk's) response to Finding projection of point to line? The C code Charles mentions is at this link to his intersect.ccp file His very detailed article entitled Algorithms for geodesics deals with math behind the ...


3

Here is a Python ArcGIS arcpy solution. I've optimized this for speed by using in_memory workspace wherever possible--it is quite fast. This is the general workflow: Negative Buffer the study area by the transect length. Create Random Points inside the negative buffer (study area). These will be the starting points for the transects. Note that you can ...


2

Here's a rough stab with R. library(sp) library(raster) ## roughly digitized analog of your map (with raster::drawPoly) d <- structure(list(x = c(0.08394638623612, 0.0758558910509947, 0.197213318827875, 0.209349061605562, 0.268005151697721, 0.280140894475409, 0.08394638623612, 0.08394638623612, 0.112263119384059, 0.120353614569184, 0.112263119384059, ...


0

If you export the line (presumably shapefile) to a geodatabase, the Shape_Length field is added automatically and dynamically maintained (splitting, merging, etc. will work) To calculate a static length, use the Calculate Geometry tool in the attribute table. Right click on the column you wish the calculate -> Calculate Geometry. This is a static ...


1

You can use the grid decoration under the view tab to create a semi-dynamic graticule annotation, that, while constant in its scale, updates when you pan the map. In the following example I've set the grid interval to 1000 meters. There's not much in the design department, but it works.


1

I think you're overcomplicating things here when you could use ST_MaxDistance, this will return the maximum distance between two points within two point clouds. WITH points AS( SELECT id, (ST_DumpPoints(lane.geometry)).geom as geom FROM lane GROUP BY id ) , min_distances AS( /*Finds the smallest distance for each distinct tuple ...



Top 50 recent answers are included