Skip to content

Instantly share code, notes, and snippets.

from rasterio import coords
from pyproj import Proj, transform
## bbox from input
bbox = coords.BoundingBox(left=-2699073.2235329347,
bottom=-1588806.0694413616,
right=2697926.7764670653,
top=1588193.9305586384)
## custom crs
@dnomadb
dnomadb / a.rb
Created December 17, 2014 21:31
,----,
,/ .`|
,----.. ,--, ,` .' : ,--,
/ / \ ,--.'| ; ; / ,--.'|
| : : ,---. ,---. | | : .'___,/ ,' ,---. ,---. | | :
. | ;. / ' ,'\ ' ,'\ : : ' | : | ' ,'\ ' ,'\ : : ' .--.--.
. ; /--` / / | / / || ' | ; |.'; ; / / | / / || ' | / / '
; | ; . ; ,. :. ; ,. :' | | `----' | |. ; ,. :. ; ,. :' | | | : /`./
| : | ' | |: :' | |: :| | : ' : ;' | |: :' | |: :| | : | : ;_
. | '___' | .; :' | .; :' : |__ | | '' | .; :' | .; :' : |__ \ \ `.
[
{
"n1s2s3n1s3n0n0n0n0n0n0n0n": 3.1141102464798718
},
{
"n1s2s3n1s3s0s0s0s0s0s0s0s": 3.3379617131587174
},
{
"n1s2s3n1s3n0n0n0n0n0n0n1n": 3.0686684632342276
},
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.