getmetrostations
getmetrostations
:
Get network metro stations
Retrieves metrostations
Parameters
|
Required
|
| network |
Enumeration
|
No
|
star |
The network identifier. |
| mode |
Enumeration
|
No
|
all |
The filter type. |
Enumeration values
| network |
star |
No
|
The bus and subway network of Rennes. |
| mode |
all |
No
|
No filter, all stations are returned. |
| station |
Yes
|
Filter on the station. |
| proximity |
Yes
|
Filter to the nearest stations. |
mode
:
station
Parameters
|
Required
|
| station |
String
|
Yes
|
|
The station's ID. |
mode
:
proximity
Parameters
|
Required
|
| type |
Enumeration
|
Yes
|
|
The kind of proximity look up. |
Enumeration values
| type |
station |
Yes
|
From the specified station. |
| coords |
Yes
|
From the specified coordinates. |
type
:
station
Parameters
|
Required
|
| station |
String
|
Yes
|
|
The station's ID. |
type
:
coords
Parameters
|
Required
|
| lat |
Number
|
Yes
|
|
The point latitude. |
| lng |
Number
|
Yes
|
|
The point longitude. |
Retrieves the metro stations from a network.
La structure XML de la données de sortie
<station>
<id>ANF</id>
<name>Anatole France</name>
<latitude>48.11810</latitude>
<longitude>-1.68746</longitude>
<hasPlatformDirection1>true</hasPlatformDirection1>
<hasPlatformDirection2>true</hasPlatformDirection2>
<rankingPlatformDirection1>12</rankingPlatformDirection1>
<rankingPlatformDirection2>18</rankingPlatformDirection2>
<floors>-1</floors>
<lastUpdate>2010-06-01</lastUpdate>
</station>
Spécificités
Il est possible d’effectuer une recherche par station pour obtenir les informations relatives à une station donnée.
La recherche par proximité renvoie les 3 stations les plus proches classées en fonctions de la distance. On peut préciser cette recherche par rapport à un point GPS ou une id de station.