Class SHPParser
- java.lang.Object
-
- com.microstrategy.web.app.maps.shp.SHPParser
-
public class SHPParser extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description SHPParser(java.lang.String path, java.lang.String filename)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> java.util.ArrayList<T>
getAllShapes()
double[][]
getBBox()
DBFReader
getDBFReader()
DBFField
getFieldByIndex(int index)
int
getFieldCount()
DBFField[]
getFields()
java.lang.String[]
getRecordByIndex(int index)
java.lang.String
getRecordByRowAndCol(int row, int col)
int
getRecordCount()
java.lang.String[][]
getRecords()
<T> T
getShapeByIndex(int index)
int
getShapeCount()
SHPReader
getSHPReader()
Shape.TYPEEMUN
getShpType()
SHXReader
getSXHReader()
SHPParser
parse()
-
-
-
Method Detail
-
parse
public SHPParser parse() throws java.lang.Exception
- Throws:
java.lang.Exception
-
getSXHReader
public SHXReader getSXHReader()
-
getDBFReader
public DBFReader getDBFReader()
-
getSHPReader
public SHPReader getSHPReader()
-
getShapeCount
public int getShapeCount()
-
getAllShapes
public <T> java.util.ArrayList<T> getAllShapes()
-
getShapeByIndex
public <T> T getShapeByIndex(int index)
-
getShpType
public Shape.TYPEEMUN getShpType()
-
getBBox
public double[][] getBBox()
-
getFieldCount
public int getFieldCount()
-
getFields
public DBFField[] getFields()
-
getFieldByIndex
public DBFField getFieldByIndex(int index)
-
getRecordCount
public int getRecordCount()
-
getRecords
public java.lang.String[][] getRecords()
-
getRecordByIndex
public java.lang.String[] getRecordByIndex(int index)
-
getRecordByRowAndCol
public java.lang.String getRecordByRowAndCol(int row, int col)
-
-