Skip to content
This repository has been archived by the owner on Mar 1, 2021. It is now read-only.

Add more examples of costing options syntax #198

Open
rmglennon opened this issue Nov 22, 2017 · 0 comments
Open

Add more examples of costing options syntax #198

rmglennon opened this issue Nov 22, 2017 · 0 comments
Assignees

Comments

@rmglennon
Copy link
Collaborator

We have had a couple of support tickets recently (such as Desk 1295) where users have missed the syntax for costing options, usually because they are not including the model name again. The proper way is "costing_options":{"bicycle":{...}}, rather than "costing_options":{...}. Without this, they never see a difference when setting the bicycle type, for example.

We should add more examples of how to do this for all models.

{"locations":[{"lat":37.94152381803029,"lon":-121.96226477622986},{"lat":37.931335857027115,"lon":-121.97398066520691}],"costing":"bicycle","costing_options":{"bicycle":{"bicycle_type":"Mountain","use_roads":"0.5","use_hills":"0.0"}}}
@rmglennon rmglennon self-assigned this Nov 22, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant