2006-12-28

MAPINFO MAPBASIC語法

Select sum(Area(obj, "sq km")) from case6_floodg where z>=3 and z<10
into case6_floodg1
Select sum(Area(obj, "sq km")) from case6_floodg where z>=1 and z<3
into case6_floodg2
Select sum(Area(obj, "sq km")) from case6_floodg where z>=0.5 and z<1
into case6_floodg3
Select sum(Area(obj, "sq km")) from case6_floodg where z>=0.3 and
z<0.5 into case6_floodg4
Select sum(Area(obj, "sq km")) from case6_floodg where z>0 and z<0.3
into case6_floodg5
Browse * From case6_floodg1
Browse * From case6_floodg2
Browse * From case6_floodg3
Browse * From case6_floodg4
Browse * From case6_floodg5
可簡化查詢動作

沒有留言:

張貼留言

QGIS Raster to Vector use Python console step2

資料處理步驟: 1.讀取 Raster 並計算 25 等級等值線級距 2.用 GDAL 產生等值線(Contour Lines) 3.Polygonize:Raster 轉等值面多邊形 4.將多邊形圖層載入 QGIS 5.為每個 polygon 計算其 VALUE 所屬級距(LE...