spatial Questions

1

Solved

I would like to plot a shape file loaded using read.shp from the fastshp package. However, the read.shp function returns a list of list and not a data.frame. I'm unsure which part of the list I nee...
Yellowknife asked 14/1, 2020 at 20:4

1

Solved

I would like to unzip and read in a shape file from the web in R without relying on rgdal. I found the read.shp function of the fastshp package that can apparently accomplish this without rgdal ins...
Inez asked 14/1, 2020 at 19:22

3

Solved

I have a SpatialPointsDataFrame which has one attribute (let's call it z for convenience) as well as lat/long coordinates. I want to write this out to an XYZ file (i.e. an ASCII file with three co...
Payola asked 27/6, 2013 at 11:32

4

Solved

I'm trying to find (but not draw!) contour lines for some data: from pprint import pprint import matplotlib.pyplot z = [[0.350087, 0.0590954, 0.002165], [0.144522, 0.885409, 0.378515], [0.027...
Cockburn asked 18/8, 2013 at 23:26

1

Solved

I've got a dataset of species occurrences which I'm trying to convert into areas of occurrence by making convex hulls. I'm able to do this manually (ie. one species at a time) but I'd really love t...
Ibby asked 30/10, 2019 at 9:48

0

I am modelling the distribution of bottlenose dolphins in the lagoon of a South Pacific Island. I would like to use a soap-film smoother to model the probability of dolphin presence over a 2D surfa...
Pirali asked 28/10, 2019 at 23:57

4

Solved

I have two data sets, A and B, which give locations of different points in the UK as such: A = data.frame(reference = c(C, D, E), latitude = c(55.32043, 55.59062, 55.60859), longitude = c(-2.395499...
Apps asked 16/8, 2019 at 13:39

2

We have migrated a copy of a MySql 5.7 database to MySql 8.0.11 on Amazon RDS. Where possible everything is identical. A table containing geometry data has been modified so the geometry column is r...
Matazzoni asked 17/12, 2018 at 16:45

2

Solved

I'm getting the following error: ERROR: SqlException: .NET Framework error during routine execution or user-defined aggregate 'geography': System.ArgumentException: 24204: spatial reference id...

1

Solved

I have a world country dataset, and would like to split it on the prime meridian, and re-center the data to focus on the Pacific. I am trying to do this using Simple Features (sf), but am coming ac...
Dodgem asked 27/8, 2019 at 14:54

2

Solved

I am investigating spatial autocorrelation in my data using semivariograms. My data: Response <- c(21L, 36L, 30L, 29L, 30L, 45L, 100L, 0L, 0L, 0L, 0L, 0L, 59L, 18L, 24L, 23L, 26L, 29L, 23L, 21...
Leavening asked 24/7, 2018 at 14:32

4

I'm working with the new Entity-Framework 5 using the Spatial data type DbGeography as part of my model for storing in one instance, a POINT and in another instance a POLYGON. When setting the val...
Trumpetweed asked 12/9, 2012 at 8:10

1

Solved

I want to read a shape file which is encoded in UTF8. It works fine when I read it using rgdal::readOGR but sf::st_read fails to get the correct Encode. Any suggestions on how to solve this? For a...
Deshabille asked 13/6, 2019 at 1:6

1

Solved

I am new in using Python so I need a help. I have data in two DataFrame in four columns: latitude, longitude, datetime and temperature. In the DataFrame df2 I have latitude, longitude, datetime a...
Gastrocnemius asked 3/6, 2019 at 15:6

3

Solved

I am trying to run a query (which I gleened from here) against GeoJson multipolygon data. It processes many of the spatial records but is stopping on a some. I get the following error in the query...
Stegosaur asked 30/5, 2019 at 3:9

2

I need to write a function in Python 3 which returns an array of positions (x,y) on a rectangular field (e.g. 100x100 points) that are scattered according to a homogenous spatial Poisson process. ...
Capitation asked 30/6, 2015 at 8:27

3

long-time reader, first time poster. I'm attempting perform a gIntersection() on two very large SpatialPolygonsDataFrame objects. The first is all US Counties, the second is a 240 row x 279 column...
Find asked 4/6, 2013 at 13:11

4

Solved

I am trying to bulk insert few records in a table test from a CSV file , CREATE TABLE Level2_import (wkt varchar(max), area VARCHAR(40), ) BULK INSERT level2_import FROM 'D:\test.csv' ...
Adulterine asked 8/9, 2014 at 14:17

1

Solved

Assuming I have two sf objects with the same coordinate reference system and non-overlapping area, how to correctly combine these two sf objects to create one sf objects? Here is an example. # Lo...
Brod asked 23/3, 2019 at 17:20

3

Solved

Use case 1: DECLARE @Geom TABLE ( shape geometry, shapeType nvarchar(50) ); INSERT INTO @Geom(shape,shapeType) VALUES('LINESTRING(1 2, 3 4)', 'A'), ('LINESTRING(3.2 4, 7 8)', 'B'); SEL...
Candida asked 18/2, 2019 at 4:38

1

Solved

I want to plot a world map with multiple points aka combinations of latitude and longitude coordinates. I don't want to use Mercator, therefore I re-project both, the data for the world map and my...
Poundage asked 18/3, 2019 at 12:42

1

Solved

I'm trying to build a database with a spatial object using EF core 2.2, and i'm getting a problem with trying to create the database migrations. using https://learn.microsoft.com/en-us/ef/core/mode...
Lamoree asked 20/2, 2019 at 18:15

1

Solved

I am working with the Hololens in Unity and trying to map a large area (15x15x25) meters. I am able to map the whole area using the SpatialMapping prefab, but I want to do some spatial processing o...
Benzoin asked 20/1, 2019 at 17:38

5

Solved

I'm trying to make Django's SQLite3 accept spatial queries. This tutorial suggests that I add this to settings: SPATIALITE_LIBRARY_PATH = 'mod_spatialite' Which produces this error: django.co...
Rather asked 30/9, 2016 at 9:4

1

I'm still somewhat new to R and the sf package... I have two sets of multipolygon data that I am trying to analyze. My first set of polygons (fires) contains hundreds of wildfire perimeters. The s...
Finalize asked 19/12, 2018 at 15:51

© 2022 - 2024 — McMap. All rights reserved.