Add support for heading when defining start, end and via points

Abierto
#425 12 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 2 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
postgresql

Línea de trabajo

The issue describes adding heading support for route points, referencing PostGIS's st_azimuth. Look at the code defining route points and cost calculations, likely in the core routing algorithms. Understand how turn restrictions are implemented to see where heading could be integrated. Testing would involve creating routes with specified headings and verifying the output matches the expected approach direction.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Functionality Request

We need to be able to optionally define heading for start, via, and end points defining a route. The idea is that the route should try to approach/leave these points based on the best fit to the defined heading. Heading can be defined as postGIS st_azimuth() where 0=north, 90=east, etc.

The use case for this to control the direction a travel at these location to control which side of the vehicle is facing the curb. This is an important fact for vehicle routing in cases like: passenger or cargo pick and drop off to avoid crossing the street. Some vehicle like trash collection vehicles can only pickup containers on one side of the vehicle because of mechanism placement.

This would be particularly useful in combination with the turn restrictions to modal real world traffic networks.

Lenguaje dominante
C++
Estrellas
1.4k
Forks
397
Merge medio
2 d 2 h
PR fusionados (30 d)
4

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de pgRouting/pgrouting

Todos los issues de pgRouting/pgrouting

Issues similares

Más issues de C++

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.