Class SHPHeader
- java.lang.Object
-
- com.microstrategy.web.app.maps.shp.SHPHeader
-
public class SHPHeader extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected double[][]
bbox
protected java.io.File
file
protected int
fileLength
protected double[]
range
protected int
shape_type
protected SHPParser
shapefile
protected Shape.TYPEEMUN
shapeType
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double[][]
getBoundingBox()
int
getFileLengthBytes()
double[]
getMeasureRange()
Shape.TYPEEMUN
getShapeType()
void
read(java.nio.ByteBuffer buffer)
-
-
-
Field Detail
-
shapefile
protected SHPParser shapefile
-
file
protected java.io.File file
-
fileLength
protected int fileLength
-
shape_type
protected int shape_type
-
bbox
protected double[][] bbox
-
range
protected double[] range
-
shapeType
protected Shape.TYPEEMUN shapeType
-
-
Constructor Detail
-
SHPHeader
public SHPHeader(SHPParser shapefile, java.io.File file)
-
-
Method Detail
-
read
public void read(java.nio.ByteBuffer buffer) throws java.lang.Exception
- Throws:
java.lang.Exception
-
getShapeType
public Shape.TYPEEMUN getShapeType()
-
getBoundingBox
public double[][] getBoundingBox()
-
getMeasureRange
public double[] getMeasureRange()
-
getFileLengthBytes
public int getFileLengthBytes()
-
-