User:Barnes38/GrenobleAlpesMétropole VoirieCyclable
Travail en cours, non finalisé
Grenoble-Alpes Métropole
- carte des piste cyclables de Métromobilités
- tentative d'avoir la même chose que "carte des piste cyclables de Métromobilités" mais avec les données OSM
Requêtes Overpass de voirie cyclable
121 Chronovélos
Possible de passer les mêmes requêtes avec "Communauté d'agglomération du Pays Voironnais" "Communauté de communes Le Grésivaudan"
Numéro | Explications | Requête Overpass | Résultat nov 2023 | Résultat nov 2024 |
---|---|---|---|---|
121.1a | Chronovélos dans GAM |
[out:json][timeout:25];
area[name="Grenoble-Alpes Métropole"]->.searchArea;
(
nwr["name"~"Chronovélo *"](area.searchArea);
nwr["ref"~"Chronovélo *"](area.searchArea);
);
out geom;
|
||
121.1b | Chronovélos dans GAM : kilométrage total |
[out:csv(length, "::count"; false; ";")];
area[name="Grenoble-Alpes Métropole"]->.searchArea;
(
nwr["name"~"Chronovélo *"](area.searchArea);
nwr["ref"~"Chronovélo *"](area.searchArea);
);
make count length=sum(length());
out;
|
33155.937; | 37397.772; |
121.1c | Chronovélos dans GAM : kilomètrage par commune |
[out:csv(name, length, "::count", term; false; ";")];
area[name="Grenoble-Alpes Métropole"]->.searchArea;
relation["boundary"="administrative"]["admin_level"="8"](area.searchArea);
map_to_area;
// Pour chaque commune
for (t["name"])
(
(._;)->.commune;
(relation(area.commune)["name"~"Chronovélo *"];);
(
nwr(area.commune)["name"~"Chronovélo *"];
nwr(area.commune)["ref"~"Chronovélo *"];
);
make count name = commune.set(t["name"]), length=sum(length()), term="<br>";
out;
);
|
Bresson;0;; |
Bresson;0;; |
121.2 | ||||
121.3 |
122 Voies vertes
Numéro | Explications | Requête Overpass | Résultat nov 2023 | Résultat nov 2024 | ||
---|---|---|---|---|---|---|
122.1a | Voies vertes dans GAM |
[out:json][timeout:25];
area[name="Grenoble-Alpes Métropole"]->.searchArea;
(
relation["ref"="V63"](area.searchArea);
relation["ref"="V64"](area.searchArea);
);
out geom;
|
||||
122.1b | Voies vertes dans GAM : kilométrage total |
[out:csv(length, "::count"; false; ";")];
area[name="Grenoble-Alpes Métropole"]->.searchArea;
(
relation["ref"="V63"](area.searchArea);
relation["ref"="V64"](area.searchArea);
);
make count length=sum(length());
out;
|
33155.937; | 232958.531; (?) | ||
122.c | Voies vertes dans GAM : kilomètrage par commune |
[out:csv(name, length, "::count", term; false; ";")];
area[name="Grenoble-Alpes Métropole"]->.searchArea;
relation["boundary"="administrative"]["admin_level"="8"](area.searchArea);
map_to_area;
// Pour chaque commune
for (t["name"])
(
(._;)->.commune;
(
relation["ref"="V63"](area.commune);
relation["ref"="V64"](area.commune);
);
make count name = commune.set(t["name"]), length=sum(length()), term="<br>";
out;
);
|
Bresson;0;; |
Pistes cyclables
[!oneway] => oneway pas positionné => deux sens de circuration [oneway!=yes] => oneway différent de yes => deux sens de circuration
1231 Pistes cyclables version 1
[out:json][timeout:25];
area[name="Grenoble-Alpes Métropole"]->.searchArea;
way[highway=cycleway](area.searchArea);
out geom;
1231.1b | Pistes cyclables dans GAM (km total) |
[out:csv(length, "::count"; false; ";")];
area[name="Grenoble-Alpes Métropole"]->.searchArea;
way[highway=cycleway](area.searchArea);
make count length=sum(length());
out;
|
143713.966; | |
1231.1c | Pistes cyclables dans GAM (kilomètrage par commune) |
// Format CSV de sortie avec les colonnes : nom, longueur, terminaison
[out:csv(nom, longueur, terminaison; false; ";")];
// On recherche l'entité "Grenoble-Alpes Métropole" pour effectuer une recherche
area[name="Grenoble-Alpes Métropole"]->.searchArea;
// Dans cette aire de recherche, on cherche les relations caractérisées par [boundary=administrative][admin_level=8] : ceci correspond à toutes les communes de "Grenoble-Alpes Métropole"
relation[boundary=administrative][admin_level=8](area.searchArea);
// Et on transforme ces relations en aires de recherche
map_to_area;
// La boucle itère sur l'ensemble des relations sélectionnées dans l'étape précédente
// Donc pour chaque commune
for (t["name"])
(
// La commune courante
(._;)->.commune;
// On effectue la recherche [highway=cycleway]
way(area.commune)[highway=cycleway];
// Et puis on se sert de la possibilité de calculer et affecter des variables
make count nom = commune.set(t["name"]), longueur=sum(length()), terminaison="<br>";
// A chaque tour de boucle, on génère un output
out;
);
|
Bresson;0; | |
1231.1d | Pistes cyclables dans GAM par commune avec : population, kilométrage par commune, kilométrage par habitant |
// Format CSV de sortie avec les colonnes : nom, population, longueur, par_habitant
[out:csv(nom, population, longueur, par_habitant, terminaison; true; ";")];
// On recherche l'entité "Grenoble-Alpes Métropole" pour effectuer une recherche
area[name="Grenoble-Alpes Métropole"]->.searchArea;
// Dans cette aire de recherche, on cherche les relations caractérisées par [boundary=administrative][admin_level=8] : ceci correspond à toutes les communes de "Grenoble-Alpes Métropole"
relation[boundary=administrative][admin_level=8](area.searchArea);
// Et on transforme ces relations en aires de recherche
map_to_area;
// La boucle itère sur l'ensemble des relations sélectionnées dans l'étape précédente
// Donc pour chaque commune
for (t["name"])
(
// La commune courante
(._;)->.commune;
// On effectue la recherche [highway=cycleway]
way(area.commune)[highway=cycleway];
// Et puis on se sert de la possibilité de calculer et affecter des variables
make count nom = commune.set(t["name"]), population=commune.set(t["population"]), par_habitant=(sum(length()/commune.set(t["population"]))), longueur=sum(length()), terminaison="<br>";
// A chaque tour de boucle, on génère un output
out;
);
|
nom;population;longueur;par_habitant;terminaison
Bresson;667;0;0; | |
1231.2a | Pistes cyclables bidirectionnelles dans GAM: deux sens de circulation. |
[out:json][timeout:25];
area[name="Grenoble-Alpes Métropole"]->.searchArea;
(
nwr[highway=cycleway][!oneway](area.searchArea);
nwr[highway=cycleway][oneway!=yes](area.searchArea);
);
out geom;
|
||
1231.2b | Pistes cyclables bidirectionnelles dans GAM: deux sens de circulation (km total) |
[out:csv(length, "::count"; false; ";")];
area[name="Grenoble-Alpes Métropole"]->.searchArea;
(
nwr[highway=cycleway][!oneway](area.searchArea);
nwr[highway=cycleway][oneway!=yes](area.searchArea);
);
make count length=sum(length());
out;
|
114329.248; | |
1231.3a | Pistes cyclables bidirectionnelles dans GAM: deux sens de circulation et deux voies séparées |
[out:json][timeout:25];
area[name="Grenoble-Alpes Métropole"]->.searchArea;
(
nwr[lanes=2][highway=cycleway][!oneway](area.searchArea);
nwr[lanes=2][highway=cycleway][oneway!=yes](area.searchArea);
);
out geom;
|
||
1231.3b | Pistes cyclables bidirectionnelles dans GAM: deux sens de circulation et deux voies séparées (km total) |
[out:csv(length, "::count"; false; ";")];
area[name="Grenoble-Alpes Métropole"]->.searchArea;
(
nwr[lanes=2][highway=cycleway][!oneway](area.searchArea);
nwr[lanes=2][highway=cycleway][oneway!=yes](area.searchArea);
);
make count length=sum(length());
out;
|
57690.887; | |
1231.4a | Pistes cyclables bidirectionnelles dans GAM: deux sens de circulation, deux voies séparées, et bonne séparation des flux avec les piétons |
[out:json][timeout:25];
area[name="Grenoble-Alpes Métropole"]->.searchArea;
(
nwr[lanes=2][highway=cycleway][!oneway][segregated=yes][foot!=no](area.searchArea);
nwr[lanes=2][highway=cycleway][oneway!=yes][segregated=yes][foot!=no](area.searchArea);
nwr[lanes=2][highway=cycleway][!oneway][foot=no][segregated!=yes](area.searchArea);
nwr[lanes=2][highway=cycleway][oneway!=yes][foot=no][segregated!=yes](area.searchArea);
);
out geom;
|
||
1231.4b | Pistes cyclables bidirectionnelles dans GAM: deux sens de circulation, deux voies séparées, et bonne séparation des flux avec les piétons (km total) |
[out:csv(length, "::count"; false; ";")];
area[name="Grenoble-Alpes Métropole"]->.searchArea;
(
nwr[lanes=2][highway=cycleway][!oneway][segregated=yes][foot!=no](area.searchArea);
nwr[lanes=2][highway=cycleway][oneway!=yes][segregated=yes][foot!=no](area.searchArea);
nwr[lanes=2][highway=cycleway][!oneway][foot=no][segregated!=yes](area.searchArea);
nwr[lanes=2][highway=cycleway][oneway!=yes][foot=no][segregated!=yes](area.searchArea);
);
make count length=sum(length());
out;
|
29249.56; | |
1231.5a | Pistes cyclables bidirectionnelles et mauvaise ségrégation avec piétons dans GAM |
[out:json][timeout:25];
area[name="Grenoble-Alpes Métropole"]->.searchArea;
way[highway=cycleway][lanes=2][segregated=no](area.searchArea);
out geom;
|
||
1231.5b | Pistes cyclables bidirectionnelles et mauvaise ségrégation avec piétons dans GAM (km total) |
[out:csv(length, "::count"; false; ";")];
area[name="Grenoble-Alpes Métropole"]->.searchArea;
way[highway=cycleway][lanes=2][segregated=no](area.searchArea);
make count length=sum(length());
out;
| ||
124.1a | Pistes cyclables (track) dans GAM |
[out:json][timeout:25];
area[name="Grenoble-Alpes Métropole"]->.searchArea;
way[highway][cycleway=track](area.searchArea);
out geom;
|
||
124.1b | Pistes cyclables (track) dans GAM : kilomètrage total |
[out:csv(length, "::count"; false; ";")];
area[name="Grenoble-Alpes Métropole"]->.searchArea;
way[highway][cycleway=track](area.searchArea);
make count length=sum(length());
out;
|
255.072; | |
124.1c | Pistes cyclables (track) dans GAM : kilomètrage par commune |
[out:csv(name, length, "::count", term; false; ";")];
area[name="Grenoble-Alpes Métropole"]->.searchArea;
relation[boundary=administrative][admin_level=8](area.searchArea);
map_to_area;
// Pour chaque commune
for (t["name"])
(
(._;)->.commune;
(way(area.commune)[highway][cycleway=track];);
make count name = commune.set(t["name"]), length=sum(length()), term="<br>";
out;
);
|
Saint-Égrève;193.814;; |
1232 Pistes cyclables façon GéoVélo
Numéro | Explications | Requête Overpass | Résultat Nov 2024 |
---|---|---|---|
1232.1a | Pistes cyclables bidir GéoVélo dans GAM |
[out:json][timeout:250];
area[name="Grenoble-Alpes Métropole"]->.searchArea;
(
nwr[highway=cycleway][!oneway](area.searchArea);
nwr[highway=cycleway][oneway!=yes](area.searchArea);
nwr["cycleway"~"^(track
|
|
1232.1b | Pistes cyclables bidir GéoVélo dans GAM : km total |
[out:csv(length, "::count"; false; ";")];
area[name="Grenoble-Alpes Métropole"]->.searchArea;
(
nwr[highway=cycleway][!oneway](area.searchArea);
nwr[highway=cycleway][oneway!=yes](area.searchArea);
nwr["cycleway"~"^(track
|
116133.673; |
1232.1c | Pistes cyclables bidir GéoVélo dans GAM : km par commune |
[out:csv(name, length, term; false; ";")];
area[name="Grenoble-Alpes Métropole"]->.searchArea;
relation[boundary=administrative][admin_level=8](area.searchArea);
map_to_area;
// Pour chaque commune
for (t["name"])
(
(._;)->.commune;
(
nwr[highway=cycleway][!oneway](area.commune);
nwr[highway=cycleway][oneway!=yes](area.commune);
nwr["cycleway"~"^(track
|
Bresson;0;; |
1232.2a | Pistes cyclables bidir GéoVélo dans GAM avec lanes=2 ("vraie" bidir?) |
[out:json][timeout:250];
area[name="Grenoble-Alpes Métropole"]->.searchArea;
(
nwr[highway=cycleway][!oneway][lanes=2](area.searchArea);
nwr[highway=cycleway][oneway!=yes][lanes=2](area.searchArea);
nwr["cycleway"~"^(track
|
|
1232.2b | Pistes cyclables bidir GéoVélo dans GAM avec lanes=2 ("vraie" bidir?) : km total |
[out:csv(length, "::count"; false; ";")];
area[name="Grenoble-Alpes Métropole"]->.searchArea;
(
nwr[lanes=2][highway=cycleway][!oneway](area.commune);
nwr[lanes=2][highway=cycleway][oneway!=yes](area.commune);
nwr[lanes=2]["cycleway"~"^(track
|
57746.234; |
1232.2c | Pistes cyclables bidir GéoVélo dans GAM avec lanes=2 ("vraie" bidir?) : km par commune |
[out:csv(name, length, term; false; ";")];
area[name="Grenoble-Alpes Métropole"]->.searchArea;
relation[boundary=administrative][admin_level=8](area.searchArea);
map_to_area;
// Pour chaque commune
for (t["name"])
(
(._;)->.commune;
(
nwr[lanes=2][highway=cycleway][!oneway](area.commune);
nwr[lanes=2][highway=cycleway][oneway!=yes](area.commune);
nwr[lanes=2]["cycleway"~"^(track
|
Bresson;0;; |
Bandes cyclables
Numéro | Explications | Requête Overpass | Résultat nov 2024 |
---|---|---|---|
3.1 | Bandes cyclables dans GAM |
[out:json][timeout:60];
area[name="Grenoble-Alpes Métropole"]->.searchArea;
(
way["highway"]["cycleway"="lane"](area.searchArea);
way["highway"]["cycleway:right"="lane"](area.searchArea);
way["highway"]["cycleway:left"="lane"](area.searchArea);
);
out geom;
|
|
3.2 | Bandes cyclables dans GAM : kilométrage total |
[out:csv(length, "::count"; false; ";")];
area[name="Grenoble-Alpes Métropole"]->.searchArea;
(
way["highway"]["cycleway"="lane"](area.searchArea);
way["highway"]["cycleway:right"="lane"](area.searchArea);
way["highway"]["cycleway:left"="lane"](area.searchArea);
);
make count length=sum(length());
out;
|
127300.921; |
3.3 | Bandes cyclables dans GAM : kilométrage par commune |
[out:csv(name, length, "::count", term; false; ";")][timeout:120];
area[name="Grenoble-Alpes Métropole"]->.searchArea;
relation["boundary"="administrative"]["admin_level"="8"](area.searchArea);
map_to_area;
// Pour chaque commune
for (t["name"])
(
(._;)->.commune;
(
way["highway"]["cycleway"="lane"](area.commune);
way["highway"]["cycleway:right"="lane"](area.commune);
way["highway"]["cycleway:left"="lane"](area.commune);
);
make count name = commune.set(t["name"]), length=sum(length()), term="<br>";
out;
);
|
Bresson;776.704;; |
3.4 | |||
3.5 |
Double-sens cyclables matérialisés au sol
Numéro | Explications | Requête Overpass | Résultat Nov 2023
|
---|---|---|---|
4.1 | Double-sens cyclables matérialisés au sol dans GAM |
[out:csv(metrage, "::count"; false; ";")];
area[name="Grenoble-Alpes Métropole"]->.searchArea;
way["highway"]["cycleway"="opposite_lane"](area.searchArea);
make count metrage=sum(length());
out;
|
2798.099; |
4.2 | Double-sens cyclables matérialisés au sol dans GAM : kilométrage total |
[out:csv(metrage, "::count"; false; ";")];
area[name="Grenoble-Alpes Métropole"]->.searchArea;
way["highway"]["cycleway"="opposite_lane"](area.searchArea);
make count metrage=sum(length());
out;
|
2798.099; |
4.3 | Double-sens cyclables dans GAM : kilométrage par commune |
[out:csv(name, length, "::count", term; false; ";")][timeout:60];
area[name="Grenoble-Alpes Métropole"]->.searchArea;
relation["boundary"="administrative"]["admin_level"="8"](area.searchArea);
map_to_area;
// Pour chaque commune
for (t["name"])
(
(._;)->.commune;
way["highway"]["cycleway"="opposite_lane"](area.commune);
make count name = commune.set(t["name"]), length=sum(length()), term="<br>";
out;
);
|
Domène;184.048;; |
4.4 | |||
4.5 |
Double-sens cyclables simples (mais explicites)
Numéro | Explications | Requête Overpass | Résultat Nov 2023
|
---|---|---|---|
5.1 | Double-sens cyclables dans GAM |
[out:json][timeout:60];
area[name="Grenoble-Alpes Métropole"]->.searchArea;
way["highway"]["cycleway"="opposite"](area.searchArea);
out geom;
|
|
5.2 | Double-sens cyclables dans GAM : kilométrage total |
[out:csv(length, "::count"; false; ";")];
area[name="Grenoble-Alpes Métropole"]->.searchArea;
way["highway"]["cycleway"="opposite"](area.searchArea);
make count length=sum(length());
out;
|
22874.994; |
5.3 | Double-sens cyclables dans GAM : kilométrage par commune |
[out:csv(name, length, "::count", term; false; ";")][timeout:60];
area[name="Grenoble-Alpes Métropole"]->.searchArea;
relation["boundary"="administrative"]["admin_level"="8"](area.searchArea);
map_to_area;
// Pour chaque commune
for (t["name"])
(
(._;)->.commune;
way["highway"]["cycleway"="opposite"](area.commune);
make count name = commune.set(t["name"]), length=sum(length()), term="<br>";
out;
);
|
Corenc;168.675;; |
5.4 | |||
5.5 |
Vélorues
Numéro | Explications | Requête Overpass | Résultat Nov 2023
|
---|---|---|---|
6.1 | Vélorues dans GAM |
[out:csv(metrage, "::count"; false; ";")];
area[name="Grenoble-Alpes Métropole"]->.searchArea;
way["highway"]["cyclestreet"="yes"](area.searchArea);
make count metrage=sum(length());
out;
|
|
6.2 | Vélorues dans GAM : kilométrage total |
[out:csv(metrage, "::count"; false; ";")];
area[name="Grenoble-Alpes Métropole"]->.searchArea;
way["highway"]["cyclestreet"="yes"](area.searchArea);
make count metrage=sum(length());
out;
|
238.305; |
6.3 | Vélorues dans GAM : kilométrage par commune |
[out:csv(name, length, "::count", term; false; ";")][timeout:60];
area[name="Grenoble-Alpes Métropole"]->.searchArea;
relation["boundary"="administrative"]["admin_level"="8"](area.searchArea);
map_to_area;
// Pour chaque commune
for (t["name"])
(
(._;)->.commune;
way["highway"]["cyclestreet"="yes"](area.commune);
make count name = commune.set(t["name"]), length=sum(length()), term="<br>";
out;
);
|
Gières;238.305;; |
6.4 | |||
6.5 |
Voies partagées avec les piétons
Numéro | Explications | Requête Overpass | Résultat Nov 2023
|
---|---|---|---|
7.1 | Voies partagées avec les piétons dans GAM |
area[name="Grenoble-Alpes Métropole"]->.searchArea;
(
way["highway"="path"]["bicycle"="yes"](area.searchArea);
way["highway"="path"]["bicycle"="designated"](area.searchArea);
);
out geom;
|
93057.426; |
7.2 | Voies partagées avec les piétons dans GAM : kilométrage total |
[out:csv(length, "::count"; false; ";")];
area[name="Grenoble-Alpes Métropole"]->.searchArea;
(
way["highway"="path"]["bicycle"="yes"](area.searchArea);
way["highway"="path"]["bicycle"="designated"](area.searchArea);
);
make count length=sum(length());
out;
|
13375.694; |
7.3 | Voies partagées avec les piétons dans GAM : kilométrage par commune |
[out:csv(name, length, "::count", term; false; ";")][timeout:60];
area[name="Grenoble-Alpes Métropole"]->.searchArea;
relation["boundary"="administrative"]["admin_level"="8"](area.searchArea);
map_to_area;
// Pour chaque commune
for (t["name"])
(
(._;)->.commune;
(
way["highway"="path"]["bicycle"="yes"](area.commune);
way["highway"="path"]["bicycle"="designated"](area.commune);
);
make count name = commune.set(t["name"]), length=sum(length()), term="<br>";
out;
);
|
Bresson;1107.977;; |
7.4 | |||
7.5 |
Voies partagées avec les bus
Numéro | Explications | Requête Overpass | Résultat Nov 2023
|
---|---|---|---|
8.1 | Voies partagées avec les bus dans GAM |
[out:json][timeout:60];
area[name="Grenoble-Alpes Métropole"]->.searchArea;
(
way["highway"]["cycleway"="share_busway"](area.searchArea);
way["highway"]["cycleway:left"="share_busway"](area.searchArea);
way["highway"]["cycleway:right"="share_busway"](area.searchArea);
);
out geom;
|
|
8.2 | Voies partagées avec les bus dans GAM : kilométrage total |
[out:csv(length, "::count"; false; ";")];
area[name="Grenoble-Alpes Métropole"]->.searchArea;
(
way["highway"]["cycleway"="share_busway"](area.searchArea);
way["highway"]["cycleway:left"="share_busway"](area.searchArea);
way["highway"]["cycleway:right"="share_busway"](area.searchArea);
);
make count length=sum(length());
out;
|
13375.694; |
8.3 | Voies partagées avec les bus dans GAM : kilométrage par commune |
[out:csv(name, length, "::count", term; false; ";")][timeout:60];
area[name="Grenoble-Alpes Métropole"]->.searchArea;
relation["boundary"="administrative"]["admin_level"="8"](area.searchArea);
map_to_area;
// Pour chaque commune
for (t["name"])
(
(._;)->.commune;
(
way["highway"]["cycleway"="share_busway"](area.commune);
way["highway"]["cycleway:left"="share_busway"](area.commune);
way["highway"]["cycleway:right"="share_busway"](area.commune);
);
make count name = commune.set(t["name"]), length=sum(length()), term="<br>";
out;
);
|
Eybens;900.904;; |
8.4 | |||
8.5 |
Voies partagées avec motorisés
Numéro | Explications | Requête Overpass | Résultat Nov 2023
|
---|---|---|---|
9.1 | Voies partagées avec motorisés dans GAM |
[out:json][timeout:60];
area[name="Grenoble-Alpes Métropole"]->.searchArea;
(
way["highway"]["cycleway"="shared_lane"](area.searchArea);
way["highway"]["cycleway:left"="shared_lane"](area.searchArea);
way["highway"]["cycleway:right"="shared_lane"](area.searchArea);
);
out geom;
|
|
9.2 | Voies partagées avec motorisés dans GAM : kilométrage total |
[out:csv(length, "::count"; false; ";")];
area[name="Grenoble-Alpes Métropole"]->.searchArea;
(
way["highway"]["cycleway"="shared_lane"](area.searchArea);
way["highway"]["cycleway:left"="shared_lane"](area.searchArea);
way["highway"]["cycleway:right"="shared_lane"](area.searchArea);
);
make count length=sum(length());
out;
|
17044.422; |
9.3 | Voies partagées avec motorisés dans GAM : kilométrage par commune |
[out:csv(name, length, "::count", term; false; ";")][timeout:60];
area[name="Grenoble-Alpes Métropole"]->.searchArea;
relation["boundary"="administrative"]["admin_level"="8"](area.searchArea);
map_to_area;
// Pour chaque commune
for (t["name"])
(
(._;)->.commune;
(
way["highway"]["cycleway"="shared_lane"](area.commune);
way["highway"]["cycleway:left"="shared_lane"](area.commune);
way["highway"]["cycleway:right"="shared_lane"](area.commune);
);
make count name = commune.set(t["name"]), length=sum(length()), term="<br>";
out;
);
|
Corenc;1977.527;; |
9.4 | |||
9.5 |
Voies partagées (de manière générale)
Numéro | Explications | Requête Overpass | Résultat Nov 2023
|
---|---|---|---|
10.1 | Voies partagées dans GAM |
[out:json][timeout:60];
area[name="Grenoble-Alpes Métropole"]->.searchArea;
way["highway"]["cycleway"="shared"](area.searchArea);
out geom;
|
|
10.2 | Voies partagées dans GAM : kilométrage total |
[out:csv(length, "::count"; false; ";")];
area[name="Grenoble-Alpes Métropole"]->.searchArea;
way["highway"]["cycleway"="shared"](area.searchArea);
make count length=sum(length());
out;
|
264.405; |
10.3 | Voies partagées dans GAM : kilométrage par commune |
[out:csv(name, length, "::count", term; false; ";")][timeout:60];
area[name="Grenoble-Alpes Métropole"]->.searchArea;
relation["boundary"="administrative"]["admin_level"="8"](area.searchArea);
map_to_area;
// Pour chaque commune
for (t["name"])
(
(._;)->.commune;
way["highway"]["cycleway"="shared"](area.commune);
make count name = commune.set(t["name"]), length=sum(length()), term="<br>";
out;
);
|
Meylan;264.405;; |
10.4 | |||
10.5 |
Travail en cours, encore moins finalisé
Requêtes Overpass de voiries cyclables dédiées de tous les types
Voiries cyclables dédiées : kilométrage total
Numéro | Explications | Requête Overpass | Résultat Fév 2024 |
---|---|---|---|
3.1 | Voiries cyclables dédiées dans GAM |
[out:json][timeout:25];
area[name="Grenoble-Alpes Métropole"]->.searchArea;
(
way[highway=cycleway][lanes=2][segregated=yes](area.searchArea);
way[highway=cycleway][lanes=2][!segregated](area.searchArea);
way[highway=cycleway][lanes=1][segregated=yes](area.searchArea);
way[highway=cycleway][lanes=1][!segregated](area.searchArea);
way[highway=cycleway][!lanes][segregated=yes](area.searchArea);
way[highway=cycleway][!lanes][!segregated](area.searchArea);
way[highway=cycleway][oneway=no][motor_vehicle=no](area.searchArea);
way[highway=path][bicycle=designated][segregated=yes](area.searchArea);
way[highway=path][bicycle=designated][!segregated](area.searchArea);
way[highway=path][bicycle=yes][segregated=yes](area.searchArea);
way[highway=path][bicycle=yes][!segregated](area.searchArea);
);
out geom;
|
|
3.2 | Voiries cyclables dédiées dans GAM : kilométrage total |
[out:csv(length, "::count"; false; ";")];
area[name="Grenoble-Alpes Métropole"]->.searchArea;
(
way[highway=cycleway][lanes=2][segregated=yes](area.searchArea);
way[highway=cycleway][lanes=2][!segregated](area.searchArea);
way[highway=cycleway][lanes=1][segregated=yes](area.searchArea);
way[highway=cycleway][lanes=1][!segregated](area.searchArea);
way[highway=cycleway][!lanes][segregated=yes](area.searchArea);
way[highway=cycleway][!lanes][!segregated](area.searchArea);
way[highway=cycleway][oneway=no][motor_vehicle=no](area.searchArea);
way[highway=path][bicycle=designated][segregated=yes](area.searchArea);
way[highway=path][bicycle=designated][!segregated](area.searchArea);
way[highway=path][bicycle=yes][segregated=yes](area.searchArea);
way[highway=path][bicycle=yes][!segregated](area.searchArea);
);
make count length=sum(length());
out;
|
33155.937; |
3.3 | Voiries cyclables dédiées dans GAM : kilomètrage par commune |
[out:csv(name, length, "::count", term; false; ";")];
area[name="Grenoble-Alpes Métropole"]->.searchArea;
relation["boundary"="administrative"]["admin_level"="8"](area.searchArea);
map_to_area;
// Pour chaque commune
for (t["name"])
(
(._;)->.commune;
(
way[highway=cycleway][lanes=2][segregated=yes](area.commune);
way[highway=cycleway][lanes=2][!segregated](area.commune);
way[highway=cycleway][lanes=1][segregated=yes](area.commune);
way[highway=cycleway][lanes=1][!segregated](area.commune);
way[highway=cycleway][!lanes][segregated=yes](area.commune);
way[highway=cycleway][!lanes][!segregated](area.commune);
way[highway=cycleway][oneway=no][motor_vehicle=no](area.commune);
way[highway=path][bicycle=designated][segregated=yes](area.commune);
way[highway=path][bicycle=designated][!segregated](area.commune);
way[highway=path][bicycle=yes][segregated=yes](area.commune);
way[highway=path][bicycle=yes][!segregated](area.commune);
);
make count name = commune.set(t["name"]), length=sum(length()), term="<br>";
out;
);
out geom;
|
Voiries cyclables dédiées : Le Havre/Grenoble/Strasbourg/Toulouse kilométrage par habitant
L'idée étant d'arriver à refaire le calcul fait par GeoVélo
Voiries cyclables dédiées : Le Havre kilométrage par habitant
Numéro | Explications | Requête Overpass | Résultat Fév 2024 |
---|---|---|---|
3.4.1 | Voiries cyclables dédiées dans Le Havre Métropole : kilomètrage par habitant par commune |
[out:csv(name, population, length, par_habitant, "::count", term; false; ";")];
area[name="Le Havre"]->.searchArea;
relation[admin_level=8][boundary=administrative](area.searchArea);
map_to_area;
// Pour chaque commune
for (t["name"])
(
(._;)->.commune;
(
way[highway=cycleway][lanes=2][segregated=yes](area.commune);
way[highway=cycleway][lanes=2][!segregated](area.commune);
way[highway=cycleway][lanes=1][segregated=yes](area.commune);
way[highway=cycleway][lanes=1][!segregated](area.commune);
way[highway=cycleway][!lanes][segregated=yes](area.commune);
way[highway=cycleway][!lanes][!segregated](area.commune);
way[highway=cycleway][oneway=no][motor_vehicle=no](area.commune);
way[highway=path][bicycle=designated][segregated=yes](area.commune);
way[highway=path][bicycle=designated][!segregated](area.commune);
way[highway=path][bicycle=yes][segregated=yes](area.commune);
way[highway=path][bicycle=yes][!segregated](area.commune);
);
make count name = commune.set(t["name"]), population=commune.set(t["population"]), par_habitant=(sum(length()/commune.set(t["population"]))), length=sum(length()), term="<br>";
out;
);
out geom;
|
Alvimare;622;0;0;; |
Voiries cyclables dédiées : Grenoble-Alpes Métropole toutes voiries confondues, sans pondération
Numéro | Explications | Requête Overpass | Résultat Fév 2024 |
---|---|---|---|
3.5.1.1 | Voiries cyclables dédiées dans GAM : carte |
[out:json][timeout:25];
area[name="Grenoble-Alpes Métropole"]->.searchArea;
relation[admin_level=8][boundary=administrative](area.searchArea);
map_to_area;
// Pour chaque commune
for (t["name"])
(
(._;)->.commune;
(
way[highway=cycleway][lanes=2][segregated=yes](area.commune);
way[highway=cycleway][lanes=2][!segregated](area.commune);
way[highway=cycleway][lanes=1][segregated=yes](area.commune);
way[highway=cycleway][lanes=1][!segregated](area.commune);
way[highway=cycleway][!lanes][segregated=yes](area.commune);
way[highway=cycleway][!lanes][!segregated](area.commune);
way[highway=cycleway][oneway=no][motor_vehicle=no](area.commune);
way[highway=path][bicycle=designated][segregated=yes](area.commune);
way[highway=path][bicycle=designated][!segregated](area.commune);
way[highway=path][bicycle=yes][segregated=yes](area.commune);
way[highway=path][bicycle=yes][!segregated](area.commune);
);
out geom;
|
|
3.5.1.2 | Voiries cyclables dédiées dans GAM : kilomètrage par habitant par commune |
[out:csv(name, population, length, par_habitant, "::count", term; false; ";")];
area[name="Grenoble-Alpes Métropole"]->.searchArea;
relation[admin_level=8][boundary=administrative](area.searchArea);
map_to_area;
// Pour chaque commune
for (t["name"])
(
(._;)->.commune;
(
way[highway=cycleway][lanes=2][segregated=yes](area.commune);
way[highway=cycleway][lanes=2][!segregated](area.commune);
way[highway=cycleway][lanes=1][segregated=yes](area.commune);
way[highway=cycleway][lanes=1][!segregated](area.commune);
way[highway=cycleway][!lanes][segregated=yes](area.commune);
way[highway=cycleway][!lanes][!segregated](area.commune);
way[highway=cycleway][oneway=no][motor_vehicle=no](area.commune);
way[highway=path][bicycle=designated][segregated=yes](area.commune);
way[highway=path][bicycle=designated][!segregated](area.commune);
way[highway=path][bicycle=yes][segregated=yes](area.commune);
way[highway=path][bicycle=yes][!segregated](area.commune);
);
make count name = commune.set(t["name"]), population=commune.set(t["population"]), par_habitant=(sum(length()/commune.set(t["population"]))), length=sum(length()), term="<br>";
out;
);
out geom;
|
Bresson;671;1107.977;1.6512324888226;; |
Voiries cyclables dédiées : Grenoble-Alpes Métropole kilométrage total, en pondérant * 1 et * 2
Voiries cyclables dédiées : Grenoble-Alpes Métropole kilométrage total, pondération 1
Numéro | Explications | Requête Overpass | Résultat Fév 2024 |
---|---|---|---|
3.6.1 | Voiries cyclables lanes=1 ou oneway=1 dédiées dans GAM : récupération globale, carte |
[out:json][timeout:25];
area[name="Grenoble-Alpes Métropole"]->.searchArea;
(
way[highway=cycleway][lanes=1][segregated=yes](area.searchArea);
way[highway=cycleway][lanes=1][!segregated](area.searchArea);
way[highway=cycleway][!lanes][oneway=yes][segregated=yes](area.searchArea);
way[highway=cycleway][!lanes][oneway=yes][!segregated](area.searchArea);
way[highway=path][bicycle=designated][oneway=yes][segregated=yes](area.searchArea);
way[highway=path][bicycle=designated][oneway=yes][!segregated](area.searchArea);
way[highway=path][bicycle=yes][oneway=yes][segregated=yes](area.searchArea);
way[highway=path][bicycle=yes][oneway=yes][!segregated](area.searchArea);
way[highway=path][bicycle=designated][!oneway][segregated=yes](area.searchArea);
way[highway=path][bicycle=designated][!oneway][!segregated](area.searchArea);
way[highway=path][bicycle=yes][!oneway][segregated=yes](area.searchArea);
way[highway=path][bicycle=yes][!oneway][!segregated](area.searchArea);
);
out geom;
|
|
3.6.2 | Voiries cyclables lanes=1 ou oneway=1 dédiées dans GAM : récupération globale, kilométrage total |
[out:csv(length, "::count", term; false; ";")];
area[name="Grenoble-Alpes Métropole"]->.searchArea;
(
way[highway=cycleway][lanes=1][segregated=yes](area.searchArea);
way[highway=cycleway][lanes=1][!segregated](area.searchArea);
way[highway=cycleway][!lanes][oneway=yes][segregated=yes](area.searchArea);
way[highway=cycleway][!lanes][oneway=yes][!segregated](area.searchArea);
way[highway=path][bicycle=designated][oneway=yes][segregated=yes](area.searchArea);
way[highway=path][bicycle=designated][oneway=yes][!segregated](area.searchArea);
way[highway=path][bicycle=yes][oneway=yes][segregated=yes](area.searchArea);
way[highway=path][bicycle=yes][oneway=yes][!segregated](area.searchArea);
way[highway=path][bicycle=designated][!oneway][segregated=yes](area.searchArea);
way[highway=path][bicycle=designated][!oneway][!segregated](area.searchArea);
way[highway=path][bicycle=yes][!oneway][segregated=yes](area.searchArea);
way[highway=path][bicycle=yes][!oneway][!segregated](area.searchArea);
);
make count length=sum(length());
out;
|
95979.136;; |
3.6.3 | Voiries cyclables lanes=1 ou oneway=1 dédiées dans GAM : récupération par commune, carte |
[out:json][timeout:25];
area[name="Grenoble-Alpes Métropole"]->.searchArea;
relation[admin_level=8][boundary=administrative](area.searchArea);
map_to_area;
// Pour chaque commune
for (t["name"])
(
(._;)->.commune;
(
way[highway=cycleway][lanes=1][segregated=yes](area.commune);
way[highway=cycleway][lanes=1][!segregated](area.commune);
way[highway=cycleway][!lanes][oneway=yes][segregated=yes](area.commune);
way[highway=cycleway][!lanes][oneway=yes][!segregated](area.commune);
way[highway=path][bicycle=designated][oneway=yes][segregated=yes](area.commune);
way[highway=path][bicycle=designated][oneway=yes][!segregated](area.commune);
way[highway=path][bicycle=yes][oneway=yes][segregated=yes](area.commune);
way[highway=path][bicycle=yes][oneway=yes][!segregated](area.commune);
way[highway=path][bicycle=designated][!oneway][segregated=yes](area.commune);
way[highway=path][bicycle=designated][!oneway][!segregated](area.commune);
way[highway=path][bicycle=yes][!oneway][segregated=yes](area.commune);
way[highway=path][bicycle=yes][!oneway][!segregated](area.commune);
);
out geom;
|
|
3.6.4 | Voiries cyclables lanes=1 ou oneway=1 dédiées dans GAM : récupération par commune, kilomètrage par habitant par commune |
[out:csv(name, population, length, par_habitant, "::count", term; false; ";")];
area[name="Grenoble-Alpes Métropole"]->.searchArea;
relation[admin_level=8][boundary=administrative](area.searchArea);
map_to_area;
// Pour chaque commune
for (t["name"])
(
(._;)->.commune;
(
way[highway=cycleway][lanes=1][segregated=yes](area.commune);
way[highway=cycleway][lanes=1][!segregated](area.commune);
way[highway=cycleway][!lanes][oneway=yes][segregated=yes](area.commune);
way[highway=cycleway][!lanes][oneway=yes][!segregated](area.commune);
way[highway=path][bicycle=designated][oneway=yes][segregated=yes](area.commune);
way[highway=path][bicycle=designated][oneway=yes][!segregated](area.commune);
way[highway=path][bicycle=yes][oneway=yes][segregated=yes](area.commune);
way[highway=path][bicycle=yes][oneway=yes][!segregated](area.commune);
way[highway=path][bicycle=designated][!oneway][segregated=yes](area.commune);
way[highway=path][bicycle=designated][!oneway][!segregated](area.commune);
way[highway=path][bicycle=yes][!oneway][segregated=yes](area.commune);
way[highway=path][bicycle=yes][!oneway][!segregated](area.commune);
);
make count name = commune.set(t["name"]), population=commune.set(t["population"]), par_habitant=(sum(length()/commune.set(t["population"]))), length=sum(length()), term="<br>";
out;
);
out geom;
|
Bresson;671;1107.977;1.6512324888226;; |
Voiries cyclables dédiées : Grenoble-Alpes Métropole kilométrage total, pondération 2
Numéro | Explications | Requête Overpass | Résultat Fév 2024 |
---|---|---|---|
3.7.1 | Voiries cyclables lanes=2 oneway=no dédiées dans GAM : récupération globale, carte |
[out:json][timeout:250];
area[name="Grenoble-Alpes Métropole"]->.searchArea;
relation[admin_level=8][boundary=administrative](area.searchArea);
map_to_area;
// Pour chaque commune
for (t["name"])
(
(._;)->.commune;
(
way[highway=cycleway][lanes=2][segregated=yes](area.commune);
way[highway=cycleway][lanes=2][!segregated](area.commune);
way[highway=cycleway][!lanes][oneway=no][segregated=yes](area.commune);
way[highway=cycleway][!lanes][oneway=no][!segregated](area.commune);
way[highway=cycleway][oneway=no][motor_vehicle=no](area.commune);
way[highway=path][bicycle=designated][oneway=no][segregated=yes](area.commune);
way[highway=path][bicycle=designated][oneway=no][!segregated](area.commune);
way[highway=path][bicycle=yes][oneway=no][segregated=yes](area.commune);
way[highway=path][bicycle=yes][oneway=no][!segregated](area.commune);
);
out geom;
|
|
3.7.2 | Voiries cyclables lanes=2 oneway=no dédiées dans GAM : récupération globale, carte |
[out:csv(length, "::count", term; false; ";")];
area[name="Grenoble-Alpes Métropole"]->.searchArea;
(
way[highway=cycleway][lanes=2][segregated=yes](area.searchArea);
way[highway=cycleway][lanes=2][!segregated](area.searchArea);
way[highway=cycleway][!lanes][oneway=no][segregated=yes](area.searchArea);
way[highway=cycleway][!lanes][oneway=no][!segregated](area.searchArea);
way[highway=cycleway][oneway=no][motor_vehicle=no](area.searchArea);
way[highway=path][bicycle=designated][oneway=no][segregated=yes](area.searchArea);
way[highway=path][bicycle=designated][oneway=no][!segregated](area.searchArea);
way[highway=path][bicycle=yes][oneway=no][segregated=yes](area.searchArea);
way[highway=path][bicycle=yes][oneway=no][!segregated](area.searchArea);
);
make count length=sum(length());
out;
|
117202.211;; donc 235 km si on double |
3.7.3 | Voiries cyclables lanes=2 oneway=no dédiées dans GAM : récupération globale, carte |
[out:json][timeout:25];
area[name="Grenoble-Alpes Métropole"]->.searchArea;
(
way[highway=cycleway][lanes=2][segregated=yes](area.searchArea);
way[highway=cycleway][lanes=2][!segregated](area.searchArea);
way[highway=cycleway][!lanes][oneway=no][segregated=yes](area.searchArea);
way[highway=cycleway][!lanes][oneway=no][!segregated](area.searchArea);
way[highway=cycleway][oneway=no][motor_vehicle=no](area.searchArea);
way[highway=path][bicycle=designated][oneway=no][segregated=yes](area.searchArea);
way[highway=path][bicycle=designated][oneway=no][!segregated](area.searchArea);
way[highway=path][bicycle=yes][oneway=no][segregated=yes](area.searchArea);
way[highway=path][bicycle=yes][oneway=no][!segregated](area.searchArea);
);
out geom;
|
117202.211;; donc 235 km si on double |
3.7.4 | Voiries cyclables lanes=2 oneway=no dédiées dans GAM : récupération par commune, kilomètrage par habitant par commune |
[out:csv(name, population, length, par_habitant, "::count", term; false; ";")];
area[name="Grenoble-Alpes Métropole"]->.searchArea;
relation[admin_level=8][boundary=administrative](area.searchArea);
map_to_area;
// Pour chaque commune
for (t["name"])
(
(._;)->.commune;
(
way[highway=cycleway][lanes=2][segregated=yes](area.commune);
way[highway=cycleway][lanes=2][!segregated](area.commune);
way[highway=cycleway][!lanes][oneway=no][segregated=yes](area.commune);
way[highway=cycleway][!lanes][oneway=no][!segregated](area.commune);
way[highway=cycleway][oneway=no][motor_vehicle=no](area.commune);
way[highway=path][bicycle=designated][oneway=no][segregated=yes](area.commune);
way[highway=path][bicycle=designated][oneway=no][!segregated](area.commune);
way[highway=path][bicycle=yes][oneway=no][segregated=yes](area.commune);
way[highway=path][bicycle=yes][oneway=no][!segregated](area.commune);
);
make count name = commune.set(t["name"]), population=commune.set(t["population"]), par_habitant=(sum(length()*2/commune.set(t["population"]))), length=sum(length()*2), term="<br>";
out;
);
out geom;
|
Bresson;671;0;0;; |
Voiries cyclables dédiées : Strasbourg kilométrage par habitant
Numéro | Explications | Requête Overpass | Résultat Fév 2024 |
---|---|---|---|
3.6.1 | Voiries cyclables dédiées dans Strasbourg Métropole : kilomètrage par habitant par commune |
[out:csv(name, population, length, par_habitant, "::count", term; false; ";")];
area[name="Strasbourg"]->.searchArea;
relation[admin_level=8][boundary=administrative](area.searchArea);
map_to_area;
// Pour chaque commune
for (t["name"])
(
(._;)->.commune;
(
way[highway=cycleway][lanes=2][segregated=yes](area.commune);
way[highway=cycleway][lanes=2][!segregated](area.commune);
way[highway=cycleway][lanes=1][segregated=yes](area.commune);
way[highway=cycleway][lanes=1][!segregated](area.commune);
way[highway=cycleway][!lanes][segregated=yes](area.commune);
way[highway=cycleway][!lanes][!segregated](area.commune);
way[highway=cycleway][oneway=no][motor_vehicle=no](area.commune);
way[highway=path][bicycle=designated][segregated=yes](area.commune);
way[highway=path][bicycle=designated][!segregated](area.commune);
way[highway=path][bicycle=yes][segregated=yes](area.commune);
way[highway=path][bicycle=yes][!segregated](area.commune);
);
make count name = commune.set(t["name"]), population=commune.set(t["population"]), par_habitant=(sum(length()/commune.set(t["population"]))), length=sum(length()), term="<br>";
out;
);
out geom;
|
Achenheim;2338;1373.494;0.58746535500427;; |
Voiries cyclables dédiées : Toulouse kilométrage par habitant
Numéro | Explications | Requête Overpass | Résultat Fév 2024
|
---|---|---|---|
3.7.1 | Voiries cyclables dédiées dans Toulouse Métropole : kilomètrage par habitant par commune |
[out:csv(name, population, length, par_habitant, "::count", term; false; ";")];
area[name="Toulouse Métropole"]->.searchArea;
relation[admin_level=8][boundary=administrative](area.searchArea);
map_to_area;
// Pour chaque commune
for (t["name"])
(
(._;)->.commune;
(
way[highway=cycleway][lanes=2][segregated=yes](area.commune);
way[highway=cycleway][lanes=2][!segregated](area.commune);
way[highway=cycleway][lanes=1][segregated=yes](area.commune);
way[highway=cycleway][lanes=1][!segregated](area.commune);
way[highway=cycleway][!lanes][segregated=yes](area.commune);
way[highway=cycleway][!lanes][!segregated](area.commune);
way[highway=cycleway][oneway=no][motor_vehicle=no](area.commune);
way[highway=path][bicycle=designated][segregated=yes](area.commune);
way[highway=path][bicycle=designated][!segregated](area.commune);
way[highway=path][bicycle=yes][segregated=yes](area.commune);
way[highway=path][bicycle=yes][!segregated](area.commune);
);
make count name = commune.set(t["name"]), population=commune.set(t["population"]), par_habitant=(sum(length()/commune.set(t["population"]))), length=sum(length()), term="<br>";
out;
);
out geom;
|
Aigrefeuille;1272;0;0;; |
Voiries cyclables dédiées : Le Havre/Grenoble/Strasbourg/Toulouse kilométrage par habitant km2
L'idée étant d'arriver à refaire le calcul fait par GeoVélo
Numéro | Explications | Requête Overpass | Résultat Fév 2024 |
---|---|---|---|
4.1.1 | Voiries cyclables dédiées Le Havre/Grenoble/Strasbourg/Toulouse |
[out:csv(name, population, length, par_habitant, "::count", term; false; ";")];
(
area[name="Le Havre"][admin_level=8]->.searchArea;
area[name="Grenoble"][admin_level=8]->.searchArea;
area[name="Strasbourg"][admin_level=8]->.searchArea;
area[name="Toulouse"][admin_level=8]->.searchArea;
);
// Pour chaque commune
for (t["name"])
(
(._;)->.commune;
(
way[highway=cycleway][lanes=2][segregated=yes](area.commune);
way[highway=cycleway][lanes=2][!segregated](area.commune);
way[highway=cycleway][lanes=1][segregated=yes](area.commune);
way[highway=cycleway][lanes=1][!segregated](area.commune);
way[highway=cycleway][!lanes][segregated=yes](area.commune);
way[highway=cycleway][!lanes][!segregated](area.commune);
way[highway=cycleway][oneway=no][motor_vehicle=no](area.commune);
way[highway=path][bicycle=designated][segregated=yes](area.commune);
way[highway=path][bicycle=designated][!segregated](area.commune);
way[highway=path][bicycle=yes][segregated=yes](area.commune);
way[highway=path][bicycle=yes][!segregated](area.commune);
);
make count name = commune.set(t["name"]), population=commune.set(t["population"]), par_habitant=(sum(length()/commune.set(t["population"]))), length=sum(length()), term="<br>";
out;
);
out geom;
|
Grenoble;158198;47916.629;0.30289023249346;; |
4.1.1 | Voiries cyclables dédiées Le Havre/Grenoble/Strasbourg/Toulouse |
[out:csv(name, population, length, par_habitant, "::count", term; false; ";")];
(
area[name="Le Havre"][admin_level=8]->.searchArea;
area[name="Grenoble"][admin_level=8]->.searchArea;
area[name="Strasbourg"][admin_level=8]->.searchArea;
area[name="Toulouse"][admin_level=8]->.searchArea;
);
// Pour chaque commune
for (t["name"])
(
(._;)->.commune;
(
way[highway=cycleway][lanes=2][segregated=yes](area.commune);
way[highway=cycleway][lanes=2][!segregated](area.commune);
way[highway=cycleway][lanes=1][segregated=yes](area.commune);
way[highway=cycleway][lanes=1][!segregated](area.commune);
way[highway=cycleway][!lanes][segregated=yes](area.commune);
way[highway=cycleway][!lanes][!segregated](area.commune);
way[highway=cycleway][oneway=no][motor_vehicle=no](area.commune);
way[highway=path][bicycle=designated][segregated=yes](area.commune);
way[highway=path][bicycle=designated][!segregated](area.commune);
way[highway=path][bicycle=yes][segregated=yes](area.commune);
way[highway=path][bicycle=yes][!segregated](area.commune);
);
make count name = commune.set(t["name"]), population=commune.set(t["population"]), par_habitant=(sum(length()/commune.set(t["population"]))), length=sum(length()), term="<br>";
out;
);
out geom;
|
Grenoble;158198;47916.629;0.30289023249346;; |
4.2 | Voiries cyclables dédiées dans Le Havre/Grenoble/Strasbourg/Toulouse par_habitant et par km2 |
[out:csv(name, population, length, par_habitant, par_km2LH, par_km2G, par_km2S, par_km2T, "::count", term; false; ";")];
(
area[name="Le Havre"][admin_level=8]->.searchArea;
area[name="Grenoble"][admin_level=8]->.searchArea;
area[name="Strasbourg"][admin_level=8]->.searchArea;
area[name="Toulouse"][admin_level=8]->.searchArea;
);
// Pour chaque commune
for (t["name"])
(
(._;)->.commune;
(
way[highway=cycleway][lanes=2][segregated=yes](area.commune);
way[highway=cycleway][lanes=2][!segregated](area.commune);
way[highway=cycleway][lanes=1][segregated=yes](area.commune);
way[highway=cycleway][lanes=1][!segregated](area.commune);
way[highway=cycleway][!lanes][segregated=yes](area.commune);
way[highway=cycleway][!lanes][!segregated](area.commune);
way[highway=cycleway][oneway=no][motor_vehicle=no](area.commune);
way[highway=path][bicycle=designated][segregated=yes](area.commune);
way[highway=path][bicycle=designated][!segregated](area.commune);
way[highway=path][bicycle=yes][segregated=yes](area.commune);
way[highway=path][bicycle=yes][!segregated](area.commune);
);
make count name = commune.set(t["name"]), population=commune.set(t["population"]), par_habitant=(sum(length()/commune.set(t["population"]))), par_km2LH=(sum(length()/54.75)), par_km2G=(sum(length()/18.13)), par_km2T=(sum(length()/118.3)), par_km2S=(sum(length()/78.26)), term="<br>";
out;
);
out geom;
|
Grenoble;158198;;0.30289023249346;875.18957077626;2642.9469939327;612.274840276;405.0433558749;; |
4.2 | Voiries cyclables dédiées dans Le Havre/Grenoble/Strasbourg/Toulouse par_habitant et par km2 |
[out:csv(name, population, length, par_habitant, par_km2LH, par_km2G, par_km2S, par_km2T, "::count", term; false; ";")];
(
area[name="Le Havre"][admin_level=8]->.searchArea;
area[name="Grenoble"][admin_level=8]->.searchArea;
area[name="Strasbourg"][admin_level=8]->.searchArea;
area[name="Toulouse"][admin_level=8]->.searchArea;
);
// Pour chaque commune
for (t["name"])
(
(._;)->.commune;
(
way[highway=cycleway][lanes=2][segregated=yes](area.commune);
way[highway=cycleway][lanes=2][!segregated](area.commune);
way[highway=cycleway][lanes=1][segregated=yes](area.commune);
way[highway=cycleway][lanes=1][!segregated](area.commune);
way[highway=cycleway][!lanes][segregated=yes](area.commune);
way[highway=cycleway][!lanes][!segregated](area.commune);
way[highway=cycleway][oneway=no][motor_vehicle=no](area.commune);
way[highway=path][bicycle=designated][segregated=yes](area.commune);
way[highway=path][bicycle=designated][!segregated](area.commune);
way[highway=path][bicycle=yes][segregated=yes](area.commune);
way[highway=path][bicycle=yes][!segregated](area.commune);
);
make count name = commune.set(t["name"]), population=commune.set(t["population"]), par_habitant=(sum(length()/commune.set(t["population"]))), par_km2LH=(sum(length()/54.75)), par_km2G=(sum(length()/18.13)), par_km2T=(sum(length()/118.3)), par_km2S=(sum(length()/78.26)), term="<br>";
out;
);
out geom;
|
Grenoble;158198;;0.30289023249346;875.18957077626;2642.9469939327;612.274840276;405.0433558749;; }} Début d'un travail analogue à GéoVélo ? |