# How to keep waypoints with the output direction file?

**URL:** <https://ask.openrouteservice.org/t/how-to-keep-waypoints-with-the-output-direction-file/2055>\
**Category:** directions\
**Created:** [August 24, 2020, 5:45pm UTC](https://ask.openrouteservice.org/t/how-to-keep-waypoints-with-the-output-direction-file/2055 "2020-08-24T17:45:26Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![tdpn34](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/tdpn34/32/721_2.png) [@tdpn34](https://ask.openrouteservice.org/u/tdpn34)\
**Post date:** [August 24, 2020, 5:45pm UTC](https://ask.openrouteservice.org/t/how-to-keep-waypoints-with-the-output-direction-file/2055/1 "2020-08-24T17:45:26Z")

</div>

Hi everybody, do you know if there is a way to generate a direction-from-points file output (1 layer) WITH keeping the waypoints that I put in the Input section ? I’m using ORS Tools for QGIS.

Best regards,

---

<div class="post-metadata">

**Author:** ![tdpn34](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/tdpn34/32/721_2.png) [@tdpn34](https://ask.openrouteservice.org/u/tdpn34)\
**Post date:** [August 25, 2020, 5:54pm UTC](https://ask.openrouteservice.org/t/how-to-keep-waypoints-with-the-output-direction-file/2055/2 "2020-08-25T17:54:09Z")

</div>

Bump 😬

---

<div class="post-metadata">

**Author:** ![adam](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/adam/32/8_2.png) [@adam](https://ask.openrouteservice.org/u/adam)\
**Post date:** [August 26, 2020, 11:37am UTC](https://ask.openrouteservice.org/t/how-to-keep-waypoints-with-the-output-direction-file/2055/3 "2020-08-26T11:37:06Z")

</div>

Hi @tdpn34  
it’s not really clear from this what you are trying to do…

---

<div class="post-metadata">

**Author:** ![tdpn34](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/tdpn34/32/721_2.png) [@tdpn34](https://ask.openrouteservice.org/u/tdpn34)\
**Post date:** [August 26, 2020, 8:02pm UTC](https://ask.openrouteservice.org/t/how-to-keep-waypoints-with-the-output-direction-file/2055/4 "2020-08-26T20:02:46Z")

</div>

Hi Adam, I just want to have a file showing points and the line, instead of the line only (when I use the direction-from-points file output in ORS Tool for QGIS

---

<div class="post-metadata">

**Author:** ![adam](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/adam/32/8_2.png) [@adam](https://ask.openrouteservice.org/u/adam)\
**Post date:** [August 28, 2020, 5:29am UTC](https://ask.openrouteservice.org/t/how-to-keep-waypoints-with-the-output-direction-file/2055/5 "2020-08-28T05:29:34Z")

</div>

I don’t think there is any way of doing that in the current implementation. If you want to keep points that are selected as waypoints, then you would need to create these in a scratch layer within QGIS before running the tool, and then use that layer as the source

---

<div class="post-metadata">

**Author:** ![gegeweb](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/gegeweb/32/1543_2.png) [@gegeweb](https://ask.openrouteservice.org/u/gegeweb)\
**Post date:** [August 31, 2020, 6:24am UTC](https://ask.openrouteservice.org/t/how-to-keep-waypoints-with-the-output-direction-file/2055/6 "2020-08-31T06:24:39Z")

</div>

Hi,

I don’t use QGIS (which I don’t know) but with Leaflet to display maps and tracks after calculating the route I export it with the calculated route (to reuse the track without recalculating), the points with the geocoding information and the instructions in the route properties in gejson format.

You ca look my code at:

> **[Gérald Niel / SCASB - Calcul Itinéraires vélo · GitLab](https://framagit.org/gegeweb/scasb-calcul-itineraires-velo)**
>
> Dépot du site https://parcours.scasb.org

When I reload the geojson or the GPX, I recalculate the route with the stored points if there is more than two waypoints.  
I store the instructions for a future need: to display the track and guidance instructions without having to call back the service.
