Skip to content

Commit 87e2a1e

Browse files
alexsegurajbelien
andauthored
Update Komoot TLD. (#1091)
* Update Komoot TLD. * Update tests and cached responses Co-authored-by: Jonathan Beliën <dev@jbelien.be>
1 parent f2fa3c7 commit 87e2a1e

13 files changed

+27
-25
lines changed

src/Provider/Photon/Photon.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ final class Photon extends AbstractHttpProvider implements Provider
4343
*/
4444
public static function withKomootServer(HttpClient $client): self
4545
{
46-
return new self($client, 'https://photon.komoot.de');
46+
return new self($client, 'https://photon.komoot.io');
4747
}
4848

4949
/**

src/Provider/Photon/Tests/.cached_responses/photon.komoot.de_44f05b2deb4d31a52824e4fe033fd14dbfdbfc2c

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/Provider/Photon/Tests/.cached_responses/photon.komoot.de_7a311ff9d0c9ac8a34403e815cd943b191433b1c

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/Provider/Photon/Tests/.cached_responses/photon.komoot.de_aeef9ba1cccae98d9f4e89494d8fc5a6678e218a

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/Provider/Photon/Tests/.cached_responses/photon.komoot.de_f4ac621e4c0bef6e8f8455d6570d3b59817cd0a5

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
s:455:"{"features":[{"geometry":{"coordinates":[-77.036931,38.900368],"type":"Point"},"type":"Feature","properties":{"osm_id":5076279021,"country":"United States of America","city":"Washington","countrycode":"US","postcode":"20012","locality":"Golden Triangle","type":"house","osm_type":"N","osm_key":"man_made","housenumber":"800","street":"Black Lives Matter Plaza Northwest","osm_value":"surveillance","state":"Washington, D.C."}}],"type":"FeatureCollection"}";
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
s:2279:"{"features":[{"geometry":{"coordinates":[-0.1285993,51.5010484],"type":"Point"},"type":"Feature","properties":{"osm_id":2806295309,"country":"United Kingdom","city":"London","countrycode":"GB","postcode":"SW1P 3AE","locality":"Westminster","county":"Greater London","type":"house","osm_type":"N","osm_key":"office","housenumber":"8\u201310","street":"Great George Street","district":"Millbank","osm_value":"warmonger","name":"Finmeccanica UK Ltd","state":"England"}},{"geometry":{"coordinates":[-0.12770820958562096,51.50344025],"type":"Point"},"type":"Feature","properties":{"osm_id":1879842,"extent":[-0.1278356,51.5036483,-0.1273038,51.5032573],"country":"United Kingdom","countrycode":"GB","postcode":"SW1A 2AA","locality":"Westminster","county":"Greater London","type":"house","osm_type":"R","osm_key":"tourism","housenumber":"10","street":"Downing Street","district":"Covent Garden","osm_value":"attraction","name":"Prime Minister\u2019s Office","state":"England"}},{"geometry":{"coordinates":[-0.2765595,51.6136283],"type":"Point"},"type":"Feature","properties":{"osm_id":7179640410,"country":"United Kingdom","city":"Edgware, London","countrycode":"GB","postcode":"HA8 7JJ","county":"Greater London","type":"house","osm_type":"N","osm_key":"amenity","housenumber":"103","street":"Station Road","district":"Mill Hill","osm_value":"bank","name":"HSBC UK","state":"England"}},{"geometry":{"coordinates":[-0.1050314,51.5149368],"type":"Point"},"type":"Feature","properties":{"osm_id":6878399378,"country":"United Kingdom","city":"City of London","countrycode":"GB","postcode":"EC4A 4AD","locality":"Blackfriars","county":"Greater London","type":"house","osm_type":"N","osm_key":"office","housenumber":"10","street":"Saint Bride Street","osm_value":"company","name":"techUK","state":"England"}},{"geometry":{"coordinates":[-0.0469504,51.6429794],"type":"Point"},"type":"Feature","properties":{"osm_id":2444967088,"country":"United Kingdom","city":"London Borough of Enfield","countrycode":"GB","postcode":"EN3 4ES","locality":"Enfield Highway","county":"Greater London","type":"house","osm_type":"N","osm_key":"shop","housenumber":"106","street":"High Street","district":"Ponders End","osm_value":"car_parts","name":"UK Garage","state":"England"}}],"type":"FeatureCollection"}";
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
s:455:"{"features":[{"geometry":{"coordinates":[9.998645,51.9982968],"type":"Point"},"type":"Feature","properties":{"osm_id":693697564,"country":"Deutschland","city":"Lamspringe","countrycode":"DE","postcode":"31195","county":"Landkreis Hildesheim","type":"house","osm_type":"N","osm_key":"tourism","street":"Evensener Dorfstraße","district":"Sehlem","osm_value":"information","name":"Geographischer Punkt","state":"Niedersachsen"}}],"type":"FeatureCollection"}";
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
s:455:"{"features":[{"geometry":{"coordinates":[2.3890894,48.8631927],"type":"Point"},"type":"Feature","properties":{"osm_id":1988097192,"country":"France","city":"Paris","countrycode":"FR","postcode":"75020","locality":"Campagne à Paris","county":"Paris","type":"house","osm_type":"N","osm_key":"place","housenumber":"10","street":"Avenue Gambetta","district":"Quartier Saint-Fargeau","osm_value":"house","state":"Île-de-France"}}],"type":"FeatureCollection"}";

src/Provider/Photon/Tests/.cached_responses/photon.komoot.de_e0d75b7d776810b9f76c2fbce53c8d983714024c renamed to src/Provider/Photon/Tests/.cached_responses/photon.komoot.io_c2f6f4f6c6ffb2f99a8aa51d6e45f49cc34d4903

File renamed without changes.

0 commit comments

Comments
 (0)