Questions tagged [geospatial]

pertaining 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.

91 questions
67
votes
9 answers

Clustering geo location coordinates (lat,long pairs)

What is the right approach and clustering algorithm for geolocation clustering? I'm using the following code to cluster geolocation coordinates: import numpy as np import matplotlib.pyplot as plt from scipy.cluster.vq import kmeans2,…
rokpoto.com
  • 813
  • 1
  • 7
  • 6
15
votes
1 answer

Heatmap on a map in Python

Mode Analytics has a nice heatmap feature, but it is not conducive to comparing maps (only one per report). What they do allow is data to be pulled easily into a wrapped python notebook. And then any image in python can easily be added to a…
ScottieB
  • 333
  • 1
  • 2
  • 8
12
votes
3 answers

Can GPS coordinates (latitude and longitude) be used as features in a linear model?

I have data sets that contain, among many features, GPS coordinates (latitude and longitude). I'd like to use these data sets to explore problems such as: (1) computing ETA to drive between start and end points; and (2) estimating the amount of…
6
votes
4 answers

How to predict ETA using Regression?

I have a data from GPS in the form 1.('latitude', 'longitude','Timestamp'). 2.('latitude', 'longitude','Timestamp'). 3.('latitude', 'longitude','Timestamp'). I am changing this data into the below form 'latitude_1', 'longitude_1', 'Timestamp_1',…
user825828
  • 99
  • 1
  • 5
5
votes
2 answers

Multidimensional scaling producing different results for different seeds

I took the data from here and wanted to play around with multidimensional scaling with this data. The data looks like this: In particular, I want to plot the cities in a 2D space, and see how much it matches their real locations in a geographic map…
Kristada673
  • 308
  • 3
  • 9
5
votes
3 answers

Spatial Join Pandas Dataframes of Bounding Boxes (cross match)

Problem Statement Imagine there are two almost identical images with annotations (bounding boxes for certain objects), where one is so-called golden image (template) containing all must-have objects (ground truth), and the other one is the query…
TwinPenguins
  • 4,429
  • 3
  • 22
  • 54
4
votes
1 answer

Spatially constrained geospatial similarity

What's the current methodology for clustering geospatial data by features? Example: I have some demographic dataset. Let's say this contains average home price and population density. So, an example correlation here would be home price vs population…
4
votes
2 answers

Data Engineering Stack - collect, transform and visualize geospatial data

I'm making a side project, where I collect geospatial data by web scrapping and from OSM API. I've started with simple Java application, however, I would like to make it as a data flow, purely for learning purposes. Unfortunately, my knowledge about…
Forin
  • 141
  • 1
4
votes
1 answer

How to collect tweets by geo-location?

I am extracting tweets on brands for sentiment analysis. I am using twitteR package on R. Is there a specific way by which I can only collect tweets from a location ex NY or Paris or Canada etc. I have tried Geocode but here I have to give lat and…
4
votes
0 answers

Low Accuracy from Geospatial Random forest ML modeling problem - Training Exported from qGIS, SCP

I am doing a geospatial assessment integrated with ML modeling. The problem is the very low accuracy percentage, as more training features increases, it gets lower. What could be the solution to such a problem? Accuracy test: Sample of training…
Reem
  • 41
  • 1
4
votes
1 answer

Using GPS signal, determine is this person driving a cab

New York City provides tens of gigs of data of taxi routes all over the city. What I'd like to do, is use this data (or some other method), to come up with an algorithm that can take a persons GPS data over a short span of time (say an hour), and…
D-Nice
  • 141
  • 1
3
votes
1 answer

Setting up Neural Network for this problem

I have a question regarding neural networks considering I am not an expert in NN. Assume have a 5 by 5 grid that depending on me pushing any square (or combination of squares) some of those squares (not necessarily the squares I have pushed) will…
Seyyed A.
  • 41
  • 1
3
votes
1 answer

Approach to classify spatial trajectories of vessels

I'm trying to create a classifier to distinguish different boats by their trajectories. I have training data of the longitude and latitude of a boat and time in seconds. Vessels like a ferry will have a straight predictable trajectory between two…
3
votes
0 answers

How can i plot large .nc files with xarray and matplotlib?

I have a 11GB .nc file with lon/lat positions, and particle trajectories on the ocean surface for a timespan of 40 days. For small files (Approx 140MB) i use xarray, netCDF4, matplotlib and cartopy to create a visual out of this. When reading the…
otk
  • 131
  • 4
3
votes
0 answers

Time Series Forecasting Using Geospatial Data

I have spatio-temporal data with PM2.5 concentration at a daily timestamp for 51 latitudes and 51 longitudes (51 x 51 grid). I converted the netCDF files to a pandas dataframe with timestamp as the index and longitude, latitude, and PM2.5 as…
Mahad
  • 31
  • 1
1
2 3 4 5 6 7