Skip to content

Commit

Permalink
change 5d to 7d. license and notes about noaa layer.
Browse files Browse the repository at this point in the history
  • Loading branch information
arichnad committed Nov 30, 2023
1 parent 4fe72cf commit 22524d9
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 8 deletions.
40 changes: 34 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@

## lots of licenses

* see [cyclemaps.org](https://cyclemaps.org/) for the licenses
* [or the index here](/index.html)

### license for client-side

* [this license](LICENSE.md)
* [maplibre](https://github.com/maplibre/maplibre-gl-js/blob/main/LICENSE.txt)
* [maplibre-gl-vector-text-protocol](https://github.com/jimmyrocks/maplibre-gl-vector-text-protocol/blob/main/LICENSE)
* [js-cookie](https://github.com/js-cookie/js-cookie/blob/master/LICENSE)

## domain name

* [cyclemaps.org](https://cyclemaps.org/)
Expand All @@ -14,10 +26,26 @@
* `npm install`
* `./build.sh`

## license for client-side

* [this license](LICENSE.md)
* [maplibre](https://github.com/maplibre/maplibre-gl-js/blob/main/LICENSE.txt)
* [maplibre-gl-vector-text-protocol](https://github.com/jimmyrocks/maplibre-gl-vector-text-protocol/blob/main/LICENSE)
* [js-cookie](https://github.com/js-cookie/js-cookie/blob/master/LICENSE)
## non server-side layers

### noaa layer notes

`curl https://mapservices.weather.noaa.gov/raster/rest/services/obs/rfc_qpe/MapServer/?f=json |jq`

* 1d = 25+3
* today = 29+3
* 2d = 33+3
* 3d = 37+3
* 4d = 41+3
* 5d = 45+3
* 6d = 49+3
* 7d = 53+3
* 10d = 57+3
* 14d = 61+3
* 30d = 65+3
* 60d = 69+3
* 90d = 73+3
* 120d = 77+3
* 180d = 81+3
* 365d = 85+3

4 changes: 2 additions & 2 deletions buttons.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
}
},
{
"id": "past-rain-5d",
"id": "past-rain-7d",
"class": "rain",
"type": "raster",
"paint": {"raster-opacity": 0.5},
Expand All @@ -67,7 +67,7 @@
"type": "raster",
"tileSize": 2048,
"tiles" : [
"https://mapservices.weather.noaa.gov/raster/rest/services/obs/rfc_qpe/MapServer/export?bbox={bbox-epsg-3857}&size=512,512&dpi=96&format=png8&transparent=true&bboxSR=3857&imageSR=3857&layers=show:48&f=image"
"https://mapservices.weather.noaa.gov/raster/rest/services/obs/rfc_qpe/MapServer/export?bbox={bbox-epsg-3857}&size=512,512&dpi=96&format=png8&transparent=true&bboxSR=3857&imageSR=3857&layers=show:56&f=image"
]
}
}
Expand Down

0 comments on commit 22524d9

Please sign in to comment.