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()DBFReadergetDBFReader()DBFFieldgetFieldByIndex(int index)intgetFieldCount()DBFField[]getFields()java.lang.String[]getRecordByIndex(int index)java.lang.StringgetRecordByRowAndCol(int row, int col)intgetRecordCount()java.lang.String[][]getRecords()<T> TgetShapeByIndex(int index)intgetShapeCount()SHPReadergetSHPReader()Shape.TYPEEMUNgetShpType()SHXReadergetSXHReader()SHPParserparse()
-
-
-
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)
-
-