Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [geo]

geo is the abbreviation for the term "geographic". It includes handling of geographic coordinates and vectors for display and calculation purpose.

0 votes
1 answer
21 views

How to group aggregate data based of latitude and longitude

I have 2 dataframes in R that both have this type of structure: Lon Lat Measurement 5 7 15 5 8 20 The numbers in the actual dataframes are different from this example but I don't think that should ...
s.eyal's user avatar
  • 33
3 votes
2 answers
51 views

Translating latitude/longitude coords to 3D point on the surface of a sphere, problem near poles

Assuming the sphere is at position [0,0] (for now), I made this method to calculate a point on the surface of a sphere with a certain radius, given latitude/longitude coordinates (Vector2 x/y): public ...
smsware's user avatar
  • 479
1 vote
2 answers
47 views

Azure Traffic Manager Endpoint: The following locations specified in the geoMapping property for endpoint are not supported

I'm trying to create an Azure Traffic Manager Endpoint via Terraform, but I don't know what to put in "geo_mappings" value. This is my resource: resource "...
Giacomo Brunetta's user avatar
3 votes
0 answers
59 views

Indexing by variable dimension instead of coordinate?

I have a DataArray that is in coordinates of y and x, with dimensions of lat and lon. I have a rectangle in lat and lon that I am trying to filter the DataArray by. The issue is that the coordinates ...
Alyssa S's user avatar
0 votes
1 answer
51 views

Quality of geocoding in R with censusxy?

I am trying to geocode addresses using the package "censusxy." An example of how I do this is: address<-tibble(street="295 Cow Hill Road", city="Mystic", state="...
James Rider's user avatar
0 votes
1 answer
52 views

How to calculate distance with telemetry data

I have telemetry data with a large number of detections for each individual (ID) at several stations. I want to calculate the total distance travelled by each ID in my study. Each station is ...
Klervi's user avatar
  • 1
-1 votes
1 answer
67 views

Creating buffer circle to know which IDs fall within 1000 meters from a given point

My df is looks like this: latitude longitude ID -22.582779 29.080456 0 -22.582575 29.080794 1 41.758910 -53.626698 2 17.758527 -2.443443 3 -22.582699 29.080455 4 I wanna create a function which ...
Amit Kumar's user avatar
0 votes
0 answers
42 views

Geo referencing in Julia

I have a heat map of a region over Los Angeles, stored as a matrix; however, the information is stored as pixels instead of as more convenient (lat, lon). Is there any way I can incorporate this into ...
Anwesh saha's user avatar
0 votes
1 answer
80 views

How can I get the latitude and longitude of a grid?

I'm currently working on a project where I need to identify all the intersecting points within a grid on the USA map. My objective is to divide the map into 1km square sections and obtain the latitude ...
Federiz's user avatar
  • 25
1 vote
0 answers
60 views

POSTGIS - Query not using index

Im new to postgres, sql and all RDBMS in general so am working on a project to further my knowledge. Im building a room finding website. Each room is part of a property and each property can have ...
GameAintTheSame's user avatar
0 votes
0 answers
47 views

How to properly calculate distance with Geotools?

I'm trying to calculate the distance between two points but compared to google maps the value is too big. Here is how I do it: GeodeticCalculator gc = new GeodeticCalculator(); gc....
acanthite's user avatar
  • 133
0 votes
1 answer
31 views

Geographical representation of (italian) data

I've started a (unpaid mandatory) intership and they basically gave me a massive csv sheet with uncleaned data to make sense of. I managed to clean it up and I now have created a SQL database with all ...
sickboy83's user avatar
1 vote
2 answers
43 views

Using geographical coordinates, given an arbitrary point, how to find the closest existing point on a linestring?

I'm working with shapely and django-gis. I'm given a linestring with full coordinates and a point with rounded to 6 coordinates. What I need is to find the index of the nearest existing point from my ...
May.D's user avatar
  • 1,890
2 votes
1 answer
40 views

`osmnx.shortest_path` returns `None` for valid origin and destination nodes

Description When calculating the shortest path between two locations with OSMnx, ox.shortest_path() failed to get any route and returns None origin_lat=42.482, origin_lon=-70.910, dest_lat=42.472, ...
xushen0118's user avatar
0 votes
1 answer
33 views

How to retrieve scale factors from geo::AffineTransform in Rust?

I'm using the geo crate (version 0.28.0) in a Rust project and I need to retrieve the amount of scaling in the x and y directions from a geo::AffineTransform instance. However, after going through the ...
Corylus's user avatar
  • 818

15 30 50 per page
1
2 3 4 5
79