Newest 'geospatial' Questions - Stack Overflow

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.

0
votes
0answers
2 views

Measure similarity of two spatial trajectories

I am trying to measure the similarity between two trajectories (two sets of lat/long points) which are the outputs from two APIs. I am trying to measure the difference between the routes given by ...
0
votes
0answers
5 views

How to efficiently find large polygon intersections?

I have a case of a layer with ~5000 polygons (without holes) and I need to clear any intersections. This is a user facing webapp, so my preference is to JavaScript, but I'm fine with using server ...
0
votes
1answer
17 views

Trying to create a heatmap in SQL but there is something off about my Spatial data

I am trying to create a heatmap of customer orders across states I am following this tutorial: https://www.mssqltips.com/sqlservertip/3550/sql-server-reporting-services-analytical-marker-maps-...
0
votes
0answers
16 views

Mapping variable numbers of layers in R

I'm relatively new to R and am building a small app that maps data based on layers that the user has selected using R's tmap library. However, I'm not sure how to display all the layers the user has ...
-1
votes
0answers
12 views

What does the “ViewportInfoService.GetViewportInfo” in the “Network” section of “Developer Tools” represent?

I am currently attempting to find the coordinates of the following area outline: https://media.zoomprospector.com/main/widgets/DynamicLayers.aspx?sst=PGE&environment=production&height=750&...
2
votes
0answers
28 views

How to find stored circles by point in Mongo DB using Spring Boot?

