Skip to content

Commit 20432f7

Browse files
authored
Restructure le TP GeoPandas (#414)
* reprend le TP 3 * Ajoute un exo jointures spatiales * ajoute image mercator * Add ojs cell * update * Retour * rm axis * Fix bug chlro * update * change
1 parent e8d0062 commit 20432f7

File tree

8 files changed

+497
-491
lines changed

8 files changed

+497
-491
lines changed

content/manipulation/03_geopandas_TP.qmd

Lines changed: 453 additions & 491 deletions
Large diffs are not rendered by default.
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
```{ojs}
2+
container_projection = html`<div class="container">
3+
<div class="row">
4+
<div class="projection">
5+
<div class="projection-label">Choisir une projection</div>
6+
${viewof projection}
7+
</div>
8+
</div>
9+
<div class="row">
10+
<div class="projectedMap">
11+
${projectedMap}
12+
</div>
13+
</div>
14+
</div>`
15+
```
16+
17+
18+
```{ojs}
19+
viewof projection = projectionInput({
20+
name: "",
21+
value: "Mercator"
22+
})
23+
```
24+
25+
```{ojs}
26+
import {projectionInput} from "@fil/d3-projections"
27+
import {map} from "@linogaliana/base-map"
28+
```
29+
30+
```{ojs}
31+
projectedMap = map(projection,
32+
{
33+
//svg: true,
34+
value: projection.options,
35+
width: width_projected_map,
36+
//height: 300,
37+
//rotate: [0, -90],
38+
//inertia: true,
39+
show_equator: true,
40+
background: "#f1f0eb"
41+
42+
//show_structure: true
43+
})
44+
```

0 commit comments

Comments
 (0)