spatial Questions

2

Solved

I am working on a study that is trying to assign particulate matter exposure to specific individuals based on their addresses. I have two data sets with longitude and latitude coordinates. One if...
Frederiksen asked 5/12, 2017 at 21:51

3

Solved

I'm trying to save a series of SqlGeometry values to a SQL Server 2008 database. Basically I have a tabletype in a SQL Server stored procedure which looks like this: CREATE TYPE [dbo].[TableType_...
Bidentate asked 2/4, 2015 at 12:53

2

I'm looking to create some proximity maps using R, which show how far areas are from certain points. I can't find any examples in R code, but I've found an output which is the sort of thing I want:...
Sokol asked 2/11, 2017 at 17:12

3

Solved

I have a table which has a POINT column containing the latitude and longitude of various locations. I then also have a users location from geo-location in the browser. What I need to be able to d...
Chiquita asked 15/3, 2017 at 0:34

4

In R, I have single SpatialPolygons object (i.e. multi-polygons) containing several hundred polygons. I would like to split this SpatialPolygons object into a list of Polygons (i.e. holes should re...
Arvonio asked 11/10, 2013 at 10:24

1

I have a dataframe of points on map and an area of interest described as a polygon of points. I want to calculate the distance between each of the points to the polygon, ideally using the sf packag...
Agueda asked 14/9, 2017 at 8:46

1

Solved

I am trying to combine a SpatialPointsDataFrame (grid) of 1000x1000m squares over a SpatialPolygonsDataFrame (info) to aggregate all the information of the points within each grid square. I tried ...
Zeena asked 16/7, 2017 at 12:34

1

Solved

I am trying to use the package ggmap to caculate the distance for a target address with a list of addresse. My data in a csv looks like below: Order ID Address 1652049 435 E 70TH ST,10021 1652123 ...
Barrick asked 10/9, 2017 at 20:59

5

Solved

I'm looking for a Java library that is capable of performing spatial calculations on sets of lat/lon data. Here are some of the functions that I'm looking for: Calculate the Great Circle d...
Likely asked 7/10, 2010 at 0:3

3

Solved

lat long 7.16 124.21 8.6 123.35 8.43 124.28 8.15 125.08 Consider these coordinates, these coordinates correspond to weather stations that measure rainfall data. The intro to the gstat package in...
Demeter asked 16/4, 2017 at 10:56

6

Solved

currently I'm using the build in function dist to calculate my distance matrix in R. dist(featureVector,method="manhattan") This is currently the bottlneck of the application and therefore the i...
Sixgun asked 16/6, 2013 at 22:8

1

Solved

The sf package seems like a much more user-friendly approach to working with spatial data than, say, sp. For example, if I have a set of latitude/longitude coordinates, I can plot easily with the d...
Elisaelisabet asked 10/7, 2017 at 17:40

1

Solved

I am running an intersect of two polygons or other sf objects using the fantastic new sf package. It's similar to this: a <- st_polygon(list(cbind(c(0,0,7.5,7.5,0),c(0,-1,-1,0,0)))) b <- st_...
Evidentiary asked 16/8, 2017 at 22:10

3

I'm wondering if there is an easy way to write a CSV of a point sf object (sf R package) that includes the coordinates. You can use st_write(input, "output.csv") and it will write a CSV without c...
Agretha asked 4/8, 2017 at 20:39

6

Solved

Maybe I'm missing something. I have a sql server column of the "Geography" datatype. I want to use the DbGeography type in my c# code. Any way to cast or convert from sql's geography to dbgeograp...
Montsaintmichel asked 27/2, 2013 at 9:5

2

Solved

I have two dataframes, both of which contain latitude and longitude coordinates. The first dataframe is observations of events, where the location and time was recorded. The second dataframe is geo...
Intermediate asked 10/8, 2017 at 23:52

3

I am new to ElasticSearch and I want to understand the difference between using geohashes and quadtree. In the reference it is written: GeohashPrefixTree - Uses geohashes for grid squares. Geohas...
Anhedral asked 12/5, 2015 at 5:36

1

After learning about this constraint about saving Polygon objects in mySql, I am still puzzled as to why the following insert fails with the same Error Code: 3037. Invalid GIS data provided to fu...
Atlante asked 18/5, 2017 at 14:17

3

Solved

I am working with shapefiles in R, one is point.shp the other is a polygon.shp. Now, I would like to intersect the points with the polygon, meaning that all the values from the polygon should be at...
Ulrika asked 5/9, 2010 at 20:45

5

Solved

I am allowing users to draw a polygon in Silverlight by clicking to draw. Then I loop through the points, convert them to longitude and latitude and then save to SQL (in a geography column). The p...
Toro asked 10/12, 2010 at 14:44

3

Solved

I have written a stored procedure that, yesterday, typically completed in under a second. Today, it takes about 18 seconds. I ran into the problem yesterday as well, and it seemed to be solved by D...
Lactation asked 17/3, 2010 at 12:58

0

I'm plotting some hemispheric fields with ggplot2 and when I try to project them into a stereographic projection it takes ages to render. This is a minimal example: lat <- seq(-87.159, -2, by =...
Juback asked 31/3, 2017 at 18:16

1

Solved

I am computing a voronoi diagram from a set of points as follows: from scipy.spatial import Voronoi import numpy as np np.random.seed(0) points = np.random.uniform(-0.5, 0.5, (100, 2)) # Compute...
Schnitzel asked 17/3, 2016 at 14:31

1

Solved

This post builds upon this one. I got a Pandas dataframe containing cities with their geo-coordinates (geodetic) as longitude and latitude. import pandas as pd df = pd.DataFrame([{'city':"Berl...
Angarsk asked 25/3, 2017 at 19:25

1

Solved

I would like to aggregate a population raster by a factor of 1.5, summing the values of the cells. While aggregate() allows me to sum values when aggregating, its factor parameter accepts only int...
Diversity asked 12/3, 2017 at 14:8

© 2022 - 2024 — McMap. All rights reserved.