Closed CreativeSelf0 closed 1 year ago
any idea? don't know how to fix it !!
An workaround is set use_rtree=False
in below line.
An workaround is set
use_rtree=False
in below line.
Dear Liu, Thank u for your helping.
could I ask one more question? h do you have an error(the IndexError: index 12 is out of bounds for axis 0 with size 12)? sometimes it can be run correctly for some WGS-84(waypoint). Sometimes it will have an error!
Error code with data:
import numpy as np from noiseplanet.matcher.model.route import route_from_track, graph_from_track from noiseplanet.matcher import matching import pandas as pd
track = np.array([[22.268942156, 114.184837977], [22.26886763, 114.184626828], [22.26876443, 114.184181684], [22.268763939, 114.184155534], [22.268766766, 114.184134369], [22.268774784, 114.184118914], [22.268783376, 114.184106381], [22.268798513, 114.184089471], [22.26892887, 114.18396158], [22.269265791, 114.183630446], [22.269747789, 114.183162936], [22.270157877, 114.182682855]]) graph = matching.model.graph_from_track(track) track_coor, route_corr, edgeid, stats = matching.match(graph, track, method='hmm')
I had this error before. I will request a pull of my solution.
@1213314896 I created a new issue for it. #13
Thanks.
Hello there,
I'm trying to use noiseplanet to correct GPS corrd. However, when using hmm method it returns this error message.
Any ideas?
Thanks