---
title: "Computes all tracks between a set of `entries` locations and a set of `exits` locations"
method: GET
path: "/infra/{infra_id}/delimited_area"
tags: ["delimited_area"]
---

# Computes all tracks between a set of `entries` locations and a set of `exits` locations

`GET /infra/{infra_id}/delimited_area`

Returns any track between one of the `entries` and one of the `exits`, i.e. any track that can
be reached from an entry before reaching an exit.
To prevent a missing exit to cause the graph traversal to never stop exploring, the exploration
stops when a maximum distance is reached and no exit has been found.

## Path parameters

- `infra_id` integer, required

## Request body

- object
  - `track_ranges` DirectionalTrackRange[], required
    - `begin` number, double, required
    - `direction` 'START_TO_STOP' | 'STOP_TO_START', required
    - `end` number, double, required
    - `track` string, required

## Response `200`

The track ranges between a list entries and exits.

- object
  - `track_ranges` DirectionalTrackRange[], required
    - `begin` number, double, required
    - `direction` 'START_TO_STOP' | 'STOP_TO_START', required
    - `end` number, double, required
    - `track` string, required

---

[API](https://skmtc.net/openrailassociation/apis/osrd-editoast.md) · [All operations](https://skmtc.net/openrailassociation/apis/osrd-editoast/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openrailassociation/osrd-editoast/revisions/e1fc96bc11fd/schema)
