Skip to content

ors.endpoints.isochrones

Settings for the isochrones endpoint.

keytypedescriptiondefault value
enabledbooleanEnables or disables the end-pointtrue
attributionstringAttribution added to the response metadataopenrouteservice.org, OpenStreetMap contributors
maximum_locationsnumberMaximum number of locations per request2
allow_compute_areabooleanToggles area computation on and offtrue
maximum_intervalsnumberMaximum number of intervals/isochrones computed for each location1
fastisochronesobjectRange limits for fastisochrones
statistics_providersobjectStatistics providers properties
maximum_range_distance_defaultnumberMaximum default range in metres across all profiles; can be overridden in maximum_range_distance50000
maximum_range_distanceobjectList of maximum range properties
maximum_range_time_defaultnumberMaximum default range in seconds across all profiles; can be overridden in maximum_range_time18000
maximum_range_timeobjectList of maximum range properties

fastisochrones

Properties beneath ors.endpoints.isochrones.fastisochrones for fastisochrone only:

keytypedescriptiondefault value
maximum_range_distance_defaultnumberMaximum default range in metres across all profiles; can be overridden in maximum_range_distance50000
maximum_range_distanceobjectmaximum range properties object
maximum_range_time_defaultnumberMaximum default range in seconds across all profiles; can be overridden in maximum_range_time18000
maximum_range_timeobjectmaximum range properties object

maximum_range properties

These properties can be nested beneath

  • ors.endpoints.isochrones.maximum_range_distance
  • ors.endpoints.isochrones.maximum_range_time
  • ors.endpoints.isochrones.fastisochrones.maximum_range_distance
  • ors.endpoints.isochrones.fastisochrones.maximum_range_time
keytypedescriptionexample value
profileslistList of profile namesdriving-car, driving-hgv
valuenumberValue of distance or time limit3600

statistics_providers

Properties beneath ors.endpoints.isochrones.statistics_providers:

keytypedescriptionexample value
enabledbooleanEnables or disables the providertrue
attributionstringProvider attributionOpenStreetMap contributors
provider_namestringInternal name used to reference this provider (no effect)my_statistics_provider_1
provider_parametersobjectA list of provider configuration parameterssee provider_parameters
property_mappingobjectKey-Value pairs with the name of the value to request in the attributes parameter in an isochrones requesttotal_pop: total_pop (only supported currently)

WARNING

To adjust the property_mapping further implementations are needed in IsochronesRequestEnums.java, PostgresSQLStatisticsProvider.java, RoutingProfile.java and GeoJSONIsochroneProperties.java are needed.

provider_parameters

Properties beneath ors.endpoints.isochrones.statistics_providers.provider_parameters:

keytypedescriptionexample value
hoststringHost where the postgres/postgis DB is running on"localhost",
portnumberPort the DB is running on5432,
userstringDB user"admin",
passwordstringDB password for user"my_safe_password",
db_namestringName of the database"postgres",
table_namestringName of the table used in SQL query of"pop_data",
geometry_columnstringName of column used in SQL query of"rast",
postgis_versionstringPostgis Version used for conditional logic in SQL query of"3"