mapbox / tile-cover

Generate the minimum number of tiles to cover a geojson geometry
MIT License
189 stars 40 forks source link

Switches polygon scanline back to non-tile coordinates #41

Closed yhahn closed 9 years ago

yhahn commented 9 years ago

Per discussion, rolls polygon scanning back to using top-of-tile + original segment float coordinates.

Assumption is that when combined with https://github.com/mapbox/tile-cover/issues/40 the current gaps (that are always along an intersecting line) will be covered nicely.

Current gap examples:

ex3 ex2 ex1

yhahn commented 9 years ago

Lookin goood. @morganherlocker merge at will.