Geosdemo
In [ ]:
Copied!
%pip install basal_and_bark
%pip install basal_and_bark
In [1]:
Copied!
#import basal_and_bark
import basal_and_bark
#import basal_and_bark
import basal_and_bark
In [ ]:
Copied!
#instantiate a basal_and_bark ipyleaflet map instance
m = basal_and_bark.Map(center = [40,-100], zoom = 4, test = "test", scroll_wheel_zoom = True)
type(m)
#instantiate a basal_and_bark ipyleaflet map instance
m = basal_and_bark.Map(center = [40,-100], zoom = 4, test = "test", scroll_wheel_zoom = True)
type(m)
In [ ]:
Copied!
basal_and_bark.Map(center = [40,-100], zoom = 4, test = "test", scroll_wheel_zoom = True)
basal_and_bark.Map(center = [40,-100], zoom = 4, test = "test", scroll_wheel_zoom = True)
In [ ]:
Copied!
#add layer control to the basal_and_bark map
basal_and_bark.Map(center = [40,-100], zoom = 4, test = "test", scroll_wheel_zoom = True).add_layer_control()
#add layer control to the basal_and_bark map
basal_and_bark.Map(center = [40,-100], zoom = 4, test = "test", scroll_wheel_zoom = True).add_layer_control()
In [ ]:
Copied!
basal_and_bark.generate_random_string(10)
basal_and_bark.generate_random_string(10)
In [ ]:
Copied!
#View the sample data
#The data can be viewed and explored without adding it to the working map
file_location="https://github.com/ZachDorm/basal_and_bark/raw/main/docs/examples/data/tl_2018_tn_county.zip"
b=basal_and_bark.view_data(file_location)
b
#View the sample data
#The data can be viewed and explored without adding it to the working map
file_location="https://github.com/ZachDorm/basal_and_bark/raw/main/docs/examples/data/tl_2018_tn_county.zip"
b=basal_and_bark.view_data(file_location)
b
In [ ]:
Copied!
#add data to the working map
file_location="https://github.com/ZachDorm/basal_and_bark/raw/main/docs/examples/data/tl_2018_tn_county.zip"
basal_and_bark.add_data(m,file_location)
#add data to the working map
file_location="https://github.com/ZachDorm/basal_and_bark/raw/main/docs/examples/data/tl_2018_tn_county.zip"
basal_and_bark.add_data(m,file_location)
In [ ]:
Copied!
basal_and_bark.add_basemap(m)
basal_and_bark.add_basemap(m)
In [ ]:
Copied!
# basal_and_bark.Map_Folium(location = [40,-100])
basal_and_bark.Map_Folium(location = [40,-100], tiles="Stamen Terrain", zoom_start=13)
# basal_and_bark.Map_Folium(location = [40,-100])
basal_and_bark.Map_Folium(location = [40,-100], tiles="Stamen Terrain", zoom_start=13)