geo is the abbreviation for the term "geographic". It includes handling of geographic coordinates and vectors for display and calculation purpose.
Questions tagged [geo]
1160 questions
10
votes
6 answers
Android Studio GeoDataClient cannot be resolved
I haven't seen this problem anywhere on the internet, also it doesn't seem the library is deprecated, but I just can't add the import:
import com.google.android.gms.location.places.GeoDataClient;
My Android SDK is up to date.
Does anyone know how…

Yago Dórea
- 336
- 1
- 3
- 12
10
votes
1 answer
polygons from coordinates
I've got a data.frame with lats and lngs that define the boundaries of rectangular boxes, like so
geohash north_lat south_lat east_lng west_lng
1 gbsuv 48.69141 48.64746 -4.306641 -4.350586
2 gbsuy 48.69141 48.64746 -4.262695…

RoyalTS
- 9,545
- 12
- 60
- 101
10
votes
6 answers
Store GeoJSON polygons in MongoDB
I have the following problem with MongoDB. I got some geo data from my home country and i have to store them into mongodb to set up a simple Web Feature Service. This service will mostly do bounding box queries using the $within operator. The data…

Dominik Nöger
- 103
- 1
- 1
- 5
9
votes
2 answers
Flutter Firestore Geo query
WHAT I HAVE TO DO:
I'm building an application where I want to do a query in firebase and receive the users who are in a range of X kilometers.
But I want to limit this received documents and also to have a function for getting more documents on…

Mircea
- 1,671
- 7
- 25
- 41
9
votes
2 answers
Major and minor graticule for maps?
I have created the following map, which has a uniform gray grid with 1° intervals both for meridians and parallels:
I would also like to have the meridians and parallels thicker and in black for every 5° interval (while keeping the 1° grid), so…

codeaviator
- 2,545
- 17
- 42
9
votes
1 answer
d3.js geo worldmap - merge russia (shift small part from the left next to america to the right)
I created a simple worldmap with d3 as you can see here: http://bl.ocks.org/wiesson/ef18dba71256d526eb42
Is there a simple way to shift the small part of russia (as illustrated in the picture) to the right, without creating a new topojson? If not,…

wiesson
- 6,544
- 5
- 40
- 68
9
votes
6 answers
Geo chart for java
Can anyone recommend a Java component that lets you create a pretty looking image of a world map, highlighting certain countries (based on some statistics). Something similar to this image:
Something similar to Google Geo Charts (but for Java):…

AtliB
- 1,263
- 1
- 18
- 30
8
votes
2 answers
Algorithm to find clusters (min x pts. within y distance of cluster center) of geographical points
Given a database of geographical locations (long/lat), what would be the best approach to determining/detecting clusters of locations that are within x miles of the cluster center AND total at least y locations?
e.g. out of 1000 McWidgets in NC,…

etriad
- 459
- 2
- 6
- 12
8
votes
1 answer
How to center a google map around a country if you just have the country name
I have a page about hiking in various countries. I am trying to make a page like that for each country, but not sure how to automatically center the google map around a country and also have it adjust the focus depending on the size of the…

Genadinik
- 18,153
- 63
- 185
- 284
8
votes
1 answer
Join tables in PySpark on condition: if point is within a polygon
I have 2 PySpark dataframes: one with points df_pnt and the other with polygons df_poly. As I'm not very familiar to PySpark I'm struggling with correct join of this dataframe on the condition whether a point is inside a polygon.
I started with this…

James Flash
- 528
- 7
- 15
8
votes
3 answers
Get nearest places on Google Maps, using MySQL spatial data
I have a database with a list of stores with latitudes and longitudes of each. So based on the current (lat, lng) location that I input, I would like to get a list of items from those within some radius like 1 km, 5km etc?
What should be the…

Atif
- 10,623
- 20
- 63
- 96
8
votes
1 answer
PostGIS - Route matching solution
We are building an application where I am a driver and i travel from point A to point B.On my way i can find passengers who travel in the same route.
We are using PostgreSQL with PostGIS extension.
After googling a lot i have found out that we can…

sdg
- 1,306
- 1
- 13
- 26
8
votes
5 answers
Pandas: fastest way to resolve IP to country
I have a function find_country_from_connection_ip which takes an ip, and after some processing returns a country. Like below:
def find_country_from_connection_ip(ip):
# Do some processing
return county
I am using the function inside apply…

Ahsanul Haque
- 10,676
- 4
- 41
- 57
8
votes
1 answer
d3 US state map with markers, zooming transform issues
I've created a d3 map with US states, following this example:
http://bl.ocks.org/mbostock/4699541
and added markers following this SO question:
Put markers to a map generated with topoJSON and d3.js
The problem is that on zoom, the map markers stay…

Troy
- 710
- 1
- 10
- 18
8
votes
1 answer
Last.fm geo.getEvents returns Invalid Method - No method with that name in this package
I have a problem running a test query with geo.getEvents method to the last.fm API. Weird thing is that it has been working for a while, then it just stopped suddenly. I wonder if the method has been disabled, or am I doing something wrong?
This is…

user5302711
- 83
- 3