I came across a problem with geobuf when converting certain Shapefiles to geobuf and then reading back the data. For some features, polygon points were offset from the original position.
For example, with a 60,000+ point polygon (from the NY https://coast.noaa.gov/slrdata/ file) the error was 10m+ in some areas.
Please see the test case that shows the problem. I've also included a fix that solved it for me.
I came across a problem with geobuf when converting certain Shapefiles to geobuf and then reading back the data. For some features, polygon points were offset from the original position.
For example, with a 60,000+ point polygon (from the NY https://coast.noaa.gov/slrdata/ file) the error was 10m+ in some areas.
Please see the test case that shows the problem. I've also included a fix that solved it for me.