Hexbin with inner divison
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<canvas id="canvas" width="600px" height="400px"></canvas> | |
<script src="./index.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<canvas id="canvas" width="700px" height="400px"></canvas> | |
<script src="./index.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<canvas id="canvas" width="900px" height="600px"></canvas> | |
<script src="./index.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<canvas id="canvas" width="900px" height="600px"></canvas> | |
<script src="./index.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<canvas id="canvas" width="600px" height="400px"></canvas> | |
<script src="./index.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta charset="utf-8" /> | |
<script src="http://d3js.org/d3.v4.min.js" charset="utf-8" type="text/javascript"></script> | |
</head> | |
<style> | |
html,body { | |
height: 100%; | |
width: 100%; | |
margin: 0; |
I was experimenting with PDAL to get different elevation model, and then hillshade them
This is an example of how to create a shaded relief raster with a vector map overlay (using SVG and d3.js). This show how maps are create from digital elevation model.
Step 1 is to grab california shapefiles, reproject them in the projection we want to use
Step 2 is to create the rasters from elevation files that are freely availablr. We use the color-relief.txt file to assign a particular color to a particular altitude range. This generates a raster file that we'll use later
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
all: hill-relief.jpg costarica_min_topo.json | |
# ------------- | |
# Relief raster | |
# ------------- | |
# | |
# Notice the `zip` file requirements here have no download. | |
# You will need to search for them online. They are from the | |
# SRTM project: http://www2.jpl.nasa.gov/srtm/ | |
# (which appears to have multiple versions of files). |