Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Edd 1893 tramos alameda #2

Merged
merged 11 commits into from
Apr 19, 2024
Merged

Edd 1893 tramos alameda #2

merged 11 commits into from
Apr 19, 2024

Conversation

Mrtn-fa
Copy link
Collaborator

@Mrtn-fa Mrtn-fa commented Apr 19, 2024

📚Resultados

  1. Se consulta una query de OSM Overpass.
  2. Las shapes obtenidas son separadas en N shapes disjuntas (calles) en forma de FeatureCollection.
  3. Cada FeatureCollection (shape) es procesada hasta obtener un único LineString que define la calle.
  4. Cada LineString es segmentado en tramos de mínimo 500m (usando la distancia haversine), retornando una lista de LineString.
  5. Cada Linestring de la lista retornada (segmento) es almacenado en el modelo Segment, asociado a su shape.
  6. El endpoint /api/geo/mapData entrega un geojson con la información de los segmentos.

📝Trabajo posterior

  • Agregar la velocidad asociada a cada tramo, una vez se tenga implementado el algoritmo para el cálculo de la velocidad.

@Mrtn-fa Mrtn-fa merged commit cf62166 into dev Apr 19, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant