Questions tagged [spatial-data]
46 questions
1
vote
0 answers
readOGR: error in evaluating the argument 'x' in selecting a method for function 'merge': length(dsn) == 1L is not TRUE
I'm attempting to adapt a function written by a coworker, but I've hit a point where neither of us know how to solve the issue. Generally, the function reads in several different shapefiles kept in different directories, then merges them all with…

kbill
- 11
- 3
1
vote
0 answers
Is there a way to get around this problem in my Road network analysis in R?
so I am having issues with a road network analysis I am conducting, which is aiamed to look at how far away each park entrance is from each postcode centroid in the London borough of Southwark. However, I have experienced errors in my analysis which…

hussain
- 11
- 1
1
vote
0 answers
Possible ways of selecting x/y points that are on or close to a path in R
I am trying to extract data from a line of points which are part of a 2D map that consists of 5,000–6,000 points.
I used to be able to do this using the Point Profile Tool in ArcMap but am now looking for a way to do it in R instead, if at all…

Nik
- 13
- 2
1
vote
1 answer
Convert Geometry to Geography
I want to convert geometry to geography in SQL Server; I followed this article:
https://blogs.msdn.microsoft.com/edkatibah/2008/08/19/working-with-invalid-data-and-the-sql-server-2008-geography-data-type-part-1b/
Here is my query:
INSERT INTO…

lyly
- 31
- 1
- 5
1
vote
1 answer
The Spatial Data for layer... in the map... is not valid. Specify Spatial data that is data type SqlGeometry or SqlGeography. Report Builder 3.0
I am editing the data set for a map report programmatically in VS 2010 by changing the dataset queries in a baseline report converted to xml, then displaying the new report, converted to .rdl in Report Builder. When Report Builder is first launched…

jas
- 147
- 2
- 11
1
vote
2 answers
C# gdal read mssql spatial to geojson
Gdal.AllRegister();
//为了支持中文路径,请添加下面这句代码
OSGeo.GDAL.Gdal.SetConfigOption("GDAL_FILENAME_IS_UTF8", "NO");
//为了使属性表字段支持中文,请添加下面这句
OSGeo.GDAL.Gdal.SetConfigOption("SHAPE_ENCODING", "");
…

dlsyaim
- 11
- 3
1
vote
4 answers
Algorithm for identifying non-ambiguous clusters?
Clustering algorithms usually take into account that what might be perceived as a reasonable cluster by a human being is ambiguous and the computed solution is supposed to generalize and predict well.
This is why I am hesitant to just use the…

Raffael
- 19,547
- 15
- 82
- 160
0
votes
0 answers
Direct and indirect effects of spatial panel durbin model
I'm asking about the estimation of direct, indirect, and total effects of spatial durbin panel data modeling. As far as I know, there is no direct package of doing the estimations. So I generate the spatial lag of independent variables myself. Here…

Chen Luo
- 1
- 1
0
votes
0 answers
How to use K-Means clustering with geography data in SQL Server
I have a table named input_points in SQL Server that contains a collection of points represented in geography data type, with two attributes: id (which allows NULL) and Location (which is in hex format). I want to use K-Means clustering algorithm to…

AmrShams07
- 96
- 1
- 7
0
votes
0 answers
Predict function in R returns a different value from fitted.value in model object
I am using lagsarlm in spdep package in r to estimate a spatial Durbin (mixed) model by
m1 <- lagsarlm(f, data = d, wlist, type = "mixed")
where f is my designed model of dependent variable and independent variables, d is a set of data points…
0
votes
1 answer
How to conduct spatial data analysis with netCDF land use data and Key Biodiversity Areas (.shp) data
I have a netCDF file ("SSP119.nc") containing information on land-use change from 2015 to 2100, inclusive (source: https://luh.umd.edu/data.shtml). I also have a shapefile containing polygons of global Key Biodiversity Areas (KBA).
I want to know…

Conor Ó Beoláin
- 1
- 1
0
votes
0 answers
Upload spatial data in GDB or geodataBase format in ASP.NET Core code first
I have a database in geodatabase(.gdb) format with several layers inside.
I entered the layers in ArcGIS software to gdb.
Now I want to automatically create the table for data attribute of that layer in the sqlserver database when each layer is…

Mohammad Ghanezada
- 11
- 2
0
votes
2 answers
Selecting values from a 4d tensor with a 3d tensor
I've recently run into this problem in pytorch when working with 4D tensors which should be indexed with 3D tensors.
Let's say we have this 4D tensor:
possible_values.size()
torch.Size([2, 5, 5, 4])
where:
dim 1 = batch
dim 2 = x_axis
dim 3 =…

00sdf0
- 148
- 1
- 8
0
votes
1 answer
ABP.io + NetTopologySuite = True?
How to handle spatial data with abp.io framework (SQLServer and EF Core)? Any recommendations?
I guess one can have NetTopologySuite in the Domain project, but it does not feel DDD correct to do so.
Please tell me if you have any experiences with…

kungcc
- 1,832
- 5
- 25
- 48
0
votes
1 answer
R Programming Help: Error in .subset2(x, i, exact = exact) : no such index at level 3
I am in need of assistance, any guidance is greatly appreciated!
My goal is to create a function that computes the spatial moving average of adjacent neighbors of a polygon shapefile utilizing the existing function poly2nb(). The function must be…