Skip to content

Instantly share code, notes, and snippets.

@ThomasG77
Created March 24, 2026 10:22
Show Gist options
  • Select an option

  • Save ThomasG77/49f8e7f522b21d1f98f379dcbba7097c to your computer and use it in GitHub Desktop.

Select an option

Save ThomasG77/49f8e7f522b21d1f98f379dcbba7097c to your computer and use it in GitHub Desktop.
Données archéologiques depuis https://archeologie.culture.gouv.fr

Données identifiées en passant par https://archeologie.culture.gouv.fr/fr

curl -s https://archeologie.culture.gouv.fr/france/fr/carte/data/5638 | jq -c -r '{"type": "FeatureCollection", "features": [.notices[] | {"type": "Feature", "properties": {"type": .type, "sur_titre": .sur_titre, "titre": .titre, "lien_fiche": .lien_fiche, "lien_site": .lien_site, "points_fort": .points_fort, "visuel_opacity": .visuel.opacity, "visuel_ancrage": .visuel.ancrage, "visuel_url": .visuel.url, "visuel_width": .visuel.width, "visuel_height": .visuel.height, "visuel_alt": .visuel.alt, "visuel_tag": .visuel.tag, "sous_titre": .sous_titre, "legende": .legende}, "geometry": {"coordinates": [(.lng|tonumber), (.lat|tonumber)], "type": "Point"}}]}' >| /tmp/archeologie-fr.geojson

curl -s https://archeologie.culture.gouv.fr/monde/fr/carte/data/3961 | jq -c -r '{"type": "FeatureCollection", "features": [.notices[] | {"type": "Feature", "properties": {"type": .type, "sur_titre": .sur_titre, "titre": .titre, "lien_fiche": .lien_fiche, "lien_site": .lien_site, "points_fort": .points_fort, "visuel_opacity": .visuel.opacity, "visuel_ancrage": .visuel.ancrage, "visuel_url": .visuel.url, "visuel_width": .visuel.width, "visuel_height": .visuel.height, "visuel_alt": .visuel.alt, "visuel_tag": .visuel.tag, "sous_titre": .sous_titre, "legende": .legende}, "geometry": {"coordinates": [(.lng|tonumber), (.lat|tonumber)], "type": "Point"}}]}' >| /tmp/archeologie-fr-dans-le-monde.geojson

curl -s https://archeologie.culture.gouv.fr/proche-orient/fr/carte/data/5634 | jq -c -r '{"type": "FeatureCollection", "features": [.notices[] | {"type": "Feature", "properties": {"type": .type, "sur_titre": .sur_titre, "titre": .titre, "lien_fiche": .lien_fiche, "lien_site": .lien_site, "points_fort": .points_fort, "visuel_opacity": .visuel.opacity, "visuel_ancrage": .visuel.ancrage, "visuel_url": .visuel.url, "visuel_width": .visuel.width, "visuel_height": .visuel.height, "visuel_alt": .visuel.alt, "visuel_tag": .visuel.tag, "sous_titre": .sous_titre, "legende": .legende}, "geometry": {"coordinates": [(.lng|tonumber), (.lat|tonumber)], "type": "Point"}}]}' >| /tmp/archeologie-patrimoine-proche-orient.geojson

curl -s https://archeologie.culture.gouv.fr/afghanistan/fr/carte/data/5635 | jq -c -r '{"type": "FeatureCollection", "features": [.notices[] | {"type": "Feature", "properties": {"type": .type, "sur_titre": .sur_titre, "titre": .titre, "lien_fiche": .lien_fiche, "lien_site": .lien_site, "points_fort": .points_fort, "visuel_opacity": .visuel.opacity, "visuel_ancrage": .visuel.ancrage, "visuel_url": .visuel.url, "visuel_width": .visuel.width, "visuel_height": .visuel.height, "visuel_alt": .visuel.alt, "visuel_tag": .visuel.tag, "sous_titre": .sous_titre, "legende": .legende}, "geometry": {"coordinates": [(.lng|tonumber), (.lat|tonumber)], "type": "Point"}}]}' >| /tmp/archeologie-patrimoine-afghanistan.geojson
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment