|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.commons.dataaccess.shape.SHPReader
public class SHPReader
SHPReader
Field Summary | |
---|---|
static int |
FILETYPE
The file type number. |
static int |
FIRST_RING
First ring of a polygon part type. |
static int |
INNER_RING
Inner polygon ring part type. |
static int |
MULTIPATCH
The multipatch shape. |
static int |
MULTIPOINT
The normal multipoint. |
static int |
MULTIPOINTM
The multipoint with measures. |
static int |
MULTIPOINTZ
The multipoint with z coordinates. |
static int |
NULL
The NULL shape. |
static int |
OUTER_RING
Outer polygon ring part type. |
static int |
POINT
The normal point. |
static int |
POINTM
The point with measure. |
static int |
POINTZ
The point with z coordinates. |
static int |
POLYGON
The normal polygon. |
static int |
POLYGONM
The polygon with measures. |
static int |
POLYGONZ
The polygon with z coordinates. |
static int |
POLYLINE
The normal polyline. |
static int |
POLYLINEM
The polyline with measures. |
static int |
POLYLINEZ
The polyline with z coordinates. |
static int |
RING
Polygon ring part type. |
static int |
TRIANGLE_FAN
Triangle fan part type. |
static int |
TRIANGLE_STRIP
Triangle strip part type. |
static int |
VERSION
The shape file version. |
Constructor Summary | |
---|---|
SHPReader(RandomAccessFile in,
CRS crs,
SpatialIndex<Long> rtree,
boolean startsWithZero)
|
Method Summary | |
---|---|
void |
close()
Closes the underlying input stream. |
Envelope |
getEnvelope()
|
LinkedList<Pair<Integer,Geometry>> |
query(Envelope bbox,
boolean withGeometry,
boolean exact)
|
Pair<ArrayList<Pair<Envelope,Long>>,Boolean> |
readEnvelopes()
He Who Needs It As Double, is welcome to implement/copy it. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int FILETYPE
public static final int VERSION
public static final int NULL
public static final int POINT
public static final int POLYLINE
public static final int POLYGON
public static final int MULTIPOINT
public static final int POINTZ
public static final int POLYLINEZ
public static final int POLYGONZ
public static final int MULTIPOINTZ
public static final int POINTM
public static final int POLYLINEM
public static final int POLYGONM
public static final int MULTIPOINTM
public static final int MULTIPATCH
public static final int TRIANGLE_STRIP
public static final int TRIANGLE_FAN
public static final int OUTER_RING
public static final int INNER_RING
public static final int FIRST_RING
public static final int RING
Constructor Detail |
---|
public SHPReader(RandomAccessFile in, CRS crs, SpatialIndex<Long> rtree, boolean startsWithZero) throws IOException
in
- crs
- rtree
- startsWithZero
-
IOException
Method Detail |
---|
public LinkedList<Pair<Integer,Geometry>> query(Envelope bbox, boolean withGeometry, boolean exact) throws IOException
bbox
- withGeometry
- exact
-
IOException
public Pair<ArrayList<Pair<Envelope,Long>>,Boolean> readEnvelopes() throws IOException
IOException
public Envelope getEnvelope()
public void close() throws IOException
IOException
|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |