Questions tagged [geopoints]

229 questions
0
votes
1 answer

duplicate entry: com/google/android/maps/GeoPoint.class

I´m using Android studio and when I Generate a signed APK its show me an error: Error:Execution failed for task ':app:transformClassesWithJarMergingForRelease'. com.android.build.api.transform.TransformException: java.util.zip.ZipException:…
0
votes
1 answer

ElasticSearch: compare two geopoints in document

Considering the following document, I want to query only documents that have current location within 1mile of destination location. { current_location: { lat: 34.0583, lon: -118.2476 }, destination_location: { lat:…
Game99
  • 227
  • 3
  • 6
0
votes
0 answers

Bing Maps outputting wrong Coordinates C# UWP

Observe the coordinates in the map screenshot. The longitude should be a negative value no? Does anyone know what's going on here? Here's the code I use to label that target: private void TargetMap_MapTapped(MapControl sender, MapInputEventArgs…
Brizzler
  • 79
  • 9
0
votes
0 answers

Geo_point type added into an existing index. How to define this type?

I'm a new in elastic search and I'm not sure how to define a geo_point type if I add data to an existing index from a diferent source. If I create a new index everything works: My logstash geo.conf file: input { file { path =>…
Anna K
  • 1,666
  • 4
  • 23
  • 47
0
votes
1 answer

Geo Points GET Limit

Using Elasticsearch 5.2, I stored around 20k Geo Points. I want to query all of them to show them in a Google map. However, as specified in the documentation, the limit size seems to be 10k (I get the error Result window is too large, from + size…
Romain
  • 799
  • 1
  • 9
  • 29
0
votes
2 answers

How to put mapping in json files with Elasticsearch

i have a lot of JSON documents with this structure : "positions": [ { "millis": 12959023, "lat": 49.01525113731623, "lon": 2.4971945118159056, "rawX": -3754, "rawY": 605, "rawVx": 0, "rawVy": 0, …
Taybou
  • 3
  • 1
  • 2
0
votes
0 answers

Elastic Search: Dynamic Template Mapping for Geo Point Field

Is dynamic mapping for geo point still working in Elastic Search 2.x/5.x? This is the template: { "template": "*", "mappings": { "_default_": { "dynamic_templates": [ { …
juminoz
  • 3,168
  • 7
  • 35
  • 52
0
votes
1 answer

Looking for someone to help me with ElasticSearch

I'm beginner in ElasticSearch. I'm trying to test if a list of geopoint (lat / long ) is existing in a list of geopoints. For example I give this geopoint : "lat": 49.01536940596998 "lon": 2.4967825412750244 and I want to test if this point exist…
Taybou
  • 3
  • 1
  • 2
0
votes
1 answer

Elasticsearch : The result calculated by sort in _geo_distance is not equal to using distanceInKm in script_fields

In Elasticsearch.js . elsaticsearch version is 2.3.4 use code like this body: { from: data['offset'] || 0 , size: data['limit'] || 20 , query: { bool: { must: { range: { state: { …
sky91
  • 45
  • 9
0
votes
1 answer

Getting Lat/Long Out Of Parse PFGeoPoint

I currently have a PFGeoPoint on a Parse Server which I can successfully retrieve by doing the following (in Swift): let geo = listingObject?.objectForKey("geo") // What I am…
dylankbuckley
  • 1,507
  • 1
  • 13
  • 21
0
votes
1 answer

Parse Query GeoPoint to markers on Google Maps Android Studio

I am an android beginner and can't find the answer anywhere. I want to show the markers on the map that are 25 km from the center of the map. I can't find the way to find the location of the center of the map, then show the markers that are 25km…
0
votes
0 answers

Issue saving GeoPoint to a DB/Heroku

I have code like this to take an object in Core Data and save it to a mLab database, working with Heroku. // item is an NSManagedObject .... var dataDict:[String:AnyObject] dataDict = ["name": item.valueForKey("name") as! String, …
Michel
  • 10,303
  • 17
  • 82
  • 179
0
votes
1 answer

Get Geopoints from parse.com javascript

I have succesfuly stored some geopoints in Parse.com and now in another page i want to console log them all so i can place them into some variables and then put one marker in google map. So i'm trying with this code to get them but for sure i miss…
Konstantinos Natsios
  • 2,874
  • 9
  • 39
  • 74
0
votes
0 answers

PFQuery for PFUser on iOS with a "whereKey:nearGeoPoint:" constraints leads to an internal server error

When I write a query on PFUser objects using PFUser.query(), and when I then add a geopoint constraint using query.whereKey("geopointKeyToCompare", nearGeoPoint: geopoint) it leads to a Parse internal server error (code 1). If I test to add a…
0
votes
2 answers

how to check if the geopoint lies within the closed polygon drawn on osmdroid bonus pack

I am using osmdroid library in android along with osmdroid bonus pack. I have drawn the a polygon for states using the nominatim state polygonpoints. Now i want to check if the Geopoint lies within the drawn polygon. How do i do it?
Shil
  • 1