|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.openstreetmap.osmosis.core.filter.v0_6.DatasetBoundingBoxFilter
public class DatasetBoundingBoxFilter
Provides a filter utilising a dataset to extract all entities that lie within a specific geographical box identified by latitude and longitude coordinates.
| Constructor Summary | |
|---|---|
DatasetBoundingBoxFilter(double left,
double right,
double top,
double bottom,
boolean completeWays)
Creates a new instance with the specified geographical coordinates. |
|
| Method Summary | |
|---|---|
void |
process(Dataset dataset)
Process the dataset. |
void |
release()
Performs resource cleanup tasks such as closing files, or database connections. |
void |
setSink(Sink sink)
Sets the osm sink to send data to. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DatasetBoundingBoxFilter(double left,
double right,
double top,
double bottom,
boolean completeWays)
left - The longitude marking the left edge of the bounding box.right - The longitude marking the right edge of the bounding box.top - The latitude marking the top edge of the bounding box.bottom - The latitude marking the bottom edge of the bounding box.completeWays - Include all nodes for ways which have some portion inside the
filtered area.| Method Detail |
|---|
public void setSink(Sink sink)
setSink in interface Sourcesink - The sink for receiving all produced data.public void process(Dataset dataset)
process in interface DatasetSinkdataset - The dataset to be processed.public void release()
release in interface Releasable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||