Skip to content

Clarify source and licence of bench/tiles-fixture.bin #223

Open

Description

@EdwardBetts

I'm packaging MapLibre GL for Debian (as a dependency of Home Assistant), and I'm reviewing the copyright and licensing of its dependencies.

I noticed that bench/tiles-fixture.bin was added in commit dfeb5de. The comment in bench/bench-tiles.js explains that the fixture was generated from a local tile cache using a script that wasn't committed.

Could you clarify the source of the map data used to generate this fixture? In particular:

  • Does it contain data from an external provider, and if so, what licence applies to that data?
  • Is the fixture covered by earcut's ISC licence, or does it have separate licensing or attribution requirements?

This would help me document the copyright and licensing correctly for Debian packaging.

Thanks for your help, and for maintaining earcut!

Activity

  1. mourner commented on Oct 29, 2026

    @mourner
    Member

    It's built from production Mapbox Vector Tiles, so it's probably (c) Mapbox (not open source licenced) even though a lot of it is derived from OpenStreetMap — I need to do a deeper check to find out for sure, and add the license info to the file.

    Why would you want to package bench files, which are only for local development? The actual distribution (e.g. what's published to NPM, and what gets installed as a dependency by Maplibre GL) is actually much smaller: https://www.npmjs.com/package/earcut?activeTab=code

  2. EdwardBetts commented on Oct 29, 2026

    @EdwardBetts
    Author

    Thanks. This is just for running the tests. I'll exclude the bench files from the Debian package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions