Skip to content

Commit 4d3003c

Browse files
authored
Merge pull request #183 from Woosmap/fix/geolocation
Fix Geolocation Param + Geolocation Response + Nearby Response
2 parents d2854e7 + 962a4d6 commit 4d3003c

61 files changed

Lines changed: 3319 additions & 2397 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

dist/documentation/parameters/woosmap_http_parameters_geolocationposition.html

Lines changed: 0 additions & 150 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/documentation/parameters/woosmap_http_parameters_geolocationposition.md

Lines changed: 0 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -8,65 +8,6 @@
88

99
The ip_address you want to geolocate. For **server call with private_key** only. Without this parameter, the API will geolocate the IP Address attached to the raw TCP request.
1010

11-
- <h3 class="parameter-name" id="query">query</h3>
12-
13-
Search query combining one or more search clauses. Each search clause is made up of three parts structured as `field` `:` `operator` `value`. , e.g. `name:="My cool store"`
14-
15-
### Vocabulary
16-
17-
- **Field**: attribute of the Store that is searched, e.g. the attribute `name` of the store.
18-
19-
- **Operator**: test that is performed on the data to provide a match, e.g. `=`.
20-
21-
Each field has a default operator. If none operator follow the `:`, the default one is used.
22-
23-
- **Value**: the content of the attribute that is tested, e.g. the name of the store `"My cool store"`.
24-
25-
Combine clauses with the conjunctions `AND` or `OR`, and negate the query with `NOT`.
26-
27-
### Fields
28-
29-
- `type`: An element is contained within `type` collection. e.g. `type:"myType"`
30-
31-
- `tag`: An element is contained within `tag` collection. e.g. `tag:"myTag"`
32-
33-
- `city`: text matching: the value match the `city` field. e.g. `city:="Paris"`
34-
35-
- `country`: text matching: the value match the `countryCode` field. e.g. `country:="FR"`
36-
37-
- `name`: text matching: the value match the `name` field. e.g. `name:="myName"`
38-
39-
- `idstore`: text matching: the value match the `idstore` field. e.g. `idstore:="myIdStore"`
40-
41-
- `user`: concerns all fields inside `user_properties`. text matching or numerical comparison. e.g. `user.myAttribute:="myValue"`
42-
43-
- `localized`: used for [localizedNames](https://developers.woosmap.com/products/data-api/data-structure/#localizednames) to search in native language. text matching in collection: the value match one of the the `localizedNames`. e.g. `localized:="centro"`
44-
45-
> **userProperties** field has no restriction regarding the data you can put in it (Arrays, Object, Boolean, String, Numeric...) but you can only query for **text matching or numerical comparison**.
46-
47-
### Operators
48-
49-
- `:` : Default and mandatory operator. For `type` and `tag` fields, define that an element is contained within a collection.
50-
51-
- `=` : The content of a string or a number is equal to the other.
52-
53-
- `>` : A number is greater than another.
54-
55-
- `<` : A number is smaller than another.
56-
57-
- `>=` : A number is greater than or equal to another.
58-
59-
- `<=` : A number is smaller than or equal to another.
60-
61-
- `AND` : Return assets that match both clauses.
62-
63-
- `OR` : Return assets that match either clauses.
64-
65-
- `NOT` : Negates a search clause.
66-
67-
For compound clauses, you can use parentheses to group clauses together. For example: `(type:"type1" OR type:"type2") AND tag:"hockey"`
68-
You can use `NOT` operator to negates a search clause. For example: `not type:"type1"`
69-
7011

7112
<p style="text-align: right; font-size: smaller;">Generated from the <a data-label="openapi-github" href="https://github.com/woosmap/openapi-specification" title="Woosmap OpenAPI Specification" class="external">OpenAPI specification</a>.
7213
<a data-label="openapi-github-woosmap-http-parameters-geolocationposition" data-action="edit" style="margin-left: 5px;" href="https://github.com/woosmap/openapi-specification/tree/main/specification/parameters" title="Edit on GitHub">✎ Edit</a>

dist/documentation/schemas/woosmap_http_schema_addressautocompletecollectionresponse.html

Lines changed: 26 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/documentation/schemas/woosmap_http_schema_addressautocompletecollectionresponse.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,32 @@ Address Collection Response containing Localities
3838
]
3939
},
4040
"type": "locality"
41+
},
42+
{
43+
"public_id": "aGVyZTpjbTpuYW1lZHBsYWNlOjIwMzM3NjEw",
44+
"description": "London Heathrow Airport, Hounslow, England, United Kingdom",
45+
"matched_substring": {
46+
"description": [
47+
{
48+
"offset": 0,
49+
"length": 4
50+
}
51+
]
52+
},
53+
"type": "locality"
54+
},
55+
{
56+
"public_id": "aGVyZTpjbTpuYW1lZHBsYWNlOjIwMzM0NDEy",
57+
"description": "London Luton Airport, Luton, England, United Kingdom",
58+
"matched_substring": {
59+
"description": [
60+
{
61+
"offset": 0,
62+
"length": 4
63+
}
64+
]
65+
},
66+
"type": "locality"
4167
}
4268
],
4369
"status": "OK"

dist/documentation/schemas/woosmap_http_schema_addressgeocodecollectionresponse.html

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/documentation/schemas/woosmap_http_schema_addressgeocodecollectionresponse.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Address Geocode Collection Response. Contains one or more Addresses with coordin
1616
{
1717
"formatted_address": "Place de la Résistance, 75007 Paris, France",
1818
"types": [
19+
"address",
1920
"route"
2021
],
2122
"address_components": [
@@ -72,13 +73,13 @@ Address Geocode Collection Response. Contains one or more Addresses with coordin
7273
"geometry": {
7374
"location_type": "GEOMETRIC_CENTER",
7475
"location": {
75-
"lat": 48.86228,
76-
"lng": 2.30345
76+
"lat": 48.86213,
77+
"lng": 2.30152
7778
},
7879
"viewport": {
7980
"northeast": {
8081
"lat": 48.86231,
81-
"lng": 2.30544
82+
"lng": 2.30541
8283
},
8384
"southwest": {
8485
"lat": 48.86191,

dist/documentation/schemas/woosmap_http_schema_assetfeaturecollectionresponse.html

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/documentation/schemas/woosmap_http_schema_assetfeaturecollectionresponse.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Assets Collection Response as a GeoJSon FeatureCollection with Asset properties
5656
"start": "06:30"
5757
}
5858
],
59-
"week_day": 3,
59+
"week_day": 2,
6060
"current_slice": {
6161
"end": "18:00",
6262
"start": "06:30"

dist/documentation/schemas/woosmap_http_schema_assetfeatureresponse.html

Lines changed: 6 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)