indextype.java

来自「shape file read and write」· Java 代码 · 共 32 行

JAVA
32
字号
/**
 * 
 */
package org.geotools.data.shapefile.indexed;

import org.geotools.data.shapefile.ShpFileType;

/**
 * Enumerates the different types of Shapefile geometry indices there are.
 * 
 * @author jesse
 */
public enum IndexType {
    /**
     * Don't use indexing
     */
    NONE(null),
    /**
     * This is an RTree 
     */
    EXPERIMENTAL_UNSUPPORTED_GRX(ShpFileType.GRX),
    /**
     * The same index as mapserver. Its the most reliable and is the default
     */
    QIX(ShpFileType.QIX);

    public final ShpFileType shpFileType;

    private IndexType(ShpFileType shpFileType) {
        this.shpFileType = shpFileType;
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?