Skip to content

Entire isochrone compuation will fail when only some of batched locations are failed #2310

Description

@Alessiacosmos

Is there an existing issue for this?

  • I have searched the existing issues

Feature/Enhancement Proposal

When using openrouteservice python binding to request isochrones for batched locations ( > 1), it will raise error when one of these locations cannot compute isochrones correctly.

It would be nice if the isochrones of computable locations can return.

Additional context

ORS settings

ors_base_url: https://api.heigit.org/openrouteservice
calling:

isochrones = ors_settings.client.isochrones(
            locations=list(zip(centroid_batch.geometry.x, centroid_batch.geometry.y)),
            profile=mode,
            range=[time_range],
            location_type="start",
            range_type="time",
        )

Raised error

error code: 3099

Possible Implementation

No response

Forum Topic Link

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions