spatial Questions
5
Solved
I am using SQL Server 2008 spatial data types. I have a table with all States (as polygons) as data type GEOMETRY. Now I want to check if a point's coordinates (latitudes, longitudes) as data type ...
Macklin asked 15/6, 2012 at 15:51
4
Solved
I have a brand new server which I installed the .NET 4.5 Beta redistributable on. I am getting a NotImplemented exception when trying to use the spatial features. This code...
var x = DbGeography....
Pleasantry asked 12/4, 2012 at 3:30
1
Solved
I am in trouble making raster stack which have slightly different extent. The answer (1st one) given here is useful but did not help in my case. For example, I want to make a raster stack using bio...
3
Solved
I'm trying to place a grid over San Jose like this:
Grid of San Jose
You can make the grid visually using the following code:
ca_cities = tigris::places(state = "CA") #using tigris package to g...
Desmoid asked 22/10, 2018 at 20:41
2
Solved
I have a dataframe df1 with 10 columns. Two of these columns are lng and lat.
I want to create a SpatialPointsDataframe from df1.
When I read on how to create a SpatialPointsDataframe it feels like...
Written asked 15/9, 2015 at 10:22
1
I have a list (s) containing information on the probable locations of many animals in South America. For example, this is the type of stored information and what it looks like when plotted for the ...
Ether asked 4/10, 2018 at 17:31
1
Solved
I am trying to do some reprojection in SQL Server, but unfortunately I can't find any solution for it. I know this is not implemented in SQL Server, so wondering if there is any shortcut for it.
...
Seethrough asked 3/10, 2018 at 0:56
2
I want to use asp .net core v2 web api service to do some spatial calculations. I believe that this is not possible because of the lack of support in Net standard 2.0 for dbgeography spatial type i...
Add asked 2/4, 2018 at 16:15
2
Solved
Using this answer from Ege Rubak as an example, how can I predict pH values for a specific point, say lat = -23.49184 and long = 152.07185, using the idw() function in R?
The closest answer I foun...
Absorb asked 9/8, 2018 at 15:22
3
Solved
Using R, I would like to overlay some spatial points and polygons in order to assign to the points some attributes of the geographic regions I have taken into consideration.
What I usually do is to...
0
I have a panel dataset with several hundred regions, ~10 years and spatial data for the regions. I created a weight matrix with the spdeppackage (via the standard way, and then, nb2listw).
I have,...
Tuckerbag asked 3/7, 2018 at 20:37
1
How do I import a .csv data-file into the Redis database? The .csv file has "id, time, latitude, longitude" columns in it. Can you suggest to me the best possible way to import the CSV file and be ...
0
In the past, I have used asreml-r to account for spatial auto-correlation in agricultural field trials that were laid out in a “row and range” design. It is relatively easy to use the asreml packag...
1
Solved
I have some 'roads' as a sp object:
class : SpatialLinesDataFrame
features : 17360
extent : 490176.4, 567680.9, 148639.1, 212821 (xmin, xmax, ymin, ymax)
coord. ref. : +init=epsg:27700 +proj=tme...
1
Solved
I have linestring which represent a driving journey down some streets. But I want to actually represent a cyclists journey, which is offset from the line i.e. they travel near the kerb of the road....
Apeman asked 10/5, 2018 at 14:24
1
Solved
I have a netcdf file (global domain) which I do not know its projection information, and I want to extract the data (with lon and lat) based on the shapefile.
The objective is to find data for th...
1
Solved
I have some questions about maps/shapefiles. I'm not a expert in R, so, to make it easier do understand what I'm going for, I'll enumerate:
1- Identify each grid on the map, and maybe omit some of...
3
Solved
I want to calculate the distance between approx. 100,000 different ZIP codes. I know about the mapdist function in the ggmap package
mapdist works perfectly:
library(ggmap)
mapdist('Washington', ...
Whomever asked 28/6, 2013 at 9:52
2
Solved
I am using DbGeography from System.Data.Entity.Spatial; and Entity Framework with SQL Server Databases. Now I switch to use MySQL server and I am getting an error when I am creating the database re...
Venegas asked 30/7, 2014 at 20:49
11
Solved
I'm designing a table in SQL Server 2008 that will store a list of users and a Google Maps co-ordinate (longitude & latitude).
Will I need two fields, or can it be done with 1?
What's the bes...
Roseberry asked 16/2, 2009 at 0:13
3
Solved
Here's a toy example I've been wrestling with
# Make points
point1 <- c(.5, .5)
point2 <- c(.6, .6)
point3 <- c(3, 3)
mpt <- st_multipoint(rbind(point1, point2, point3)) # create multip...
2
Solved
I'm writing a WinForms app in C#. I need to ensure no two Datarows in my Datatable are more than 100 km apart. Each row has a UTM Zone, Easting, and Northing in separate DataColumns. All coordinate...
3
Solved
I have a sf object of POLYGON geometry type. I would like to aggregate these polygons into MULTIPOLYGONs using grouping attribute (group_attr) and join a new MULTIPOLYGON object with a attribute ta...
2
Solved
I would like to plot a map of the US using ggplot2 where the map is divided into 1 of 4 regions with blank spaces b/w each. Additionally, I have a set of city coordinates I would like to map onto e...
Defence asked 9/2, 2018 at 21:37
5
Solved
Is there a way in R to generate random coordinates with a minimum distance between them?
E.g. what I'd like to avoid
x <- c(0,3.9,4.1,8)
y <- c(1,4.1,3.9,7)
plot(x~y)
Yodel asked 7/2, 2018 at 12:7
© 2022 - 2024 — McMap. All rights reserved.