Warning, /libraries/kpublictransport/src/lib/backends/otp/stationByCoordinate.graphql is written in an unsupported language. File is not indexed.

0001 # SPDX-FileCopyrightText: 2020 Volker Krause <vkrause@kde.org>
0002 # SPDX-License-Identifier: CC0-1.0
0003 
0004 query stopsByCoordinate(
0005     $lat: Float!,
0006     $lon: Float!,
0007     $radius: Int!,
0008     $maxResults: Int!,
0009     $placeType: [FilterPlaceType]!
0010 ) {
0011     stopsByRadius: nearest(
0012         lat: $lat,
0013         lon: $lon,
0014         maxDistance: $radius,
0015         maxResults: $maxResults,
0016         filterByPlaceTypes: $placeType
0017     ) {
0018         edges {
0019             node {
0020                 stop: place { ...on Stop {
0021                     id: gtfsId
0022                     name
0023                     lat
0024                     lon
0025                     timezone
0026                     parentStation {
0027                         id: gtfsId
0028                         name
0029                         lat
0030                         lon
0031                         timezone
0032                     }
0033                 }}
0034                 bikeRentalStation: place { ...on BikeRentalStation {
0035                     id
0036                     name
0037                     lat
0038                     lon
0039                     networks,
0040                     bikesAvailable,
0041                     spacesAvailable
0042                 }}
0043             }
0044         }
0045     }
0046 }