GithubHelp home page GithubHelp logo

kylebarron / dem-tiler Goto Github PK

View Code? Open in Web Editor NEW
24.0 3.0 5.0 10.7 MB

Serverless terrain contours, quantized mesh, and RGB-encoded terrain tiles

License: MIT License

Dockerfile 0.46% Makefile 0.57% Shell 6.39% Python 92.58%

dem-tiler's People

Contributors

kylebarron avatar vincentsarago 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

Watchers

 avatar  avatar  avatar

dem-tiler's Issues

AWS Terrain Tile backend

Especially when exporting to quantized mesh, it might be ideal to use the existing AWS terrain tiles.

Also look into using the GeoTIFF terrain tiles, which might be a little simpler to work with, because you don't have to encode/decode from a PNG.

260px, 516px tiles

It would be helpful to support exporting 260px and 516px tiles: e.g. 256px and 512px tiles with an extra 1-pixel border on each side.

These would allow for client-side hillshade/slope calculations without needing to find nearby tiles to backfill the edges

Contour endpoint

attempt with rasterio.features:

floored = np.floor(tile / 10).astype(np.int16)

shapes = list(features.shapes(floored, transform=transform.from_bounds(*mercantile.bounds(x, y, z), 256, 256)))

fs = []
for geom, value in shapes:
    fs.append(Feature(geometry=mapping(LineString(shape(geom).exterior)), properties={'ele': value}))
fc = FeatureCollection(fs)

image

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.