EastCoastGreenwayAlliance / ecg-map

Interactive map and trip planner for the ECGA
https://map.greenway.org
7 stars 0 forks source link

Data note: flourishes and jitters #16

Closed gregallensworth closed 7 years ago

gregallensworth commented 7 years ago

A data note for the cleanup crew: I have noted a few segments where there are hand-jitters or "flourishes" at the end of the line drawing.

They are of a very tiny scale (0.0002 degrees, a few meters) and for display purposes they are largely irrelevant. However, part of routing is calculating which direction the end of the segment is pointing, and that would be based on the last pair of points. In cases where the end is really 3 or 4 points, very close together and effectively random, this can give strange results.

My workaround consists of two parts, and is effective:

This workaround is effective for turning directions, but is an advisory to the data-cleanup team that this was seen. Specific pline_id entries will be given shortly.

gregallensworth commented 7 years ago

One specific example:

687470 -- South Fletcher Avenue

Last 4 vertices are as follows. The trail is facing southwest, but the final vertex is a tiny distance north and west from the prior, giving the end a northwest-facing azimuth.

clhenrick commented 7 years ago

@gregallensworth I believe Maianna identified these as well. It sounded like most of, if not all of them should be cleaned up after the GIS staff finishes topology fixes. Good to know your router will account for any left over as well.

gregallensworth commented 7 years ago

I have recreated this issue and supporting data elsewhere: https://github.com/GreenInfo-Network/east-coast-greenway/issues/20