作者rosielehaha (Rosie)
看板GIS
标题[问题] dem在网页展示问题
时间Tue Dec 13 17:05:20 2022
各位先进大家好
最近正在尝试将gis成果放上网页展示
碰到的问题是:
dem (.asc的格式) 如何放到网页上展示且有色阶?
已尝试作法:
1.用qgis 将 asc转成图砖 》转失败
2.用qgis 将.asc 用Translate转成png
Data type选byte时 可以成功转出有数值的地方
》成功,但图都是黑色的 没有数值差异
展示框架不知道会不会有影响,一同附上
1.使用flask
2.使用mapbox
以上问题再麻烦大家!谢谢~
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 140.113.134.121 (台湾)
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/GIS/M.1670922322.A.79D.html
1F:推 humanfly: qgis export要选render才是有颜色的图 01/03 21:00
2F:推 qwertkazeptt: qgis 要自己涂色的话 载入asc档後 选 layer 图层 02/19 15:51
3F:→ qwertkazeptt: 选 layer properties 选 symbology 符号学 02/19 15:55
4F:→ qwertkazeptt: 上面有个 render type 绘图类型 02/19 15:59
5F:→ qwertkazeptt: 选 singleband pseudocolor 单波段伪彩色 02/19 16:05
6F:→ qwertkazeptt: 里面有个color ramp色彩映射表 就可以自己选色 02/19 16:09
8F:→ qwertkazeptt: 刚刚在找dem下载网站时 google到的 02/19 16:44