Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate random land cover from biome data #6

Open
13 of 18 tasks
oubiwann opened this issue Apr 24, 2020 · 2 comments
Open
13 of 18 tasks

Generate random land cover from biome data #6

oubiwann opened this issue Apr 24, 2020 · 2 comments

Comments

@oubiwann
Copy link
Member

oubiwann commented Apr 24, 2020

  • This should be procedural
  • Generation with hashes should obviate the need for storing results

Tasks:

  • Put in place basic API for reading pixel data
  • Open biome scale file, read colors
  • Open biome image, read pixels
  • Confirm color values for all pixels match (and do not fall outside of) color definitions in scale file
  • Define initial vegetation distributions for each biome
  • Put in place a general tile creation mechanism - Investigate a data strcuture to represent land cover #5
  • For a given biome, support generating tiles with subtiles having different land cover types
  • For every pixel read in from biome image, generate a hash that can be used to repeadedly get the same vegetation distribution (so there's no need to store all that in a database)

https://en.m.wikipedia.org/wiki/Land_cover:

Depends upon:

Copied from:

@oubiwann oubiwann changed the title Add land cover support Generate random land cover from biome data Apr 26, 2020
@oubiwann
Copy link
Member Author

I've added #8 as a dep, since we need to figure out how we want land cover to be distributed over different biomes.

@oubiwann
Copy link
Member Author

oubiwann commented Apr 26, 2020

From https://www.geo.arizona.edu/Antevs/biomes/ and https://science.jrank.org/pages/897/Biome.html:

  • Polar
    • No vegetation
  • Tundra
    • sedges, lichens, mosses, grasses, and dwarf woody plants
    • wet: meadows of sedge, cotton-grass, and grass
    • dry: shurbs
    • snowy owls, caribou, muskox, reindeer, polar bears, and migrant birds
  • Boreal Forest
    • fir, larch, white spruce, black spruce, and jack pine; aspen, birch, poplar, and willow
    • moose, black bears, wolves, and migrant birds
  • Temperate Forest
    • ash, basswood, birch, cherry, chestnut, dogwood, elm, hickory, magnolia, maple, oak, tulip-tree, walnut, spruce, pine, fir
    • wet: auraucaria
    • deer and squirrels
  • Temperate Rainforest
    • Douglas fir, hemlock, cedar, redwood, spruce, and yellow cypress
  • Grasslands
    • tall grass: sunflowers and blazing stars
    • grasses and members of the sunflower family
    • large grazing ungulates such as horses, buffalo, and rhinoceros
  • Chaparral
    • oaks, manzanita, chamise, low pines, and junipers
    • dwarf forest and shrubs, and interspersed herbaceous vegetation
    • birds and reptiles
  • Desert
    • cactuses, acacias and short-lived annuals
    • reptiles and ground-dwelling rodents
  • Tropical Deciduous Forest and Savannah
    • acacias and grasses
    • giraffes and elephants
    • gazelles and other antelopes, rhinos, elephant, hippopotamus, and buffalo, and some of their predators, such as lion, cheetah, wild dog, and hyena
  • Tropical Rain Forest
    • strangler figs and tree ferns
    • snakes and birds

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant