原帖由
40robbers 于 2008-7-9 11:41 發(fā)表
誰知道Mapinfo如何導成gst格式地圖???
具體操作步驟???
首先感謝2樓的詳解
但是又有新問題出現(xiàn),詳見圖示。
TAB為圖1所示,但是保存成的GST卻是圖2所示,什么原因??
我這邊測試了都沒有問題的
就是GST文件你用記事本打開可以發(fā)現(xiàn)
其實就是一個鏈接和設(shè)置的文件信息
所以你的tab文件最好是都放在一個目錄下面
然后保持的gst文件也都放在一個目錄下面
再測試一下
而且以后保存了之后相關(guān)tab的路徑都不能變化的(紅色部分)
另外最好tab文件不要放在中文目錄下
否則gst就會失效
附上gst的文件內(nèi)容:
!GEOSET
!VERSION 500
begin_metadata
"\GEOSET\NAME" = "test"
"\GEOSET\PROJECTION" = ""
"\GEOSET\CENTER" = "102.707,25.044"
"\GEOSET\CENTER_USER" = "102.707,25.044"
"\GEOSET\ZOOMLEVEL" = "17.17"
"\GEOSET\AUTOLAYER" = "FALSE"
"\GEOSET\MAPUNIT" = "1"
"\TABLE\1\FILE" = ".\Map\Sectors.TAB"
"\TABLE\1\ISVISIBLE" = "TRUE"
"\TABLE\1\AUTOLABEL" = "FALSE"
"\TABLE\1\SHOWLINEDIRECTION" = "FALSE"
"\TABLE\1\SHOWNODES" = "FALSE"
"\TABLE\1\SHOWCENTROIDS" = "FALSE"
"\TABLE\1\SELECTABLE" = "TRUE"
"\TABLE\1\EDITABLE" = "FALSE"
"\TABLE\1\LABEL\DUPLICATE" = "TRUE"
"\TABLE\1\LABEL\LINETYPE" = "2"
"\TABLE\1\LABEL\OFFSET" = "2"
"\TABLE\1\LABEL\OVERLAP" = "FALSE"
"\TABLE\1\LABEL\ALONG" = "1"
"\TABLE\1\LABEL\POSITION" = "5"
"\TABLE\1\LABEL\PARTIALOBJECTS" = "FALSE"
"\TABLE\1\LABEL\FONT\STYLE" = "0"
"\TABLE\1\LABEL\FONT\EXTSTYLE" = "0"
"\TABLE\1\LABEL\FONT\DESCRIPTION" = "Arial"
"\TABLE\1\LABEL\FONT\SIZE" = "12"
"\TABLE\1\LABEL\FONT\FORECOLOR" = "0"
"\TABLE\2\FILE" = ".\Map\opt_area.TAB"
"\TABLE\2\ISVISIBLE" = "TRUE"
"\TABLE\2\AUTOLABEL" = "FALSE"
"\TABLE\2\SHOWLINEDIRECTION" = "FALSE"
"\TABLE\2\SHOWNODES" = "FALSE"
"\TABLE\2\SHOWCENTROIDS" = "FALSE"
"\TABLE\2\SELECTABLE" = "TRUE"
"\TABLE\2\EDITABLE" = "FALSE"
"\TABLE\2\LABEL\DUPLICATE" = "FALSE"
"\TABLE\2\LABEL\LINETYPE" = "2"
"\TABLE\2\LABEL\OFFSET" = "2"
"\TABLE\2\LABEL\OVERLAP" = "FALSE"
"\TABLE\2\LABEL\ALONG" = "1"
"\TABLE\2\LABEL\POSITION" = "2"
"\TABLE\2\LABEL\PARTIALOBJECTS" = "FALSE"
"\TABLE\2\LABEL\FONT\STYLE" = "0"
"\TABLE\2\LABEL\FONT\EXTSTYLE" = "0"
"\TABLE\2\LABEL\FONT\DESCRIPTION" = "Arial"
"\TABLE\2\LABEL\FONT\SIZE" = "12"
"\TABLE\2\LABEL\FONT\FORECOLOR" = "0"
end_metadata