I am working about location service which is stored circles within different lat,long and radius. @Document("location") public class Location { private String subject; private Circle ...
0
votes
0answers
14 views

Storing/managing geography path data in SQL Server, large amounts

Analyzed our DB storage use and found that most of the data is path records for routes. Currently we store those as strings like: -87.809814 42.022794,-87.810257 42.021923,-87.809174 42.020722,-87....
0
votes
1answer
13 views

How to transform coordinates in local EngineeringCRS to WGS84?

I want to code the transformation of coordinates given in a local right-handed 3D-Cartesian coordinate system to 3D-geographic-coordinates using geotools:gt-referencing. I have the location and ...
-2
votes
0answers
35 views

How to perform Auto Quality Check for training data for Land cover classification system?

I am working on a Land cover classification system, wherein, Sentinel-hub imagery is being used to categorize the land cover by using a time series of multispectral imagery. Training data is being ...
0
votes
0answers
17 views

Error writing Geopackage from python 3.7 on windows

I have tested the problem below on a Ubuntu server and there is no problem, so this is definetly a Windows problem. I am trying to write a geopackage from a geopandas GeoDataFrame. I am doing this in ...
0
votes
0answers
11 views

Geographical segmentation mismatch

I am doing a project where we need to segment a geospatial data. The data set comprises the Fire Weather Index (FWI) -- a fire hazard classification system -- for the whole world from the 1980's to ...
0
votes
1answer
21 views

generating random coordinates in a country [on hold]

I'm trying to randomly generate a list of coordinates that fall within a country boundary in R. Does anyone know how to do this?
0
votes
0answers
19 views

How to do distance calculations on SQL Geography objects in c#

I've a got a SQL Server 2012 db with table GeoStates, which has a geography column, which holds either a polygon or multipolygon object. The c# web project asp.net 4 I'm working on uses Entity ...
0
votes
0answers
37 views

Determine whether a string is a WKT

I have a csv of values, and I need to determine if a string-field is a well-known-text geometry representation. For example, if I have the following data: name,info "tom","POINT (30 10)" "brad","...
0
votes
1answer
19 views

Can Redis georadius function query hash data type

I have a existing Redis database that include taxis hash. I want to query those hash using redis georadius() function to find the closest taxi in a 3 km radius. Do georadius() can handle hash data ...
0
votes
0answers
33 views

Understanding an R function and finding its equivalent in Python 3

I have an R function that I can't fully understand, and I would also like to know what would be its exact equivalent in Python. This is the code: distGeo(as.matrix(all_df[,c('longitude','latitude')]),...
0
votes
0answers
10 views

Azure Cosmos DB GeoJson support - MultiPolygon, Feature

I'm trying to understand what types of GeoJson objects I can store and work with in Azure Cosmos DB. As per this documentation - https://docs.microsoft.com/en-us/azure/cosmos-db/geospatial you can ...
0
votes
1answer
16 views

Finding the exact name of City and Country

import osmnx as ox %matplotlib inline G = ox.graph_from_place('Seoul, South Korea', network_type='drive') fig, ax = ox.plot_graph(ox.project_graph(G)) In this part, how to find the exact title of ...
0
votes
1answer
53 views

Why do I have to switch latitude and longitude when plotting points

I am using the OpenStreetMap library to plot coordinates over an OSM map. In order to download the tiles, I use the following upper-left and bottom-right latitudes and longitudes: library(...
0
votes
1answer
26 views

Entity Framework 6 and Geography data STContains

I've included Microsoft.SqlServer.Types to enable the geography and geometry types in Entity Framework, but I don't see any functions equivalent to STContains(). I need to make a query to retrieve ...
0
votes
1answer
34 views

How to plot routes between pairs of starting and ending geospatial points using Folium?

I am having a pandas DataFrames with latitude longitude of start and end of a route, so these are my columns ('origin_lat, 'origin_lon',destination_lat','destination_lon'). I am able to plot the ...
0
votes
1answer
70 views

Geospatial fixed radius cluster hunting in python

I want to take an input of millions of lat long points (with a numerical attribute) and then find all fixed radius geospatial clusters where the sum of the attribute within the circle is above a ...
0
votes
1answer
15 views

API to publish data from shapefile

GIS is not really my expertise and need advice from experts here. Pardon me for my incorrect terms. I have a client asking to develop a system which provides API to consume data from their POI, PA and ...
1
vote
1answer
33 views

How to convert geospatial coordinates from top right, bottom left to top left and bottom right

I am using a map that allows selecting a bounding box on a map and returns (lat, lon) for top right, and bottom left. I am using couchbase geo spatial queries and they only support top_left ...
1
vote
2answers
35 views

How to calculate mean spatial location by group

I need to calculate mean locations for a spatial data with longitude and latitude variables. The operation needs to be done by group, which somewhat complicates the matters. I have been able to do ...
-4
votes
0answers
20 views

How to get 3D building models for a certain location point, for shadow calculation?

I want to calculate the amount of Sun a certain appartment is getting in a day, by considering the time sunlight is blocked by buildings nearby (assuming a completely sunny day). For this, I need to ...
0
votes
1answer
17 views

Can an Azure Search query using Lucene query syntax have a filter with a geo.distance function AND another filter criteria?

I'm querying an Azure Search index containing train schedule stops using Lucene syntax with a filter using the geo.distance function and a departure time value (expressed as minutes from midnight. ...
2
votes
0answers
27 views

How to know if Geopoint is inside a Polygon with elasticsearch 7?

I've an index with Polygons of countries and what I want to do is to calculate given some coordinates, to witch country belongs. I've tried in a lot of ways and I get always all my index as a result. ...
0
votes
1answer
23 views

Entity Framework doesn't return geography column on update from database

I've just been given a task of adding a table to a SQL Server 2012 database. This table has a geography column: CREATE TABLE [dbo].[GeoStates] ( [Id] [INT] IDENTITY(1,1) NOT NULL, [GEOID] [...
0
votes
1answer
30 views

left hand/foot rule in SQL Server 2016

I have seen that SQL Server uses left hand/foot rule while creating polygons. But the articles I have read are talking about SQL Server 2012 and I am not sure if it's the case with SQL Server 2016 as ...
-2
votes
0answers
39 views

Weighted density2d Geospatial Heatmap

I have survey data that has been weighted to better represent the country's population, in a multiplier vector. I'm able to successfully plot the points on a map, and a nonweighted heatmap, but ...
-1
votes
0answers
36 views

How to find out if a given point is within a circle whose centre coordinates and radius in meter are known?

I want to show certain Posts only to the users whose location is within the Posts's geo area circle. So I have a Post table that contains geo Circle coordinates and radius in JSON string form- ...
1
vote
2answers
28 views

Calculating the radius of earth by latitude in Python - replicating a formula

I am trying to replicate a formula I found on this website, it relates to calculating the radius of the earth at a given latitude. https://rechneronline.de/earth-radius/ or https://planetcalc.com/...
0
votes
0answers
14 views

What is internal drift and external drift?

For the Kriging model, I'm wondering what the difference is between internal and external drift? I understand the internal drift is part of the location (s) and the external drift is typically an ...
-2
votes
1answer
32 views

Data visualization for geographical map [closed]

I am doing a dissertation on data visualization of land prices in Tanzania. My intendants want me to use a GIS software to map the data on a map and use python code to visualize it. My question is ...
1
vote
0answers
42 views

Interpolate GPS points to other set of points in R

I have two datasets: one of GPS points (from bus locations) with timestamps that are collected mostly at every 30 seconds, and other of intermediate points (from bus stops) that fall within the GPS ...
1
vote
1answer
47 views

Wrong color legends with two plots overlay in ggplot2

I'm trying to give a combined color scheme in spatial plot using ggplot2 this way: A Factor (2 levels) variable is used to select the tint (in my case, orange or blue) A continuous variable is used ...
0
votes
0answers
11 views

How to slice up georef. panoramas into georef. planar pictures?

I have a bunch of georeferenced panorama pictures (with coordinates, heading, roll, pitch) captured with a Ladybug camera (which has 6 cameras on it). I would like to create a script in Python, what ...
0
votes
0answers
12 views

Highway H1 of Australia geo spatial data in .json or .shp format

I need the geo spatial data in format of (.json or .shp) for Australia’s highway H1(the red color line shown in the below image). Is there any website to get the data of it? Australia's H1 highway
1
vote
1answer
25 views

How to plot roads on maps between two points based on GeoJSON file?

I want to visualize possible roads between two points, something like google map, I have a GeoJSON file that contains the roads network, is it possible or is there any algorithm to plot only roads ...
0
votes
0answers
20 views

How to index a document which has geojson as a field in Solr?

When I try to index a document which has a location type field there is no result for it. I'm trying to index documents then I hope I will be able to search spatially. I'm following link and I also ...
0
votes
1answer
21 views

Whats the equivalent of ST_DWithin (PostGIS - PostgreSQL) for MySQL?

I am trying to find an efficient way to do proximity queries, ie to return POINTs which are within a radius from a central POINT. I understand that PostGIS's ST_DWithin method is a good way to do ...
0
votes
1answer
26 views

Plotting nb object in ggplot?

I would like to plot the outline of UK, along with an nb object that I generated from a spatial points dataframe. The problem is that the outline of UK takes really, really long to plot --it keeps ...
1
vote
1answer
36 views

What data structure should I use to index geographic coordinates?

I have a set of objects that have latitude and longitude coordinates and I need to be able to match another set to the closest item. Simple nearest-neighbor stuff. My best thought is to convert the ...
0
votes
0answers
19 views

Find variogram parameters with Kriging in R

I'm working on spatial- temporal modelling with Kriging , and I'm having difficulties to calculate the sill , Nugget and Range for the covariance models; Separable, ProductSum, Metric, Sum Metric, ...
0
votes
1answer
40 views

Add vertical polylines of specific length to contiguous polygons in R

I'm attempting to pro-grammatically add multiple vertical polylines of specific length to contiguous polygons in R. The number and length of the polylines should be specified by the user and can range ...
0
votes
0answers
35 views

Mongo geoNear Aggregation Pipeline - 'near' field must be point

I am using a Mongo pipeline within an aggregation lookup on 2 collections, Locations and Places. I am trying to return all the places which these locations are near. The error I get is '...
0
votes
1answer
37 views

Doctrine issue: Cannot get geometry object from data you send to the GEOMETRY field

I followed this guide to add point type to Doctrine. This is how I define coordinates field in an Entity: /** * @ORM\Column(type="point", nullable=true) */ private $coordinates; And this is how I'...
0
votes
0answers
24 views

R: Project raster from Longlat to Mollweide using alternative methods

My question concerns the methods raster::projectRaster uses. According to the package documentation two options are allowed: ngb (nearest neighbor) and bilinear (bilinear interpolation). In my ...
0
votes
0answers
16 views

R : “subscript out of bounds” when cropping a grid

I'm going to make a spacial interpolation with the kriging method on my data. To proceed, I need a grid model on a map of France. To do it I'm following the chapter 4 of this course : https://www....