Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cosmetic updates for locate service changes #191

Merged
merged 6 commits into from
Oct 7, 2015
Merged

cosmetic updates for locate service changes #191

merged 6 commits into from
Oct 7, 2015

Conversation

kevinkreiser
Copy link
Contributor

the output of locate now looks a bit different:

[
    {
        "input_lon": -1.783433,
        "node": null,
        "edges": [
            {
                "way_id": 24187895,
                "correlated_lat": 53.475826,
                "side_of_street": "left",
                "percent_along": 0.54,
                "correlated_lon": -1.783387
            },
            {
                "way_id": 24187895,
                "correlated_lat": 53.475826,
                "side_of_street": "right",
                "percent_along": 0.46,
                "correlated_lon": -1.783387
            }
        ],
        "input_lat": 53.475735
    }
]

instead of collapsing everything based on way_id we instead return all the graph edges, hence the only change for transitland is 'ways' -> 'edges'

drewda added a commit that referenced this pull request Oct 7, 2015
cosmetic updates for locate service changes
@drewda drewda merged commit 6047a70 into transitland:master Oct 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants