Skip to content

Scheduler + Import OSM snapshot (osm2pgsql) #35

Description

@Nicolas-Dmb

📋 Description

Planifier et exécuter l'import d'un snapshot OSM .pbf (Geofabrik) dans un schéma PostGIS temporaire osm_tmp_{region}_{bucket} via osm2pgsql, puis publier un signal de fin (SQS). Géométries en EPSG:4326, métriques en 2154, bucket_id annuel.

✅ Acceptance Criteria

  • DoD générales (logs + sortie claire)
  • Job planifié (EventBridge / cron), 1 région par mois
  • Téléchargement .pbf depuis Geofabrik
  • Import osm2pgsql dans osm_tmp_{region}_{bucket}
  • Écrit job_runs (success/failed) + skip si déjà success (idempotence)
  • Publie un signal de fin d'import (message SQS)

🔗 Prerequisite Issues

⚠️ DoR : Outils Commun (CLI, env, idempotence), zones_hex rempli, geo.metrics (area_m2/length_m) :


Source : Notion « Scheduler + Import OSM snapshot (osm2pgsql) » (Prétraitements & Pipeline Data).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions