Questions tagged [geopoints]

229 questions
3
votes
1 answer

Can not query geo_point using geo polygon filter

Hi I'm trying to query geo_point in ElasticSearch, using the query syntax geo polygon filter in the official document], but no reusult is returned. Here are some details: I use river plugin to index the data from MySQL into ES with the definition…
Wei Lin
  • 749
  • 2
  • 6
  • 9
3
votes
1 answer

Using Parse Javascript SDK Query GeoPoint withinMiles

I am creating a Parse App and I want to be able to get all objects within a certain distance of a single object using GeoPoints. Seems simple, but the following code returns [] (No matches): app.get('/photos', function(req, res) { var Photo =…
BryanP
  • 680
  • 6
  • 26
3
votes
2 answers

animate an icon that is moving through GeoPoints

i am developing an android application which is based on mapview. (a live real time bus timing application). im using the "overlay" class for this purpose (inserting the icons etc'). i am recieving an array of GeoPoints, and i need to create an…
2
votes
1 answer

Error: Invalid location: latitude must exist on GeoPoint

I am getting the below error when accessing firestore document in cloud function "Error: Invalid location: latitude must exist on GeoPoint" I am seeing below error on firebase logs Error: Invalid location: latitude must exist on GeoPoint at…
2
votes
1 answer

Index array of geopoints in Elasticsearch

Following is my (sample) Elastic search data which has a series of geo coordinates that I'm trying to index. PUT geomap/_doc/1 { "geometry": { "coordinates": [ [ [ -10.8544921875, 49.82380908513249 …
DhiwaTdG
  • 748
  • 1
  • 10
  • 26
2
votes
1 answer

How to convert existing coordinates in ElasticSearch to geopoints

I am trying to convert latitude and longitude to geo_points in ElasticSearch. The problem is, I already have the data uploaded latitude and longitude values in elasticsearch but am having trouble converting them. I am getting the feeling that there…
Abhinav Bhandari
  • 65
  • 1
  • 2
  • 5
2
votes
1 answer

Geospatial Query at Google App Engine Datastore

I read the following post Querying Geopt with Objectify This is exactly what I need for my application. At the end of the post I read that the Geospatial Search is in alpha stadium but the post is already one year old. I cannot find any information…
Michael Meyer
  • 2,179
  • 3
  • 24
  • 33
2
votes
0 answers

Loopback JS Geopoint query causes CPU usage more than 100%

I am using loopbackjs Geopoint functionality to query based on geolocation. This is my query: var loopback = require('loopback'); var here = new loopback.GeoPoint({ lat: lat, lng: lng }); Asset.find({ where: { Location: { …
Vatsy
  • 41
  • 5
2
votes
1 answer

How do I save a MKPointAnnotation to Pars?

How do I save on Parse a MKPointAnnotation that I created? @IBAction func salvaRicordo(sender: AnyObject) { let puntoRicordo = MKPointAnnotation() puntoRicordo.coordinate = posizioneUtente puntoRicordo.title = nomeField.text …
2
votes
2 answers

Get nearest location with elasticsearch

I'm building an application that requires elasticsearch to find the nearest location based on latitude and longitude. At the moment I'm able to do this based on a GeoPoint and a maximum distance in kilometers. @Override public List
Glenn Van Schil
  • 1,059
  • 3
  • 15
  • 33
2
votes
1 answer

'queryForTable' cannot return 'nil' In Swift

I am using PFQueryTableViewController as part of ParseUI to load a table of objects based on the currentUser's geolocation. I have seen several other (older) forum posts (like here) detailing that the queryForTable function should return nil if a…
2
votes
2 answers

Missing geo_point fields in elasticsearch response

It seems that geo_point fields are ignored in the result if specified using "fields []" I have the following mapping for index test01 { "test01": { "mappings": { "activity": { "properties": { "location":…
Matthias
  • 178
  • 2
  • 6
2
votes
1 answer

Querying Geopt with Objectify

I am having the hardest time querying a GeoPt field with Objectify. I made sure there's an @Index annotation about the GeoPt field. However, the statement below doesn't seem to work ofy().load() .type(GeoStat.class) .filter("geoPt.latitude…
Johnny Wu
  • 1,297
  • 15
  • 31
2
votes
2 answers

Geo sorting and distance calculation in ElasticSearch not working

UPDATE I've also updated the mapping to include pin as the examples seem to suggest. Also, here's an temporary instance with some data to work with: https://21991e47cdc7caa8000.qbox.io/profiles/lead/_search I've followed the instructions by…
Matt
  • 5,547
  • 23
  • 82
  • 121
2
votes
1 answer

Saving users current location as geopoint using parse.com in javaScript

Hi there I am new to javaScript. What I would like to do is get the users location and save it as a geoPoint to my parse.com database. I have searched their docs and worked out the basics of how to do it but need a little help. I am getting the…
Shayno
  • 788
  • 9
  • 26
1
2
3
15 16