Skip to content

Proposal: region simplification for data size reduction #3

Description

@zverok

This is proposal awaiting for someones ideas/verification.

The idea:

  • 80 MiB of data is rather bad for gem;
  • this can be fixed by simplifying regions (reducing number of points);
  • ...which has a drawback of reduced precision near the borders;
  • ...which, for borders-with-sea, can be fixed by "if no region succeeds, use the nearest";
  • ...but can't be fixed for borders between states.

So, if somebody could look at simplify branch and provide some opinions, it would be really cool.

For example, some amount of simplification can be seen at here -- it is world map simplification factor 0.1 -- you can experiment with factor at script/simplify.rb.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions