Opening your session in 90 seconds...
Please note that we are starting a new machine for you, which takes more time.
If your browser keeps redirecting back and forth from this page in an endless loop, it is possible that you are using an older browser. Please update Google Chrome or use Mozilla Firefox.
#CrossCompute
# Prompts users to enter a zipcode in the tool
# The default zipcode is 11419
target_folder = '/tmp'
ZipcodeInput = 11419
import subprocess
import sys
# This function is used to install packages using pip
# It's equivalent to doing 'pip install ______'
def install(package):
subprocess.call([sys.executable, "-m", "pip", "install", package])
install('sodapy') # Package for NYC OpenData API
install('folium') # Package to generate map
install('Fiona')
import pandas as pd
from sodapy import Socrata # Used to access/ work with NYCOpenData API
import folium
#################################
# WORKING WITH CATCH BASIN DATA #
#################################
# Grabbing data from API
client = Socrata("data.cityofnewyork.us",
'YFHnlAd1f74IprxACGOlr46td',
username="nycopendataninjas@gmail.com",
password="DataNinjas4TheWin!")
# Limits the data to only clogged catch basin complaints in a specified zipcode^
results = client.get("fhrw-4uyv",
incident_zip = ZipcodeInput,
complaint_type="Sewer",
descriptor = "Catch Basin Clogged/Flooding (Use Comments) (SC)",
limit=10000)
# Convert to pandas DataFrame
df_threeOneOneReq = pd.DataFrame.from_records(results)
# Only gets the location of these complaints
complaintLoc = df_threeOneOneReq[['latitude','longitude']]
#################################
# WORKING WITH TREE CENSUS DATA #
#################################
# Limits the data to only trees that are ALIVE in that specified zipcode that was entered above^
results = client.get("5rq2-4hqu",
zipcode = ZipcodeInput,
status = 'Alive',
limit=10000)
# Convert to pandas DataFrame
results_df = pd.DataFrame.from_records(results)
# Only get the columns that are useful
results_df = results_df[['tree_dbh', 'health','status','latitude','longitude','spc_latin']]
# Replaces words with numbers so that it is easier to create a 'grade' for each tree
results_df = results_df.replace(['Poor','Fair','Good'],[0,50,100])
# 'tree_dbh' was an object, this converts it to an int so that it can be added to 'health' and 'status'
results_df['tree_dbh'] = pd.to_numeric(results_df['tree_dbh'])
# Anywhere there is an 'NaN', make it a zero
results_df = results_df.fillna(0)
# Looks through list of each species and it's type
df = pd.read_csv('Species_Types.csv')
df = df.set_index('Species')
# Decides whether each tree is deciduous, conferous, etc.
results_df['Type'] = df.loc[results_df.spc_latin,'Type'].values
# Replaces words with numbers so that it is easier to create a 'grade' for each tree
results_df = results_df.replace(['deciduous','coniferous','evergreen','both'],[1,0,0,0])
# Generates a final grade that will be the value of the weight on the heat map for each tree
results_df['Final Grade'] = ((results_df.tree_dbh + results_df.health)/100)*results_df.Type
# Removes all the trees that dont lose leaves
results_df = results_df[results_df.Type != 0]
results_df = results_df.fillna(0)
# Only gets the location of these trees
treesLoc = results_df[['latitude', 'longitude']].copy()
treesLoc.dropna(subset=['latitude','longitude'], inplace=True)
treesList = [treesLoc]
treesList
[ latitude longitude 0 40.69199129 -73.82114902 1 40.69161541 -73.82096547 2 40.69153616 -73.82092678 3 40.69210017 -73.82832551 4 40.69166655 -73.829862 5 40.6921299 -73.82821961 6 40.69382431 -73.82753579 7 40.69385554 -73.82742485 8 40.69394083 -73.8271218 9 40.69379328 -73.82764605 10 40.68967489 -73.82221726 11 40.69407543 -73.82728544 12 40.69412078 -73.82707632 13 40.69322963 -73.82436567 14 40.69321395 -73.82441918 15 40.69190202 -73.82110543 16 40.69409821 -73.82718036 17 40.6932463 -73.8243088 18 40.69318198 -73.82452821 19 40.69319875 -73.824471 20 40.69316679 -73.82458003 21 40.6935223 -73.82331912 22 40.69313473 -73.8246894 23 40.69388705 -73.8273129 24 40.69404925 -73.82740613 25 40.69427445 -73.82240225 26 40.69031163 -73.83471829 27 40.69315239 -73.83071821 28 40.69282391 -73.83188216 29 40.69289219 -73.83164428 ... ... ... 2595 40.68934814 -73.83143042 2596 40.69026481 -73.8318954 2597 40.68919706 -73.83135379 2598 40.68756899 -73.83061058 2599 40.6891561 -73.83133301 2600 40.68718106 -73.83041891 2601 40.68810577 -73.83087582 2602 40.68737631 -73.83051538 2603 40.68723758 -73.83044683 2604 40.68676744 -73.83021454 2605 40.69054903 -73.83203958 2606 40.69017519 -73.83184994 2607 40.68877714 -73.83114079 2608 40.69083581 -73.83218505 2609 40.68661329 -73.83013838 2610 40.69067705 -73.83210452 2611 40.69091518 -73.83222531 2612 40.68958883 -73.83155251 2613 40.6890716 -73.83129015 2614 40.69073338 -73.83213309 2615 40.69092456 -73.83208086 2616 40.68829705 -73.83155471 2617 40.68838596 -73.83124422 2618 40.68834731 -73.83137922 2619 40.68933935 -73.8312878 2620 40.6906412 -73.83208633 2621 40.6895702 -73.8314033 2622 40.68843287 -73.83158551 2623 40.68854021 -73.83120708 2624 40.69067062 -73.83195382 [2456 rows x 2 columns]]
df_threeOneOneReq_LOC = df_threeOneOneReq[['latitude', 'longitude']].copy()
df_threeOneOneReq_LOC.dropna(subset=['latitude','longitude'], inplace=True)
####################################
# GETTING COMPLAINT COUNTS #
# WITHIN A 100 METER RADIUS #
# OF EACH TREE #
####################################
import numpy as np
from pysal.cg.kdtree import KDTree
from pysal.cg import RADIUS_EARTH_MILES
complaints_xys = df_threeOneOneReq_LOC[['latitude', 'longitude']].astype(np.float).values
complaints_tree = KDTree(complaints_xys, distance_metric='Arc', radius=RADIUS_EARTH_MILES)
--------------------------------------------------------------------------- ModuleNotFoundError Traceback (most recent call last) <ipython-input-9-f947cb74f055> in <module> 6 7 import numpy as np ----> 8 from pysal.cg.kdtree import KDTree 9 from pysal.cg import RADIUS_EARTH_MILES 10 ModuleNotFoundError: No module named 'pysal.cg'
complaints_count = len(complaints_xys)
complaints_count
618
xy = 40.682460735128025,-73.8300148272251
distances, indices = complaints_tree.query(xy, k=complaints_count, distance_upper_bound=0.5)
indices
indices[~np.isnan(indices)]
len(indices[~np.isnan(indices)])
314
# Setting radius equal to ~ 100 meters
radius_in_miles = 0.0497097
# Function that can find the number of complaints within 100 meters from each tree
def get_complaint_count(r):
xy = r['latitude'], r['longitude']
distances, indices = complaints_tree.query(xy, k=complaints_count, distance_upper_bound=radius_in_miles)
indices = indices[~np.isnan(indices)]
return len(indices)
# Applying functtion to each tree
treesLoc = treesLoc.apply(pd.to_numeric)
treesLoc['# of Complaints within 0.5 miles'] = treesLoc.apply(get_complaint_count,axis=1)
# Adding that column to the results_df
results_df['complaints'] = treesLoc['# of Complaints within 0.5 miles']
# This is what the final dataframe will look like
#results_df
# Used to print table in final tool result
# We most likely will not need it
# because we are using a map
from os.path import join
target_path = join(target_folder, 'results.csv')
results_df.to_csv(target_path, index=False)
print('result_table_path = %s' % target_path)
result_table_path = /tmp/results.csv
#################################
# Generating a Heatmap #
#################################
from folium import plugins
from folium.plugins import HeatMap
# Centers the map at the first coordinate in that zipcode
starting_Lat = results_df.iloc[0]['latitude']
starting_Long = results_df.iloc[0]['longitude']
# Coverts the starting points from string to float
starting_Lat = pd.to_numeric(starting_Lat, downcast='float')
starting_Long = pd.to_numeric(starting_Long, downcast='float')
# Creates the map centered at that point^, b/w, zoomed in
map_hooray = folium.Map(location=[starting_Lat, starting_Long],
tiles = "Stamen Toner",
zoom_start = 14.5)
# Ensure you're handing it floats
results_df['Latitude'] = results_df['latitude'].astype(float)
results_df['Longitude'] = results_df['longitude'].astype(float)
results_df['Final_Grade'] = results_df['Final Grade'].astype(float)
results_df = results_df.fillna(0)
# This is what we will be putting onto the map: Latitude, longitude, and a "weight"
heat_data = [[row['Latitude'],row['Longitude'],row['Final Grade']] for index, row in results_df.iterrows()]
# Plot it on the map
HeatMap(heat_data,
min_opacity = 0.01,
max_val = 1.5,
blur = 20,
).add_to(map_hooray)
# Allows the map to go fullscreen
folium.plugins.Fullscreen(position='topright',
title='Full Screen',
title_cancel='Exit Full Screen',
force_separate_button=True
).add_to(map_hooray)
# Display the map
map_hooray
#################################
# Training a Model #
#################################
x = results_df[[
'tree_dbh',
'health',
'Type'
]]
y = results_df['complaints']
from sklearn.model_selection import cross_val_score
from sklearn.linear_model import LinearRegression
model1 = LinearRegression()
model1.fit(x,y)
LinearRegression(copy_X=True, fit_intercept=True, n_jobs=None, normalize=False)
cross_val_score(model1, x,y,cv=3,scoring = 'neg_mean_absolute_error')
array([-6.66012407, -6.79546739, -5.40887688])
q = [19,50,1]
model1.predict([q])
array([11.25671526])
from sklearn.linear_model import BayesianRidge
model2 = BayesianRidge()
model2.fit(x,y)
BayesianRidge(alpha_1=1e-06, alpha_2=1e-06, compute_score=False, copy_X=True, fit_intercept=True, lambda_1=1e-06, lambda_2=1e-06, n_iter=300, normalize=False, tol=0.001, verbose=False)
cross_val_score(model2, x,y,cv=3,scoring = 'neg_mean_absolute_error').mean()
-6.285259013190195
model2.predict([q])
array([11.17912212])
import os
import webbrowser
map_hooray.save('map.html')
'''
import os
import subprocess
outdir = "Screenshots"
map_hooray.save("map.html")
url = "file://map.html".format(os.getcwd())
outfn = os.path.join(outdir,"outfig.png")
subprocess.check_call(["cutycapt","--url={}".format(url), "--out={}".format(outfn)])
'''
# WIP
# Code to save map as a pgn to be accessible on CrossCompute
'\nimport os\nimport subprocess\noutdir = "Screenshots"\nmap_hooray.save("map.html")\nurl = "file://map.html".format(os.getcwd())\noutfn = os.path.join(outdir,"outfig.png")\nsubprocess.check_call(["cutycapt","--url={}".format(url), "--out={}".format(outfn)])\n'
%matplotlib inline
import numpy as np
import numpy.random
import matplotlib.pyplot as plt
treesLoc
latitude | longitude | # of Complaints within 0.5 miles | |
---|---|---|---|
0 | 40.691991 | -73.821149 | 10 |
1 | 40.691615 | -73.820965 | 7 |
2 | 40.691536 | -73.820927 | 7 |
3 | 40.692100 | -73.828326 | 8 |
4 | 40.691667 | -73.829862 | 11 |
5 | 40.692130 | -73.828220 | 8 |
6 | 40.693824 | -73.827536 | 4 |
7 | 40.693856 | -73.827425 | 2 |
8 | 40.693941 | -73.827122 | 2 |
9 | 40.693793 | -73.827646 | 4 |
10 | 40.689675 | -73.822217 | 13 |
11 | 40.694075 | -73.827285 | 2 |
12 | 40.694121 | -73.827076 | 1 |
13 | 40.693230 | -73.824366 | 4 |
14 | 40.693214 | -73.824419 | 3 |
15 | 40.691902 | -73.821105 | 10 |
16 | 40.694098 | -73.827180 | 2 |
17 | 40.693246 | -73.824309 | 4 |
18 | 40.693182 | -73.824528 | 3 |
19 | 40.693199 | -73.824471 | 3 |
20 | 40.693167 | -73.824580 | 3 |
21 | 40.693522 | -73.823319 | 5 |
22 | 40.693135 | -73.824689 | 2 |
23 | 40.693887 | -73.827313 | 2 |
24 | 40.694049 | -73.827406 | 2 |
25 | 40.694274 | -73.822402 | 4 |
26 | 40.690312 | -73.834718 | 7 |
27 | 40.693152 | -73.830718 | 9 |
28 | 40.692824 | -73.831882 | 19 |
29 | 40.692892 | -73.831644 | 6 |
... | ... | ... | ... |
2595 | 40.689348 | -73.831430 | 25 |
2596 | 40.690265 | -73.831895 | 17 |
2597 | 40.689197 | -73.831354 | 11 |
2598 | 40.687569 | -73.830611 | 14 |
2599 | 40.689156 | -73.831333 | 11 |
2600 | 40.687181 | -73.830419 | 15 |
2601 | 40.688106 | -73.830876 | 10 |
2602 | 40.687376 | -73.830515 | 14 |
2603 | 40.687238 | -73.830447 | 15 |
2604 | 40.686767 | -73.830215 | 24 |
2605 | 40.690549 | -73.832040 | 19 |
2606 | 40.690175 | -73.831850 | 19 |
2607 | 40.688777 | -73.831141 | 9 |
2608 | 40.690836 | -73.832185 | 18 |
2609 | 40.686613 | -73.830138 | 24 |
2610 | 40.690677 | -73.832105 | 19 |
2611 | 40.690915 | -73.832225 | 18 |
2612 | 40.689589 | -73.831553 | 25 |
2613 | 40.689072 | -73.831290 | 11 |
2614 | 40.690733 | -73.832133 | 17 |
2615 | 40.690925 | -73.832081 | 18 |
2616 | 40.688297 | -73.831555 | 9 |
2617 | 40.688386 | -73.831244 | 9 |
2618 | 40.688347 | -73.831379 | 9 |
2619 | 40.689339 | -73.831288 | 11 |
2620 | 40.690641 | -73.832086 | 19 |
2621 | 40.689570 | -73.831403 | 25 |
2622 | 40.688433 | -73.831586 | 9 |
2623 | 40.688540 | -73.831207 | 8 |
2624 | 40.690671 | -73.831954 | 19 |
from shapely.geometry import Point
lls = treesLoc[['longitude', 'latitude']].values
ll_points = [Point(_) for _ in lls]
target_proj4 = (
'+proj=lcc +lat_1=41.03333333333333 +lat_2=40.66666666666666 '
'+lat_0=40.16666666666666 +lon_0=-74 +x_0=300000.0000000001 +y_0=0 +ellps=GRS80 '
'+datum=NAD83 +to_meter=0.3048006096012192 +no_defs ')
from geotable.projections import get_transform_shapely_geometry, LONGITUDE_LATITUDE_PROJ4
transform_shapely_geometry = get_transform_shapely_geometry(LONGITUDE_LATITUDE_PROJ4, target_proj4)
xy_points = [transform_shapely_geometry(g) for g in ll_points]
xys = [[_.x, _.y] for _ in xy_points]
xys
[[1033847.8707557486, 191438.16226065008], [1033899.0515508064, 191301.32240691432], [1033909.8398974979, 191272.4712977005], [1031857.6548645254, 191473.84853362272], [1031431.8728140886, 191315.03701283535], [1031887.001086411, 191484.73759774523], [1032075.417874307, 192102.43241733414], [1032106.1597834653, 192113.87099342345], [1032190.1359940091, 192145.1103000095], [1032044.8643610342, 192091.06711697386], [1033553.3461153246, 190593.62853743866], [1032144.6610346106, 192194.0594357817], [1032202.6184250781, 192210.69615250683], [1032954.9454699566, 191887.52011803782], [1032940.1181464486, 191881.777696558], [1033860.0252749054, 191405.66332976424], [1032173.783862781, 192202.41631585], [1032970.7038191559, 191893.62510275698], [1032909.9065332928, 191870.06952374193], [1032925.7591169882, 191876.21110100677], [1032895.5474827107, 191864.50658935402], [1033244.9475374835, 191994.73182205242], [1032865.2416072892, 191852.7654937561], [1032137.1815413903, 192125.41217265363], [1032111.2118956717, 192184.45534352827], [1033498.6466136669, 192269.2758142716], [1030086.0822640383, 190818.82242729404], [1031193.3868353553, 191855.91116543187], [1030870.8429464652, 191735.61484307164], [1030936.7616773117, 191760.61790275908], [1033387.8555658556, 192434.79983943404], [1031165.0799509926, 191845.3929182683], [1033369.8309241201, 192427.90668913658], [1032367.626486273, 192256.89162216499], [1030066.9638009464, 190811.4232532727], [1033489.4709674016, 192293.71105754637], [1033870.9557261895, 191376.43723261394], [1033778.577535409, 191623.4284872874], [1033814.5889148266, 191527.14390136945], [1030148.3098543205, 191464.9479854939], [1030120.6454988508, 191389.77816777883], [1032930.0067801966, 192438.3738110241], [1033794.9729222504, 191579.5929285359], [1030138.5650344017, 191343.10126133822], [1031557.6323014728, 191993.121368697], [1031591.5942303599, 192005.93544493252], [1031788.3385993503, 192079.72491574887], [1031854.4160144486, 192104.87287153376], [1030489.0052128154, 191592.66149022375], [1030745.1466000318, 191688.99471173246], [1032441.7831986122, 192277.99490318767], [1030184.4733779969, 191223.5092653456], [1032656.9921161905, 191773.85832554562], [1031628.831489578, 192019.98739277144], [1033787.0568330595, 191600.76258227226], [1030915.1147369054, 191168.77680027118], [1033607.9552557922, 190448.35354214616], [1033653.5558591317, 190327.04055301854], [1032115.0826359701, 191571.08404749585], [1030969.7653264615, 191773.1378015433], [1033198.0625509603, 191977.0729437715], [1032819.2715048206, 191834.95251757518], [1033830.705586093, 191484.05831931805], [1031506.8871314911, 191343.37468621126], [1033807.9331333507, 191544.93877913593], [1030211.0298038158, 191154.3295112585], [1030262.9016745123, 191507.39062178964], [1032050.3525286487, 192055.70510127733], [1033824.5377552444, 191500.5425997625], [1032848.832032214, 191846.40788695132], [1030194.0408165172, 191198.58168392387], [1032399.5297589609, 191678.0524457012], [1033464.5844366333, 192359.9942284334], [1031405.7687619538, 191305.18949076443], [1033121.5140729863, 191948.2423882925], [1030291.2232627907, 191517.87869640914], [1032367.8786848598, 191666.1927203252], [1032327.2382419138, 191650.96340618876], [1030656.6369591039, 191359.5111778766], [1030419.7003198379, 190439.36336348858], [1030840.7477818041, 191564.2636787716], [1030387.0454121003, 190522.47784097336], [1031331.4801752643, 191277.16321755323], [1033222.0204513586, 191986.09832728503], [1030848.8727345204, 191542.74735729725], [1030822.0283654884, 191613.8495366787], [1030703.9511327232, 191238.4254475278], [1030675.5620175786, 191311.07687301518], [1030684.6608957002, 191287.79171607003], [1030267.9054775143, 191006.17310256662], [1030203.9343201573, 191172.81676430014], [1032703.1408756562, 191791.1977209629], [1030735.2526403002, 191158.32543784726], [1030710.8652107008, 191220.72858860253], [1030639.8940303833, 191402.3535559775], [1030854.1686147422, 191528.7125934485], [1030640.6125280821, 191502.41817230577], [1030660.3693718904, 191451.08901818978], [1030631.1602924807, 191424.71038603003], [1030666.8282212887, 191333.43004625343], [1030510.4680549054, 190208.35779588684], [1030255.7230321659, 190856.70552206502], [1030745.8063678655, 191131.3123496616], [1030692.6673717964, 191267.29888537078], [1030615.8721421221, 191463.8284629088], [1034221.8882163037, 191919.25439734999], [1030529.8792194608, 190154.00396086197], [1030293.2787820562, 190761.1182048619], [1030672.2251791635, 191420.29299436545], [1030737.6054996187, 191250.4398527165], [1030766.7048846273, 191174.84971772085], [1034185.0362490427, 192017.89752641792], [1029924.2326370938, 191079.45798034684], [1036043.9374247825, 192548.88481397883], [1036107.6027499402, 192572.48716474857], [1034188.4775142025, 192692.38920007242], [1034079.9077580938, 191307.29247534403], [1033961.4247484368, 191262.40470980448], [1034816.5993471581, 191400.06493994378], [1034000.9837932186, 191277.39044070337], [1035528.677902647, 191798.2804523274], [1034110.3386413925, 192279.56271727968], [1034157.6410523305, 192297.25336477635], [1030659.0829725582, 189141.28241423718], [1033960.8687187232, 191723.83133526213], [1030508.9320704982, 189083.74162720155], [1029940.1011538886, 191037.99063833116], [1034169.6023536338, 192059.20635357936], [1030528.943081865, 190326.59252832286], [1030337.2204951018, 189021.4937959127], [1035419.048706181, 190971.48613357247], [1033825.3088807733, 191395.8174780758], [1034675.9992657538, 191251.05675137538], [1030546.2848750656, 189098.0544292073], [1033833.5512467539, 191214.84603152168], [1035508.5227192704, 191790.5104696781], [1035556.6690257146, 191809.07636862018], [1034153.1663568546, 191837.81648195273], [1029868.1191700783, 191226.09008188214], [1034218.6150892734, 192320.0582747286], [1034478.7208881185, 191240.66174936478], [1030486.8471902489, 190436.07730061698], [1035026.7306309706, 191562.65569095404], [1030352.2315168029, 190786.19025761492], [1034238.9397428643, 192327.65994542677], [1030423.1466552162, 190601.7553988211], [1034117.1048872682, 191824.33507512067], [1032571.7134545431, 191741.81329319856], [1034107.3267029179, 191485.30943044228], [1034034.4881084865, 191793.4525806428], [1034678.3420267119, 191479.76257598138], [1030430.9698239922, 190581.40787026042], [1036362.8446736922, 191525.7477980227], [1034958.181000681, 190925.2335095537], [1033735.7387282827, 191178.064194956], [1033708.1279383026, 191167.6792064399], [1035037.2117962007, 191666.72665983738], [1034556.704364484, 191433.89623351887], [1034154.7289717935, 192099.01894534816], [1034064.5301201539, 192243.29074026467], [1029852.1812202167, 191267.74315110996], [1034516.2724383528, 191136.1001708018], [1035072.2432810117, 190846.87858354498], [1034012.1013275592, 191785.0817656615], [1034896.4435837761, 190780.38916318116], [1035097.9142925526, 190856.45953527745], [1035151.7806628251, 190876.5704245973], [1035043.7442662771, 191517.34308308543], [1034918.0549309789, 190788.54786015805], [1036379.1914157965, 192017.2206577669], [1036302.6913099686, 191685.49785919295], [1034156.0562984459, 191999.61053001054], [1036390.7999801075, 191989.88436862172], [1034863.2711725278, 191601.1958805749], [1034840.3359367864, 191592.5754153939], [1034176.0988886646, 191946.2518371772], [1034905.1917391629, 192120.22428702848], [1034112.7731743632, 192114.85037352156], [1034514.5964610585, 191418.01899916746], [1034184.960260352, 191922.66145457083], [1035424.3384308881, 192530.7759512316], [1035432.1743864948, 192510.0074164056], [1034525.4431222274, 191112.09157814426], [1033714.8797328796, 191631.15729810955], [1036504.5036410219, 191724.8634753668], [1035441.424174997, 192485.49290487522], [1036601.3405888145, 191498.5095772588], [1034841.3439204476, 192055.29873727704], [1034895.1464598888, 192075.5874598057], [1034863.0111479042, 192103.9783169043], [1034123.2851193366, 192086.85860313903], [1034816.6413311799, 192045.98238399907], [1035694.3117542863, 192418.12328198284], [1034851.212548966, 191544.45912358555], [1036099.1813735449, 192528.1848350509], [1035574.119630784, 192372.38603659457], [1036468.2794321604, 191809.53972554597], [1035888.4768142191, 192491.2483139425], [1035912.4349955021, 192457.7152878882], [1035637.3938667732, 192396.4635979472], [1035784.9634566018, 192452.87216731158], [1034875.4952589261, 192068.17609598683], [1034842.6502610084, 191332.1934690072], [1035922.1397810947, 192503.72899028077], [1035090.520249355, 190428.76063821328], [1036119.2031104708, 192535.7400716077], [1035860.195006816, 191975.55883414013], [1035350.8010433553, 192725.66537788737], [1036589.5424564449, 191526.0894549524], [1035058.717581472, 190412.31746680898], [1031201.224161371, 191228.63009695747], [1036456.2837167338, 191837.58194497888], [1035591.9854254298, 192896.28709074424], [1036535.2624950857, 191652.96715159668], [1036573.1399555017, 191564.42902212194], [1035027.0949341293, 190395.96943931218], [1036477.1285186149, 191788.85386118013], [1035789.5909831969, 192411.36290287715], [1036562.7940094267, 191588.6091969072], [1035631.4308795978, 191980.017833359], [1035578.0052738211, 192933.76535674234], [1036117.5489514339, 192072.77837417324], [1034899.7091130237, 190330.1168203836], [1036525.0364635966, 191676.87071015418], [1035386.3353556256, 192730.42180319328], [1036581.7941121343, 191544.20183348586], [1035684.9082180037, 191936.25835952803], [1035668.889629235, 192408.44749184942], [1036170.7762703585, 192503.0823822792], [1035783.5901393929, 191573.4780178282], [1034445.550740443, 192102.3688534031], [1035937.7877891192, 191075.43109118365], [1035141.1106077012, 192167.89816948082], [1035622.0242614837, 192103.42209994321], [1035598.9438942038, 192066.73260506312], [1035522.7307719778, 192369.21713748662], [1035397.5704159389, 192700.67238257735], [1035669.949365669, 191264.56574135405], [1035466.5987794516, 192517.87300039295], [1035524.5238198088, 191551.27401808184], [1035636.2109483186, 191891.22244727123], [1034769.5850555062, 190732.4924994656], [1035582.9835318186, 192109.34372927452], [1035118.1564877171, 192159.32840565068], [1030497.6135989398, 190408.07718202058], [1034951.0943806238, 190753.0144592722], [1035606.9784599257, 192045.29053821578], [1036290.8185759922, 191717.03434937415], [1034890.4433536399, 191205.59724841363], [1035819.8095178063, 192422.76499756775], [1036002.6662767368, 192029.68081777872], [1035616.3461012018, 192020.28814312868], [1034885.0991891158, 191120.5733169455], [1033737.9801288737, 191625.58273392895], [1034813.4200403929, 190701.20395082445], [1034672.0310475363, 190723.21800069904], [1034976.7376623453, 190762.66444717505], [1036021.058800393, 192498.70418815574], [1036077.4777584699, 192519.9920917001], [1034283.1860765374, 192383.0454442102], [1035318.8438249811, 192276.44083671624], [1035831.8390763686, 192256.85630283065], [1034973.7195327699, 190809.5619995898], [1035342.5238218864, 190900.8417600975], [1035557.5282492057, 192888.46133391545], [1035538.5942771309, 192938.38925779035], [1035146.9861350083, 191945.8366216306], [1035887.6835590369, 191296.3855011821], [1034082.071410492, 191811.23837748793], [1034298.3249641991, 191892.71000157605], [1035599.2862209474, 192340.3162214828], [1035378.4535122195, 191741.45982454566], [1035556.7388676074, 191861.3506176345], [1035547.3529689447, 192915.29463454863], [1035139.9525951688, 191652.4449814184], [1035552.3890471292, 192322.9806635929], [1035354.8900172425, 192289.96043333248], [1034321.2483917604, 191901.6323258285], [1034802.6670227037, 190492.55161089374], [1035627.801329542, 192350.85829960636], [1035572.3671158146, 192330.36412069792], [1035164.1704425935, 191661.62948676627], [1034442.0249056496, 191948.63971810514], [1034514.1970265649, 191824.1479444442], [1036130.2966755118, 191785.87730010034], [1034486.6322300222, 191897.96980087936], [1034683.3061844523, 192036.63336641487], [1034502.1978852468, 191856.28254531362], [1035331.154279834, 191723.47898939747], [1035050.2854387284, 191618.44017018063], [1032820.6072333032, 191667.58921024462], [1035550.4271718718, 192196.24423087641], [1034073.9879812585, 192218.1057720141], [1034534.4381487564, 191088.54896803803], [1034262.8408268752, 191718.7676235066], [1035379.7031048858, 192299.2629950766], [1035283.9873671175, 193107.5726565854], [1035341.6932297971, 193129.68859110202], [1034801.4427887977, 191525.94589782704], [1035312.8389289235, 193118.62878212694], [1034905.4291766157, 190531.51945992486], [1035312.5585321613, 190889.3315028693], [1034398.2335946411, 192230.08545663836], [1034441.6225359143, 192403.73471830777], [1035200.0880189653, 190983.300186578], [1034773.343436073, 192528.16354656877], [1035358.0623960465, 191994.7211490268], [1035333.5504465839, 192059.6478888977], [1035512.5751720795, 192297.2878336583], [1035558.425410325, 192174.89315303098], [1036020.634561891, 191753.13050815967], [1034691.4527595561, 192536.43124675035], [1035816.7547566511, 192961.70875204948], [1036317.3999795198, 191307.68980540757], [1034896.076847196, 190527.97324537364], [1034756.0609587581, 192560.65137173134], [1034749.3075499133, 192154.35078515473], [1036226.4853693775, 192060.3288861556], [1034666.6537315847, 192488.2808778832], [1036026.6227552684, 191985.52403427736], [1036297.452355148, 192086.96400752602], [1032869.3736715796, 191539.56279347543], [1035990.845183407, 191972.13881682002], [1034777.3879174277, 190687.64148028207], [1035349.3395753576, 192017.83048210636], [1033715.3979220522, 191037.56987705285], [1033816.1602313769, 190769.26765345593], [1034687.7190926383, 191535.34239373737], [1034379.2656068676, 192281.28206790145], [1034320.2705007927, 190178.96104811793], [1033736.8094078102, 190980.55939676502], [1033782.37364505, 190859.23198067342], [1033798.3704463348, 190816.63798746443], [1034953.2021166554, 192461.54889569353], [1034539.554680803, 190236.54458766876], [1034879.6624551214, 192656.58546391636], [1034888.5155754803, 191558.33404028023], [1035023.1477668205, 192123.85517862777], [1032859.7279497633, 191564.8862923615], [1034725.2797706623, 191549.38882964727], [1034113.6438010621, 190631.51847832027], [1034534.1151053776, 190350.9912421689], [1032921.7368984635, 191402.09660618604], [1035416.1120956123, 192552.57472120534], [1036487.0395135682, 191765.68555137314], [1034546.9191970819, 190217.09368243418], [1035258.4501240705, 190515.70298748702], [1034499.4334881812, 190342.50345610164], [1034493.5218497268, 190358.1209862327], [1034526.5685700999, 191885.42838361074], [1034348.8073716257, 190574.4636745774], [1034327.8328942964, 190566.594618982], [1034365.8468730899, 190580.85638012318], [1036005.1742103195, 191694.67721121767], [1029906.0761567589, 191126.90333115746], [1034247.5850635436, 190370.42706305042], [1034107.6479899761, 190435.6204922313], [1034558.0371081972, 190187.72620304432], [1035686.0478911748, 192372.3896150981], [1035814.4020546707, 191125.54115693687], [1034432.3676087267, 190519.63323881725], [1034312.2844479497, 190199.99557605325], [1033982.0065524209, 190325.3134368158], [1034648.1695727146, 191985.32468213333], [1034834.8012436103, 191352.63790422867], [1032706.8623680769, 190220.21765824853], [1033981.2266329547, 191082.87786491416], [1032993.0379852009, 191401.79508818022], [1032662.6926035867, 190338.32551546677], [1033054.3816709131, 191424.47028818645], [1034134.7864942566, 192288.70659463567], [1034189.2045819979, 192309.06059863904], [1029840.278661665, 191298.84552117204], [1032803.4486434571, 191712.63347488304], [1033023.9911110728, 191413.2352459612], [1030331.6302441426, 190839.7659642899], [1032785.3283603966, 191760.19699524876], [1032796.3287615902, 191731.32031057283], [1032609.2388962021, 190481.25863442992], [1034270.480109729, 190007.28456315337], [1034715.6832676011, 192007.93673738974], [1033084.7722100217, 191435.70172518663], [1035521.1688060225, 191847.98110494314], [1034666.7557344912, 191991.5495778245], [1034895.9382106052, 191091.95956510425], [1033391.9478091977, 192008.87330924347], [1034009.6567600705, 191007.3521647694], [1034120.7690683447, 190712.1739158422], [1035110.1230840049, 192197.6573441028], [1036320.239686854, 191638.89026886006], [1034470.199697476, 191263.09779711987], [1034575.7971293012, 190980.28284391903], [1034491.8233614648, 191206.16492264593], [1035339.8543166397, 191431.71252200127], [1034484.7511923574, 192420.01470924128], [1034048.7247822242, 190903.5617180272], [1034738.5745227457, 192057.56236289762], [1033420.5439562314, 192019.76999985645], [1034267.2097743142, 190318.728957001], [1032866.7049997934, 190669.81781179755], [1035069.1491395817, 192639.98150207943], [1034008.7711804342, 192490.21422692382], [1034127.19705795, 191787.45643414333], [1036132.0605746136, 191455.98733814218], [1033296.5547438985, 190177.48837015996], [1034180.731502611, 191807.8851083121], [1033654.1972958549, 191608.42712157438], [1035904.0928909952, 191159.2027180301], [1033949.8616787943, 190283.2185444659], [1033075.8827131072, 191730.35041600149], [1034284.1366279541, 191847.50747215355], [1033981.1959852477, 190199.70172873454], [1032943.4933256401, 190464.93397647596], [1033083.7917298268, 191709.61042624208], [1029832.8796428151, 191318.1775588481], [1034181.7163533779, 190550.2633282716], [1033975.8419307166, 192578.0451160627], [1033750.274249563, 190944.70396209048], [1033528.7518731523, 192061.00556884301], [1034306.985560476, 190114.78244749343], [1033942.171034968, 190303.72187668222], [1034739.7505424097, 190447.00702641325], [1033990.8178276769, 191221.63804589157], [1033109.9265236927, 191903.53398322535], [1034317.7998427452, 190085.94615581213], [1033359.5099533648, 191984.73641310586], [1032697.1763529525, 190735.5904490967], [1035125.0109043091, 192615.07987313945], [1034386.9004731816, 191887.30383230376], [1032727.4759234902, 190747.06171077755], [1034443.689637032, 191909.2954954457], [1034184.9593392973, 190541.6535890482], [1034030.4413220144, 190952.13316222402], [1034468.274811202, 190424.80311153835], [1036231.4754311246, 192361.65893820205], [1033602.6769482923, 190462.39502631777], [1033990.6317612462, 191057.88950387132], [1035845.1079952713, 192221.6756035485], [1033585.9764222001, 191624.39914955845], [1030399.8455076086, 189093.8847670203], [1034089.3806433397, 190428.79918326729], [1030284.0570174875, 189050.64139117824], [1032914.1452608156, 189669.60487136876], [1032896.8616736368, 189715.3483051998], [1033557.9438470113, 189711.1141257019], [1035834.8035131551, 191913.40116487915], [1034048.1599269328, 190413.40185957318], [1032927.22162239, 189634.99058428683], [1033394.355232791, 190147.13695418125], [1030372.3056289393, 189083.5984451257], [1033036.3015540928, 191834.16327517564], [1036057.4343545337, 192773.51597131792], [1033933.844650241, 190325.9107590813], [1036123.1947089514, 192619.57372057377], [1033447.6017302679, 191619.5461642517], [1033439.6893792466, 191640.39532788334], [1033369.6412064057, 191958.09885812775], [1033925.3420832767, 191970.76359211814], [1033547.4679218306, 190226.84196409283], [1033028.3926107617, 191854.9069245836], [1034590.3842119011, 190200.03834245194], [1030259.7014527138, 189041.54165957967], [1035662.0164513513, 190814.59030560625], [1033919.0937348271, 191987.32419590012], [1034258.1442681093, 191085.10405239218], [1032981.8276419449, 189490.4647456482], [1034314.2794367849, 190935.5929534134], [1034427.7425740785, 190633.39302595213], [1032972.3534572488, 189515.53349703323], [1036500.3098571391, 191369.41388755856], [1033069.0776710053, 191748.19984576767], [1032844.7659370494, 189853.23398778596], [1033998.9104027569, 191035.8972762175], [1033245.8035582126, 189525.67625795986], [1033232.4536030043, 189560.93104223293], [1034519.6041847235, 192466.1964515094], [1034523.8106693176, 190378.62984981868], [1033967.6613337056, 191118.90784666518], [1034035.3931479361, 191675.243868266], [1033432.0251762859, 191660.58920237445], [1034134.3320537619, 190676.14037566012], [1033953.3933971515, 191156.81269870463], [1034567.438082787, 190261.59900690924], [1030311.6059462198, 190891.84903045444], [1030141.8496872047, 190840.40860891587], [1034391.286750628, 192384.74023889608], [1033759.3674701374, 191569.30816058922], [1035370.425234364, 191251.30589082697], [1034579.7672906423, 190228.5215232684], [1034105.8676823762, 190751.76057839522], [1033741.1893428541, 190300.78314357015], [1033696.1245376413, 190283.96863066815], [1033570.2380542381, 189678.34210424812], [1032937.3011409476, 191838.65721989665], [1033524.7968535329, 190218.37265996926], [1033168.6431137879, 189729.45441389832], [1036278.7864962517, 191649.4872532634], [1032938.0368194125, 189606.36864246085], [1034112.1388602393, 190735.10170657068], [1034226.0057959924, 190427.26914773296], [1034275.8343010163, 190296.00888043948], [1033242.654290176, 191953.4376577675], [1032859.2300526057, 190689.76085095975], [1034483.0398841086, 190385.80296357203], [1033116.0691626257, 191624.9540059416], [1034299.967996917, 190232.4356432079], [1032894.1848175069, 190596.49676085732], [1033239.429699406, 189542.51001722954], [1033879.7719685478, 192091.55520647843], [1034198.7771350606, 190403.36410502606], [1033107.9914847065, 190026.63649543741], [1033853.4244590277, 192067.3790866868], [1033729.6713103827, 190999.5628860962], [1034440.440226881, 190498.31110618787], [1033720.9542497619, 190293.2330869837], [1034235.447232235, 190402.4011896713], [1034025.7933609643, 191700.5888616145], [1034457.7204143556, 190452.6707589017], [1034414.0701763221, 190669.8123666422], [1034508.2172797493, 190319.31016186147], [1034524.1871140993, 190277.1319316075], [1035547.216552801, 191023.26907873238], [1033164.6976191333, 191497.4088188408], [1033199.5044544801, 191937.21448499843], [1033261.1526987691, 190164.23182023884], [1034420.2914879876, 190653.24091059904], [1033436.0004565506, 191568.137548919], [1034639.3692900497, 190635.67093961345], [1034533.9488455151, 190596.10849737626], [1034489.0072549226, 190579.24540182945], [1035221.6755830022, 193065.60211820022], [1035245.4237585807, 193003.2713174775], [1031678.5782516139, 189433.13763008165], [1034516.9093987513, 190589.7156738812], [1035185.0324938176, 193071.44926442162], [1031692.7690197804, 189395.09651670777], [1035137.9737287074, 193053.68789450458], [1035156.6847467261, 193060.75139074575], [1035276.5054143494, 192921.69379913525], [1035265.0062614904, 192951.87627599866], [1033700.9895059253, 191828.5048818438], [1032124.6030256792, 188935.18670931546], [1033154.7688067427, 191656.29869830108], [1035753.4489354993, 192900.99358587453], [1035255.4645490346, 192976.92216730193], [1032131.2744901726, 188917.61001607878], [1034315.983451362, 190513.80427693189], [1033161.5916396951, 191637.92105006368], [1034154.0631211854, 190623.7319486024], [1035079.7874238151, 192186.27774916895], [1033652.5747519046, 191957.6269986388], [1032950.653206819, 189572.97030851102], [1033767.0926694509, 189750.6503442366], [1034178.2646326249, 189958.76649596088], [1034243.5058073701, 190284.07245771718], [1033631.1132861155, 189680.95049745418], [1033429.9691712658, 189577.59012955832], [1033582.2893941323, 192042.99973988518], [1033839.6802164665, 190706.63995792216], [1033882.6076389502, 190592.33528283305], [1033084.7091903917, 191845.0119266817], [1030337.0909254778, 190649.617955764], [1033592.4494419683, 192015.9469989117], [1033089.2939447697, 189403.0446500092], [1034186.3820285277, 190436.4161442059], [1035317.4538209062, 192915.17818721148], [1035308.5132288598, 192939.16511991975], [1035290.2500279576, 192988.1728912469], [1035298.1420397001, 192966.99637820869], [1035271.6745541894, 193038.0252675269], [1035342.5244266964, 192847.8953713454], [1033046.536633034, 189381.01514377078], [1032833.1560112924, 191799.10833662155], [1033869.2368693516, 191730.5334741673], [1034087.8648741451, 190699.91954856896], [1033793.184003856, 191702.088006868], [1035046.733870894, 192926.89211851874], [1033831.7729713195, 191716.52134870115], [1033734.8333083801, 191738.2381371763], [1033429.4464972676, 190053.60067463713], [1035025.3037008522, 192663.1887353586], [1034971.8485198555, 192412.1518472926], [1033670.7142194543, 189701.25133522865], [1033300.4716932714, 191517.4475055868], [1032119.1387283233, 188949.58518416164], [1034415.6123038845, 192393.92058023607], [1033239.9658679864, 191494.81709182347], [1034504.4958152632, 190430.44862056797], [1034256.3517549409, 190347.33565523653], [1035511.0774157394, 193010.94950226258], [1033231.3491853955, 190108.68790285636], [1033927.6826751889, 191752.39615322658], [1034039.2188109307, 192252.20501384596], [1034011.6219786587, 190902.23239135832], [1033268.8124909793, 191505.60480663166], [1033970.4524642184, 192226.53554201007], [1034038.1784362694, 190831.7670784434], [1033108.9146520698, 190062.65965235842], [1034018.7127851223, 190883.421983064], [1034002.7354709134, 190925.81184791372], [1033116.7986811758, 191758.57719479266], [1034947.3885878705, 192981.643802073], [1034837.7756364401, 192940.44632379047], [1033285.5454637089, 190129.0612684028], [1033792.433748713, 191146.69434846687], [1033768.0236265959, 191137.45981625142], [1035119.5679690065, 190815.20441027667], [1033829.6587706661, 190733.321251153], [1035263.6096783769, 193059.67141274732], [1033766.1649855536, 190902.3902646724], [1033796.1019848826, 189765.51950169454], [1034192.7783357975, 189966.40353858616], [1032852.414460186, 191806.42253418898], [1033986.7609853727, 190968.20172956956], [1033867.6294945985, 192123.74083517923], [1033887.4062832332, 191737.3325625964], [1034151.2012756376, 190531.86025291827], [1034137.2729838752, 190568.82207348698], [1034108.0224076216, 190484.25203080947], [1033770.2345460848, 191693.50495630474], [1032975.4410469822, 191853.1429509662], [1033587.561400043, 190241.81716711554], [1033985.5592380142, 191811.14623816777], [1035015.7139930249, 192295.95654375717], [1033213.8363271352, 189467.21337324203], [1034348.202290941, 190105.3839015976], [1034517.6977286866, 190395.03026721164], [1033913.7291089719, 191161.99614521675], [1034300.251846549, 190507.9061467738], [1034215.7836356567, 190454.19396842108], [1033898.3051870062, 189817.01488070242], [1034718.905514227, 190235.3353346615], [1030204.0172001023, 190997.06778357193], [1034080.4588611731, 190719.5708915412], [1034069.5980250459, 190748.39262533176], [1033861.3711379094, 190648.87964330512], [1034496.847159357, 190630.22410294763], [1033994.8360542255, 190946.7737959675], [1033978.6162132059, 190989.81897494616], [1033765.4354511901, 189894.27310864878], [1034228.7263223764, 190323.4953424002], [1034280.7574787999, 191329.85657760093], [1034248.1925569995, 191317.5881142305], [1034267.275748802, 190220.68424813772], [1033618.6256184282, 192048.17054041915], [1033755.9636016818, 189919.2359082849], [1033992.191068662, 190170.39567659277], [1032952.9335347259, 192447.0106748206], [1034043.2322455348, 190034.35377596988], [1034068.8757412998, 189966.00704455722], [1030114.7371631681, 191226.08082829992], [1034076.7088061565, 189945.12878665706], [1034336.6665080332, 190135.76709483503], [1030826.176047843, 189454.7800573549], [1031670.6074791881, 189454.49730035194], [1034355.9039896191, 190085.09567598], [1033595.9905501326, 190480.17896379667], [1030712.926219845, 189748.71579760508], [1032912.1342142597, 192431.63796736824], [1034589.6537234634, 190664.97294595683], [1035639.492749859, 190793.4333613227], [1033221.966927399, 189724.94578775228], [1033906.1642106394, 190529.61300373118], [1034722.6344336543, 190492.170242636], [1030091.9255770887, 191284.59288639415], [1032678.8749392157, 190295.05351198665], [1033241.8274666606, 189672.3729518132], [1035543.3645655374, 190705.4375751544], [1030728.5288504465, 189708.21759417464], [1030742.7595351517, 189783.22754565743], [1030147.0626031202, 191143.15844056662], [1030759.8791922478, 189626.84988009735], [1030808.8840249227, 189499.66513146632], [1030218.9819017907, 190958.68114564146], [1030870.6135922088, 189450.54798551847], [1033211.4358251891, 189752.82494447316], [1032845.9507817423, 191601.05128079807], [1033491.9031789534, 189887.13368731918], [1033483.75550891, 189908.8530969221], [1033823.2061608934, 191158.33553669183], [1030844.3546000529, 189518.8750239266], [1030857.9147074854, 189483.59383466645], [1035862.4026346902, 191004.3685190505], [1034061.8664932905, 190868.6530517465], [1030227.5538774539, 190936.69548178662], [1030100.6422361744, 191262.23218884488], [1030791.1600533229, 189545.6678834236], [1033590.7991463623, 191584.67874302107], [1034574.0137086179, 190659.11854726772], [1033266.9918588626, 191962.587723557], [1034288.3771194749, 190164.40957397537], [1035617.2651649535, 190772.5503118695], [1034382.9609865003, 190752.6623798796], [1034611.0076985677, 190672.97053047185], [1031481.9874726257, 187668.48442037057], [1031461.3312695947, 187723.43253774225], [1030823.9356860447, 187932.54071121232], [1030868.1594475474, 187814.23662538105], [1031623.5276870485, 187292.01407215747], [1031239.9203520205, 188435.91988166832], [1031314.6210473658, 188115.45073560197], [1031446.6219075012, 187762.55846070114], [1030754.5705666927, 188017.36950236993], [1030784.0786776341, 187938.93483233103], [1030740.3113991683, 188055.27256854947], [1034026.6457078567, 190862.3690292905], [1031407.0891668161, 187122.94123177882], [1031531.5024881769, 187536.78450408345], [1033787.8979986617, 191494.24873797363], [1031502.2952439863, 187614.47561405986], [1031489.1330924013, 187649.48395166622], [1031273.0305711264, 187478.5111338588], [1031311.6776827894, 187273.85461722233], [1031049.6493699409, 187330.80688960222], [1031242.4784908328, 187874.7515254849], [1031221.8831808334, 187867.01341401695], [1030676.0932810612, 188328.0108018761], [1031321.5739051432, 187349.75998831174], [1031331.0278268359, 187324.67964410092], [1031378.6182900456, 187198.45521848142], [1031439.2672476766, 187782.1196040792], [1031583.0226517308, 187399.75117179126], [1031229.586011184, 188463.337563769], [1031307.0380848557, 188135.57254630313], [1031341.7530581178, 187296.23536287865], [1031574.0144522433, 187423.71379545104], [1031089.4190399532, 187127.12859814105], [1031386.4859597773, 187177.58711261803], [1031358.0514511025, 187253.00646944164], [1031079.6308486984, 187153.04270466627], [1030945.9627928528, 187605.27543379457], [1031233.5098996218, 187481.2108675915], [1030682.9929663178, 188309.55611792175], [1031286.7593404261, 187891.38506507795], [1031560.0073200121, 187460.9683603718], [1031250.2157040803, 188408.59685446759], [1031400.2781172647, 187141.00240053647], [1031285.847653588, 188191.81315553377], [1031335.9510074874, 188058.83880686047], [1031169.8040702939, 187650.1986115643], [1030819.5388307081, 187844.68513047608], [1031111.8806390313, 187909.04136299875], [1031047.3036218499, 188079.2009098206], [1031075.5819228076, 188004.68440841426], [1031219.6484857799, 187517.9813518625], [1030973.1971445172, 187434.8106308543], [1031168.8053564958, 187847.07674987908], [1031192.3802130739, 187590.31364933777], [1030670.588499156, 188240.59395896172], [1030892.4462506281, 188388.4302953547], [1030953.9816445934, 188225.45998590818], [1031251.828564192, 187534.74809553547], [1030974.9417157597, 187528.5669093543], [1030945.1770887933, 187508.99255091877], [1031318.2042670863, 187256.54339077667], [1031283.1403516447, 187349.55439807335], [1031181.1980619307, 187619.97762017848], [1031001.7135953449, 187359.31811348168], [1031103.907600691, 187088.77442040437], [1031165.7156149158, 188510.6280046252], [1031369.0167068201, 188093.33935018373], [1030996.5199001002, 187373.06884667938], [1031188.5178315763, 187019.72241425308], [1031059.8515357298, 187945.08256030508], [1031297.6403861559, 187311.0946993153], [1031246.6325619929, 187446.3990555925], [1031350.8557240013, 187272.09431614267], [1031211.3839960193, 187028.23361822314], [1031069.3912814693, 187919.82375407178], [1031233.5017905951, 187036.47014945035], [1030906.2013109439, 187612.17959994433], [1030942.6637650013, 188354.91005918276], [1030934.041676188, 188377.63130390015], [1031351.3938363185, 187080.36330360046], [1030927.8051742937, 188294.78168722987], [1031185.9362750693, 187853.51110981035], [1031173.4419352688, 187742.66155567503], [1031166.0346231861, 187762.3101186306], [1031197.0279134283, 188427.5338859487], [1031319.1892800491, 188225.56000461397], [1030979.8042268195, 188157.0739606109], [1031119.8207931421, 187782.79096996857], [1031247.0968345632, 188294.65400447862], [1031239.0237711779, 187568.7116325576], [1031325.3637395947, 187237.54654668225], [1031156.5856677709, 188534.86744592103], [1031256.5113031995, 188269.66827352656], [1031152.8035422239, 187797.3986585061], [1031237.7520888936, 188319.45042268038], [1031338.7962364121, 188173.53164861785], [1031418.2571857701, 187837.99975630554], [1031294.2326757486, 187422.27419175277], [1031160.4951845743, 187777.00012135025], [1031265.3626463591, 188246.17885151063], [1030957.7327455917, 187574.12602077107], [1031153.051145224, 187057.0887777331], [1031117.0162150201, 187054.06817141178], [1030821.3031086684, 187769.29050428435], [1031332.4101288251, 187961.0422295804], [1031080.5283814778, 187812.6667365614], [1031203.2162605439, 187663.6887051249], [1030836.8719323028, 187722.584154081], [1030993.2463493624, 187480.10985541405], [1031371.2230222962, 187115.90566442424], [1031017.6603166183, 187789.50179068636], [1031038.0232348779, 187797.00246681023], [1034047.5585588267, 190806.87705914924], [1030902.3205000091, 187720.80793954153], [1030915.3253279699, 187686.3819100271], [1030938.4673975835, 187760.319696077], [1031258.778792252, 187516.31553632548], [1031301.5007876467, 187403.000659597], [1031362.1202782482, 187140.046702267], [1030802.82062319, 187989.02233810065], [1031134.4234689871, 187744.0544766997], [1031216.8983345124, 187917.62737616897], [1031268.9972024367, 187387.07482632902], [1031195.4548486585, 187684.2729013764], [1030734.9589954026, 188069.50032842415], [1031546.2134687124, 187619.49773535528], [1031199.6842583357, 188542.6890582522], [1030790.7692479107, 187921.15379028578], [1031169.7102241185, 188622.22990314494], [1030635.7288363533, 188333.2529145584], [1031328.7822573798, 188200.10830594195], [1031140.6319918422, 187727.5841878592], [1031189.704039714, 188569.1747584627], [1031308.1332704419, 187385.40910109977], [1031190.9706224253, 187907.88245669057], [1031495.4311866555, 187632.7297505793], [1031188.0475011455, 187703.9214572415], [1031461.9343886131, 187844.10696067876], [1030945.5042398905, 188247.91189985507], [1031085.3751065171, 187978.8796019952], [1030792.6505804711, 187758.5461682727], [1031559.6685970982, 187583.6411114069], [1031361.5546837789, 187919.4777111097], [1030669.1266874957, 188346.6511681675], [1030654.5579628821, 188385.61389611693], [1031288.447737055, 187437.61948175437], [1031443.3496563076, 187893.6342536983], [1030703.9680822067, 188253.4493737704], [1030766.6821467323, 188085.68991834132], [1031453.0100318975, 187867.887630366], [1031595.7461835574, 187487.48466232527], [1031475.1773890447, 187808.81094308317], [1030994.9184988056, 187833.465395999], [1031532.2648988332, 187656.6686366256], [1031090.1296849155, 186981.5111093546], [1031069.2424830296, 186973.69605922868], [1031354.8548140028, 187159.3202199585], [1031204.7277179605, 187557.5624213182], [1030811.1225973668, 187867.0534099009], [1031610.3317198645, 187327.11700072445], [1030889.5823141679, 188494.7762703432], [1031112.3250914797, 186989.81690221027], [1031574.4927175896, 187544.12929286965], [1031186.732629167, 188454.85693586577], [1031281.9574621606, 187454.8360617287], [1031116.001614681, 188642.57241916892], [1031258.961055848, 188385.3877579239], [1031266.1890342584, 187496.6633653709], [1031219.2544670316, 188490.7552558734], [1031223.6764693818, 187609.41764450513], [1031389.64728852, 187914.10004749772], [1031346.9536985209, 187180.28299673338], [1031339.6157769324, 187199.74583009782], [1031566.2010287837, 187566.224305395], [1031503.0017426163, 187734.65839007372], [1031658.667924353, 187319.8008077251], [1031230.2753809993, 187591.91708122674], [1031148.8867957469, 187705.68933981567], [1030681.8820346423, 187664.55214831335], [1030784.2395815362, 187702.8787140956], [1031496.3272270494, 187752.44655378076], [1031617.2841107438, 187430.09373023908], [1031094.812433981, 187211.25539518177], [1031652.4141854304, 187336.46761255027], [1031664.3947084117, 187304.54293157195], [1031673.4923581523, 187280.29269638786], [1030938.2477301115, 187812.56778013817], [1031581.7639953106, 187524.7501939903], [1031510.2131866488, 187593.41454850082], [1031524.1851691019, 187678.20300911163], [1030482.110987633, 188102.561688852], [1030490.7190905402, 188079.73096098754], [1030541.0272008836, 187946.2999635841], [1030515.8019982034, 188013.2011212467], [1030960.578472011, 187820.8008321976], [1031089.3410813733, 189302.43874580818], [1032829.418869375, 189761.4358801305], [1032849.8675322592, 189705.56307219906], [1030835.5695393711, 189197.29706994662], [1032881.0022465406, 189620.47784228163], [1032896.0551753987, 189579.34599119044], [1030819.5033495177, 189191.44427777498], [1030879.4473484096, 189213.28424216213], [1034554.3472983199, 190651.7547808301], [1031180.3377878038, 190032.2504181761], [1030805.378956276, 187243.00052384645], [1031706.6510542344, 187956.15968327248], [1031822.8642057986, 188092.7008984571], [1031716.1526675652, 187930.88648194037], [1031725.5148903388, 187905.98827163462], [1031854.7087138551, 188104.6076315143], [1030447.8933638581, 188193.32397308535], [1030801.0509444497, 190024.16484454897], [1031259.83939168, 189111.09053137508], [1030106.6133195341, 190602.36540218236], [1030725.9117552112, 187453.28511671597], [1030836.0956444556, 188820.24594872503], [1032126.0063890314, 189693.72778446582], [1030839.9138695628, 187151.60908547023], [1030733.866096394, 189219.0567711501], [1030128.1161565451, 189281.15293744038], [1029597.6801539024, 190462.23966168353], [1031196.6261660741, 189987.37459004534], [1032257.5101477972, 189789.14297256025], [1030835.3677886355, 189257.67341136924], [1030789.385139862, 189240.17760424287], [1031697.3871454509, 188098.3175880956], [1030553.6284242106, 188858.19009104345], [1031716.0809419808, 188052.77646465256], [1030558.6311304442, 187899.60824106066], [1030803.6906879209, 188907.1019725551], [1029888.7551121964, 190912.73949267215], [1029973.378424949, 190854.3617316207], [1031085.2144418645, 189351.26555393697], [1030814.6185143285, 189249.77868249995], [1030141.3368430509, 189245.95450765177], [1032492.3887233323, 189829.99058577017], [1032048.1446522299, 189664.1584730367], [1032740.2597862143, 190002.71375163124], [1030574.7360084376, 188802.02518607563], [1029685.9431160727, 190227.26972858646], [1029676.8740822953, 190251.21109960193], [1030582.9004262756, 187835.23011100345], [1029915.2259519409, 190922.75001925405], [1031509.4291816246, 190579.79496072038], [1032534.6441447071, 189939.73783199085], [1030917.752185554, 186945.6244854812], [1031449.9049539007, 190266.85462720602], [1029783.0865142529, 189970.85410483126], [1030068.3141316874, 190607.16422716383], [1031820.0811337152, 190346.7856456756], [1030820.9246105778, 188860.90884795782], [1032628.4384189276, 190300.0864266685], [1030756.5599656876, 187372.18207249473], [1031781.6545190387, 191245.46878499823], [1030821.7096920465, 187199.78226500913], [1031925.6214306323, 189617.23977603938], [1031420.9317169753, 190255.8320210696], [1030955.793654108, 189918.60945949546], [1031448.8992967976, 189945.14938065773], [1032199.6869998296, 189767.62075140406], [1031618.6376168738, 190188.2327586483], [1029708.5460850135, 190167.60928112257], [1030593.52439145, 188752.03855113222], [1031711.3703606857, 189941.48552528126], [1029629.9363783384, 191116.66922866338], [1032685.0360190325, 190149.57427663967], [1030037.98409777, 190686.14112981295], [1029582.668197441, 190502.53567494274], [1031223.9534801553, 189206.1403330297], [1030532.6240951706, 188914.0710347777], [1031674.5277486275, 188089.78407482087], [1032200.7516926295, 189721.38939280258], [1031232.6426743543, 189183.1278508167], [1032711.678962556, 190078.71787732668], [1031750.487793732, 187230.7813454036], [1032389.8299348246, 187557.44067944397], [1032462.8863021977, 189818.67786724024], [1030191.6889686753, 189111.8998215471], [1030572.8098589606, 189519.82762438303], [1032235.2067515053, 189780.83954990256], [1029617.408599012, 191050.5527308524], [1030880.8832953249, 187043.190356624], [1031975.7302169515, 188150.47006888586], [1030204.770458431, 189077.07642434243], [1032048.4322994681, 191007.79326958788], [1030242.406634876, 189814.91179301418], [1032490.7469581674, 189877.4522234871], [1030634.4616822508, 189355.72725220403], [1030169.5371978225, 189170.8757149437], [1031175.0481635764, 190164.8198437961], [1029573.0172341248, 190756.739786349], [1031811.4194985967, 190369.8125543554], [1030705.798452701, 187506.51162931212], [1030482.8956921428, 189957.89775099157], [1031738.2333213806, 190566.81924101184], [1031698.8097421682, 190671.4360642392], [1031712.915433642, 190634.00685601], [1029793.2900994143, 189943.92375446483], [1029720.0259773665, 190137.31123573612], [1032095.1949167358, 187651.49328738358], [1030459.8854101509, 189949.19749380613], [1032061.9719119802, 191012.98611406502], [1031632.0926129845, 190848.48315396422], [1029905.0866176722, 191033.68400581751], [1031675.6051364766, 190733.0098797031], ...]
import numpy as np
xy_array = np.array(xys)
xs = xy_array[:, 0]
ys = xy_array[:, 1]
xs
array([1033847.87075575, 1033899.05155081, 1033909.8398975 , ..., 1030956.18275112, 1031061.0567902 , 1030852.47589388])
ys
array([191438.16226065, 191301.32240691, 191272.4712977 , ..., 190135.99126526, 190175.30029261, 190951.07139433])
#Create heatmap
heatmap, xedges, yedges = np.histogram2d(xs, ys, bins=(64,64))
extent = [xedges[1], xedges[-1], yedges[1], yedges[-1]]
# Plot heatmap
plt.clf()
plt.title('Pythonspot.com heatmap example')
plt.ylabel('y')
plt.xlabel('x')
<matplotlib.text.Text at 0x7f99b67817b8>
plt.imshow(heatmap, extent=extent)
plt.imshow(heatmap)
plt.show()
xys = np.array(xys)
filtered_xys = xys[(xys[:,0] > 1) & (xys[:,1] > 1)]
xs = filtered_xys[:, 0]
ys = filtered_xys[:, 1]
xs
array([1033847.87075575, 1033899.05155081, 1033909.8398975 , ..., 1030956.18275112, 1031061.0567902 , 1030852.47589388])
# Libraries
import numpy as np
import matplotlib.pyplot as plt
from scipy.stats import kde
# Create data: 200 points
#data = np.random.multivariate_normal([0, 0], [[1, 0.5], [0.5, 3]], 200)
#x, y = data.T
x = xs
y = ys
# Create a figure with 6 plot areas
fig, axes = plt.subplots(ncols=3, nrows=1, figsize=(20, 5)) #og 21,5
# Everything sarts with a Scatterplot
axes[0].set_title('Scatterplot')
axes[0].plot(x, y, 'ko', markersize=3)
# As you can see there is a lot of overplottin here!
# Thus we can cut the plotting window in several hexbins
nbins = 70
axes[1].set_title('Hexbin')
axes[1].hexbin(x, y, gridsize=60,bins='log', cmap='inferno')
# 2D Histogram
axes[2].set_title('2D Histogram')
axes[2].hist2d(x, y, bins=nbins, cmap='jet')
plt.show()
#save by doing targetpath
# Save file to target folder to include it in the result download
target_path = target_folder + '/Businesses.png'
#figure = axes.get_figure()
fig.savefig(target_path)
print(f'Businesses_image_path = {target_path}')
#print('a_image_path = %s' % target_path)
Businesses_image_path = /tmp/Businesses.png
blocks = client.get("twhy-dzjp",
boro_code = 2,
limit=10000)
# Convert to pandas DataFrame
blocksDF = pd.DataFrame.from_records(blocks)
from geotable import GeoTable
# Link for the 2010 Census BLOCKS shapefile data
t = GeoTable.load("2010 Census Blocks.zip")
t
bctcb2010 | boro_code | boro_name | cb2010 | ct2010 | shape_area | shape_leng | geometry_object | geometry_layer | geometry_proj4 | |
---|---|---|---|---|---|---|---|---|---|---|
0 | 50009001000 | 5 | Staten Island | 1000 | 000900 | 2.445896e+05 | 2508.948115 | POLYGON ((-74.07920577013245 40.64343078374567... | geo_export_7753596b-be5c-4ff9-a64c-ddfbaf0c5d08 | +proj=longlat +ellps=WGS84 +no_defs |
1 | 50020011000 | 5 | Staten Island | 1000 | 002001 | 1.110063e+05 | 1345.886422 | POLYGON ((-74.07061992438017 40.61085506705416... | geo_export_7753596b-be5c-4ff9-a64c-ddfbaf0c5d08 | +proj=longlat +ellps=WGS84 +no_defs |
2 | 50027001000 | 5 | Staten Island | 1000 | 002700 | 1.504068e+05 | 1703.381172 | POLYGON ((-74.07524403910642 40.62600632452712... | geo_export_7753596b-be5c-4ff9-a64c-ddfbaf0c5d08 | +proj=longlat +ellps=WGS84 +no_defs |
3 | 50040001000 | 5 | Staten Island | 1000 | 004000 | 1.412966e+05 | 1511.173743 | POLYGON ((-74.08708799689826 40.61116883123925... | geo_export_7753596b-be5c-4ff9-a64c-ddfbaf0c5d08 | +proj=longlat +ellps=WGS84 +no_defs |
4 | 50064001000 | 5 | Staten Island | 1000 | 006400 | 2.007850e+05 | 1978.243852 | POLYGON ((-74.07643744511992 40.60100160655585... | geo_export_7753596b-be5c-4ff9-a64c-ddfbaf0c5d08 | +proj=longlat +ellps=WGS84 +no_defs |
5 | 50074001000 | 5 | Staten Island | 1000 | 007400 | 1.390840e+05 | 1540.875503 | POLYGON ((-74.06589403843647 40.59682603642131... | geo_export_7753596b-be5c-4ff9-a64c-ddfbaf0c5d08 | +proj=longlat +ellps=WGS84 +no_defs |
6 | 50075001000 | 5 | Staten Island | 1000 | 007500 | 1.235605e+05 | 1412.642887 | POLYGON ((-74.08568983334587 40.63660727984283... | geo_export_7753596b-be5c-4ff9-a64c-ddfbaf0c5d08 | +proj=longlat +ellps=WGS84 +no_defs |
7 | 50077001000 | 5 | Staten Island | 1000 | 007700 | 2.057710e+05 | 2421.037307 | POLYGON ((-74.08709163679771 40.64033437636213... | geo_export_7753596b-be5c-4ff9-a64c-ddfbaf0c5d08 | +proj=longlat +ellps=WGS84 +no_defs |
8 | 50112011000 | 5 | Staten Island | 1000 | 011201 | 1.961123e+05 | 1943.029020 | POLYGON ((-74.0865414171051 40.58373352623683,... | geo_export_7753596b-be5c-4ff9-a64c-ddfbaf0c5d08 | +proj=longlat +ellps=WGS84 +no_defs |
9 | 50112021000 | 5 | Staten Island | 1000 | 011202 | 9.273776e+04 | 1233.682178 | POLYGON ((-74.09940090442285 40.57918675553432... | geo_export_7753596b-be5c-4ff9-a64c-ddfbaf0c5d08 | +proj=longlat +ellps=WGS84 +no_defs |
10 | 50114011000 | 5 | Staten Island | 1000 | 011401 | 6.668409e+04 | 1094.120092 | POLYGON ((-74.09719237050396 40.58828333684241... | geo_export_7753596b-be5c-4ff9-a64c-ddfbaf0c5d08 | +proj=longlat +ellps=WGS84 +no_defs |
11 | 50114021000 | 5 | Staten Island | 1000 | 011402 | 1.830613e+05 | 1942.556759 | POLYGON ((-74.10061310938735 40.58271119102469... | geo_export_7753596b-be5c-4ff9-a64c-ddfbaf0c5d08 | +proj=longlat +ellps=WGS84 +no_defs |
12 | 50121001000 | 5 | Staten Island | 1000 | 012100 | 1.702508e+05 | 1793.986645 | POLYGON ((-74.10474881613307 40.62580546479904... | geo_export_7753596b-be5c-4ff9-a64c-ddfbaf0c5d08 | +proj=longlat +ellps=WGS84 +no_defs |
13 | 50122001000 | 5 | Staten Island | 1000 | 012200 | 1.398193e+05 | 1587.811375 | POLYGON ((-74.10559988905946 40.5775774710855,... | geo_export_7753596b-be5c-4ff9-a64c-ddfbaf0c5d08 | +proj=longlat +ellps=WGS84 +no_defs |
14 | 50125001000 | 5 | Staten Island | 1000 | 012500 | 2.151780e+05 | 1934.120821 | POLYGON ((-74.11666642606224 40.63171010196231... | geo_export_7753596b-be5c-4ff9-a64c-ddfbaf0c5d08 | +proj=longlat +ellps=WGS84 +no_defs |
15 | 50132011000 | 5 | Staten Island | 1000 | 013201 | 8.806900e+05 | 4338.685959 | POLYGON ((-74.12395063694647 40.56843071865556... | geo_export_7753596b-be5c-4ff9-a64c-ddfbaf0c5d08 | +proj=longlat +ellps=WGS84 +no_defs |
16 | 50134001000 | 5 | Staten Island | 1000 | 013400 | 4.323219e+04 | 1076.670462 | POLYGON ((-74.1206434158707 40.57490815363254,... | geo_export_7753596b-be5c-4ff9-a64c-ddfbaf0c5d08 | +proj=longlat +ellps=WGS84 +no_defs |
17 | 50138001000 | 5 | Staten Island | 1000 | 013800 | 1.105674e+05 | 1351.102708 | POLYGON ((-74.13690607650334 40.57215488411653... | geo_export_7753596b-be5c-4ff9-a64c-ddfbaf0c5d08 | +proj=longlat +ellps=WGS84 +no_defs |
18 | 50146051000 | 5 | Staten Island | 1000 | 014605 | 1.598831e+05 | 1766.454298 | POLYGON ((-74.15150507695977 40.56538269160452... | geo_export_7753596b-be5c-4ff9-a64c-ddfbaf0c5d08 | +proj=longlat +ellps=WGS84 +no_defs |
19 | 50146071000 | 5 | Staten Island | 1000 | 014607 | 3.052821e+05 | 2316.414101 | POLYGON ((-74.16246054798417 40.56003557382821... | geo_export_7753596b-be5c-4ff9-a64c-ddfbaf0c5d08 | +proj=longlat +ellps=WGS84 +no_defs |
20 | 50146081000 | 5 | Staten Island | 1000 | 014608 | 4.003076e+05 | 2688.759398 | POLYGON ((-74.15573077130404 40.56348664559846... | geo_export_7753596b-be5c-4ff9-a64c-ddfbaf0c5d08 | +proj=longlat +ellps=WGS84 +no_defs |
21 | 50156031000 | 5 | Staten Island | 1000 | 015603 | 1.642635e+05 | 1941.242465 | POLYGON ((-74.15046462220288 40.53419468029215... | geo_export_7753596b-be5c-4ff9-a64c-ddfbaf0c5d08 | +proj=longlat +ellps=WGS84 +no_defs |
22 | 50169011000 | 5 | Staten Island | 1000 | 016901 | 2.033579e+05 | 2111.303257 | POLYGON ((-74.10686367243076 40.61309934521687... | geo_export_7753596b-be5c-4ff9-a64c-ddfbaf0c5d08 | +proj=longlat +ellps=WGS84 +no_defs |
23 | 50170051000 | 5 | Staten Island | 1000 | 017005 | 1.214575e+05 | 2457.600150 | POLYGON ((-74.18083755625177 40.54673239030795... | geo_export_7753596b-be5c-4ff9-a64c-ddfbaf0c5d08 | +proj=longlat +ellps=WGS84 +no_defs |
24 | 50170081000 | 5 | Staten Island | 1000 | 017008 | 1.690098e+05 | 1956.655428 | POLYGON ((-74.1722550766378 40.56170483715575,... | geo_export_7753596b-be5c-4ff9-a64c-ddfbaf0c5d08 | +proj=longlat +ellps=WGS84 +no_defs |
25 | 50170111000 | 5 | Staten Island | 1000 | 017011 | 1.533049e+05 | 1705.532918 | POLYGON ((-74.16741722331244 40.54988134637112... | geo_export_7753596b-be5c-4ff9-a64c-ddfbaf0c5d08 | +proj=longlat +ellps=WGS84 +no_defs |
26 | 50173001000 | 5 | Staten Island | 1000 | 017300 | 1.180859e+05 | 1392.506406 | POLYGON ((-74.11706965339282 40.60820624975425... | geo_export_7753596b-be5c-4ff9-a64c-ddfbaf0c5d08 | +proj=longlat +ellps=WGS84 +no_defs |
27 | 50187011000 | 5 | Staten Island | 1000 | 018701 | 1.696581e+05 | 1955.146098 | POLYGON ((-74.12811936127744 40.61059539235342... | geo_export_7753596b-be5c-4ff9-a64c-ddfbaf0c5d08 | +proj=longlat +ellps=WGS84 +no_defs |
28 | 50189011000 | 5 | Staten Island | 1000 | 018901 | 1.095069e+05 | 1436.410144 | POLYGON ((-74.13418513192617 40.6153616160391,... | geo_export_7753596b-be5c-4ff9-a64c-ddfbaf0c5d08 | +proj=longlat +ellps=WGS84 +no_defs |
29 | 50197001000 | 5 | Staten Island | 1000 | 019700 | 6.439962e+04 | 1099.138528 | POLYGON ((-74.13513182128254 40.61980539254179... | geo_export_7753596b-be5c-4ff9-a64c-ddfbaf0c5d08 | +proj=longlat +ellps=WGS84 +no_defs |
... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... |
38766 | 10006005001 | 1 | Manhattan | 5001 | 000600 | 2.584757e+05 | 2110.261252 | POLYGON ((-73.98741944956207 40.71147054341841... | geo_export_7753596b-be5c-4ff9-a64c-ddfbaf0c5d08 | +proj=longlat +ellps=WGS84 +no_defs |
38767 | 10006006001 | 1 | Manhattan | 6001 | 000600 | 7.571292e+03 | 509.101831 | POLYGON ((-73.98821773094718 40.71076478101609... | geo_export_7753596b-be5c-4ff9-a64c-ddfbaf0c5d08 | +proj=longlat +ellps=WGS84 +no_defs |
38768 | 10243021005 | 1 | Manhattan | 1005 | 024302 | 3.470288e+05 | 2930.378834 | POLYGON ((-73.93674454853043 40.82989431214514... | geo_export_7753596b-be5c-4ff9-a64c-ddfbaf0c5d08 | +proj=longlat +ellps=WGS84 +no_defs |
38769 | 10243023000 | 1 | Manhattan | 3000 | 024302 | 6.472890e+05 | 3870.362883 | POLYGON ((-73.93549629092554 40.83174234901332... | geo_export_7753596b-be5c-4ff9-a64c-ddfbaf0c5d08 | +proj=longlat +ellps=WGS84 +no_defs |
38770 | 10158021000 | 1 | Manhattan | 1000 | 015802 | 1.217140e+05 | 1815.345960 | POLYGON ((-73.94933170627112 40.78519312605533... | geo_export_7753596b-be5c-4ff9-a64c-ddfbaf0c5d08 | +proj=longlat +ellps=WGS84 +no_defs |
38771 | 30352001020 | 3 | Brooklyn | 1020 | 035200 | 4.715105e+05 | 2828.880224 | POLYGON ((-73.98528886657739 40.57253160673621... | geo_export_7753596b-be5c-4ff9-a64c-ddfbaf0c5d08 | +proj=longlat +ellps=WGS84 +no_defs |
38772 | 30326002001 | 3 | Brooklyn | 2001 | 032600 | 1.743703e+05 | 1773.948939 | POLYGON ((-73.98660774857026 40.57489309626504... | geo_export_7753596b-be5c-4ff9-a64c-ddfbaf0c5d08 | +proj=longlat +ellps=WGS84 +no_defs |
38773 | 10230001000 | 1 | Manhattan | 1000 | 023000 | 3.091705e+04 | 752.264999 | POLYGON ((-73.93764373525447 40.81851059183536... | geo_export_7753596b-be5c-4ff9-a64c-ddfbaf0c5d08 | +proj=longlat +ellps=WGS84 +no_defs |
38774 | 10230001001 | 1 | Manhattan | 1001 | 023000 | 2.010833e+05 | 2073.907682 | POLYGON ((-73.9380268984241 40.81868092712311,... | geo_export_7753596b-be5c-4ff9-a64c-ddfbaf0c5d08 | +proj=longlat +ellps=WGS84 +no_defs |
38775 | 10219004000 | 1 | Manhattan | 4000 | 021900 | 2.197990e+05 | 2325.840957 | POLYGON ((-73.95614878227988 40.81635610248966... | geo_export_7753596b-be5c-4ff9-a64c-ddfbaf0c5d08 | +proj=longlat +ellps=WGS84 +no_defs |
38776 | 10219004001 | 1 | Manhattan | 4001 | 021900 | 1.658021e+04 | 685.702971 | POLYGON ((-73.95659705290377 40.8157674621146,... | geo_export_7753596b-be5c-4ff9-a64c-ddfbaf0c5d08 | +proj=longlat +ellps=WGS84 +no_defs |
38777 | 30391002005 | 3 | Brooklyn | 2005 | 039100 | 1.676642e+05 | 2236.207276 | POLYGON ((-73.92996413032211 40.69824992819299... | geo_export_7753596b-be5c-4ff9-a64c-ddfbaf0c5d08 | +proj=longlat +ellps=WGS84 +no_defs |
38778 | 30391002003 | 3 | Brooklyn | 2003 | 039100 | 1.933658e+05 | 2039.950761 | POLYGON ((-73.93128036584677 40.69920248184159... | geo_export_7753596b-be5c-4ff9-a64c-ddfbaf0c5d08 | +proj=longlat +ellps=WGS84 +no_defs |
38779 | 30391002004 | 3 | Brooklyn | 2004 | 039100 | 1.015944e+05 | 1770.208727 | POLYGON ((-73.93052028738461 40.69877228327239... | geo_export_7753596b-be5c-4ff9-a64c-ddfbaf0c5d08 | +proj=longlat +ellps=WGS84 +no_defs |
38780 | 30702014007 | 3 | Brooklyn | 4007 | 070201 | 2.448044e+05 | 2348.763119 | POLYGON ((-73.90845283308809 40.60789747045573... | geo_export_7753596b-be5c-4ff9-a64c-ddfbaf0c5d08 | +proj=longlat +ellps=WGS84 +no_defs |
38781 | 30702014008 | 3 | Brooklyn | 4008 | 070201 | 2.161195e+05 | 2217.346253 | POLYGON ((-73.9092253116946 40.60834532801371,... | geo_export_7753596b-be5c-4ff9-a64c-ddfbaf0c5d08 | +proj=longlat +ellps=WGS84 +no_defs |
38782 | 30702014009 | 3 | Brooklyn | 4009 | 070201 | 2.077416e+05 | 2110.428787 | POLYGON ((-73.90996420854586 40.60878350822895... | geo_export_7753596b-be5c-4ff9-a64c-ddfbaf0c5d08 | +proj=longlat +ellps=WGS84 +no_defs |
38783 | 30702014010 | 3 | Brooklyn | 4010 | 070201 | 1.935942e+05 | 2001.583778 | POLYGON ((-73.91070445132921 40.60922123573495... | geo_export_7753596b-be5c-4ff9-a64c-ddfbaf0c5d08 | +proj=longlat +ellps=WGS84 +no_defs |
38784 | 30375001000 | 3 | Brooklyn | 1000 | 037500 | 1.132881e+05 | 2086.002825 | POLYGON ((-73.91789200384292 40.68644915917891... | geo_export_7753596b-be5c-4ff9-a64c-ddfbaf0c5d08 | +proj=longlat +ellps=WGS84 +no_defs |
38785 | 30375001001 | 3 | Brooklyn | 1001 | 037500 | 9.493392e+04 | 1683.746644 | POLYGON ((-73.92066796895084 40.68628662815645... | geo_export_7753596b-be5c-4ff9-a64c-ddfbaf0c5d08 | +proj=longlat +ellps=WGS84 +no_defs |
38786 | 40281003001 | 4 | Queens | 3001 | 028100 | 2.024700e+05 | 2074.453654 | POLYGON ((-73.88113747601183 40.74792729299265... | geo_export_7753596b-be5c-4ff9-a64c-ddfbaf0c5d08 | +proj=longlat +ellps=WGS84 +no_defs |
38787 | 40281004001 | 4 | Queens | 4001 | 028100 | 2.015936e+05 | 2071.624978 | POLYGON ((-73.88207112127155 40.74782992681795... | geo_export_7753596b-be5c-4ff9-a64c-ddfbaf0c5d08 | +proj=longlat +ellps=WGS84 +no_defs |
38788 | 50007001002 | 5 | Staten Island | 1002 | 000700 | 7.937377e+05 | 4630.322131 | POLYGON ((-74.08697080193778 40.64702859356238... | geo_export_7753596b-be5c-4ff9-a64c-ddfbaf0c5d08 | +proj=longlat +ellps=WGS84 +no_defs |
38789 | 50081003005 | 5 | Staten Island | 3005 | 008100 | 3.639689e+05 | 3399.852412 | POLYGON ((-74.08773666349921 40.64389446122451... | geo_export_7753596b-be5c-4ff9-a64c-ddfbaf0c5d08 | +proj=longlat +ellps=WGS84 +no_defs |
38790 | 50081003000 | 5 | Staten Island | 3000 | 008100 | 4.497355e+05 | 4065.970844 | POLYGON ((-74.08652380457303 40.64256408357222... | geo_export_7753596b-be5c-4ff9-a64c-ddfbaf0c5d08 | +proj=longlat +ellps=WGS84 +no_defs |
38791 | 50128051000 | 5 | Staten Island | 1000 | 012805 | 6.382500e+05 | 4633.747592 | POLYGON ((-74.11937726656176 40.55998256805508... | geo_export_7753596b-be5c-4ff9-a64c-ddfbaf0c5d08 | +proj=longlat +ellps=WGS84 +no_defs |
38792 | 50128051002 | 5 | Staten Island | 1002 | 012805 | 4.637241e+04 | 1454.837984 | POLYGON ((-74.12051090293794 40.5578116241892,... | geo_export_7753596b-be5c-4ff9-a64c-ddfbaf0c5d08 | +proj=longlat +ellps=WGS84 +no_defs |
38793 | 50128051004 | 5 | Staten Island | 1004 | 012805 | 2.925027e+05 | 2678.393485 | POLYGON ((-74.12368247752183 40.55963388471181... | geo_export_7753596b-be5c-4ff9-a64c-ddfbaf0c5d08 | +proj=longlat +ellps=WGS84 +no_defs |
38794 | 50128051011 | 5 | Staten Island | 1011 | 012805 | 2.315392e+06 | 9899.744624 | POLYGON ((-74.12125019302078 40.55791315343746... | geo_export_7753596b-be5c-4ff9-a64c-ddfbaf0c5d08 | +proj=longlat +ellps=WGS84 +no_defs |
38795 | 10158021002 | 1 | Manhattan | 1002 | 015802 | 2.194009e+04 | 609.293625 | POLYGON ((-73.95033804130387 40.78561715001314... | geo_export_7753596b-be5c-4ff9-a64c-ddfbaf0c5d08 | +proj=longlat +ellps=WGS84 +no_defs |
target_path = t.save_csv(target_folder + '/choropleth.csv')
print('borough_choropleth_geotable_path = %s' % target_path)
borough_choropleth_geotable_path = /tmp/choropleth.csv
There is a lot you can do without signing in.
To take full advantage of our site, we recommend that you sign in.
Each user starts with 1,000 free credits.