Giter Site home page Giter Site logo

randomdemgenerator's Introduction

Random DEM Generator

Honestly the outputs still look a bit ropey - would love some interesting patches to make the DEM's produced look more natural, with pronounced mountain ranges etc.

What is the point of this? Random DEMS could be useful for making fantasy maps, testing DEM processing routines, trying out cartographic approaches etc.

Setup

Make sure you have GDAL and GDAL Python bindings installed.

You need these pip packages:

pip3 install numpy scipy

Usage

./random_dem.py

Sample Output

Example Output

Issues

The GDAL Georeferencing is still broken so it does not open nicely in QGIS.

Other things to try

It seems (thanks Raymond for the hint!) that you can make nice procedurally generated landscapes in Blender:

https://docs.blender.org/manual/en/2.93/addons/add_mesh/ant_landscape.html

Credits

Assembled by Tim Sutton and Vctoria Neema 2021

License

Unknown, heavily derived from these two sources:

http://www2.geog.ucl.ac.uk/~plewis/geogg122-2011-12/dem1.html

and

https://gis.stackexchange.com/questions/290776/how-to-create-a-tiff-file-using-gdal-from-a-numpy-array-and-specifying-nodata-va

randomdemgenerator's People

Contributors

timlinux avatar spatialthoughts avatar vikineema avatar

Forkers

spatialthoughts

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.