Skip to main content

Questions tagged [geospatial]

Geospatial pertains to the geographic location and characteristics of natural or constructed features and boundaries on, above, or below the earth's surface; esp. referring to data that is geographic and spatial in nature.

5votes
1answer
68views

Latitude and Longitude types

I wrote this code when reviewing Define a class for latitude and longitude in C++ using boost::units and spheroidal coordinates. As I've not used Boost::Units before, I thought it worth reviewing in ...
Toby Speight's user avatar
0votes
1answer
78views

What's the fastest way to get "postcodes" for thousands of coordinates (latitudes & longitudes) in Python? [closed]

I have a dataset that contains 750,000 rows. I want to query each row and get the postcodes using the latitudes and longitudes. Problem: The code is executing very fast when I query like 100 rows, and ...
Buchi's user avatar
5votes
2answers
86views

Geospatial application in python using OOP

I'm working on a tool that performs some computations using elevations from a DTM file retrieved from a WCS service. These computations will be done on predefined regions of Europe. I'm trying to ...
stray_dog's user avatar
2votes
1answer
68views

Interpolate raster value using Python

I'm new in coding. I have a shapefile (points) and some raster files. My purpose is get the values from all raster to point (each point will get value from 2 or 3 nearest cell,the value on the value ...
Long nguyen duc's user avatar
1vote
1answer
100views

measure distance between two points in python

I'm working in a function that generates isochrones for a project of mine and I'm facing a bottleneck performing some distance calculations. Here is what I'm doing: ...
Franco's user avatar
9votes
1answer
1kviews

Geohash library in C++17

GeoHash library in C++17 no allocations and no std::strings. It uses fixed buffer GeoHash::buffer_t. optimized nearby search, if possible, it search 2x2 or 2x3 ...
Nick's user avatar
  • 1,594
4votes
0answers
63views

Use XYZ data to create cross sectional profiles across beach terrain, using OS Grid

This might be a slightly long question, but I've recently been doing a bit of R&D on the data processing workflows within the company that I work at and it would be great to see if there are any ...
Adam Johns's user avatar
1vote
0answers
31views

Python library to convert spatial data or DEM (digital elevation model) to dictionary

I would like to expand a library which converts a DEM (Digital elevation model) to values stored in a dictionary. This dictionary can be used to create a 3D terrain in Three.js. I made a Django ...
Kempie's user avatar
1vote
0answers
140views

Performance optimization processing 95,000+ NetCDF files (using xarray + dask)

I was told over at gis.stackexchange.com that this question would be a better fit here. I already have a working code but it is very slow and my hunch is that it could be optimized. The goal here is ...
Luc Rébillout's user avatar
4votes
1answer
2kviews

find closest object via latitude and longitude and haversine distance

Given a pandas data frame containing objects with ids and latitudes and longitudes: ...
cs0815's user avatar
3votes
1answer
691views

Vincenty's distance Direct formulae numpy

I've refactored a function from the pygc library used to generate the great_circle. The Vincenty's equation below can be found ...
Jason Leaver's user avatar
0votes
2answers
128views

Modify polyline vertices

I have an ArcGIS Arcade script that uses JavaScript syntax. The script loops through GIS polylines and updates a coordinate. The coordinate is called an "M" coordinate (aka a "Measure-...
User1974's user avatar
1vote
1answer
209views

Loop through polyline vertices and update coordinate

I have a Python 2.7 script that loops through GIS polylines and updates a coordinate. The coordinate is called an "M" coordinate (aka a "Measure-value"). M coordinates are similar ...
User1974's user avatar
4votes
1answer
169views

Checking which polygon a set of coordinates lie inside

I have a massive set of latitude, longitude pairs. I also have a list of GeoJson formatted locations. I want to find out which location each pair of coordinates lies in. I have some code to do this, ...
TomSelleck's user avatar
2votes
1answer
55views

Advice on taming a slow loop required for visualization of large GIS dataset

I'm working towards plotting a large GIS dataset of which I've shown a sample above of about 1/6 of the data. I'm happy with how quickly the data loads in, and bokeh...
BBirdsell's user avatar

153050per page
close