geospatial Questions

6

Solved

Is it only me who have the problem with extracting coordinates of a polygon from SpatialPolygonsDataFrame object? I am able to extract other slots of the object (ID,plotOrder) but not coordinates (...
Herwin asked 22/4, 2015 at 16:10

4

Solved

When I am firing this query on MongoDB, I am getting all the places in the proximity of 500 miles to the specified co-ordinates. But I want to know the exact distance between the specified co-ordin...
Tejeda asked 23/11, 2015 at 5:49

1

I have recently updated INLA using the inla.update on my machine. Now everytime I try to run a function from the package, such as inla.mesh.2d I obtain the following error: Error in inla.call.built...
Marylou asked 17/1, 2022 at 15:49

3

Solved

I'm trying to populate my DB with geographical places of my country. One of my tables have 4 fields: ID[PK], latitude. longitude ande geoPoint EDIT `SCDBs`.`Punto_Geografico`; SET @lat = 18.4696...
Excrescency asked 13/3, 2011 at 22:56

4

Solved

Looking for a java utility. It is even better if you can tell me how to do it using geotools library.
Chickasaw asked 25/11, 2011 at 1:13

4

I want to construct a DbGeography point from latitude and longitude doubles. I know I can convert my doubles to strings and use the DbGeography.FromText method. var latitude = 50.0d; var longitud...
Llano asked 16/4, 2014 at 13:51

2

Solved

Lidar data is simply 3d coordinates, usually in las file format. Сontent example library(rgdal) library(raster) library(tmap) library(tmaptools) library(lidR) library(RStoolbox) las_cat <- readL...
Gena asked 18/3, 2022 at 12:21

2

Using the "leaflet" library, I made the following map for these 5 cities: library(dplyr) library(leaflet) map_data <- data.frame("Lat" = c(43.6426, 43.6424, 43.6544, 43.6452...
Hughett asked 20/2, 2022 at 19:7

1

Solved

I am working on submitting an R package to CRAN. Right now I am trying to reduce the memory footprint of the package. Because this package deals with spatial data that has a very particular format,...
Distichous asked 14/1, 2022 at 15:35

2

Solved

I have a 3712x3712 pixel sized image of a geostationary eumetsat satellite. There is some black around the earth, such that the image looks like this: For each pixel of the earth, I'd like to ge...
Thordis asked 29/6, 2012 at 15:21

3

Solved

Is there a simple way to convert between SqlGeometry and DbGeometry? I'm using a popular sql spatial helper library and all of the functions in there expect SqlGeometry. But when i use Entity Frame...
Geniegenii asked 18/3, 2013 at 20:9

2

Solved

Is there a way to keep points that are jittered on a map within a boundary of that map? In the example below, where jittered locations in southwestern Connecticut end up in the water or in an adjoi...
Ataxia asked 23/12, 2014 at 14:37

3

I want to convert geotiff file into geopandas dataframe or pandas dataframe. I found this solution here but #!pip3 install georasters import georasters as gr import pandas myRaster = 'demo.tif' el...
Mease asked 29/10, 2020 at 10:37

3

Solved

I would like to create a map showing local spatial cluster of a phenomenon, preferably using Local Moran (LISA). In the reproducible example below, I calculate the local moran's index using spdep ...
Symptom asked 6/6, 2016 at 18:45

4

Solved

I have a set of coordinates: d1 <- data_frame( title = c("base1", "base2", "base3", "base4"), lat = c(57.3, 58.8, 47.2, 57.8, 65.4, 56.7, 53.3), long = c(0.4, 3.4, 3.5, 1.2, 1.5, 2.6, 2.7)) I...
Siouan asked 14/8, 2018 at 8:53

2

Solved

The points in Linestring in Postgis (imported from osm by osm2pgsql) is described by the order (longitude, latitude) for example a Linestring in Munich Map 'LINESTRING(11.4068032 47.8580927,11.40...
Holston asked 19/8, 2015 at 17:49

5

Solved

I'm interested in determining if a lat/lng location is within the bounds and looking for recommendations on a algorithm. (javascript or php) Here is what I have so far: var lat = somelat; var lng...
Xanthate asked 7/6, 2012 at 20:30

3

Solved

I am working with GeoPandas and I have two GeoDataframes with the same CRS. One of them contains a geometry column with a polygon geometry, the other one a column with point geometry. I want to che...
Gaitskell asked 20/10, 2021 at 8:27

10

Solved

I have some earth-centered coordinate points given as latitude and longitude (WGS-84). How can i convert them to Cartesian coordinates (x,y,z) with the origin at the center of the earth?
Bromoform asked 26/7, 2009 at 20:0

5

I am trying to integrate hibernate spatial with JPA for Geo searches. I have been referencing the tutorial on the official site (I am not associated with hibernatespatial). The tutorial, unfortun...
Audryaudrye asked 6/12, 2011 at 17:25

5

I am working with geospatial shapes and looking at the centroid algorithm here, http://en.wikipedia.org/wiki/Centroid#Centroid_of_polygon I have implemented the code in C# like this (which is jus...
Veery asked 22/3, 2012 at 2:39

0

I have two 2-D Numpy arrays coordinates of points in latitude and longitude asc_cords and dsc_cords each of size (400000, 2) each. I need to calculate distance matrix in fastest way possible. Using...
Mahaliamahan asked 3/9, 2021 at 15:11

2

I have a column with POLYGON strings, and before processing the geo data I need to convert them with ST_GEOGFROMTEXT. However, I probably have some rows with invalid polygons and I get the followin...
Mating asked 6/12, 2018 at 22:2

3

I am doing a project which having some functions on Geographical distance calculation. So I use geographical datatypes in entity framework by adding nuget package SqlServerSpatial110.dll for that f...
Jakie asked 30/1, 2015 at 16:37

1

Solved

I have the following dataframe: df <- tribble(~ id, ~ lon, ~ lat, 1, -56.2112038, -34.8358207, 2, -55.96403429999999, -34.7260945, 3, -56.155449, -34.9030824, 4, -55.2711453, -34.8665964, 5...
Schaal asked 16/6, 2021 at 10:57

© 2022 - 2024 — McMap. All rights reserved.