As of April 12th, you must go to Progress SupportLink to create new support cases or to access existing cases. Please, bookmark the SupportLink URL and use the new portal to contact the support team.
Bring the Intersection between (all the cities that fall between these two latitudes) && (all the cities that fall between these two longitudes)
Best Answer
P
Pranav J
said
almost 5 years ago
Hello Mohamed,
Please take a look at $within operator in Kinvey Location queries guide on this link. When using $box, the coordinates represent the lower-left and upper-right corners of the box. Following is the example from Kinvey guides:
Please take a look at $within operator in Kinvey Location queries guide on this link. When using $box, the coordinates represent the lower-left and upper-right corners of the box. Following is the example from Kinvey guides:
Thanks, Pranav, I got it. But now in my collection, I have two separated fields as latitude and longitude.
Is there any way to create a new field called "_geoloc" with combined [long,lat]?
Thanks,
Mohamed
P
Pranav J
said
almost 5 years ago
Hello Mohamed,
On Kinvey console -> "cities" collection, click on "+ Add Column" button and add a new column named "_geoloc". Values in this column must be in "[longitude, latitude]" format.
Thanks,
Pranav
Kinvey
m
mohamed osama
said
almost 5 years ago
Hello Pranav,
Thaks for your reply.
Yes, I know what you mean, but I mean that I have already data on my fields "Long and Lat", what I want to do is creating a field called "_geoloc" and automatically filled by data collected from "long and late" with the format "'[long,lat]". I want to make it automatically.
Thanks
P
Pranav J
said
almost 5 years ago
Mohamed,
Since you were able to move past this issue using 'Export Data' and 'Import Data' features of data collections, I am marking this forum post as answered.
mohamed osama
Hello,
My question is how to use BETWEEN & AND on the query parameters.
I have a collection called "cities" like in the image below has latitude and longitude fields.
What I want to do is hitting API URL something like this below
https://baas.kinvey.com/appdata/XXXXXX/WorldCities?query={"latitude ":"31.77998, 35.77998 "} && {"longitude ":"33.77998, 38.77998 "}
--- I will send two latitudes and two longitudes.
What expected is:
Bring the Intersection between (all the cities that fall between these two latitudes) && (all the cities that fall between these two longitudes)
Hello Mohamed,
Please take a look at $within operator in Kinvey Location queries guide on this link.
When using
Following is the example from Kinvey guides:$box
, the coordinates represent the lower-left and upper-right corners of the box.Thanks,
Pranav
Kinvey
- Oldest First
- Popular
- Newest First
Sorted by Oldest FirstPranav J
Hello Mohamed,
Please take a look at $within operator in Kinvey Location queries guide on this link.
When using
Following is the example from Kinvey guides:$box
, the coordinates represent the lower-left and upper-right corners of the box.Thanks,
Pranav
Kinvey
mohamed osama
Thanks, Pranav, I got it. But now in my collection, I have two separated fields as latitude and longitude.
Is there any way to create a new field called "_geoloc" with combined [long,lat]?
Thanks,
Mohamed
Pranav J
Hello Mohamed,
On Kinvey console -> "cities" collection, click on "+ Add Column" button and add a new column named "_geoloc". Values in this column must be in "[longitude, latitude]" format.
Thanks,
Pranav
Kinvey
mohamed osama
Hello Pranav,
Thaks for your reply.
Yes, I know what you mean, but I mean that I have already data on my fields "Long and Lat", what I want to do is creating a field called "_geoloc" and automatically filled by data collected from "long and late" with the format "'[long,lat]". I want to make it automatically.
Thanks
Pranav J
Mohamed,
Since you were able to move past this issue using 'Export Data' and 'Import Data' features of data collections, I am marking this forum post as answered.
Thanks,
Pranav
Kinvey
-
Why am I getting "SignatureDoesNotMatch" error when uploading a file?
-
Why am I getting an "IncompleteRequestBody" error when sending a DELETE request?
-
Is there a default sort order to collections fetched without an explicit sort query?
-
Is it possible to set ACLs on all users so that only administrators can query for users (without dis
-
Flex SDK
-
Query Bug in Backend?
-
Can analytics data be retrieved via Java SDK or REST?
-
Accesing REST API from a server without a user?
-
What json is required to assign a user group either read/write?
-
LDAP Authorization
See all 120 topics