Skip to content

Commit

Permalink
deploy: ad917df
Browse files Browse the repository at this point in the history
  • Loading branch information
giswqs committed Oct 12, 2024
1 parent 2caf48e commit e80c019
Show file tree
Hide file tree
Showing 16 changed files with 268 additions and 268 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": "42cdda01",
"id": "db6e9feb",
"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": "993cbe1e",
"id": "5aed98fd",
"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": "ebed1036",
"id": "948b8d36",
"metadata": {},
"source": [
"# Syllabus\n",
Expand Down
2 changes: 1 addition & 1 deletion _sources/book/labs/lab_02.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@
"source": [
"## Exercise 10: Generating and Analyzing Random Coordinates\n",
"\n",
"- Write a program that generates random coordinates (latitude and longitude between -180 and 180 degrees).\n",
"- Write a program that generates random coordinates (latitude between [-90, 90] degrees and longitude between [-180, 180] degrees).\n",
"- Use a `while` loop to keep generating coordinates until a pair with both latitude and longitude greater than 50 is generated.\n",
"- Print each generated coordinate and the final coordinate that meets the condition."
]
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": "af386f19",
"id": "3d9150de",
"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": "021ec059",
"id": "c313e7b6",
"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 @@ -701,7 +701,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_6a2caaab0447d95513b563b3db185b95 {
#map_0fedfedaf6fb6131b1687715cf2060a3 {
position: relative;
width: 100.0%;
height: 100.0%;
Expand All @@ -723,14 +723,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_6a2caaab0447d95513b563b3db185b95&quot; &gt;&lt;/div&gt;
&lt;div class=&quot;folium-map&quot; id=&quot;map_0fedfedaf6fb6131b1687715cf2060a3&quot; &gt;&lt;/div&gt;
&lt;/body&gt;
&lt;script&gt;
var map_6a2caaab0447d95513b563b3db185b95 = L.map(
&quot;map_6a2caaab0447d95513b563b3db185b95&quot;,
var map_0fedfedaf6fb6131b1687715cf2060a3 = L.map(
&quot;map_0fedfedaf6fb6131b1687715cf2060a3&quot;,
{
center: [20.0, 0.0],
crs: L.CRS.EPSG3857,
Expand All @@ -741,24 +741,24 @@ <h2><span class="section-number">9.3. </span>Verifying Your Installation<a class
layersControl: true,
}
);
L.control.scale().addTo(map_6a2caaab0447d95513b563b3db185b95);
L.control.scale().addTo(map_0fedfedaf6fb6131b1687715cf2060a3);
var tile_layer_ef6505e9e22c1edd4a08e05a191e24de = L.tileLayer(
var tile_layer_75f1abb08fe0553a2e657de10b724a36 = 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_ef6505e9e22c1edd4a08e05a191e24de.addTo(map_6a2caaab0447d95513b563b3db185b95);
tile_layer_75f1abb08fe0553a2e657de10b724a36.addTo(map_0fedfedaf6fb6131b1687715cf2060a3);
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_6a2caaab0447d95513b563b3db185b95);
).addTo(map_0fedfedaf6fb6131b1687715cf2060a3);
var options = {
Expand All @@ -767,32 +767,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_d3e724073e5867180da834e631fd33c1 = new L.featureGroup().addTo(
map_6a2caaab0447d95513b563b3db185b95
var drawnItems_draw_control_df2f28cc3326b2ae9d85e6d62e8e4cc0 = new L.featureGroup().addTo(
map_0fedfedaf6fb6131b1687715cf2060a3
);
options.edit.featureGroup = drawnItems_draw_control_d3e724073e5867180da834e631fd33c1;
var draw_control_d3e724073e5867180da834e631fd33c1 = new L.Control.Draw(
options.edit.featureGroup = drawnItems_draw_control_df2f28cc3326b2ae9d85e6d62e8e4cc0;
var draw_control_df2f28cc3326b2ae9d85e6d62e8e4cc0 = new L.Control.Draw(
options
).addTo( map_6a2caaab0447d95513b563b3db185b95 );
map_6a2caaab0447d95513b563b3db185b95.on(L.Draw.Event.CREATED, function(e) {
).addTo( map_0fedfedaf6fb6131b1687715cf2060a3 );
map_0fedfedaf6fb6131b1687715cf2060a3.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_d3e724073e5867180da834e631fd33c1.addLayer(layer);
drawnItems_draw_control_df2f28cc3326b2ae9d85e6d62e8e4cc0.addLayer(layer);
});
map_6a2caaab0447d95513b563b3db185b95.on(&#x27;draw:created&#x27;, function(e) {
drawnItems_draw_control_d3e724073e5867180da834e631fd33c1.addLayer(e.layer);
map_0fedfedaf6fb6131b1687715cf2060a3.on(&#x27;draw:created&#x27;, function(e) {
drawnItems_draw_control_df2f28cc3326b2ae9d85e6d62e8e4cc0.addLayer(e.layer);
});
var measure_control_f0a98f1851fce4a058c080ce32ff3a21 = new L.Control.Measure(
var measure_control_a0efba6bb91d7a852e66109fdcf667db = 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_6a2caaab0447d95513b563b3db185b95.addControl(measure_control_f0a98f1851fce4a058c080ce32ff3a21);
map_0fedfedaf6fb6131b1687715cf2060a3.addControl(measure_control_a0efba6bb91d7a852e66109fdcf667db);
// Workaround for using this plugin with Leaflet&gt;=1.8.0
// https://github.com/ljagis/leaflet-measure/issues/171
Expand All @@ -812,43 +812,43 @@ <h2><span class="section-number">9.3. </span>Verifying Your Installation<a class
var geocoderOpts_geocoder_f3681c7696ba8eeda5e3449dc27c5b9f = {&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_576441a4d6c6ec10d3947d86d5d71f54 = {&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_f3681c7696ba8eeda5e3449dc27c5b9f = geocoderOpts_geocoder_f3681c7696ba8eeda5e3449dc27c5b9f[&quot;provider&quot;];
var geocoderName_geocoder_576441a4d6c6ec10d3947d86d5d71f54 = geocoderOpts_geocoder_576441a4d6c6ec10d3947d86d5d71f54[&quot;provider&quot;];
var customGeocoder_geocoder_f3681c7696ba8eeda5e3449dc27c5b9f = L.Control.Geocoder[ geocoderName_geocoder_f3681c7696ba8eeda5e3449dc27c5b9f ](
geocoderOpts_geocoder_f3681c7696ba8eeda5e3449dc27c5b9f[&#x27;providerOptions&#x27;]
var customGeocoder_geocoder_576441a4d6c6ec10d3947d86d5d71f54 = L.Control.Geocoder[ geocoderName_geocoder_576441a4d6c6ec10d3947d86d5d71f54 ](
geocoderOpts_geocoder_576441a4d6c6ec10d3947d86d5d71f54[&#x27;providerOptions&#x27;]
);
geocoderOpts_geocoder_f3681c7696ba8eeda5e3449dc27c5b9f[&quot;geocoder&quot;] = customGeocoder_geocoder_f3681c7696ba8eeda5e3449dc27c5b9f;
geocoderOpts_geocoder_576441a4d6c6ec10d3947d86d5d71f54[&quot;geocoder&quot;] = customGeocoder_geocoder_576441a4d6c6ec10d3947d86d5d71f54;
L.Control.geocoder(
geocoderOpts_geocoder_f3681c7696ba8eeda5e3449dc27c5b9f
geocoderOpts_geocoder_576441a4d6c6ec10d3947d86d5d71f54
).on(&#x27;markgeocode&#x27;, function(e) {
var zoom = geocoderOpts_geocoder_f3681c7696ba8eeda5e3449dc27c5b9f[&#x27;zoom&#x27;] || map_6a2caaab0447d95513b563b3db185b95.getZoom();
map_6a2caaab0447d95513b563b3db185b95.setView(e.geocode.center, zoom);
}).addTo(map_6a2caaab0447d95513b563b3db185b95);
var zoom = geocoderOpts_geocoder_576441a4d6c6ec10d3947d86d5d71f54[&#x27;zoom&#x27;] || map_0fedfedaf6fb6131b1687715cf2060a3.getZoom();
map_0fedfedaf6fb6131b1687715cf2060a3.setView(e.geocode.center, zoom);
}).addTo(map_0fedfedaf6fb6131b1687715cf2060a3);
map_6a2caaab0447d95513b563b3db185b95.fitBounds(
map_0fedfedaf6fb6131b1687715cf2060a3.fitBounds(
[[20, 0], [20, 0]],
{&quot;maxZoom&quot;: 2}
);
var layer_control_68e251dd73fe752e28d5be2edcfe0b1c_layers = {
var layer_control_ddb02bd114448de5c9f94a762bfe7dc2_layers = {
base_layers : {
&quot;openstreetmap&quot; : tile_layer_ef6505e9e22c1edd4a08e05a191e24de,
&quot;openstreetmap&quot; : tile_layer_75f1abb08fe0553a2e657de10b724a36,
},
overlays : {
},
};
let layer_control_68e251dd73fe752e28d5be2edcfe0b1c = L.control.layers(
layer_control_68e251dd73fe752e28d5be2edcfe0b1c_layers.base_layers,
layer_control_68e251dd73fe752e28d5be2edcfe0b1c_layers.overlays,
let layer_control_ddb02bd114448de5c9f94a762bfe7dc2 = L.control.layers(
layer_control_ddb02bd114448de5c9f94a762bfe7dc2_layers.base_layers,
layer_control_ddb02bd114448de5c9f94a762bfe7dc2_layers.overlays,
{&quot;autoZIndex&quot;: true, &quot;collapsed&quot;: true, &quot;position&quot;: &quot;topright&quot;}
).addTo(map_6a2caaab0447d95513b563b3db185b95);
).addTo(map_0fedfedaf6fb6131b1687715cf2060a3);
&lt;/script&gt;
Expand Down
210 changes: 105 additions & 105 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 e80c019

Please sign in to comment.