Skip to content

Commit

Permalink
fix 2m (MDT02) data for spain
Browse files Browse the repository at this point in the history
  • Loading branch information
DaMatrix committed Mar 7, 2024
1 parent b2b5653 commit 5ae7501
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 56 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ public void dispose() {
//proj = state.projection.fromGeo(16.5922, 38.9069); //catanzaro, italy
//proj = state.projection.fromGeo(-3.7070, 40.4168); //madrid, spain
//proj = state.projection.fromGeo(-5.57589, 37.47938); //middle of nowhere, spain
//proj = state.projection.fromGeo(-5.34232, 36.12544); //gibraltar, not spain
//proj = state.projection.fromGeo(13.37156, 52.52360); //berlin, germany
//proj = state.projection.fromGeo(11.63779, 52.11903); //magdeburg, germany
//proj = state.projection.fromGeo(7.206603551122279, 50.66019804133367); //röhndorf, germany
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -465,62 +465,17 @@
// http://centrodedescargas.cnig.es/CentroDescargas/index.jsp
//

{ //15 (MDT05)
"dataset": {
"urls": [
"https://cloud.daporkchop.net/gis/dem/earth/es/15/${x}/${z}.tiff"
],
"projection": {
"web_mercator": {
"zoom": 15
}
},
"resolution": 256,
"blend": "LINEAR",
"parse": {
"parse_tiff_auto": {}
}
},
"bounds": {
"minX": -18.166270531442596,
"maxX": 4.498121069634237,
"minZ": 27.632614140421087,
"maxZ": 43.847530656640664
},
"zooms": {
"min": 0,
"max": 1
},
"priority": 100.0
},
{ //16 (MDT02)
"dataset": {
"urls": [
"https://cloud.daporkchop.net/gis/dem/earth/es/16/${x}/${z}.tiff"
],
"projection": {
"web_mercator": {
"zoom": 16
}
},
"resolution": 256,
"blend": "LINEAR",
"parse": {
"parse_tiff_auto": {}
}
},
"bounds": {
"minX": -18.211312242927647,
"maxX": 3.3135744775048472,
"minZ": 27.604251218142423,
"maxZ": 43.835844258215864
},
"zooms": {
"min": 0,
"max": 1
},
"priority": 101.0 //slightly higher priority than MDT05, because this is higher resolution
},
// MDT05
{"dataset":{"urls":["https://cloud.daporkchop.net/gis/dem/earth/es/MDT05/ETRS89_UTM_zone_29N/15/${x}/${z}.tiff"],"projection":{"web_mercator":{"zoom":15}},"resolution":256,"blend":"LINEAR","parse":{"parse_tiff_auto":{ }}},"bounds":{"minX":-9.360792945235218,"maxX":-5.474842859514672,"minZ":35.999435740068996,"maxZ":43.84342323674799},"zooms":{"min":0,"max":1},"priority":100.0},
{"dataset":{"urls":["https://cloud.daporkchop.net/gis/dem/earth/es/MDT05/ETRS89_UTM_zone_30N/15/${x}/${z}.tiff"],"projection":{"web_mercator":{"zoom":15}},"resolution":256,"blend":"LINEAR","parse":{"parse_tiff_auto":{ }}},"bounds":{"minX":-9.452694681139109,"maxX":4.941616800246395,"minZ":35.05026484737799,"maxZ":43.94426082348035},"zooms":{"min":0,"max":1},"priority":100.0},
{"dataset":{"urls":["https://cloud.daporkchop.net/gis/dem/earth/es/MDT05/ETRS89_UTM_zone_31N/15/${x}/${z}.tiff"],"projection":{"web_mercator":{"zoom":15}},"resolution":256,"blend":"LINEAR","parse":{"parse_tiff_auto":{ }}},"bounds":{"minX":-0.4051101423164977,"maxX":4.551852321790936,"minZ":38.49500691596158,"maxZ":42.94495704211418},"zooms":{"min":0,"max":1},"priority":100.0},
{"dataset":{"urls":["https://cloud.daporkchop.net/gis/dem/earth/es/MDT05/REGCAN95_UTM_zone_28N/15/${x}/${z}.tiff"],"projection":{"web_mercator":{"zoom":15}},"resolution":256,"blend":"LINEAR","parse":{"parse_tiff_auto":{ }}},"bounds":{"minX":-18.212408197893556,"maxX":-13.330132023002498,"minZ":27.63261221740392,"maxZ":29.42526169526058},"zooms":{"min":0,"max":1},"priority":100.0},

// MDT02
{"dataset":{"urls":["https://cloud.daporkchop.net/gis/dem/earth/es/MDT02/ETRS89_UTM_zone_28N/17/${x}/${z}.tiff"],"projection":{"web_mercator":{"zoom":17}},"resolution":256,"blend":"LINEAR","parse":{"parse_tiff_auto":{ }}},"bounds":{"minX":-18.260694727756338,"maxX":-13.391696393125178,"minZ":27.601477595221265,"maxZ":29.426728647554008},"zooms":{"min":0,"max":1},"priority":117.0},
{"dataset":{"urls":["https://cloud.daporkchop.net/gis/dem/earth/es/MDT02/ETRS89_UTM_zone_30N_(N-E)/16/${x}/${z}.tiff"],"projection":{"web_mercator":{"zoom":16}},"resolution":256,"blend":"LINEAR","parse":{"parse_tiff_auto":{ }}},"bounds":{"minX":-6.9068578455196885,"maxX":0.2233058790026501,"minZ":35.2000669758808,"maxZ":43.716066475382206},"zooms":{"min":0,"max":1},"priority":116.0},
{"dataset":{"urls":["https://cloud.daporkchop.net/gis/dem/earth/es/MDT02/ETRS89_UTM_zone_31N_(N-E)/16/${x}/${z}.tiff"],"projection":{"web_mercator":{"zoom":16}},"resolution":256,"blend":"LINEAR","parse":{"parse_tiff_auto":{ }}},"bounds":{"minX":-0.4058464040040698,"maxX":4.5521930059264655,"minZ":38.49506093691504,"maxZ":42.95912070405866},"zooms":{"min":0,"max":1},"priority":116.0},
{"dataset":{"urls":["https://cloud.daporkchop.net/gis/dem/earth/es/MDT02/Transverse_Mercator_(ETRS89-TM29)/16/${x}/${z}.tiff"],"projection":{"web_mercator":{"zoom":16}},"resolution":256,"blend":"LINEAR","parse":{"parse_tiff_auto":{ }}},"bounds":{"minX":-9.360773987084196,"maxX":-5.478666115480513,"minZ":36.07857898799501,"maxZ":43.843373684783366},"zooms":{"min":0,"max":1},"priority":116.0},

//
// Germany
Expand Down

0 comments on commit 5ae7501

Please sign in to comment.