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

0001 # SPDX-FileCopyrightText: 2020-2021 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                     vehicleMode
0026                     parentStation {
0027                         id: gtfsId
0028                         name
0029                         lat
0030                         lon
0031                     }
0032                 }}
0033                 bikeRentalStation: place { ...on BikeRentalStation {
0034                     id
0035                     name
0036                     lat
0037                     lon
0038                     networks,
0039                     bikesAvailable,
0040                     spacesAvailable
0041                 }}
0042             }
0043         }
0044     }
0045 }