-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
request metadata in Trimble maps single search call (#1618)
* adds metadata add metadata option to single search for trimble maps api call * modify fixtures * Revert "modify fixtures" This reverts commit 67334e3. * copy metadata over to each location so data object would include that adds test for that * update fixtures * add bang to add_metadata_to_locations method name
- Loading branch information
1 parent
be846b8
commit a692545
Showing
8 changed files
with
520 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,42 @@ | ||
{ | ||
"Err": 0, | ||
"ErrString": "OK", | ||
"QueryConfidence": 1, | ||
"TimeInMilliseconds": 16, | ||
"GridDataVersion": "GRD_ALK.NA.2023.01.18.29.1.1", | ||
"CommitID": "pcmws-22.08.11.0-1778-g586da49bd1b: 05/30/2023 20:14", | ||
"Locations": [ | ||
{ | ||
"Address": { | ||
"City": "Duluth", | ||
"Country": "US", | ||
"CountryFullName": "United States", | ||
"County": "St. Louis", | ||
"StreetAddress": "", | ||
"LocalArea": "", | ||
"SPLC": null, | ||
"City": "Duluth", | ||
"State": "MN", | ||
"StateName": "Minnesota", | ||
"StreetAddress": "", | ||
"Zip": "55806" | ||
"Zip": "55806", | ||
"County": "St. Louis", | ||
"Country": "US", | ||
"CountryFullName": "United States", | ||
"SPLC": null | ||
}, | ||
"Coords": { | ||
"Lat": "46.776443", | ||
"Lon": "-92.110529" | ||
}, | ||
"StreetCoords": { | ||
"Lat": "46.776536", | ||
"Lon": "-92.110673" | ||
}, | ||
"Region": 4, | ||
"POITypeID": 0, | ||
"PersistentPOIID": -1, | ||
"Region": 4, | ||
"SiteID": -1, | ||
"ResultType": 3, | ||
"ShortString": "Duluth, MN, US, St. Louis 55806", | ||
"SiteID": -1, | ||
"GridID": 16543728, | ||
"LinkID": 39, | ||
"Percent": 4307, | ||
"TimeZone": "GMT-5:00 CDT" | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,42 @@ | ||
{ | ||
"Err": 0, | ||
"Locations": [ | ||
{ | ||
"Address": { | ||
"StreetAddress": "4 Pennsylvania Plaza", | ||
"LocalArea": "", | ||
"City": "New York", | ||
"State": "NY", | ||
"StateName": "New York", | ||
"Zip": "10001", | ||
"County": "New York", | ||
"Country": "US", | ||
"CountryFullName": "United States", | ||
"SPLC": null | ||
}, | ||
"Coords": { | ||
"Lat": "40.750712", | ||
"Lon": "-73.994241" | ||
}, | ||
"Region": 4, | ||
"POITypeID": 116, | ||
"PersistentPOIID": 198701, | ||
"SiteID": -1, | ||
"ResultType": 9, | ||
"ShortString": "Madison Square Garden", | ||
"TimeZone": "GMT-4:00 EDT" | ||
} | ||
] | ||
} | ||
"Err": 0, | ||
"ErrString": "OK", | ||
"QueryConfidence": 1, | ||
"TimeInMilliseconds": 31, | ||
"GridDataVersion": "GRD_ALK.NA.2023.01.18.29.1.1", | ||
"CommitID": "pcmws-22.08.11.0-1778-g586da49bd1b: 05/30/2023 20:14", | ||
"Locations": [ | ||
{ | ||
"Address": { | ||
"StreetAddress": "4 Pennsylvania Plaza", | ||
"LocalArea": "", | ||
"City": "New York", | ||
"State": "NY", | ||
"StateName": "New York", | ||
"Zip": "10001", | ||
"County": "New York", | ||
"Country": "US", | ||
"CountryFullName": "United States", | ||
"SPLC": null | ||
}, | ||
"Coords": { | ||
"Lat": "40.750712", | ||
"Lon": "-73.994241" | ||
}, | ||
"StreetCoords": { | ||
"Lat": "40.750806", | ||
"Lon": "-73.994472" | ||
}, | ||
"Region": 4, | ||
"POITypeID": 116, | ||
"PersistentPOIID": 198701, | ||
"SiteID": -1, | ||
"ResultType": 9, | ||
"ShortString": "Madison Square Garden", | ||
"GridID": 19445260, | ||
"LinkID": 565, | ||
"Percent": 7364, | ||
"TimeZone": "GMT-4:00 EDT" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,42 @@ | ||
{ | ||
"Err": 0, | ||
"ErrString": "OK", | ||
"QueryConfidence": 1, | ||
"TimeInMilliseconds": 0, | ||
"GridDataVersion": "GRD_ALK.NA.2023.01.18.29.1.1", | ||
"CommitID": "pcmws-22.08.11.0-1778-g586da49bd1b: 05/30/2023 20:14", | ||
"Locations": [ | ||
{ | ||
"Address": { | ||
"City": "Alliance", | ||
"Country": "US", | ||
"CountryFullName": "United States", | ||
"County": "Box Butte", | ||
"StreetAddress": "2093 NE-87", | ||
"LocalArea": "", | ||
"SPLC": null, | ||
"City": "Alliance", | ||
"State": "NE", | ||
"StateName": "Nebraska", | ||
"StreetAddress": "2093 NE-87", | ||
"Zip": "69301" | ||
"Zip": "69301", | ||
"County": "Box Butte", | ||
"Country": "US", | ||
"CountryFullName": "United States", | ||
"SPLC": null | ||
}, | ||
"Coords": { | ||
"Lat": "42.14228", | ||
"Lon": "-102.85796" | ||
}, | ||
"StreetCoords": { | ||
"Lat": "42.142238", | ||
"Lon": "-102.859302" | ||
}, | ||
"Region": 4, | ||
"POITypeID": 0, | ||
"PersistentPOIID": -1, | ||
"Region": 4, | ||
"SiteID": -1, | ||
"ResultType": 14, | ||
"ShortString": "2093 NE-87, Alliance, NE, US, Box Butte 69301", | ||
"SiteID": -1, | ||
"GridID": 666788, | ||
"LinkID": 1334, | ||
"Percent": 4865, | ||
"TimeZone": "GMT-6:00 MDT" | ||
} | ||
] | ||
} | ||
} |
Oops, something went wrong.