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.
118 questions
4
votes
1
answer
362
views
Half-hexagon neighbour identification under (novel) hierarchical hexagonal grid
Context & Background
Please let me remind you that this project may involve original research; it is important to remember that all content on this site is subject to CC BY-SA 4.0. It is a breach ...
5
votes
1
answer
93
views
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 ...
0
votes
1
answer
109
views
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 ...
5
votes
2
answers
94
views
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 ...
2
votes
1
answer
71
views
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 ...
1
vote
1
answer
119
views
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:
...
9
votes
1
answer
1k
views
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 ...
4
votes
0
answers
76
views
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 ...
4
votes
1
answer
2k
views
find closest object via latitude and longitude and haversine distance
Given a pandas data frame containing objects with ids and latitudes and longitudes:
...
3
votes
1
answer
723
views
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 ...
1
vote
2
answers
151
views
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-...
1
vote
1
answer
228
views
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 ...
4
votes
1
answer
216
views
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, ...
2
votes
1
answer
74
views
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...
7
votes
2
answers
388
views
Parsing Addresses with GeoPanda's GeoDataFrame
Long time reader of Code Review with my first question. I'm self-taught and suspect this code can be improved. The project is really important to me and the team and I could really use the help.
I'm ...