Best Recent Content
Hi FolksI meant to post this sooner, but here is an image showing the slopes of the roads in the Isle of Arran Scotland. I divided the roads into 5m segments, used the GM to calculate the average slope valus from a 1m Lidar grid, and added the slope value to the 5m road segents. Using appropriate shading on the segments, here are gradients changes along some of Arran's roads (in %). Cyclists like to know this stuff!PS its not that accuarate as the OSM road vectors locally wander off the real route onto the nearby fields, That causes erroneous values. It could be fixed but I was more interested in the process than the actual result.
Hello: I quite agree with this need. A manual ground profile estimation by means of this human guided interpolation would be great. I'm right now facing the very same case and it is taking ages to select points and assign ground class, while it would be a lot faster and simpler to draw a low-pass line...
Global Mapper is a Windows program that exports a C API via its SDK (https://www.bluemarblegeo.com/products/global-mapper-sdk.php). I'm pretty sure that that can be consumed by Python, You'd be able to write Python programs to use GM as an analysis tool and possibly integrate with results obtained via Pyhton interfacing to some other service. Note that I've never tried it nor heard of anyone else who has. Is that what you're after?
The flip side of that would be embedding a Python interpreter into Global Mapper, and having that implement functionality that GM can't do conveniently natively. Maybe that's what you're looking for.
I can't speak to R's capabilities. With respect to Python, I'd probably start here for more understanding: https://docs.python.org/3/extending/index.html.
Per Bob, a more concrete use case would be helpful.
Not sure why it isn't available for you. It appears in my list when I use this method:
- Double-click the layer
- Go to Labels tab
- Click on the Use Selected Attribute Value and choose <Index in Layer>
Also available via Use Custom Format String e.g. My label text with attribute %<Index in Layer>%
You can also copy the attributes to a new attribute - not sure if this is the same workflow in v14.2 though:
- Select Feature with Digitizer
- Right-click > Attribute/Style Functions > Calculate/Copy Attributes for Feature Selection
- Enter an Attribute Name you want in the first box e.g. Order
- Choose <Index in Layer> as the Source Attribute
- Leave the Operation as Copy Source Attribute to New Attribute