mappymatch.utils.plot.matches#
Functions
|
Plot the points deviance from known roads with matplotlib. |
|
Plots a trace and the relevant matches on a folium map. |
- mappymatch.utils.plot.matches.plot_matches(matches: ~mappymatch.matchers.match_result.MatchResult | ~typing.List[~mappymatch.constructs.match.Match], crs=<Projected CRS: EPSG:3857> Name: WGS 84 / Pseudo-Mercator Axis Info [cartesian]: - X[east]: Easting (metre) - Y[north]: Northing (metre) Area of Use: - name: World between 85.06°S and 85.06°N. - bounds: (-180.0, -85.06, 180.0, 85.06) Coordinate Operation: - name: Popular Visualisation Pseudo-Mercator - method: Popular Visualisation Pseudo Mercator Datum: World Geodetic System 1984 ensemble - Ellipsoid: WGS 84 - Prime Meridian: Greenwich )[source]#
Plots a trace and the relevant matches on a folium map.
Args: matches: A list of matches or a MatchResult. crs: what crs to plot in. Defaults to XY_CRS.
- Returns:
A folium map with trace and matches plotted.
- mappymatch.utils.plot.matches.plot_match_distances(matches: MatchResult)[source]#
Plot the points deviance from known roads with matplotlib.
- Args:
matches (MatchResult): The coordinates of guessed points in the area in the form of a MatchResult object.