From da23bce2199ec306e0981a67cf5958ea501cbedb Mon Sep 17 00:00:00 2001 From: Adam Kariv Date: Wed, 1 May 2024 15:09:01 +0300 Subject: [PATCH] geojson -> json --- data/prepare_stacks.py | 2 +- ui/projects/businessgate/src/app/data.service.ts | 2 +- .../src/assets/{neighborhoods.geojson => neighborhoods.json} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename ui/projects/businessgate/src/assets/{neighborhoods.geojson => neighborhoods.json} (100%) diff --git a/data/prepare_stacks.py b/data/prepare_stacks.py index fa157a7..7def8b0 100644 --- a/data/prepare_stacks.py +++ b/data/prepare_stacks.py @@ -472,7 +472,7 @@ def get_content(): locations = prepare_locations() json.dump(locations, f, ensure_ascii=False, indent=2) - with open('../ui/projects/businessgate/src/assets/neighborhoods.geojson', 'w') as f: + with open('../ui/projects/businessgate/src/assets/neighborhoods.json', 'w') as f: neighborhoods_geojson = prepare_neighborhoods_geojson() f.write(neighborhoods_geojson) diff --git a/ui/projects/businessgate/src/app/data.service.ts b/ui/projects/businessgate/src/app/data.service.ts index 0c3a16c..7150d16 100644 --- a/ui/projects/businessgate/src/app/data.service.ts +++ b/ui/projects/businessgate/src/app/data.service.ts @@ -18,7 +18,7 @@ export class DataService { STACKS_DATA_URL = 'assets/all_stacks.json'; DEMAND_CATEGORIES = 'assets/demand_categories.json'; - NEIGHBORHOODS_GEOJSON = 'assets/neighborhoods.geojson'; + NEIGHBORHOODS_GEOJSON = 'assets/neighborhoods.json'; public businesses = new ReplaySubject(1); public businesses_licensing = new ReplaySubject(1); diff --git a/ui/projects/businessgate/src/assets/neighborhoods.geojson b/ui/projects/businessgate/src/assets/neighborhoods.json similarity index 100% rename from ui/projects/businessgate/src/assets/neighborhoods.geojson rename to ui/projects/businessgate/src/assets/neighborhoods.json