Using a local GeoTIFF image as terrain model #7816
bobfortin64
started this conversation in
General
Replies: 2 comments 2 replies
-
No this won't be possible.
|
Beta Was this translation helpful? Give feedback.
2 replies
-
Hi guys, I just went down the same path, o I am wondering if it is feasible in the foreseeable future that using a single as file, or a data-set, as Use case is a pipeline that uses national geodata from downloadable sets per muncipiality and produces a 3d 'floating island' of that geographical area. The data-sets in this case are multiple geojson files and a single geotiff for elevation. Cheers, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to use a local geotiff file with encoded rgb values as the elevation data in a Terrain layer.
I am not able to get it to load. Should this be possible?
I tried specifying a loader but not sure that is corret.
I even tried to pass in the data as a base64 encoded string with the same result.
new deck.TerrainLayer({
id: "fe069e7b-7546-4a4a-b665-7e0e512679d2",
elevationData: "C:/Users/Bob.Fortin/Documents/SeattleElevation_LL_MRR.tif",
elevationDecoder: {"rScaler": 256, "gScaler": 1, "bScaler": 1/256, "offset": -32768},
wireframe: false,
visible: true,
bounds: [-123.74647,46.451224000000003,-120.96088,48.308283000000003],
pickable: true,
operation: "terrain+draw",
loaders: [GeoTIFFLoader]
}),
]
Thanks for any ideas.
-Bob
Beta Was this translation helpful? Give feedback.
All reactions