labile 发表于 2013-1-28 13:17:42

将在Google中搜索 KML 文件的结果整合到Google Earth中

   
[*]    概述
正如你所知道的, 我们可以用 "关键字 filetype:kml" or "关键字 filetype:kmz" 作关键字串在 Google 中搜索 KML 文件。而这个工具的作用是将搜索结果直接整合到 Google Earth 中。
   
[*]    要求
OS:
   
[*]    Linux tested.(note: without startup shell script)
   
[*]    Windows tested.(note: with startup shell script)
Java:
   
[*]    Java 6.0 /1.6.0
   
[*]    目录结构

   
[*]    ${GS2GE_HOME}
      
[*]      start.cmd - Windows startup shell script
      
[*]      conf
            
[*]            log4j.xml
            
[*]            setting.xml - the main setting file
      
               
[*]      doc
            
[*]            manual.html - this file
      
               
[*]      lib
            
[*]            *.jar
      
            
   
   
[*]    安装      
[*]      Windows   
   
你可能需要修改 ${GS2GE_HOME}/start.cmd 文件. 在行 REM set JAVA_HOME here. 下增加行 set JAVA_HOME=你的Java Home路径



   
[*]    使用
                                        缩写说明:
            GE - Google Earth
            GS - Google Search
                     



   
[*]    启动服务
      
[*]      Windows: 在 Windows 命令提示符中输入
      > cd ${GS2GE_HOME}
      > start.cmd
   
   
如果你了解GS2GE用到的URL的格式,而且不是URL中只包括ASCII字符,你可以跳到步骤3


   
[*]    生成GS2GE查询URL
    a. 打开浏览器,转到URL : http://localhost:7070/servlets/la.ge.server.servlets.gs2ge.ui.GEURLGeneratorServlet
    b. 输入你要查找的文件的关键字
    http://lacopyer.sourceforge.net/gs2ge/doc/manual_html_598ed4f5.jpg
   
    c. 获得URL(GE Network Link URL)
    http://lacopyer.sourceforge.net/gs2ge/doc/manual_html_7bb6a73.jpg
   
[*]    用刚获得的 URL 在 GE 中创建 Network Link
   
    http://lacopyer.sourceforge.net/gs2ge/doc/manual_html_mc1767b7.gif
   
    http://lacopyer.sourceforge.net/gs2ge/doc/manual_html_7553aeec.jpg
   
[*]    有时候 GS 返回的结果是 GE 无法连接,请在 GE 提示界面中选择“忽略” .
    http://lacopyer.sourceforge.net/gs2ge/doc/manual_html_526a7d5d.jpg
 
 
 
GS2GE Home







功能说明(手册)http://lacopyer.sourceforge.net/online_doc/manual_zh_cn.html
主页:http://lacopyer.sourceforge.net/
下载:http://sourceforge.net/project/showfiles.php?group_id=135297&package_id=219787
 



开发:
项目主页:http://sourceforge.net/projects/lacopyer
SVN:https://lacopyer.svn.sourceforge.net/svnroot/lacopyer/gs2ge/trunk
页: [1]
查看完整版本: 将在Google中搜索 KML 文件的结果整合到Google Earth中