-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
633ccd0
commit bab6e2b
Showing
26 changed files
with
361 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
{ | ||
"pages": [ | ||
"index", | ||
"network", | ||
"facilities", | ||
"locations", | ||
"metrics" | ||
"v2", | ||
"v1" | ||
] | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
title: Version 1 | ||
description: Administrative divisions of amL. | ||
--- | ||
|
||
## Data source | ||
|
||
Locations are fetched from the GTFS and are not georeferenced. We plan to improve this in the future. | ||
|
||
|
||
## Available locations | ||
|
||
The API provides in JSON format the following locations: | ||
|
||
| Type | Description | | ||
|----------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ||
| Regions | Regions are the top-level division in the API. At the moment there are 3 regions: `amL`, `Àlentejo Central` and `Oeste`. Regions are identified by their NUTS-III code. | | ||
| Districts | Districts belong to a region and are identified by their DICOFRE code. | | ||
| Municipalities | Municipalities belong to a district and are identified by their DICOFRE code. All geographical data points in the API are identified by at least one Municipality. It is the "primary key" for the location types. | | ||
| Parishes | Parishes are optional and represent the administrative division known as "freguesia". They are identified by their DICOFRE code. At the moment, not many objects are identified with this location type. We plan to improve this in the future. | | ||
| Localities | Localities are informal places known to local populations. We use this to diferentiate the location of similarly named objects. Objects may not have localities. | |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
title: facilities | ||
description: Places Carris Metropolitana serves. | ||
--- | ||
|
||
## Data sources | ||
|
||
The data source for all endpoints in this collection is the [datasets repo](https://github.com/carrismetropolitana/datasets), where we provide georeferenced data in CSV format. [Learn more about Datasets](/datasets) | ||
|
||
|
||
## Available facilities | ||
|
||
The API provides the following facilities in JSON format. The facility name links to its dataset page with more information. | ||
|
||
| Facility | Description | | ||
|-----------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ||
| [stores](/datasets/facilities/stores) | navegante® stores where you can take care of any public transit related matter, such as buying a card, recharding, activate discounts, etc. This endpoint also returns how many people are queueing in realtime. | | ||
| [helpdesks](/datasets/facilities/helpdesks) | All help points for all public transit operators in amL. | | ||
| [schools](/datasets/facilities/schools) | All schools in amL, georeferenced. Updated regularly. | | ||
| [boat_station](/datasets/facilities/boat_stations) | All public transit boat stations in amL. | | ||
| [light_rail_stations](/datasets/facilities/light_rail_stations) | All public transit light rail stations in amL. | | ||
| [subway_stations](/datasets/facilities/subway_stations) | All public transit subway stations in amL. | | ||
| [train_stations](/datasets/facilities/train_stations) | All public transit train stations in amL. | | ||
| [pips](/datasets/facilities/pips) | All Carris Metropolitana public information panels and their status. | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
title: Lines, Routes & Patterns | ||
description: Carris Metropolitana bus network endpoints. | ||
--- | ||
|
||
## Code Block | ||
|
||
```js | ||
console.log('Hello World'); | ||
``` | ||
|
||
## Cards | ||
|
||
<Cards> | ||
<Card title="Learn more about Next.js" href="https://nextjs.org/docs" /> | ||
<Card title="Learn more about Fumadocs" href="https://fumadocs.vercel.app" /> | ||
</Cards> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
title: Stops | ||
description: Carris Metropolitana bus network endpoints. | ||
--- | ||
|
||
## Code Block | ||
|
||
```js | ||
console.log('Hello World'); | ||
``` | ||
|
||
## Cards | ||
|
||
<Cards> | ||
<Card title="Learn more about Next.js" href="https://nextjs.org/docs" /> | ||
<Card title="Learn more about Fumadocs" href="https://fumadocs.vercel.app" /> | ||
</Cards> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
title: Version 2 (latest) | ||
description: Administrative divisions of amL. | ||
--- | ||
|
||
## Data source | ||
|
||
<AutoTypeTable path="./node_modules/@carrismetropolitana/api-types/src/api/alerts.ts" name="Alert" /> | ||
|
||
|
||
## Available locations | ||
|
||
The API provides in JSON format the following locations: | ||
|
||
| Type | Description | | ||
|----------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ||
| Regions | Regions are the top-level division in the API. At the moment there are 3 regions: `amL`, `Àlentejo Central` and `Oeste`. Regions are identified by their NUTS-III code. | | ||
| Districts | Districts belong to a region and are identified by their DICOFRE code. | | ||
| Municipalities | Municipalities belong to a district and are identified by their DICOFRE code. All geographical data points in the API are identified by at least one Municipality. It is the "primary key" for the location types. | | ||
| Parishes | Parishes are optional and represent the administrative division known as "freguesia". They are identified by their DICOFRE code. At the moment, not many objects are identified with this location type. We plan to improve this in the future. | | ||
| Localities | Localities are informal places known to local populations. We use this to diferentiate the location of similarly named objects. Objects may not have localities. | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
title: locations | ||
description: Administrative divisions of amL. | ||
--- | ||
|
||
## Data source | ||
|
||
Locations are fetched from the GTFS and are not georeferenced. We plan to improve this in the future. | ||
|
||
|
||
## Available locations | ||
|
||
The API provides in JSON format the following locations: | ||
|
||
| Type | Description | | ||
|----------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ||
| Regions | Regions are the top-level division in the API. At the moment there are 3 regions: `amL`, `Àlentejo Central` and `Oeste`. Regions are identified by their NUTS-III code. | | ||
| Districts | Districts belong to a region and are identified by their DICOFRE code. | | ||
| Municipalities | Municipalities belong to a district and are identified by their DICOFRE code. All geographical data points in the API are identified by at least one Municipality. It is the "primary key" for the location types. | | ||
| Parishes | Parishes are optional and represent the administrative division known as "freguesia". They are identified by their DICOFRE code. At the moment, not many objects are identified with this location type. We plan to improve this in the future. | | ||
| Localities | Localities are informal places known to local populations. We use this to diferentiate the location of similarly named objects. Objects may not have localities. | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
title: metrics | ||
description: Carris Metropolitana bus network endpoints. | ||
--- | ||
|
||
## Code Block | ||
|
||
```js | ||
console.log('Hello World'); | ||
``` | ||
|
||
## Cards | ||
|
||
<Cards> | ||
<Card title="Learn more about Next.js" href="https://nextjs.org/docs" /> | ||
<Card title="Learn more about Fumadocs" href="https://fumadocs.vercel.app" /> | ||
</Cards> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
title: Lines, Routes & Patterns | ||
description: Carris Metropolitana bus network endpoints. | ||
--- | ||
|
||
## Code Block | ||
|
||
```js | ||
console.log('Hello World'); | ||
``` | ||
|
||
## Cards | ||
|
||
<Cards> | ||
<Card title="Learn more about Next.js" href="https://nextjs.org/docs" /> | ||
<Card title="Learn more about Fumadocs" href="https://fumadocs.vercel.app" /> | ||
</Cards> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
title: Stops | ||
description: Carris Metropolitana bus network endpoints. | ||
--- | ||
|
||
## Code Block | ||
|
||
```js | ||
console.log('Hello World'); | ||
``` | ||
|
||
## Cards | ||
|
||
<Cards> | ||
<Card title="Learn more about Next.js" href="https://nextjs.org/docs" /> | ||
<Card title="Learn more about Fumadocs" href="https://fumadocs.vercel.app" /> | ||
</Cards> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
title: network | ||
description: Carris Metropolitana bus network endpoints. | ||
--- | ||
|
||
## Code Block | ||
|
||
```js | ||
console.log('Hello World'); | ||
``` | ||
|
||
## Cards | ||
|
||
<Cards> | ||
<Card title="Learn more about Next.js" href="https://nextjs.org/docs" /> | ||
<Card title="Learn more about Fumadocs" href="https://fumadocs.vercel.app" /> | ||
</Cards> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
title: Lines, Routes & Patterns | ||
description: Carris Metropolitana bus network endpoints. | ||
--- | ||
|
||
## Code Block | ||
|
||
```js | ||
console.log('Hello World'); | ||
``` | ||
|
||
## Cards | ||
|
||
<Cards> | ||
<Card title="Learn more about Next.js" href="https://nextjs.org/docs" /> | ||
<Card title="Learn more about Fumadocs" href="https://fumadocs.vercel.app" /> | ||
</Cards> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
title: Stops | ||
description: Carris Metropolitana bus network endpoints. | ||
--- | ||
|
||
## Code Block | ||
|
||
```js | ||
console.log('Hello World'); | ||
``` | ||
|
||
## Cards | ||
|
||
<Cards> | ||
<Card title="Learn more about Next.js" href="https://nextjs.org/docs" /> | ||
<Card title="Learn more about Fumadocs" href="https://fumadocs.vercel.app" /> | ||
</Cards> |
Oops, something went wrong.