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

执行omitted_gps_state_df[net_field.GEOMETRY_FIELD] = [Point(loc) for loc in omitted_gps_points]报错:ValueError: Length of values (260) does not match length of index (259) #1

Open
Zheshun opened this issue Feb 7, 2024 · 0 comments

Comments

@Zheshun
Copy link

Zheshun commented Feb 7, 2024

原因是补路补缺失的GPS点中 n_equal_points函数生成的GPS点数量不对,出错debug如图
微信图片_20240207164131

n = 15, dense_line = line.segmentize(line_length / (1.0 * n)) 后是17个点,非16个点,
line = LINESTRING (785021.6011706082 3349483.4291866357, 785217.0145380374 3348685.612349621)

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

No branches or pull requests

1 participant