Query isolines
If the status field is pending
, the isoline has not finished processing yet and will not return coordinates for the polygons. Use the isoline subscription to prevent this.
Use this query to retrieve a previously generated isoline. This way, the subscription can be omitted which improves performance.
Query
An isoline id
is required to run the isoline query. Pull the id
from the createIsoline
mutation.
Arguments
id • ID
• Required
ID of the isoline label to retrieve
Frequently used fields
id • ID
Isoline id.
polygons • FeatureMultiPolygon
Shape of the isoline consisting in a list of multipolygons.
Other fields
status • IsolineStatus
Isoline status.
Show IsolineStatus enum values
ferries • FeatureLineString
List of the ferries uniting islands formed by the isoline.
request_input • IsolineRequestInput
The inputted request data for the isoline used to compute it.
Response
A response can either contain a data
or an
errors
object. The response header will always return
200
as a status code.
Data object
When successful, a data
object will be returned with the
requested fields. If there are no fields present the
data
object will return the operation name with the
appropriate return type. If the operation was a query, this output
will be an object of the schema’s query root type; if the operation
was a mutation, this output will be an object of the schema’s mutation
root type.
Error object
If unsuccessful, an errors
object will be returned with
more details in the extensions
object. The error object
can contain any of the following objects.
Error
ISOLINE_NOT_FOUND
No isoline label was found with the provided ID.
Error
OPERATION_NOT_ALLOWED
You are not allowed to execute this operation. Enable it for the current application in the dashboard or reach out to customer support.