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

fix: while three point in a line and the second point is in the dividing line of the tile will have problem #161

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

DeZhao-Zhang
Copy link

@DeZhao-Zhang DeZhao-Zhang commented Nov 3, 2022

Bug Fix: while three point in a line and the second point is in the dividing line of the tile(with buffer), then the point will be lost in particular level.

…ing line of the tile(with buffer), then the point will be lost in particular level.
@DeZhao-Zhang DeZhao-Zhang changed the title fix fix: while three point in a line and the second point is in the dividing line of the tile will have problem Nov 3, 2022
@DeZhao-Zhang
Copy link
Author

Other data is ok, while the second point is in the dividing line of the tile(with buffer), this bug will happan

  1. while I use data as blow
{
	"type": "FeatureCollection",
	"features": [
		{
			"type": "Feature",
			"geometry": {
				"type": "Polygon",
				"coordinates": [
					[
						[20.0, 34.365234375],
						[80.0, 4.34326171875],
						[45.0, 4.34326171875],
						[20.0, 4.34326171875],
						[20.0, 34.365234375]
					]
				]
			},
			"properties": {
				"title": "路线一",
				"kind": 1
			}
		}
	]
}
  1. set buffer to 0
    image

  2. the point of this triangle will lost in particular level

6abaf1931b23a7dad83c7b4dd6f7c4a

439bd6486ea6e24dfe27a3c2fff9ab5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant