Spaces:
Sleeping
Sleeping
Commit
·
78b5863
1
Parent(s):
81d303d
Upload folder using huggingface_hub
Browse files- data/realtor_data_dict.csv +37 -37
- data/scotland_xyz.tsv +51 -51
- web.py +105 -105
data/realtor_data_dict.csv
CHANGED
@@ -1,37 +1,37 @@
|
|
1 |
-
Name,Label,Description
|
2 |
-
median_listing_price,Median Listing Price,The median listing price within the specified geography during the specified month.
|
3 |
-
median_listing_price_mm,Median Listing Price M/M,The percentage change in the median listing price from the previous month.
|
4 |
-
median_listing_price_yy,Median Listing Price Y/Y,The percentage change in the median listing price from the same month in the previous year.
|
5 |
-
active_listing_count,Active Listing Count,"The count of active listings within the specified geography during the specified month. The active listing count tracks the number of for sale properties on the market, excluding pending listings where a pending status is available. This is a snapshot measure of how many active listings can be expected on any given day of the specified month."
|
6 |
-
active_listing_count_mm,Active Listing Count M/M,The percentage change in the active listing count from the previous month.
|
7 |
-
active_listing_count_yy,Active Listing Count Y/Y,The percentage change in the active listing count from the same month in the previous year.
|
8 |
-
median_days_on_market,Days on Market,The median number of days property listings spend on the market within the specified geography during the specified month. Time spent on the market is defined as the time between the initial listing of a property and either its closing date or the date it is taken off the market.
|
9 |
-
median_days_on_market_mm,Days on Market M/M,The percentage change in the median days on market from the previous month.
|
10 |
-
median_days_on_market_yy,Days on Market Y/Y,The percentage change in the median days on market from the same month in the previous year.
|
11 |
-
new_listing_count,New Listing Count,The count of new listings added to the market within the specified geography. The new listing count represents a typical week’s worth of new listings in a given month. The new listing count can be multiplied by the number of weeks in a month to produce a monthly new listing count.
|
12 |
-
new_listing_count_mm,New Listing Count M/M,The percentage change in the new listing count from the previous month.
|
13 |
-
new_listing_count_yy,New Listing Count Y/Y,The percentage change in the new listing count from the same month in the previous year.
|
14 |
-
price_increased_count,Price Increase Count,The count of listings which have had their price increased within the specified geography. The price increase count represents a typical week’s worth of listings which have had their price increased in a given month. The price increase count can be multiplied by the number of weeks in a month to produce a monthly price increase count.
|
15 |
-
price_increased_count_mm,Price Increase Count M/M,The percentage change in the price increase count from the previous month.
|
16 |
-
price_increased_count_yy,Price Increase Count Y/Y,The percentage change in the price increase count from the same month in the previous year.
|
17 |
-
price_reduced_count,Price Decrease Count,The count of listings which have had their price reduced within the specified geography. The price decrease count represents a typical week’s worth of listings which have had their price reduced in a given month. The price decrease count can be multiplied by the number of weeks in a month to produce a monthly price decrease count.
|
18 |
-
price_reduced_count_mm,Price Decrease Count M/M,The percentage change in the price decrease count from the previous month.
|
19 |
-
price_reduced_count_yy,Price Decrease Count Y/Y,The percentage change in the price decrease count from the same month in the previous year.
|
20 |
-
pending_listing_count,Pending Listing Count,"The count of pending listings within the specified geography during the specified month, if a pending definition is available for that geography. This is a snapshot measure of how many pending listings can be expected on any given day of the specified month."
|
21 |
-
pending_listing_count_mm,Pending Listing Count M/M,The percentage change in the pending listing count from the previous month.
|
22 |
-
pending_listing_count_yy,Pending Listing Count Y/Y,The percentage change in the pending listing count from the same month in the previous year.
|
23 |
-
median_listing_price_per_square_foot,Median List Price Per Sqft,The median listing price per square foot within the specified geography during the specified month.
|
24 |
-
median_listing_price_per_square_foot_mm,Median List Price Per Sqft M/M,The percentage change in the median listing price per square foot from the previous month.
|
25 |
-
median_listing_price_per_square_foot_yy,Median List Price Per Sqft Y/Y,The percentage change in the median listing price per square foot from the same month in the previous year.
|
26 |
-
median_square_feet,Median Listing Sqft,The median listing square feet within the specified geography during the specified month.
|
27 |
-
median_square_feet_mm,Median Listing Sqft M/M,The percentage change in the median listing square feet from the previous month.
|
28 |
-
median_square_feet_yy,Median Listing Sqft Y/Y,The percentage change in the median listing square feet from the same month in the previous year.
|
29 |
-
average_listing_price,Avg Listing Price,The average listing price within the specified geography during the specified month.
|
30 |
-
average_listing_price_mm,Avg Listing Price M/M,The percentage change in the average listing price from the previous month.
|
31 |
-
average_listing_price_yy,Avg Listing Price Y/Y,The percentage change in the average listing price from the same month in the previous year.
|
32 |
-
total_listing_count,Total Listing Count,The total of both active listings and pending listings within the specified geography during the specified month. This is a snapshot measure of how many total listings can be expected on any given day of the specified month.
|
33 |
-
total_listing_count_mm,Total Listing Count M/M,The percentage change in the total listing count from the previous month.
|
34 |
-
total_listing_count_yy,Total Listing Count Y/Y,The percentage change in the total listing count from the same month in the previous year.
|
35 |
-
pending_ratio,Pending Ratio,The ratio of the pending listing count to the active listing count within the specified geography during the specified month.
|
36 |
-
pending_ratio_mm,Pending Ratio M/M,The change in the pending ratio from the previous month.
|
37 |
-
pending_ratio_yy,Pending Ratio Y/Y,The change in the pending ratio from the same month in the previous year.
|
|
|
1 |
+
Name,Label,Description
|
2 |
+
median_listing_price,Median Listing Price,The median listing price within the specified geography during the specified month.
|
3 |
+
median_listing_price_mm,Median Listing Price M/M,The percentage change in the median listing price from the previous month.
|
4 |
+
median_listing_price_yy,Median Listing Price Y/Y,The percentage change in the median listing price from the same month in the previous year.
|
5 |
+
active_listing_count,Active Listing Count,"The count of active listings within the specified geography during the specified month. The active listing count tracks the number of for sale properties on the market, excluding pending listings where a pending status is available. This is a snapshot measure of how many active listings can be expected on any given day of the specified month."
|
6 |
+
active_listing_count_mm,Active Listing Count M/M,The percentage change in the active listing count from the previous month.
|
7 |
+
active_listing_count_yy,Active Listing Count Y/Y,The percentage change in the active listing count from the same month in the previous year.
|
8 |
+
median_days_on_market,Days on Market,The median number of days property listings spend on the market within the specified geography during the specified month. Time spent on the market is defined as the time between the initial listing of a property and either its closing date or the date it is taken off the market.
|
9 |
+
median_days_on_market_mm,Days on Market M/M,The percentage change in the median days on market from the previous month.
|
10 |
+
median_days_on_market_yy,Days on Market Y/Y,The percentage change in the median days on market from the same month in the previous year.
|
11 |
+
new_listing_count,New Listing Count,The count of new listings added to the market within the specified geography. The new listing count represents a typical week’s worth of new listings in a given month. The new listing count can be multiplied by the number of weeks in a month to produce a monthly new listing count.
|
12 |
+
new_listing_count_mm,New Listing Count M/M,The percentage change in the new listing count from the previous month.
|
13 |
+
new_listing_count_yy,New Listing Count Y/Y,The percentage change in the new listing count from the same month in the previous year.
|
14 |
+
price_increased_count,Price Increase Count,The count of listings which have had their price increased within the specified geography. The price increase count represents a typical week’s worth of listings which have had their price increased in a given month. The price increase count can be multiplied by the number of weeks in a month to produce a monthly price increase count.
|
15 |
+
price_increased_count_mm,Price Increase Count M/M,The percentage change in the price increase count from the previous month.
|
16 |
+
price_increased_count_yy,Price Increase Count Y/Y,The percentage change in the price increase count from the same month in the previous year.
|
17 |
+
price_reduced_count,Price Decrease Count,The count of listings which have had their price reduced within the specified geography. The price decrease count represents a typical week’s worth of listings which have had their price reduced in a given month. The price decrease count can be multiplied by the number of weeks in a month to produce a monthly price decrease count.
|
18 |
+
price_reduced_count_mm,Price Decrease Count M/M,The percentage change in the price decrease count from the previous month.
|
19 |
+
price_reduced_count_yy,Price Decrease Count Y/Y,The percentage change in the price decrease count from the same month in the previous year.
|
20 |
+
pending_listing_count,Pending Listing Count,"The count of pending listings within the specified geography during the specified month, if a pending definition is available for that geography. This is a snapshot measure of how many pending listings can be expected on any given day of the specified month."
|
21 |
+
pending_listing_count_mm,Pending Listing Count M/M,The percentage change in the pending listing count from the previous month.
|
22 |
+
pending_listing_count_yy,Pending Listing Count Y/Y,The percentage change in the pending listing count from the same month in the previous year.
|
23 |
+
median_listing_price_per_square_foot,Median List Price Per Sqft,The median listing price per square foot within the specified geography during the specified month.
|
24 |
+
median_listing_price_per_square_foot_mm,Median List Price Per Sqft M/M,The percentage change in the median listing price per square foot from the previous month.
|
25 |
+
median_listing_price_per_square_foot_yy,Median List Price Per Sqft Y/Y,The percentage change in the median listing price per square foot from the same month in the previous year.
|
26 |
+
median_square_feet,Median Listing Sqft,The median listing square feet within the specified geography during the specified month.
|
27 |
+
median_square_feet_mm,Median Listing Sqft M/M,The percentage change in the median listing square feet from the previous month.
|
28 |
+
median_square_feet_yy,Median Listing Sqft Y/Y,The percentage change in the median listing square feet from the same month in the previous year.
|
29 |
+
average_listing_price,Avg Listing Price,The average listing price within the specified geography during the specified month.
|
30 |
+
average_listing_price_mm,Avg Listing Price M/M,The percentage change in the average listing price from the previous month.
|
31 |
+
average_listing_price_yy,Avg Listing Price Y/Y,The percentage change in the average listing price from the same month in the previous year.
|
32 |
+
total_listing_count,Total Listing Count,The total of both active listings and pending listings within the specified geography during the specified month. This is a snapshot measure of how many total listings can be expected on any given day of the specified month.
|
33 |
+
total_listing_count_mm,Total Listing Count M/M,The percentage change in the total listing count from the previous month.
|
34 |
+
total_listing_count_yy,Total Listing Count Y/Y,The percentage change in the total listing count from the same month in the previous year.
|
35 |
+
pending_ratio,Pending Ratio,The ratio of the pending listing count to the active listing count within the specified geography during the specified month.
|
36 |
+
pending_ratio_mm,Pending Ratio M/M,The change in the pending ratio from the previous month.
|
37 |
+
pending_ratio_yy,Pending Ratio Y/Y,The change in the pending ratio from the same month in the previous year.
|
data/scotland_xyz.tsv
CHANGED
@@ -1,51 +1,51 @@
|
|
1 |
-
Name URL
|
2 |
-
Ordnance Survey - Air Photos, 1944-1950 - 1:10,560 https://geo.nls.uk/maps/air-photos/{z}/{x}/{y}.png
|
3 |
-
Ordnance Survey - Six Inch Scotland, 1843-1882 - 1:10,560 https://mapseries-tilesets.s3.amazonaws.com/os/6inchfirst/{z}/{x}/{y}.png
|
4 |
-
War Office, Great Britain 1:25,000. GSGS 3906, 1940-43 https://mapseries-tilesets.s3.amazonaws.com/gsgs3906/{z}/{x}/{y}.png
|
5 |
-
Roy - Roy Highlands, 1747-1752 - 1:36000 https://mapseries-tilesets.s3.amazonaws.com/roy/highlands/{z}/{x}/{y}.png
|
6 |
-
Roy - Roy Lowlands, 1752-1755 - 1:36000 https://mapseries-tilesets.s3.amazonaws.com/roy/lowlands/{z}/{x}/{y}.png
|
7 |
-
Great Britain - OS 1:10,560, 1949-1970 https://mapseries-tilesets.s3.amazonaws.com/os/britain10knatgrid/{z}/{x}/{y}.png
|
8 |
-
Great Britain - Bartholomew Half Inch, 1897-1907 https://mapseries-tilesets.s3.amazonaws.com/bartholomew_great_britain/{z}/{x}/{y}.png
|
9 |
-
OS 25 inch, 1892-1914 - Scotland South https://mapseries-tilesets.s3.amazonaws.com/25_inch/scotland_1/{z}/{x}/{y}.png
|
10 |
-
OS 25 inch, 1892-1914 - Scotland North https://mapseries-tilesets.s3.amazonaws.com/25_inch/scotland_2/{z}/{x}/{y}.png
|
11 |
-
OS 25 inch, 1892-1914 - Bedfordshire https://mapseries-tilesets.s3.amazonaws.com/25_inch/bedfordshire/{z}/{x}/{y}.png
|
12 |
-
OS 25 inch, 1892-1914 - Berkshire https://mapseries-tilesets.s3.amazonaws.com/25_inch/berkshire/{z}/{x}/{y}.png
|
13 |
-
OS 25 inch, 1892-1914 - Buckinghamshire https://mapseries-tilesets.s3.amazonaws.com/25_inch/buckingham/{z}/{x}/{y}.png
|
14 |
-
OS 25 inch, 1892-1914 - Cambridgeshire https://mapseries-tilesets.s3.amazonaws.com/25_inch/cambridge/{z}/{x}/{y}.png
|
15 |
-
OS 25 inch, 1892-1914 - Cheshire https://mapseries-tilesets.s3.amazonaws.com/25_inch/cheshire/{z}/{x}/{y}.png
|
16 |
-
OS 25 inch, 1892-1914 - Cornwall https://mapseries-tilesets.s3.amazonaws.com/25_inch/cornwall/{z}/{x}/{y}.png
|
17 |
-
OS 25 inch, 1892-1914 - Cumberland https://mapseries-tilesets.s3.amazonaws.com/25_inch/cumberland/{z}/{x}/{y}.png
|
18 |
-
OS 25 inch, 1892-1914 - Devon https://mapseries-tilesets.s3.amazonaws.com/25_inch/devon/{z}/{x}/{y}.png
|
19 |
-
OS 25 inch, 1892-1914 - Dorset https://mapseries-tilesets.s3.amazonaws.com/25_inch/dorset/{z}/{x}/{y}.png
|
20 |
-
OS 25 inch, 1892-1914 - Durham https://mapseries-tilesets.s3.amazonaws.com/25_inch/durham/{z}/{x}/{y}.png
|
21 |
-
OS 25 inch, 1892-1914 - Essex https://mapseries-tilesets.s3.amazonaws.com/25_inch/essex/{z}/{x}/{y}.png
|
22 |
-
OS 25 inch, 1892-1914 - Gloucestershire https://mapseries-tilesets.s3.amazonaws.com/25_inch/gloucestershire/{z}/{x}/{y}.png
|
23 |
-
OS 25 inch, 1892-1914 - Hampshire https://mapseries-tilesets.s3.amazonaws.com/25_inch/hampshire/{z}/{x}/{y}.png
|
24 |
-
OS 25 inch, 1892-1914 - Herefordshire https://mapseries-tilesets.s3.amazonaws.com/25_inch/herefordshire/{z}/{x}/{y}.png
|
25 |
-
OS 25 inch, 1892-1914 - Hertfordshire https://mapseries-tilesets.s3.amazonaws.com/25_inch/hertfordshire/{z}/{x}/{y}.png
|
26 |
-
OS 25 inch, 1892-1914 - Huntingdon https://mapseries-tilesets.s3.amazonaws.com/25_inch/huntingdon/{z}/{x}/{y}.png
|
27 |
-
OS 25 inch, 1892-1914 - Kent https://mapseries-tilesets.s3.amazonaws.com/25_inch/kent/{z}/{x}/{y}.png
|
28 |
-
OS 25 inch, 1892-1914 - Lancashire https://mapseries-tilesets.s3.amazonaws.com/25_inch/lancashire/{z}/{x}/{y}.png
|
29 |
-
OS 25 inch, 1892-1914 - Leicestershire https://mapseries-tilesets.s3.amazonaws.com/25_inch/leicestershire/{z}/{x}/{y}.png
|
30 |
-
OS 25 inch, 1892-1914 - Lincolnshire https://mapseries-tilesets.s3.amazonaws.com/25_inch/lincolnshire/{z}/{x}/{y}.png
|
31 |
-
OS 25 inch, 1892-1914 - London https://mapseries-tilesets.s3.amazonaws.com/25_inch/london/{z}/{x}/{y}.png
|
32 |
-
OS 25 inch, 1892-1914 - Middlesex https://mapseries-tilesets.s3.amazonaws.com/25_inch/middlesex/{z}/{x}/{y}.png
|
33 |
-
OS 25 inch, 1892-1914 - Norfolk https://mapseries-tilesets.s3.amazonaws.com/25_inch/norfolk/{z}/{x}/{y}.png
|
34 |
-
OS 25 inch, 1892-1914 - Northamptonshire https://mapseries-tilesets.s3.amazonaws.com/25_inch/northampton/{z}/{x}/{y}.png
|
35 |
-
OS 25 inch, 1892-1914 - Northumberland https://mapseries-tilesets.s3.amazonaws.com/25_inch/northumberland/{z}/{x}/{y}.png
|
36 |
-
OS 25 inch, 1892-1914 - Nottinghamshire https://mapseries-tilesets.s3.amazonaws.com/25_inch/nottinghamshire/{z}/{x}/{y}.png
|
37 |
-
OS 25 inch, 1892-1914 - Oxford https://mapseries-tilesets.s3.amazonaws.com/25_inch/oxford/{z}/{x}/{y}.png
|
38 |
-
OS 25 inch, 1892-1914 - Rutland https://mapseries-tilesets.s3.amazonaws.com/25_inch/rutland/{z}/{x}/{y}.png
|
39 |
-
OS 25 inch, 1892-1914 - Shropshire / Derbyshire https://mapseries-tilesets.s3.amazonaws.com/25_inch/Shrop_Derby/{z}/{x}/{y}.png
|
40 |
-
OS 25 inch, 1892-1914 - Somerset https://mapseries-tilesets.s3.amazonaws.com/25_inch/somerset/{z}/{x}/{y}.png
|
41 |
-
OS 25 inch, 1892-1914 - Stafford https://mapseries-tilesets.s3.amazonaws.com/25_inch/stafford/{z}/{x}/{y}.png
|
42 |
-
OS 25 inch, 1892-1914 - Suffolk https://mapseries-tilesets.s3.amazonaws.com/25_inch/suffolk/{z}/{x}/{y}.png
|
43 |
-
OS 25 inch, 1892-1914 - Surrey https://mapseries-tilesets.s3.amazonaws.com/25_inch/surrey/{z}/{x}/{y}.png
|
44 |
-
OS 25 inch, 1892-1914 - Sussex https://mapseries-tilesets.s3.amazonaws.com/25_inch/sussex/{z}/{x}/{y}.png
|
45 |
-
OS 25 inch, 1892-1914 - Wales https://mapseries-tilesets.s3.amazonaws.com/25_inch/wales/{z}/{x}/{y}.png
|
46 |
-
OS 25 inch, 1892-1914 - Warwick https://mapseries-tilesets.s3.amazonaws.com/25_inch/warwick/{z}/{x}/{y}.png
|
47 |
-
OS 25 inch, 1892-1914 - Westmorland https://mapseries-tilesets.s3.amazonaws.com/25_inch/westmorland/{z}/{x}/{y}.png
|
48 |
-
OS 25 inch, 1892-1914 - Wiltshire https://mapseries-tilesets.s3.amazonaws.com/25_inch/wiltshire2nd/{z}/{x}/{y}.png
|
49 |
-
OS 25 inch, 1892-1914 - Worcestershire https://mapseries-tilesets.s3.amazonaws.com/25_inch/Worcestershire/{z}/{x}/{y}.png
|
50 |
-
OS 25 inch, 1892-1914 - Yorkshire https://mapseries-tilesets.s3.amazonaws.com/25_inch/yorkshire/{z}/{x}/{y}.png
|
51 |
-
OS 25 inch, 1892-1914 'Holes' (fills gaps in series) https://geo.nls.uk/mapdata3/os/25_inch_holes_england/{z}/{x}/{y}.png
|
|
|
1 |
+
Name URL
|
2 |
+
Ordnance Survey - Air Photos, 1944-1950 - 1:10,560 https://geo.nls.uk/maps/air-photos/{z}/{x}/{y}.png
|
3 |
+
Ordnance Survey - Six Inch Scotland, 1843-1882 - 1:10,560 https://mapseries-tilesets.s3.amazonaws.com/os/6inchfirst/{z}/{x}/{y}.png
|
4 |
+
War Office, Great Britain 1:25,000. GSGS 3906, 1940-43 https://mapseries-tilesets.s3.amazonaws.com/gsgs3906/{z}/{x}/{y}.png
|
5 |
+
Roy - Roy Highlands, 1747-1752 - 1:36000 https://mapseries-tilesets.s3.amazonaws.com/roy/highlands/{z}/{x}/{y}.png
|
6 |
+
Roy - Roy Lowlands, 1752-1755 - 1:36000 https://mapseries-tilesets.s3.amazonaws.com/roy/lowlands/{z}/{x}/{y}.png
|
7 |
+
Great Britain - OS 1:10,560, 1949-1970 https://mapseries-tilesets.s3.amazonaws.com/os/britain10knatgrid/{z}/{x}/{y}.png
|
8 |
+
Great Britain - Bartholomew Half Inch, 1897-1907 https://mapseries-tilesets.s3.amazonaws.com/bartholomew_great_britain/{z}/{x}/{y}.png
|
9 |
+
OS 25 inch, 1892-1914 - Scotland South https://mapseries-tilesets.s3.amazonaws.com/25_inch/scotland_1/{z}/{x}/{y}.png
|
10 |
+
OS 25 inch, 1892-1914 - Scotland North https://mapseries-tilesets.s3.amazonaws.com/25_inch/scotland_2/{z}/{x}/{y}.png
|
11 |
+
OS 25 inch, 1892-1914 - Bedfordshire https://mapseries-tilesets.s3.amazonaws.com/25_inch/bedfordshire/{z}/{x}/{y}.png
|
12 |
+
OS 25 inch, 1892-1914 - Berkshire https://mapseries-tilesets.s3.amazonaws.com/25_inch/berkshire/{z}/{x}/{y}.png
|
13 |
+
OS 25 inch, 1892-1914 - Buckinghamshire https://mapseries-tilesets.s3.amazonaws.com/25_inch/buckingham/{z}/{x}/{y}.png
|
14 |
+
OS 25 inch, 1892-1914 - Cambridgeshire https://mapseries-tilesets.s3.amazonaws.com/25_inch/cambridge/{z}/{x}/{y}.png
|
15 |
+
OS 25 inch, 1892-1914 - Cheshire https://mapseries-tilesets.s3.amazonaws.com/25_inch/cheshire/{z}/{x}/{y}.png
|
16 |
+
OS 25 inch, 1892-1914 - Cornwall https://mapseries-tilesets.s3.amazonaws.com/25_inch/cornwall/{z}/{x}/{y}.png
|
17 |
+
OS 25 inch, 1892-1914 - Cumberland https://mapseries-tilesets.s3.amazonaws.com/25_inch/cumberland/{z}/{x}/{y}.png
|
18 |
+
OS 25 inch, 1892-1914 - Devon https://mapseries-tilesets.s3.amazonaws.com/25_inch/devon/{z}/{x}/{y}.png
|
19 |
+
OS 25 inch, 1892-1914 - Dorset https://mapseries-tilesets.s3.amazonaws.com/25_inch/dorset/{z}/{x}/{y}.png
|
20 |
+
OS 25 inch, 1892-1914 - Durham https://mapseries-tilesets.s3.amazonaws.com/25_inch/durham/{z}/{x}/{y}.png
|
21 |
+
OS 25 inch, 1892-1914 - Essex https://mapseries-tilesets.s3.amazonaws.com/25_inch/essex/{z}/{x}/{y}.png
|
22 |
+
OS 25 inch, 1892-1914 - Gloucestershire https://mapseries-tilesets.s3.amazonaws.com/25_inch/gloucestershire/{z}/{x}/{y}.png
|
23 |
+
OS 25 inch, 1892-1914 - Hampshire https://mapseries-tilesets.s3.amazonaws.com/25_inch/hampshire/{z}/{x}/{y}.png
|
24 |
+
OS 25 inch, 1892-1914 - Herefordshire https://mapseries-tilesets.s3.amazonaws.com/25_inch/herefordshire/{z}/{x}/{y}.png
|
25 |
+
OS 25 inch, 1892-1914 - Hertfordshire https://mapseries-tilesets.s3.amazonaws.com/25_inch/hertfordshire/{z}/{x}/{y}.png
|
26 |
+
OS 25 inch, 1892-1914 - Huntingdon https://mapseries-tilesets.s3.amazonaws.com/25_inch/huntingdon/{z}/{x}/{y}.png
|
27 |
+
OS 25 inch, 1892-1914 - Kent https://mapseries-tilesets.s3.amazonaws.com/25_inch/kent/{z}/{x}/{y}.png
|
28 |
+
OS 25 inch, 1892-1914 - Lancashire https://mapseries-tilesets.s3.amazonaws.com/25_inch/lancashire/{z}/{x}/{y}.png
|
29 |
+
OS 25 inch, 1892-1914 - Leicestershire https://mapseries-tilesets.s3.amazonaws.com/25_inch/leicestershire/{z}/{x}/{y}.png
|
30 |
+
OS 25 inch, 1892-1914 - Lincolnshire https://mapseries-tilesets.s3.amazonaws.com/25_inch/lincolnshire/{z}/{x}/{y}.png
|
31 |
+
OS 25 inch, 1892-1914 - London https://mapseries-tilesets.s3.amazonaws.com/25_inch/london/{z}/{x}/{y}.png
|
32 |
+
OS 25 inch, 1892-1914 - Middlesex https://mapseries-tilesets.s3.amazonaws.com/25_inch/middlesex/{z}/{x}/{y}.png
|
33 |
+
OS 25 inch, 1892-1914 - Norfolk https://mapseries-tilesets.s3.amazonaws.com/25_inch/norfolk/{z}/{x}/{y}.png
|
34 |
+
OS 25 inch, 1892-1914 - Northamptonshire https://mapseries-tilesets.s3.amazonaws.com/25_inch/northampton/{z}/{x}/{y}.png
|
35 |
+
OS 25 inch, 1892-1914 - Northumberland https://mapseries-tilesets.s3.amazonaws.com/25_inch/northumberland/{z}/{x}/{y}.png
|
36 |
+
OS 25 inch, 1892-1914 - Nottinghamshire https://mapseries-tilesets.s3.amazonaws.com/25_inch/nottinghamshire/{z}/{x}/{y}.png
|
37 |
+
OS 25 inch, 1892-1914 - Oxford https://mapseries-tilesets.s3.amazonaws.com/25_inch/oxford/{z}/{x}/{y}.png
|
38 |
+
OS 25 inch, 1892-1914 - Rutland https://mapseries-tilesets.s3.amazonaws.com/25_inch/rutland/{z}/{x}/{y}.png
|
39 |
+
OS 25 inch, 1892-1914 - Shropshire / Derbyshire https://mapseries-tilesets.s3.amazonaws.com/25_inch/Shrop_Derby/{z}/{x}/{y}.png
|
40 |
+
OS 25 inch, 1892-1914 - Somerset https://mapseries-tilesets.s3.amazonaws.com/25_inch/somerset/{z}/{x}/{y}.png
|
41 |
+
OS 25 inch, 1892-1914 - Stafford https://mapseries-tilesets.s3.amazonaws.com/25_inch/stafford/{z}/{x}/{y}.png
|
42 |
+
OS 25 inch, 1892-1914 - Suffolk https://mapseries-tilesets.s3.amazonaws.com/25_inch/suffolk/{z}/{x}/{y}.png
|
43 |
+
OS 25 inch, 1892-1914 - Surrey https://mapseries-tilesets.s3.amazonaws.com/25_inch/surrey/{z}/{x}/{y}.png
|
44 |
+
OS 25 inch, 1892-1914 - Sussex https://mapseries-tilesets.s3.amazonaws.com/25_inch/sussex/{z}/{x}/{y}.png
|
45 |
+
OS 25 inch, 1892-1914 - Wales https://mapseries-tilesets.s3.amazonaws.com/25_inch/wales/{z}/{x}/{y}.png
|
46 |
+
OS 25 inch, 1892-1914 - Warwick https://mapseries-tilesets.s3.amazonaws.com/25_inch/warwick/{z}/{x}/{y}.png
|
47 |
+
OS 25 inch, 1892-1914 - Westmorland https://mapseries-tilesets.s3.amazonaws.com/25_inch/westmorland/{z}/{x}/{y}.png
|
48 |
+
OS 25 inch, 1892-1914 - Wiltshire https://mapseries-tilesets.s3.amazonaws.com/25_inch/wiltshire2nd/{z}/{x}/{y}.png
|
49 |
+
OS 25 inch, 1892-1914 - Worcestershire https://mapseries-tilesets.s3.amazonaws.com/25_inch/Worcestershire/{z}/{x}/{y}.png
|
50 |
+
OS 25 inch, 1892-1914 - Yorkshire https://mapseries-tilesets.s3.amazonaws.com/25_inch/yorkshire/{z}/{x}/{y}.png
|
51 |
+
OS 25 inch, 1892-1914 'Holes' (fills gaps in series) https://geo.nls.uk/mapdata3/os/25_inch_holes_england/{z}/{x}/{y}.png
|
web.py
CHANGED
@@ -1,105 +1,105 @@
|
|
1 |
-
import folium
|
2 |
-
import pandas
|
3 |
-
import geemap.foliumap as geemap
|
4 |
-
import ee
|
5 |
-
from datetime import date, timedelta, datetime
|
6 |
-
|
7 |
-
def ee_authenticate(token_name="EARTHENGINE_TOKEN"):
|
8 |
-
geemap.ee_initialize(token_name=token_name)
|
9 |
-
def maskCloudAndShadows(image):
|
10 |
-
cloudProb = image.select('MSK_CLDPRB')
|
11 |
-
snowProb = image.select('MSK_SNWPRB')
|
12 |
-
cloud = cloudProb.lt(5)
|
13 |
-
snow = snowProb.lt(5)
|
14 |
-
scl = image.select('SCL')
|
15 |
-
shadow = scl.eq(3); # 3 = cloud shadow
|
16 |
-
cirrus = scl.eq(10); # 10 = cirrus
|
17 |
-
# Cloud probability less than 5% or cloud shadow classification
|
18 |
-
mask = (cloud.And(snow)).And(cirrus.neq(1)).And(shadow.neq(1))
|
19 |
-
return image.updateMask(mask).divide(10000)
|
20 |
-
|
21 |
-
# Normalized difference vegetation index (NDVI)
|
22 |
-
def getNDVI(image):
|
23 |
-
ndvi = image.normalizedDifference(['B8','B4']).rename("NDVI")
|
24 |
-
image = image.addBands(ndvi)
|
25 |
-
return(image)
|
26 |
-
|
27 |
-
def addDate(image):
|
28 |
-
img_date = ee.Date(image.date())
|
29 |
-
img_date = ee.Number.parse(img_date.format('YYYYMMdd'))
|
30 |
-
return image.addBands(ee.Image(img_date).rename('date').toInt())
|
31 |
-
|
32 |
-
ee_authenticate(token_name="4/1AfJohXleDqw1-fV1879iHUDYgPbM7f5OjCKfxFY3vJiiGqQDn_ff-Luhhhk") #4/1AfJohXkTlWMKd8fPevD3hd4tAq_j-YlD2CabTy7QtM7iu1gNB3XdBEqRehA
|
33 |
-
|
34 |
-
map_center=(-43.525650, 172.639847)
|
35 |
-
popup_message = 'Contact: [email protected]'
|
36 |
-
crs = "epsg:4326"
|
37 |
-
band = ['B8','B4','B3']
|
38 |
-
rgbViza = {"min":0.0, "max":0.7,"bands":band}
|
39 |
-
|
40 |
-
Map = geemap.Map(
|
41 |
-
basemap="HYBRID",
|
42 |
-
plugin_Draw=True,
|
43 |
-
Draw_export=True,
|
44 |
-
locate_control=True,
|
45 |
-
plugin_LatLngPopup=False, center=map_center, zoom=8,
|
46 |
-
)
|
47 |
-
|
48 |
-
ed = date.today()
|
49 |
-
sd = ed - timedelta(days=30)
|
50 |
-
|
51 |
-
|
52 |
-
startDate = sd.strftime("%Y-%m-%d") + "T"
|
53 |
-
endDate = ed.strftime("%Y-%m-%d") + "T"
|
54 |
-
|
55 |
-
|
56 |
-
se2 = ee.ImageCollection('COPERNICUS/S2_SR').filterDate(
|
57 |
-
startDate,endDate).filter(
|
58 |
-
ee.Filter.lt("CLOUDY_PIXEL_PERCENTAGE",80)).map(maskCloudAndShadows).median()
|
59 |
-
|
60 |
-
palette = ['FFFFFF', 'CE7E45', 'DF923D', 'F1B555', 'FCD163', '99B718', '74A901', '66A000', '529400', '3E8601', '207401', '056201', '004C00', '023B01', '012E01', '011D01', '011301']
|
61 |
-
vis_params = {
|
62 |
-
'min': 0,
|
63 |
-
'max': 1,
|
64 |
-
'palette': palette}
|
65 |
-
|
66 |
-
NDVI_data = ee.ImageCollection('COPERNICUS/S2_SR').filterDate(startDate, endDate).filter(ee.Filter.lt("CLOUDY_PIXEL_PERCENTAGE",80)).map(maskCloudAndShadows).map(getNDVI)
|
67 |
-
Map.addLayer(NDVI_data.select('NDVI').median(), vis_params, "Median of NDVI")
|
68 |
-
|
69 |
-
|
70 |
-
band = ['B4','B3','B2']
|
71 |
-
rgbViza = {"min":0.0, "max":0.7,"bands":band}
|
72 |
-
titlemap = "Sentinel 2 - Natural Color"
|
73 |
-
Map.addLayer(se2, rgbViza, titlemap)
|
74 |
-
|
75 |
-
|
76 |
-
band = ['B8','B4','B3']
|
77 |
-
rgbViza = {"min":0.0, "max":0.7,"bands":band}
|
78 |
-
titlemap = "Sentinel 2 - Color Infrared"
|
79 |
-
Map.addLayer(se2, rgbViza, titlemap)
|
80 |
-
|
81 |
-
band = ['B11','B8','B2']
|
82 |
-
rgbViza = {"min":0.0, "max":0.7,"bands":band}
|
83 |
-
titlemap = "Sentinel 2 - Agriculture"
|
84 |
-
Map.addLayer(se2, rgbViza, titlemap)
|
85 |
-
|
86 |
-
band = ['B11','B8','B4']
|
87 |
-
rgbViza = {"min":0.0, "max":0.7,"bands":band}
|
88 |
-
titlemap = "Sentinel 2 - Vegetation Analysis"
|
89 |
-
Map.addLayer(se2, rgbViza, titlemap)
|
90 |
-
|
91 |
-
band = ['B8','B11','B2']
|
92 |
-
rgbViza = {"min":0.0, "max":0.7,"bands":band}
|
93 |
-
titlemap = "Sentinel 2 - Healthy Vegetation"
|
94 |
-
Map.addLayer(se2, rgbViza, titlemap)
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
folium.Marker(
|
99 |
-
location=map_center,
|
100 |
-
popup=popup_message,
|
101 |
-
icon=folium.Icon(icon="info-sign", color="red")
|
102 |
-
).add_to(Map)
|
103 |
-
|
104 |
-
Map.addLayerControl()
|
105 |
-
Map.save("index.html")
|
|
|
1 |
+
import folium
|
2 |
+
import pandas
|
3 |
+
import geemap.foliumap as geemap
|
4 |
+
import ee
|
5 |
+
from datetime import date, timedelta, datetime
|
6 |
+
|
7 |
+
def ee_authenticate(token_name="EARTHENGINE_TOKEN"):
|
8 |
+
geemap.ee_initialize(token_name=token_name)
|
9 |
+
def maskCloudAndShadows(image):
|
10 |
+
cloudProb = image.select('MSK_CLDPRB')
|
11 |
+
snowProb = image.select('MSK_SNWPRB')
|
12 |
+
cloud = cloudProb.lt(5)
|
13 |
+
snow = snowProb.lt(5)
|
14 |
+
scl = image.select('SCL')
|
15 |
+
shadow = scl.eq(3); # 3 = cloud shadow
|
16 |
+
cirrus = scl.eq(10); # 10 = cirrus
|
17 |
+
# Cloud probability less than 5% or cloud shadow classification
|
18 |
+
mask = (cloud.And(snow)).And(cirrus.neq(1)).And(shadow.neq(1))
|
19 |
+
return image.updateMask(mask).divide(10000)
|
20 |
+
|
21 |
+
# Normalized difference vegetation index (NDVI)
|
22 |
+
def getNDVI(image):
|
23 |
+
ndvi = image.normalizedDifference(['B8','B4']).rename("NDVI")
|
24 |
+
image = image.addBands(ndvi)
|
25 |
+
return(image)
|
26 |
+
|
27 |
+
def addDate(image):
|
28 |
+
img_date = ee.Date(image.date())
|
29 |
+
img_date = ee.Number.parse(img_date.format('YYYYMMdd'))
|
30 |
+
return image.addBands(ee.Image(img_date).rename('date').toInt())
|
31 |
+
|
32 |
+
ee_authenticate(token_name="4/1AfJohXleDqw1-fV1879iHUDYgPbM7f5OjCKfxFY3vJiiGqQDn_ff-Luhhhk") #4/1AfJohXkTlWMKd8fPevD3hd4tAq_j-YlD2CabTy7QtM7iu1gNB3XdBEqRehA
|
33 |
+
|
34 |
+
map_center=(-43.525650, 172.639847)
|
35 |
+
popup_message = 'Contact: [email protected]'
|
36 |
+
crs = "epsg:4326"
|
37 |
+
band = ['B8','B4','B3']
|
38 |
+
rgbViza = {"min":0.0, "max":0.7,"bands":band}
|
39 |
+
|
40 |
+
Map = geemap.Map(
|
41 |
+
basemap="HYBRID",
|
42 |
+
plugin_Draw=True,
|
43 |
+
Draw_export=True,
|
44 |
+
locate_control=True,
|
45 |
+
plugin_LatLngPopup=False, center=map_center, zoom=8,
|
46 |
+
)
|
47 |
+
|
48 |
+
ed = date.today()
|
49 |
+
sd = ed - timedelta(days=30)
|
50 |
+
|
51 |
+
|
52 |
+
startDate = sd.strftime("%Y-%m-%d") + "T"
|
53 |
+
endDate = ed.strftime("%Y-%m-%d") + "T"
|
54 |
+
|
55 |
+
|
56 |
+
se2 = ee.ImageCollection('COPERNICUS/S2_SR').filterDate(
|
57 |
+
startDate,endDate).filter(
|
58 |
+
ee.Filter.lt("CLOUDY_PIXEL_PERCENTAGE",80)).map(maskCloudAndShadows).median()
|
59 |
+
|
60 |
+
palette = ['FFFFFF', 'CE7E45', 'DF923D', 'F1B555', 'FCD163', '99B718', '74A901', '66A000', '529400', '3E8601', '207401', '056201', '004C00', '023B01', '012E01', '011D01', '011301']
|
61 |
+
vis_params = {
|
62 |
+
'min': 0,
|
63 |
+
'max': 1,
|
64 |
+
'palette': palette}
|
65 |
+
|
66 |
+
NDVI_data = ee.ImageCollection('COPERNICUS/S2_SR').filterDate(startDate, endDate).filter(ee.Filter.lt("CLOUDY_PIXEL_PERCENTAGE",80)).map(maskCloudAndShadows).map(getNDVI)
|
67 |
+
Map.addLayer(NDVI_data.select('NDVI').median(), vis_params, "Median of NDVI")
|
68 |
+
|
69 |
+
|
70 |
+
band = ['B4','B3','B2']
|
71 |
+
rgbViza = {"min":0.0, "max":0.7,"bands":band}
|
72 |
+
titlemap = "Sentinel 2 - Natural Color"
|
73 |
+
Map.addLayer(se2, rgbViza, titlemap)
|
74 |
+
|
75 |
+
|
76 |
+
band = ['B8','B4','B3']
|
77 |
+
rgbViza = {"min":0.0, "max":0.7,"bands":band}
|
78 |
+
titlemap = "Sentinel 2 - Color Infrared"
|
79 |
+
Map.addLayer(se2, rgbViza, titlemap)
|
80 |
+
|
81 |
+
band = ['B11','B8','B2']
|
82 |
+
rgbViza = {"min":0.0, "max":0.7,"bands":band}
|
83 |
+
titlemap = "Sentinel 2 - Agriculture"
|
84 |
+
Map.addLayer(se2, rgbViza, titlemap)
|
85 |
+
|
86 |
+
band = ['B11','B8','B4']
|
87 |
+
rgbViza = {"min":0.0, "max":0.7,"bands":band}
|
88 |
+
titlemap = "Sentinel 2 - Vegetation Analysis"
|
89 |
+
Map.addLayer(se2, rgbViza, titlemap)
|
90 |
+
|
91 |
+
band = ['B8','B11','B2']
|
92 |
+
rgbViza = {"min":0.0, "max":0.7,"bands":band}
|
93 |
+
titlemap = "Sentinel 2 - Healthy Vegetation"
|
94 |
+
Map.addLayer(se2, rgbViza, titlemap)
|
95 |
+
|
96 |
+
|
97 |
+
|
98 |
+
folium.Marker(
|
99 |
+
location=map_center,
|
100 |
+
popup=popup_message,
|
101 |
+
icon=folium.Icon(icon="info-sign", color="red")
|
102 |
+
).add_to(Map)
|
103 |
+
|
104 |
+
Map.addLayerControl()
|
105 |
+
Map.save("index.html")
|