hexagram30 / map

A map-making library for worlds, cities, dungeons, and buildings in hexagram30 projects
Apache License 2.0
2 stars 0 forks source link

Awkward API for tiles #18

Open oubiwann opened 5 years ago

oubiwann commented 5 years ago

If you take a look at hxgm30.map.tests.system.tile, you'll see what I mean. Creating a tile from band info requires not only the bands info (pixel-bands in the tests) but also a complex set of options. Each tests calculates most of these options based upon:

There are several issues with these:

Note that the initial intent for the existing API was simply as an ingest tool: parsing and correlating file data to be saved in a backend data store. However, now that the need has arisen to use this API more interactively or for scripting the generation of map features, it has become evident that the API in its current form is too limiting and difficult to use.

Dev tasks:

oubiwann commented 4 years ago

I want to pause on this until #33 is resolved.

oubiwann commented 4 years ago

Actually, this ticket can inform the new service's implementation of the tile functionality here: