Skip to content

Commit

Permalink
Restructure le TP GeoPandas (#414)
Browse files Browse the repository at this point in the history
* reprend le TP 3

* Ajoute un exo jointures spatiales

* ajoute image mercator

* Add ojs cell

* update

* Retour

* rm axis

* Fix bug chlro

* update

* change
  • Loading branch information
linogaliana committed Sep 27, 2023
1 parent e8d0062 commit 20432f7
Show file tree
Hide file tree
Showing 8 changed files with 497 additions and 491 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
944 changes: 453 additions & 491 deletions content/manipulation/03_geopandas_TP.qmd

Large diffs are not rendered by default.

44 changes: 44 additions & 0 deletions content/manipulation/_play_with_projection.qmd
@@ -0,0 +1,44 @@
```{ojs}
container_projection = html`<div class="container">
<div class="row">
<div class="projection">
<div class="projection-label">Choisir une projection</div>
${viewof projection}
</div>
</div>
<div class="row">
<div class="projectedMap">
${projectedMap}
</div>
</div>
</div>`
```


```{ojs}
viewof projection = projectionInput({
name: "",
value: "Mercator"
})
```

```{ojs}
import {projectionInput} from "@fil/d3-projections"
import {map} from "@linogaliana/base-map"
```

```{ojs}
projectedMap = map(projection,
{
//svg: true,
value: projection.options,
width: width_projected_map,
//height: 300,
//rotate: [0, -90],
//inertia: true,
show_equator: true,
background: "#f1f0eb"
//show_structure: true
})
```

0 comments on commit 20432f7

Please sign in to comment.