Questions tagged [geopoints]

229 questions
2
votes
1 answer

How to find heading angle between two points on Earth - straight through the Earth just as if they were two points in Empty space?

I would like to get the formula on how to calculate the Euclidian distance between two geographical co-ordinates on earth and heading angle relative to True North. Say from New York to New Dehli , I draw a straight line THROUGH THE EARTH - as they…
2
votes
2 answers

How to find the distance between geopoints?

Good afternoon. I have the following code ParseQuery query = new ParseQuery("MyOb"); query.findInBackground(new FindCallback() { public void done(List myOb, ParseException e) { if (e == null) { …
2
votes
1 answer

Drawing a line between 2 points using Google Maps

My problem is that I want to create a method that when I invoke it giving it two GeoPoint's I want it to draw a line between the two points and I haven't been able to do this. Thanks in advance. public class MyOverlays extends…
andre
  • 159
  • 1
  • 11
2
votes
3 answers

Android show driving direction route between two geopoints

I have googled for 2-3 days now, but I am not able to get the perfect solution for my problem. I need to show the route between two geo points (Not a straight line but need to show driving direction kind of route) but I am not able to find any…
kendrelaxman
  • 439
  • 2
  • 8
  • 19
1
vote
1 answer

Extract District from Coordinates Using Python

I have a collection of longitudes and latitudes, and I want to be able to extract the district of each of these coordinates using Python. As of right now, I have developed the following function using the geopy library, from geopy.geocoders import…
Minura Punchihewa
  • 1,498
  • 1
  • 12
  • 35
1
vote
1 answer

How to calculate the distance between GeoPoint and Polyline

Suppose i have: GeoPoint p = new GeoPoint(10.08, 11.09); //(lat, long) and a Polyline (a sequence of Geopoints) ArrayList waypoints = new ArrayList<>() waypoints.add(new GeoPoint(20.90, 20.80); waypoints.add(new GeoPoint(30.90,…
user13121591
  • 125
  • 5
1
vote
0 answers

geopoint data not showing on Kibana Security map

I wanted to show the geolocation of my source.ip data on a map. I added a geoIP processor to my ingestion pipeline with target field source.geo, so now I get a field source.ip.location. Initially, I mapped source in dynamic templates in the index…
Saba Far
  • 133
  • 2
  • 9
1
vote
2 answers

elasticsearch index field of type geo_point won't allow PUT of WKT coordinates

Elasticsearch (AWS version 7.1) gives me an error message when inserting WKT data into the geo_point field via Kibana Console. This happens when trying to do it on simple index of PUT my-geopoints { "mappings": { "properties": { …
Jennifer Crosby
  • 185
  • 1
  • 1
  • 14
1
vote
0 answers

Parse GeoPoint aggregate query

I want to use that in my cloudCode. I'm on Parse server 4.2. I would like to know if it's possible de create a Parse Query and to use agregate on field with geoNear or geoWithin ? Something like that for example: const userLat = 43.3; const userLng…
mistralaix
  • 29
  • 1
  • 4
1
vote
1 answer

Can I query a Firestore database by GeoPoint values to find local places?

I'm wondering if this is possible, as I've searched for quite a while and not found any documentation that shows that a query can be made against stored GeoPoints in Firestore from Android in Java?
1
vote
2 answers

How can I call MapLocationFinder.FindLocationsAsync() to get the coordinates for an address without already knowing the latitude and longitude?

I'm trying to adapt the code here to get the latitude and longitude for a passed-in address. However, one of the arguments passed to MapLocationFinder.FindLocationsAsync() is a Geopoint with latitude and longitude already set, like this in the code…
B. Clay Shannon-B. Crow Raven
  • 8,547
  • 144
  • 472
  • 862
1
vote
1 answer

Flutter Firestore get Array from Geopoint >> Instance of 'GeoPoint' <<

I've been getting this error ("Instance of 'GeoPoint) that I want to get the array list of the Geopoint from Firestore, I still don't know how to solve this, any help will be appreciated. Image from Firestore (Array List GeoPoint) This is my Class…
1
vote
1 answer

How to create Polygon from Geo points in google bigquery

I have a table in bigquery which contain 11 geo points with their ids. I want to create a polygon from these points. I am using below query to create a polygon. but getting error ST_MakePolygon failed: Invalid polygon loop: Edge 2 has duplicate…
1
vote
1 answer

Determining which points are within an Elastic Map Service boundary on Kibana

I have a set of geographic points and my task is to figure out which USA zip code boundary each point falls within. Each point has a geo_point field and I have successfully imported/indexed the points, and have created a Map in Kibana (running…
ccaralyn
  • 33
  • 3
1
vote
1 answer

How to read firestore GeoPoint in python script?

I am writing a Python script to read Firebase Firestore data. Somehow documentSnapshop.to_dict() was not working for me. So, I have written a class by referring to…
pratiked
  • 1,712
  • 1
  • 11
  • 18
1 2
3
15 16