Skip to content

match method returns more points than input coordinates #43

Open
@CarreauClement

Description

@CarreauClement

Hello,

Here's the example code

matcher = DistanceMatcher(graph, max_dist=12000, max_lattice_width=2)
coordinates = [[40.756470508651724,  -73.97319052003208]]

matcher.match(coordinates)
nodes = matcher.path_pred_onlynodes
print(len(nodes))

When I run this code I get 2 nodes while I only had one coordinate.
The nodes are ['7737876085', '6452768049']

Can you explain this please ?

Thanks a lot

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions