亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? maketoc.java

?? openmap java寫的開源數字地圖程序. 用applet實現,可以像google map 那樣放大縮小地圖.
?? JAVA
?? 第 1 頁 / 共 5 頁
字號:
// **********************************************************************//// <copyright>// //  BBN Technologies//  10 Moulton Street//  Cambridge, MA 02138//  (617) 873-8000// //  Copyright (C) BBNT Solutions LLC. All rights reserved.// // </copyright>// **********************************************************************// // $Source: /cvs/distapps/openmap/src/openmap/com/bbn/openmap/layer/rpf/MakeToc.java,v $// $RCSfile: MakeToc.java,v $// $Revision: 1.6.2.5 $// $Date: 2005/09/15 14:03:39 $// $Author: dietrick $// // **********************************************************************/* * The meat of this code is based on source code provided by The MITRE * Corporation, through the browse application source code.  Many * thanks to Nancy Markuson who provided BBN with the software, and to * Theron Tock, who wrote the software, and Daniel Scholten, who * revised it - (c) 1994 The MITRE Corporation for those parts, and * used/distributed with permission.  */package com.bbn.openmap.layer.rpf;import java.io.BufferedReader;import java.io.File;import java.io.FileNotFoundException;import java.io.IOException;import java.io.InputStreamReader;import java.io.RandomAccessFile;import java.util.Vector;import com.bbn.openmap.event.ProgressEvent;import com.bbn.openmap.event.ProgressListener;import com.bbn.openmap.event.ProgressSupport;import com.bbn.openmap.io.BinaryBufferedFile;import com.bbn.openmap.io.BinaryFile;import com.bbn.openmap.util.Debug;import com.bbn.openmap.util.ArgParser;import com.bbn.openmap.LatLonPoint;import com.bbn.openmap.proj.coords.DMSLatLonPoint;/** * This is a class that will generate A.TOC files that the RpfLayer * requires. A.TOC files provide the RpfLayer with an idea of what * data is available to it, its geographic coverage, and chart type. * With the A.TOC contents, the RpfLayer is able to find which frames * are appropriate for a given projection location. It is very * important to have a valid A.TOC directory. * <P> *  * The RPF specification, MIL-STD-2411, has definitions for how frames * are to be laid out and found within a RPF directory. All RPF data * is supposed to lie under one RPF directory, and an A.TOC file, * describing all the files and their groupings, should be directly * within the RPF directory. That's why the RpfLayer needs a path to a * RPF directory - it's really looking for the A.TOC file, and knows * where to find it. It also needs a path to the RPF directory because * it needs to prepend that path to the paths to the files that the * A.TOC file knows about. * <P> *  * The A.TOC files that can be created with this MakeToc class can be * created to contain absolute frame paths. The MakeToc class can take * the paths to several RPF directories, and create a single A.TOC * file that preserves all of their current file paths. You have to * use alot of caution with this capability, however. These A.TOCs * containing absolute file paths will not work if the data is moved * to another machine, or if referenced by a machine with a different * type file system (i.e. Windows). They may not work for other * implementations of code that display RPF data - the code in this * package has been modified to test for absolute file names. * <P> *  * That said, absolute file names should be used instead of giving the * RpfLayer several RPF directories. The RpfTocHandler does much less * work when it is allowed to group coverages together to make bigger * areas. * <P> *  * This code was ported from C code provided in the original Mitre RPF * package that had limits to the number of frames that could make up * the areas. I'll be working to eliminate those limits, but I wanted * to get a working version of the code out there. I'm also planning * on modifying this class so that it can load the RpfTocHandler * directly, therefore eliminating the need for A.TOCs altogether when * there is more than one RPF directory. * <P> *  * <pre> *  *   *    *     *      *       *        *         *         Usage:  java com.bbn.openmap.layer.rpf.MakeToc (RPF dir path) (RPF dir path) ... *          *         *        *       *      *     *    *   * </pre> *  * This will create an A.TOC file in the current directory for the RPF * files in the RPF directory paths. Use: *  * <pre> *  *   *    *     *      *       *        *         *         java com.bbn.openmap.layer.rpf.MakeToc -help *          *         *        *       *      *     *    *   * </pre> *  * for other options. *  * <P> * NOTE: Make sure that the RPF directories and their contents are in * upper case. It's a spec requirement, although with CD copies and * FTP downloads, the file name cases sometimes get switched. Use * com.bbn.openmap.layer.rpf.ChangeCase to modify the file name cases. * Also, if there is more than one RPF directory in the path to the * image frames, use the absolute path option. Otherwise, the code * will focus on making the top-most RPF directory the one to key the * internal relative paths off of, and that might not be what you * want. * </P> *  * @see com.bbn.openmap.layer.rpf.ChangeCase */public class MakeToc {    /**     * According to Dan Scholten's original code, this was 2 times the     * max - changed from 30 on 6/17/94 to 200 for 81 JNC's in zone 1.     * This might not be enough for world-wide coverage of larger     * scale maps that are now available. This number may have to be     * increased depending on how much data you need.     */    public final static int DEFAULT_MAX_SIDE = 200;    public final static double EPS = 0.01;    public final static double EPS2 = 0.0001;    /** Output file name of the A.TOC file. */    public final static String ATOC_FILENAME = "A.TOC";    /** The boundary edge frame length for groups. */    protected int maxSide = DEFAULT_MAX_SIDE;    /** Flag to use relative frames paths - default is true. */    protected boolean relativeFramePaths = true;    /** The producer name for the frame files. Default is DMAAC. */    protected String producer = "DMAAC";    protected ProgressSupport progressSupport;    /** An internal representation of a Frame file. */    public class Frame {        double left;        double right;        double top;        double bottom;        /* New DKS: for computing GEOREF #'s over polar region */        double swlat;        double swlon;        double h_interval;        double v_interval;        double h_resolution;        double v_resolution;        String scale; // length 12        char zone;        boolean marked;        int group;        int x;        int y;        String filename;        boolean cib;        boolean cdted;        public double EPS() {            return (Math.abs(right - left) * MakeToc.EPS);        };        public String toString() {            StringBuffer s = new StringBuffer();            s.append("Frame - " + filename + "\n");            s.append("  zone = " + zone + "\n");            s.append("  marked = " + marked + "\n");            s.append("  scale = " + scale + "\n");            s.append("  group = " + group + "\n");            if (Debug.debugging("maketocframe")) {                s.append("  top = " + top + "\n");                s.append("  bottom = " + bottom + "\n");                s.append("  left = " + left + "\n");                s.append("  right = " + right + "\n");                s.append("  h_interval = " + h_interval + "\n");                s.append("  v_interval = " + v_interval + "\n");                s.append("  h_resolution = " + h_resolution + "\n");                s.append("  v_resolution = " + v_resolution + "\n");            }            return s.toString();        }    }    /** An internal representation of a boundary rectangle for frames. */    public class Group {        double[] horiz_pos;        double[] vert_pos;        int left;        int right;        int top;        int bottom;        String scale;        char zone;        double h_interval;        double v_interval;        double h_resolution;        double v_resolution;        boolean cib;        boolean cdted;        public Group() {            horiz_pos = new double[maxSide];            vert_pos = new double[maxSide];        }        public String toString() {            StringBuffer s = new StringBuffer();            s.append("Group - \n");            s.append("  zone = " + zone + "\n");            s.append("  scale = " + scale + "\n");            s.append("  left = " + left + "\n");            s.append("  right = " + right + "\n");            s.append("  top = " + top + "\n");            s.append("  bottom = " + bottom + "\n");            s.append("  is cdted = " + cdted + "\n");            s.append("  is cib = " + cib + "\n");            return s.toString();        }    }    public MakeToc() {        progressSupport = new ProgressSupport(this);    }    /**     * Create an A.TOC file.     *      * @param argv The arguments should at least include a path to a     *        RPF file root directory. Other options can be found by     *        using a -help option.     */    public static void main(String[] argv) {        Debug.init();        boolean Dchum = false;        ArgParser ap = new ArgParser("MakeToc");        ap.add("absolute",                "Use absolute paths in A.TOC - Use for multiple RPF Directories");        ap.add("boundary", "Maximum frames on a boundary edge (Default 200)", 1);        ap.add("dchum", "DCHUM files are included.");        ap.add("log", "Pathname of log file to list A.TOC creation output.", 1);        ap.add("output",                "Path to directory to place A.TOC file. (Default is current directory)",                1);        ap.add("producer",                "The producer of the frames (Default DMAAC).  Five letter code.",                1);        ap.add("verbose", "Print out progress");        ap.add("extraverbose", "Print out ALL progress");        ap.add("nw",                "Don't put up swing progress window (Use this if you are getting weird exceptions)");        ap.add("paths",                "Space separated paths to RPF directory or directories.  Should be last.  If more than one directory is listed, then absolute paths are used in the A.TOC file.",                ArgParser.TO_END);        if (!ap.parse(argv)) {            ap.printUsage();            System.exit(0);        }        String outputFile = "." + File.separator                + RpfTocHandler.RPF_TOC_FILE_NAME;        String arg[];        arg = ap.getArgValues("output");        if (arg != null) {            outputFile = arg[0] + File.separator                    + RpfTocHandler.RPF_TOC_FILE_NAME;        }        arg = ap.getArgValues("log");        if (arg != null) {            String logfile = arg[0];            Debug.directOutput(logfile, false, true);            Debug.output("MakeToc: Creating log at " + logfile + " at "                    + java.util.Calendar.getInstance().getTime());        }        arg = ap.getArgValues("dchum");        if (arg != null) {            Dchum = true;        }        arg = ap.getArgValues("verbose");        if (arg != null) {            Debug.put("maketoc");        }        arg = ap.getArgValues("extraverbose");        if (arg != null) {            Debug.put("maketoc");            Debug.put("maketocdetail");        }        String[] paths = null;        arg = ap.getArgValues("paths");        if (arg != null) {            paths = arg;        } else {

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲成在线观看| 国产美女精品在线| 粉嫩aⅴ一区二区三区四区五区 | 91视频免费观看| 欧美美女网站色| 一二三区精品视频| 成人手机电影网| 久久综合久久综合九色| 另类欧美日韩国产在线| 欧美成人一区二区| 蜜臀久久99精品久久久画质超高清| 91毛片在线观看| 久久精品一区八戒影视| 久久er99精品| 久久老女人爱爱| 国产美女av一区二区三区| 亚洲精品一区二区三区精华液| 天天综合日日夜夜精品| 日韩三级视频在线看| 麻豆精品视频在线观看免费| 欧美丰满少妇xxxxx高潮对白| 午夜久久电影网| 日韩午夜中文字幕| 国产曰批免费观看久久久| 国产视频一区二区三区在线观看| 国产一区二区精品久久99| 国产日产精品1区| 色老头久久综合| 日本午夜一本久久久综合| 精品国产区一区| av男人天堂一区| 奇米在线7777在线精品 | 亚洲国产成人tv| 精品视频999| 亚洲mv在线观看| 中文字幕欧美区| 欧美亚洲国产怡红院影院| 成人激情开心网| 一区二区三区中文字幕| av激情综合网| 图片区小说区国产精品视频| 久久久久久亚洲综合影院红桃| 91香蕉视频mp4| 国产在线一区观看| 婷婷开心久久网| 18欧美亚洲精品| 日韩一区二区三区免费观看| 99久久精品免费看| 久久精品国产精品亚洲红杏| 一区二区视频在线看| 久久婷婷国产综合精品青草| 欧美在线视频全部完| 91视频在线看| 国产成人av电影在线| 久久99精品视频| 亚洲综合色成人| 国产精品女主播av| 国产午夜精品久久久久久免费视| 欧美一区二区三区免费观看视频 | 精品久久久久久无| 欧美成人一区二区三区在线观看| 欧美系列亚洲系列| 色av一区二区| 国产成人三级在线观看| 久久99精品久久久| 国产一区二区三区精品欧美日韩一区二区三区 | 最新国产の精品合集bt伙计| 国产欧美日韩亚州综合| 国产精品嫩草99a| 亚洲第一精品在线| 日韩国产精品久久久| 日韩国产高清在线| 激情图区综合网| 国产东北露脸精品视频| 99久久夜色精品国产网站| 91丨九色丨国产丨porny| 一本色道综合亚洲| 日韩欧美国产三级电影视频| 国产色产综合色产在线视频| 国产精品麻豆一区二区| 国产精品免费人成网站| 亚洲精品高清在线观看| 日产国产欧美视频一区精品 | 久久久亚洲欧洲日产国码αv| 国产欧美日韩久久| 亚洲一区二区三区在线播放| 五月天一区二区| 成人激情免费视频| 日韩一级大片在线| 中文字幕一区二区三区在线播放 | 91丨porny丨最新| 欧美一二三区在线观看| 精品亚洲成a人在线观看 | 日本成人在线网站| caoporn国产精品| 欧美一级高清大全免费观看| 国产精品人成在线观看免费| 五月激情丁香一区二区三区| 成人免费视频一区二区| 精品国产乱码久久久久久久 | 欧美日韩和欧美的一区二区| 国产精品青草综合久久久久99| 美脚の诱脚舐め脚责91| 欧美写真视频网站| 一区二区三区不卡视频| 91碰在线视频| 艳妇臀荡乳欲伦亚洲一区| 色欧美乱欧美15图片| 综合久久综合久久| 91欧美激情一区二区三区成人| 国产精品白丝在线| 99久久精品免费看| 一区二区成人在线| 欧美日韩国产电影| 樱花影视一区二区| 欧美色图天堂网| 日本亚洲天堂网| 国产午夜久久久久| 色狠狠一区二区| 亚洲午夜av在线| 精品美女被调教视频大全网站| 免费欧美高清视频| 欧美一级久久久| 91片在线免费观看| 日韩电影在线一区二区三区| 日韩精品在线一区二区| 国产精品一区在线观看乱码| 国产午夜久久久久| 日本丶国产丶欧美色综合| 美女一区二区三区在线观看| 精品久久久久久久久久久院品网| 成人久久18免费网站麻豆| 一区免费观看视频| 日韩视频一区二区| 色综合久久久久| 美国三级日本三级久久99| 久久先锋资源网| 7777精品伊人久久久大香线蕉完整版 | 欧美日精品一区视频| 久久精品72免费观看| 一区二区三区**美女毛片| 日韩欧美国产一区在线观看| 91碰在线视频| 成人黄色小视频| 成人18精品视频| 久久精品久久久精品美女| 亚洲女同一区二区| 综合久久综合久久| 国产精品视频yy9299一区| 精品少妇一区二区三区在线视频| 91视频.com| 99精品视频一区| 成人午夜视频在线| 亚洲综合区在线| 久久久久综合网| 久久日一线二线三线suv| 51久久夜色精品国产麻豆| 欧美色爱综合网| 日本福利一区二区| 色综合天天综合色综合av | 亚洲欧美日韩系列| 亚洲婷婷国产精品电影人久久| 中文字幕中文字幕一区| 亚洲久本草在线中文字幕| 亚洲日本欧美天堂| 一区二区三区在线看| 亚洲精品免费播放| 人妖欧美一区二区| 国产黄人亚洲片| 色综合天天做天天爱| 欧美精品在线视频| 精品国产污污免费网站入口| 久久精品男人天堂av| 亚洲美女偷拍久久| 日韩不卡免费视频| 国产福利91精品一区二区三区| 国产精品1区二区.| 99精品欧美一区二区三区小说 | 图片区小说区区亚洲影院| 韩国女主播成人在线观看| 黄色成人免费在线| 色哟哟亚洲精品| 久久众筹精品私拍模特| 亚洲少妇中出一区| 日本美女一区二区| 91小视频免费看| 久久精品一区四区| 日产国产高清一区二区三区 | 一区二区欧美国产| 国产成人在线视频播放| 欧美日本韩国一区| 亚洲桃色在线一区| 国产精品资源站在线| 5858s免费视频成人| 亚洲在线成人精品| 91丨九色丨尤物| 亚洲国产精品二十页| 午夜欧美一区二区三区在线播放| 风间由美一区二区三区在线观看 | 欧美日韩国产精品自在自线|