New answers tagged

0 votes

Getting elevation at particular coordinate (lat/lon) programmatically (but offline)?

For the future users' convinience, when you provide lat lon in get_elevation function, it gives the elevation. import rasterio elevation_file = 'Dem.tif' def get_elevation(lat, lon): coords = ((...
user avatar
  • 1
0 votes

Extract xmin/max, ymin/max for a tile from Mapbox API

I've got another solution that doesn't require all these installations, written in R: #convert radians to degrees rad2deg <- function(rad) {(rad * 180) / (pi)} #convert tile numbers to coordiantes ...
user avatar
  • 276
1 vote

KeyError when adding layer to WebMap with add_layer in Python ArcGIS API

Probably you have an item in your content with the same name as the title of the item you want to add. My guess is that there is a service definition with that name. You can avoid the error by using ...
user avatar
  • 31

Top 50 recent answers are included