Skip to content

Commit

Permalink
deploy: bf5fbb1
Browse files Browse the repository at this point in the history
  • Loading branch information
giswqs committed Jan 27, 2025
1 parent 7d7a570 commit 0e0c38b
Show file tree
Hide file tree
Showing 15 changed files with 346 additions and 348 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": "7619d7c2",
"id": "60132311",
"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": "1ba6af6b",
"id": "890642a1",
"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": "e1378a09",
"id": "a8f71f7e",
"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": "a63b01d6",
"id": "a9486630",
"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": "f45f5dd9",
"id": "8e3202d6",
"metadata": {},
"source": [
"# Overview\n",
Expand Down
48 changes: 24 additions & 24 deletions book/geospatial/geopandas.html

Large diffs are not rendered by default.

70 changes: 35 additions & 35 deletions book/geospatial/get_started.html
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,7 @@ <h2><span class="section-number">9.3. </span>Verifying Your Installation<a class
&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_a45197a6b8b4e9379428edf0acaca246 {
#map_7ba63320ccd2b119369a3d3a91b0a0e2 {
position: relative;
width: 100.0%;
height: 100.0%;
Expand All @@ -727,14 +727,14 @@ <h2><span class="section-number">9.3. </span>Verifying Your Installation<a class
&lt;body&gt;
&lt;div class=&quot;folium-map&quot; id=&quot;map_a45197a6b8b4e9379428edf0acaca246&quot; &gt;&lt;/div&gt;
&lt;div class=&quot;folium-map&quot; id=&quot;map_7ba63320ccd2b119369a3d3a91b0a0e2&quot; &gt;&lt;/div&gt;
&lt;/body&gt;
&lt;script&gt;
var map_a45197a6b8b4e9379428edf0acaca246 = L.map(
&quot;map_a45197a6b8b4e9379428edf0acaca246&quot;,
var map_7ba63320ccd2b119369a3d3a91b0a0e2 = L.map(
&quot;map_7ba63320ccd2b119369a3d3a91b0a0e2&quot;,
{
center: [20.0, 0.0],
crs: L.CRS.EPSG3857,
Expand All @@ -745,24 +745,24 @@ <h2><span class="section-number">9.3. </span>Verifying Your Installation<a class
layersControl: true,
}
);
L.control.scale().addTo(map_a45197a6b8b4e9379428edf0acaca246);
L.control.scale().addTo(map_7ba63320ccd2b119369a3d3a91b0a0e2);
var tile_layer_d81b6e9964789d66ff2a42b7b4d2bd26 = L.tileLayer(
var tile_layer_3d1c2cce2fc1b8f66cb2a48ab4b52f2b = 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_d81b6e9964789d66ff2a42b7b4d2bd26.addTo(map_a45197a6b8b4e9379428edf0acaca246);
tile_layer_3d1c2cce2fc1b8f66cb2a48ab4b52f2b.addTo(map_7ba63320ccd2b119369a3d3a91b0a0e2);
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_a45197a6b8b4e9379428edf0acaca246);
).addTo(map_7ba63320ccd2b119369a3d3a91b0a0e2);
var options = {
Expand All @@ -771,32 +771,32 @@ <h2><span class="section-number">9.3. </span>Verifying Your Installation<a class
edit: {},
}
// FeatureGroup is to store editable layers.
var drawnItems_draw_control_2882dbc67d45baedc96c5d8fc24d7296 = new L.featureGroup().addTo(
map_a45197a6b8b4e9379428edf0acaca246
var drawnItems_draw_control_349ee242ec5582365fcdc66a6de52856 = new L.featureGroup().addTo(
map_7ba63320ccd2b119369a3d3a91b0a0e2
);
options.edit.featureGroup = drawnItems_draw_control_2882dbc67d45baedc96c5d8fc24d7296;
var draw_control_2882dbc67d45baedc96c5d8fc24d7296 = new L.Control.Draw(
options.edit.featureGroup = drawnItems_draw_control_349ee242ec5582365fcdc66a6de52856;
var draw_control_349ee242ec5582365fcdc66a6de52856 = new L.Control.Draw(
options
).addTo( map_a45197a6b8b4e9379428edf0acaca246 );
map_a45197a6b8b4e9379428edf0acaca246.on(L.Draw.Event.CREATED, function(e) {
).addTo( map_7ba63320ccd2b119369a3d3a91b0a0e2 );
map_7ba63320ccd2b119369a3d3a91b0a0e2.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_2882dbc67d45baedc96c5d8fc24d7296.addLayer(layer);
drawnItems_draw_control_349ee242ec5582365fcdc66a6de52856.addLayer(layer);
});
map_a45197a6b8b4e9379428edf0acaca246.on(&#x27;draw:created&#x27;, function(e) {
drawnItems_draw_control_2882dbc67d45baedc96c5d8fc24d7296.addLayer(e.layer);
map_7ba63320ccd2b119369a3d3a91b0a0e2.on(&#x27;draw:created&#x27;, function(e) {
drawnItems_draw_control_349ee242ec5582365fcdc66a6de52856.addLayer(e.layer);
});
var measure_control_69a790ab8a5692c67c6b8c96164eb50e = new L.Control.Measure(
var measure_control_f004127586bf112f8eaac4dfaa31a966 = 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_a45197a6b8b4e9379428edf0acaca246.addControl(measure_control_69a790ab8a5692c67c6b8c96164eb50e);
map_7ba63320ccd2b119369a3d3a91b0a0e2.addControl(measure_control_f004127586bf112f8eaac4dfaa31a966);
// Workaround for using this plugin with Leaflet&gt;=1.8.0
// https://github.com/ljagis/leaflet-measure/issues/171
Expand All @@ -816,43 +816,43 @@ <h2><span class="section-number">9.3. </span>Verifying Your Installation<a class
var geocoderOpts_geocoder_0741211f7d85ea19a2b1d1687fe5b006 = {&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_e99f5c7541e20a7efb0a794e0f0952b8 = {&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_0741211f7d85ea19a2b1d1687fe5b006 = geocoderOpts_geocoder_0741211f7d85ea19a2b1d1687fe5b006[&quot;provider&quot;];
var geocoderName_geocoder_e99f5c7541e20a7efb0a794e0f0952b8 = geocoderOpts_geocoder_e99f5c7541e20a7efb0a794e0f0952b8[&quot;provider&quot;];
var customGeocoder_geocoder_0741211f7d85ea19a2b1d1687fe5b006 = L.Control.Geocoder[ geocoderName_geocoder_0741211f7d85ea19a2b1d1687fe5b006 ](
geocoderOpts_geocoder_0741211f7d85ea19a2b1d1687fe5b006[&#x27;providerOptions&#x27;]
var customGeocoder_geocoder_e99f5c7541e20a7efb0a794e0f0952b8 = L.Control.Geocoder[ geocoderName_geocoder_e99f5c7541e20a7efb0a794e0f0952b8 ](
geocoderOpts_geocoder_e99f5c7541e20a7efb0a794e0f0952b8[&#x27;providerOptions&#x27;]
);
geocoderOpts_geocoder_0741211f7d85ea19a2b1d1687fe5b006[&quot;geocoder&quot;] = customGeocoder_geocoder_0741211f7d85ea19a2b1d1687fe5b006;
geocoderOpts_geocoder_e99f5c7541e20a7efb0a794e0f0952b8[&quot;geocoder&quot;] = customGeocoder_geocoder_e99f5c7541e20a7efb0a794e0f0952b8;
L.Control.geocoder(
geocoderOpts_geocoder_0741211f7d85ea19a2b1d1687fe5b006
geocoderOpts_geocoder_e99f5c7541e20a7efb0a794e0f0952b8
).on(&#x27;markgeocode&#x27;, function(e) {
var zoom = geocoderOpts_geocoder_0741211f7d85ea19a2b1d1687fe5b006[&#x27;zoom&#x27;] || map_a45197a6b8b4e9379428edf0acaca246.getZoom();
map_a45197a6b8b4e9379428edf0acaca246.setView(e.geocode.center, zoom);
}).addTo(map_a45197a6b8b4e9379428edf0acaca246);
var zoom = geocoderOpts_geocoder_e99f5c7541e20a7efb0a794e0f0952b8[&#x27;zoom&#x27;] || map_7ba63320ccd2b119369a3d3a91b0a0e2.getZoom();
map_7ba63320ccd2b119369a3d3a91b0a0e2.setView(e.geocode.center, zoom);
}).addTo(map_7ba63320ccd2b119369a3d3a91b0a0e2);
map_a45197a6b8b4e9379428edf0acaca246.fitBounds(
map_7ba63320ccd2b119369a3d3a91b0a0e2.fitBounds(
[[20, 0], [20, 0]],
{&quot;maxZoom&quot;: 2}
);
var layer_control_715e42c150c83302853ed4564af0ba15_layers = {
var layer_control_dba533ad83bf0637b34a28fe8861f798_layers = {
base_layers : {
&quot;openstreetmap&quot; : tile_layer_d81b6e9964789d66ff2a42b7b4d2bd26,
&quot;openstreetmap&quot; : tile_layer_3d1c2cce2fc1b8f66cb2a48ab4b52f2b,
},
overlays : {
},
};
let layer_control_715e42c150c83302853ed4564af0ba15 = L.control.layers(
layer_control_715e42c150c83302853ed4564af0ba15_layers.base_layers,
layer_control_715e42c150c83302853ed4564af0ba15_layers.overlays,
let layer_control_dba533ad83bf0637b34a28fe8861f798 = L.control.layers(
layer_control_dba533ad83bf0637b34a28fe8861f798_layers.base_layers,
layer_control_dba533ad83bf0637b34a28fe8861f798_layers.overlays,
{&quot;autoZIndex&quot;: true, &quot;collapsed&quot;: true, &quot;position&quot;: &quot;topright&quot;}
).addTo(map_a45197a6b8b4e9379428edf0acaca246);
).addTo(map_7ba63320ccd2b119369a3d3a91b0a0e2);
&lt;/script&gt;
Expand Down
224 changes: 112 additions & 112 deletions book/geospatial/leafmap.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions book/geospatial/rasterio.html

Large diffs are not rendered by default.

Loading

0 comments on commit 0e0c38b

Please sign in to comment.