Git Product home page Git Product logo

terrain's People

Contributors

kylebarron avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

terrain's Issues

Terrain rgb

https://github.com/tmnnrs/terrain-rgb

gdalbuildvrt -vrtnodata -9999 -input_file_list terrain50_filelist.txt terrain50.vrt
gdalwarp -r cubicspline -s_srs EPSG:4269 -t_srs EPSG:3857 -dstnodata 0 -co COMPRESS=DEFLATE USGS_NED_13_n34w117_IMG.img terrain_cubicspline.tif
rio rgbify -b -10000 -i 0.1 --max-z 9 --min-z 5 --format png terrain_cubicspline.tif terrain.mbtiles

Create metric contours dataset

Use gdaldem contour to create a 10m contour dataset, then export to GeoJSON seq, run through Tippecanoe with the same layer name as the USGS 40' contours (also make sure that the 50m lines have the right key so they can be made bold).

Then it should be possible to switch effortlessly between an imperial and metric basemap, where the imperial basemap isn't just 40' converted into meters.

Vectorize slope-angle shading polygons?

Instead of using gdaldem color-relief to generate a raster with colors, you should investigate vectorizing the slope-angle (non-color-relief) raster. Then you only have to store the vector polygons of given slope angles.

So vectorize polygons while binning into whole-degrees? Or bin into Caltopo's color scheme bins?

Size of the downloaded DEM

Since we have to download DEM to generate slope, what if we need to generate a slope degrees layer of the entire U.S. with a 1-mater resolution?
the size of the needed DEM is very very huge. how do we download and store it to start working on it using GDAL?
I think the size of this DEM will be +700 TB !!!!

Use alpha channel ramp

even non-sloped terrain is darkened with the current setup. It might be worth exploring phasing in the opacity, so that non-sloping areas aren't darkened.

image

omit creation of tiles for no-data regions

I've created a very similar tutorial terrain-rgb but still have issues with no-data regions. We both set the value of rgb(0,0,0) to -10000 and I expected rio to omit all regions with this value. Unfortunately this does not work and my mbtiles container is full of tiles with an elevation of 0.

Do you see the same results and if not can you please give me a hint where to pay attention to?

Thank you for your help!
Best regards, Thomas

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.