sharedstreets / sharedstreets-builder

Making maps connectable: stable, non-proprietary IDs and data standards for streets
MIT License
28 stars 12 forks source link

tile builder/spec v0.2 update #10

Closed kpwebb closed 6 years ago

kpwebb commented 6 years ago

cc @migurski @DenisCarriere

Making a list of changes for the v0.2 re of the tile builder. Current changes include:

Curious if we should add hierarchical filtering of road network based on OSM classification -- or shift that to the client libraries (currently leaning toward implementing in the client).

DenisCarriere commented 6 years ago

👍 I'll update the Javascript library to reflect five decimals and 1m for distances

kpwebb commented 6 years ago

@DenisCarriere and @migurski the new v0.2 tiles are up at

https://tiles.sharedstreets.io/planet-180312/

Let me know once you' have a chance check and I'll switch the API end point to make these at the default, and cut a formal release for ss-builder!

Also, FYI, keeping old tiles and generating more historical versions from past OSM planet files to aid in OMS QA process.

migurski commented 6 years ago

Thanks @kpwebb, working on it!

By the way, we’re seeing CORS errors at https://platform.sharedstreets.io/37.81262/-122.26065/16.754/

migurski commented 6 years ago

Followup: we would need new versions of the .proto file and generated Python code, is that right?

kpwebb commented 6 years ago

If you want to take advantage of the new fields for street names, yes, but new data should be backwards compatible. Let me know if you see issues.

kpwebb commented 6 years ago

@migurski see ^^^^ Also not seeing CORS issues -- can you post what you're seeing? I did witness some odd errors fetch via CURL from CloudFront earlier today, but wasn't able to track down cause.

migurski commented 6 years ago

I have a PR above for the new tile versions. The v0.2 ones look great, feel free to cut over whenever you want.

I also went back and checked for CORS errors and whatever we were seeing is not a problem anymore.

kpwebb commented 6 years ago

Just adding this as an FIY re CORS. We've been intermittently encountering CORS failures via CloudFront.

Here's why:

https://serverfault.com/questions/856904/chrome-s3-cloudfront-no-access-control-allow-origin-header-on-initial-xhr-req