Skip to content

Commit

Permalink
deploy: 3043919
Browse files Browse the repository at this point in the history
  • Loading branch information
giswqs committed Aug 18, 2024
1 parent 5440752 commit 03a7505
Show file tree
Hide file tree
Showing 7 changed files with 42 additions and 42 deletions.
2 changes: 1 addition & 1 deletion _sources/book/about/instructor.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "04217fdf",
"id": "4c17efa7",
"metadata": {},
"source": [
"## Instructor\n",
Expand Down
2 changes: 1 addition & 1 deletion _sources/book/about/schedule.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "5af69a2e",
"id": "cf8d046d",
"metadata": {},
"source": [
"# Schedule\n",
Expand Down
2 changes: 1 addition & 1 deletion _sources/book/about/syllabus.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "72cc7cb6",
"id": "4dad51c7",
"metadata": {},
"source": [
"# Syllabus\n",
Expand Down
2 changes: 1 addition & 1 deletion _sources/book/software/miniconda.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "938ab1d3",
"id": "38a78f90",
"metadata": {},
"source": [
"# Miniconda\n",
Expand Down
2 changes: 1 addition & 1 deletion _sources/book/software/overview.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "b525de2d",
"id": "afebc73c",
"metadata": {},
"source": [
"# Overview\n",
Expand Down
70 changes: 35 additions & 35 deletions book/geospatial/01_get_started.html
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ <h1><span class="section-number">8. </span>Get Started<a class="headerlink" href
&lt;meta name=&quot;viewport&quot; content=&quot;width=device-width,
initial-scale=1.0, maximum-scale=1.0, user-scalable=no&quot; /&gt;
&lt;style&gt;
#map_a7df18c57aad4797c33d0ab50f31366f {
#map_ea946853139b8380ed2ff750641b00d9 {
position: relative;
width: 100.0%;
height: 100.0%;
Expand All @@ -553,14 +553,14 @@ <h1><span class="section-number">8. </span>Get Started<a class="headerlink" href
&lt;body&gt;
&lt;div class=&quot;folium-map&quot; id=&quot;map_a7df18c57aad4797c33d0ab50f31366f&quot; &gt;&lt;/div&gt;
&lt;div class=&quot;folium-map&quot; id=&quot;map_ea946853139b8380ed2ff750641b00d9&quot; &gt;&lt;/div&gt;
&lt;/body&gt;
&lt;script&gt;
var map_a7df18c57aad4797c33d0ab50f31366f = L.map(
&quot;map_a7df18c57aad4797c33d0ab50f31366f&quot;,
var map_ea946853139b8380ed2ff750641b00d9 = L.map(
&quot;map_ea946853139b8380ed2ff750641b00d9&quot;,
{
center: [20.0, 0.0],
crs: L.CRS.EPSG3857,
Expand All @@ -571,24 +571,24 @@ <h1><span class="section-number">8. </span>Get Started<a class="headerlink" href
layersControl: true,
}
);
L.control.scale().addTo(map_a7df18c57aad4797c33d0ab50f31366f);
L.control.scale().addTo(map_ea946853139b8380ed2ff750641b00d9);
var tile_layer_a544a64e513b8cda0a4d28f11bf4cfa1 = L.tileLayer(
var tile_layer_a82ed19b42c1194e7bbfd1629e70af43 = L.tileLayer(
&quot;https://tile.openstreetmap.org/{z}/{x}/{y}.png&quot;,
{&quot;attribution&quot;: &quot;\u0026copy; \u003ca href=\&quot;https://www.openstreetmap.org/copyright\&quot;\u003eOpenStreetMap\u003c/a\u003e contributors&quot;, &quot;detectRetina&quot;: false, &quot;maxNativeZoom&quot;: 19, &quot;maxZoom&quot;: 24, &quot;minZoom&quot;: 0, &quot;noWrap&quot;: false, &quot;opacity&quot;: 1, &quot;subdomains&quot;: &quot;abc&quot;, &quot;tms&quot;: false}
);
tile_layer_a544a64e513b8cda0a4d28f11bf4cfa1.addTo(map_a7df18c57aad4797c33d0ab50f31366f);
tile_layer_a82ed19b42c1194e7bbfd1629e70af43.addTo(map_ea946853139b8380ed2ff750641b00d9);
L.control.fullscreen(
{&quot;forceSeparateButton&quot;: false, &quot;position&quot;: &quot;topleft&quot;, &quot;title&quot;: &quot;Full Screen&quot;, &quot;titleCancel&quot;: &quot;Exit Full Screen&quot;}
).addTo(map_a7df18c57aad4797c33d0ab50f31366f);
).addTo(map_ea946853139b8380ed2ff750641b00d9);
var options = {
Expand All @@ -597,32 +597,32 @@ <h1><span class="section-number">8. </span>Get Started<a class="headerlink" href
edit: {},
}
// FeatureGroup is to store editable layers.
var drawnItems_draw_control_911f8cecd40db4ab8ee6863df0890a1f = new L.featureGroup().addTo(
map_a7df18c57aad4797c33d0ab50f31366f
var drawnItems_draw_control_23e9761dfad8dbd1554df23805c1ad3d = new L.featureGroup().addTo(
map_ea946853139b8380ed2ff750641b00d9
);
options.edit.featureGroup = drawnItems_draw_control_911f8cecd40db4ab8ee6863df0890a1f;
var draw_control_911f8cecd40db4ab8ee6863df0890a1f = new L.Control.Draw(
options.edit.featureGroup = drawnItems_draw_control_23e9761dfad8dbd1554df23805c1ad3d;
var draw_control_23e9761dfad8dbd1554df23805c1ad3d = new L.Control.Draw(
options
).addTo( map_a7df18c57aad4797c33d0ab50f31366f );
map_a7df18c57aad4797c33d0ab50f31366f.on(L.Draw.Event.CREATED, function(e) {
).addTo( map_ea946853139b8380ed2ff750641b00d9 );
map_ea946853139b8380ed2ff750641b00d9.on(L.Draw.Event.CREATED, function(e) {
var layer = e.layer,
type = e.layerType;
var coords = JSON.stringify(layer.toGeoJSON());
layer.on(&#x27;click&#x27;, function() {
alert(coords);
console.log(coords);
});
drawnItems_draw_control_911f8cecd40db4ab8ee6863df0890a1f.addLayer(layer);
drawnItems_draw_control_23e9761dfad8dbd1554df23805c1ad3d.addLayer(layer);
});
map_a7df18c57aad4797c33d0ab50f31366f.on(&#x27;draw:created&#x27;, function(e) {
drawnItems_draw_control_911f8cecd40db4ab8ee6863df0890a1f.addLayer(e.layer);
map_ea946853139b8380ed2ff750641b00d9.on(&#x27;draw:created&#x27;, function(e) {
drawnItems_draw_control_23e9761dfad8dbd1554df23805c1ad3d.addLayer(e.layer);
});
var measure_control_f08ae6332aff4c376d94bc89477f8c29 = new L.Control.Measure(
var measure_control_af17eccb12ca08e480a541597293c2a3 = new L.Control.Measure(
{&quot;position&quot;: &quot;bottomleft&quot;, &quot;primaryAreaUnit&quot;: &quot;sqmeters&quot;, &quot;primaryLengthUnit&quot;: &quot;meters&quot;, &quot;secondaryAreaUnit&quot;: &quot;acres&quot;, &quot;secondaryLengthUnit&quot;: &quot;miles&quot;});
map_a7df18c57aad4797c33d0ab50f31366f.addControl(measure_control_f08ae6332aff4c376d94bc89477f8c29);
map_ea946853139b8380ed2ff750641b00d9.addControl(measure_control_af17eccb12ca08e480a541597293c2a3);
// Workaround for using this plugin with Leaflet&gt;=1.8.0
// https://github.com/ljagis/leaflet-measure/issues/171
Expand All @@ -642,43 +642,43 @@ <h1><span class="section-number">8. </span>Get Started<a class="headerlink" href
var geocoderOpts_geocoder_902b043fd484601a07fec6ae205271cd = {&quot;collapsed&quot;: true, &quot;defaultMarkGeocode&quot;: true, &quot;position&quot;: &quot;topleft&quot;, &quot;provider&quot;: &quot;nominatim&quot;, &quot;providerOptions&quot;: {}, &quot;zoom&quot;: 11};
var geocoderOpts_geocoder_76e570376f0de3e0e55c189d43b59aa1 = {&quot;collapsed&quot;: true, &quot;defaultMarkGeocode&quot;: true, &quot;position&quot;: &quot;topleft&quot;, &quot;provider&quot;: &quot;nominatim&quot;, &quot;providerOptions&quot;: {}, &quot;zoom&quot;: 11};
// note: geocoder name should start with lowercase
var geocoderName_geocoder_902b043fd484601a07fec6ae205271cd = geocoderOpts_geocoder_902b043fd484601a07fec6ae205271cd[&quot;provider&quot;];
var geocoderName_geocoder_76e570376f0de3e0e55c189d43b59aa1 = geocoderOpts_geocoder_76e570376f0de3e0e55c189d43b59aa1[&quot;provider&quot;];
var customGeocoder_geocoder_902b043fd484601a07fec6ae205271cd = L.Control.Geocoder[ geocoderName_geocoder_902b043fd484601a07fec6ae205271cd ](
geocoderOpts_geocoder_902b043fd484601a07fec6ae205271cd[&#x27;providerOptions&#x27;]
var customGeocoder_geocoder_76e570376f0de3e0e55c189d43b59aa1 = L.Control.Geocoder[ geocoderName_geocoder_76e570376f0de3e0e55c189d43b59aa1 ](
geocoderOpts_geocoder_76e570376f0de3e0e55c189d43b59aa1[&#x27;providerOptions&#x27;]
);
geocoderOpts_geocoder_902b043fd484601a07fec6ae205271cd[&quot;geocoder&quot;] = customGeocoder_geocoder_902b043fd484601a07fec6ae205271cd;
geocoderOpts_geocoder_76e570376f0de3e0e55c189d43b59aa1[&quot;geocoder&quot;] = customGeocoder_geocoder_76e570376f0de3e0e55c189d43b59aa1;
L.Control.geocoder(
geocoderOpts_geocoder_902b043fd484601a07fec6ae205271cd
geocoderOpts_geocoder_76e570376f0de3e0e55c189d43b59aa1
).on(&#x27;markgeocode&#x27;, function(e) {
var zoom = geocoderOpts_geocoder_902b043fd484601a07fec6ae205271cd[&#x27;zoom&#x27;] || map_a7df18c57aad4797c33d0ab50f31366f.getZoom();
map_a7df18c57aad4797c33d0ab50f31366f.setView(e.geocode.center, zoom);
}).addTo(map_a7df18c57aad4797c33d0ab50f31366f);
var zoom = geocoderOpts_geocoder_76e570376f0de3e0e55c189d43b59aa1[&#x27;zoom&#x27;] || map_ea946853139b8380ed2ff750641b00d9.getZoom();
map_ea946853139b8380ed2ff750641b00d9.setView(e.geocode.center, zoom);
}).addTo(map_ea946853139b8380ed2ff750641b00d9);
map_a7df18c57aad4797c33d0ab50f31366f.fitBounds(
map_ea946853139b8380ed2ff750641b00d9.fitBounds(
[[20, 0], [20, 0]],
{&quot;maxZoom&quot;: 2}
);
var layer_control_c311a120e34b394ccd63743cd8417afb_layers = {
var layer_control_d2f177e78d725b23ccf44ca8e1731b5e_layers = {
base_layers : {
&quot;openstreetmap&quot; : tile_layer_a544a64e513b8cda0a4d28f11bf4cfa1,
&quot;openstreetmap&quot; : tile_layer_a82ed19b42c1194e7bbfd1629e70af43,
},
overlays : {
},
};
let layer_control_c311a120e34b394ccd63743cd8417afb = L.control.layers(
layer_control_c311a120e34b394ccd63743cd8417afb_layers.base_layers,
layer_control_c311a120e34b394ccd63743cd8417afb_layers.overlays,
let layer_control_d2f177e78d725b23ccf44ca8e1731b5e = L.control.layers(
layer_control_d2f177e78d725b23ccf44ca8e1731b5e_layers.base_layers,
layer_control_d2f177e78d725b23ccf44ca8e1731b5e_layers.overlays,
{&quot;autoZIndex&quot;: true, &quot;collapsed&quot;: true, &quot;position&quot;: &quot;topright&quot;}
).addTo(map_a7df18c57aad4797c33d0ab50f31366f);
).addTo(map_ea946853139b8380ed2ff750641b00d9);
&lt;/script&gt;
Expand Down
4 changes: 2 additions & 2 deletions book/python/03_data_structures.html
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ <h2><span class="section-number">3.3. </span>Sets<a class="headerlink" href="#se
</div>
</div>
<div class="cell_output docutils container">
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>Updated regions: {&#39;Asia&#39;, &#39;Africa&#39;, &#39;North America&#39;, &#39;Europe&#39;}
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>Updated regions: {&#39;Africa&#39;, &#39;North America&#39;, &#39;Asia&#39;, &#39;Europe&#39;}
</pre></div>
</div>
</div>
Expand All @@ -614,7 +614,7 @@ <h2><span class="section-number">3.3. </span>Sets<a class="headerlink" href="#se
</div>
</div>
<div class="cell_output docutils container">
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>Regions after attempting to add duplicate: {&#39;Asia&#39;, &#39;Africa&#39;, &#39;North America&#39;, &#39;Europe&#39;}
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>Regions after attempting to add duplicate: {&#39;Africa&#39;, &#39;North America&#39;, &#39;Asia&#39;, &#39;Europe&#39;}
</pre></div>
</div>
</div>
Expand Down

0 comments on commit 03a7505

Please sign in to comment.