Questions tagged [geopoints]

229 questions
0
votes
0 answers

Parse - withinMiles and withinKilometers is not working?

I don't have any problem on building or running my app. I stored on Parse a geopoint and I am comparing with another one created in-running. I am assigning them the same value (I already tried to assign a different location, by changing a digit on…
0
votes
1 answer

Indexing ndb.GeoPt Property in Google App Engine

I want to query for "nearby" datastore objects in GAE. To achieve, this I was planning to index ndb.GeoPt property in datastore entities. And Whenever a query is made for nearby objects, I will simply find four corner points of a square :…
The Coder
  • 121
  • 1
  • 7
0
votes
0 answers

Index by geolocation in database

I'm trying to find a way to let my database support fast location-based searches (for example, all items that lie within a certain distance from some geopoint (LAT, LON)). I guess the brute-force solution which calculates the distances between every…
Zizheng Tai
  • 6,170
  • 28
  • 79
0
votes
0 answers

Google App Engine - Endpoint is not validating GeoPt.class range

Google App Engine - Endpoint is not validating GeoPt.class range when frontend sends as JSON with latitude/longitude value as out of range values. But while reading from datastore, it is getting validated and giving Exception. Do we need to manually…
0
votes
1 answer

Parse - Geopoint with lat/lng set to 0 preventing location based query

I have some Schools within my database with the Geolocation value set to {latitude: 0, longitude: 0}. I want to query schools based on my user's location, which is t.GeoPoint {_latitude: 48.87513, _longitude: 2.3389439999999695}. This is how I…
Alexandre Bourlier
  • 3,972
  • 4
  • 44
  • 76
0
votes
1 answer

Parse iOS: NSInvalidArgumentException', reason: 'Cannot do a comparison query for type: (null)

my Parse backends based aplication, is terminating, if not cooencted to the internet, with the error NSInvalidArgumentException', reason: 'Cannot do a comparison query for type: (null). When there is an internet connection, all is working fine, but…
MSinga Pro
  • 31
  • 6
0
votes
0 answers

can't reocgnize ParseGeoPoint

I am trying to retrieve a parseGeoPoint for a certain record like this: ParseGeoPoint myCoordinates = shopInfo.getParseGeoPoint("coordinates"); but I am getting this error: can't recognize 'getParseGeoPoint(String)' I checked their documentation…
A_Matar
  • 2,210
  • 3
  • 31
  • 53
0
votes
1 answer

Parse, how to retrieve an object of type ParseGeoPoint

I have a JSONObject that contains a ParseGeoPoint,I am trying this line of code to retrieve the ParseGeoPoint but with no luck ParseGeoPoint storeAddress = (ParseGeoPoint) shopInfo.get("coordinates"); I made sure that shopInfo does has the geoPoint…
A_Matar
  • 2,210
  • 3
  • 31
  • 53
0
votes
1 answer

Android studio cannot resolve GeoPoint and MapView

I was trying this example code to view maps offline in Android Studio. First I got the error "Cannot resolve symbol 'osmdroid'". I imported an external library which solved the error but then i got the errors "Cannot resolve symbol 'GeoPoint'" and…
petebp
  • 33
  • 1
  • 5
0
votes
0 answers

Parse GeoPoints React Native

I have How I can get users near user with username 2? In Parse instruction: var userGeoPoint = userObject.get("location"); var query = new Parse.Query(PlaceObject); query.near("location", userGeoPoint); query.limit(10); query.find({ success:…
0
votes
1 answer

Wrong elasticsearch geo location query

Having a mapping as: "mappings": { "gyms": { "properties": { "location": { "type": "geo_point" }, "name": { "type": "string" } } } } I'm trying to…
Ignasi
  • 5,887
  • 7
  • 45
  • 81
0
votes
1 answer

C# nest elasticsearch geo point array index not shown in kibana

I have the following classes public class MyLayer { public List Locations { get; set; } } public class MyLocation { public string Name { get; set; } public MyCoordinate Coordinate { get; set; } } public class MyCoordinate { …
User1234
  • 510
  • 3
  • 20
0
votes
1 answer

Parse and Swift Geopoints not saving

I have tried everything. No matter what my Geopoints will not save when using an actual device with xcode or using the simulator. if signUpError == nil { PFGeoPoint.geoPointForCurrentLocationInBackground { (geoPoint: PFGeoPoint?, error:…
0
votes
1 answer

Populate a ListView with GeoPoints near me

I have a table at Parse.com full of addresses of places. Every row contains the name of the address, and a GeoPoint (Latitude and Longitude). I want to do 2 things: 1. Populate a ListView with data from my table (name and address), but places that…
Ido Naveh
  • 2,442
  • 3
  • 26
  • 57
0
votes
1 answer

How to construct and store the geopoint

Am working on GAE with python. How to construct and store the latitude and longitude using GeoPoint? This is my DB class Customer(db.Model): name = db.StringProperty() address= db.PostalAddressProperty() geopoint= db.GeoPtProperty() My…