public class ShxOutputStream
extends java.lang.Object
Constructor and Description |
---|
ShxOutputStream(java.io.OutputStream os)
Chains an output stream to a LittleEndianOutputStream
|
Modifier and Type | Method and Description |
---|---|
boolean |
writeIndex(int[][] indexData,
int layerType)
Writes the index, with the default extents of the graphics being the
entire earth.
|
boolean |
writeIndex(int[][] indexData,
int layerType,
double[] extents)
Writes the index, with the default extents of the graphics being the
entire earth.
|
public ShxOutputStream(java.io.OutputStream os)
os
- An outputstream to chain a LittleEndianOutputStream topublic boolean writeIndex(int[][] indexData, int layerType)
indexData
- The index data to writelayerType
- Tye type of layer being writtenpublic boolean writeIndex(int[][] indexData, int layerType, double[] extents)
indexData
- The index data to writelayerType
- Tye type of layer being writtenextents
- an array of floats describing, in order, miny, minx, maxy,
maxx for the area that the graphics in the shape file cover.Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details