Skip to content

Occasional bad tiles on random polygons #66

@mourner

Description

@mourner

@morganherlocker when feeding tile-cover with require('geojson-random').polygon(10), it occasionally includes a bad tile that looks like this: z: -24, x: -435.99999994039536, y: -1.9999999403953552.

Looks like some backwards loop doesn't stop at 0 somewhere. It may be caused by polygons that exceed normally expected coords (-180..180, -85..85), but not sure.

This is the what caused livetile builds to fail sporadically. cc @rclark

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions