|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmapnik.NativeObject
mapnik.FeatureSet
public class FeatureSet
Wraps a mapnik::featureset_ptr and the current mapnik::feature into a java.sql.ResultSet type interface.
Note that geometries referenced off of the current feature will become invalid once the FeatureSet moves to the next feature or the FeatureSet is disposed.
Constructor Summary | |
---|---|
FeatureSet()
|
Method Summary | |
---|---|
Box2d |
getEnvelope()
|
Geometry |
getGeometry(int index)
Get the geometry at index |
int |
getGeometryCount()
The number of geometries |
int |
getId()
The id of the current feature |
java.lang.Object |
getProperty(java.lang.String name)
Get a property by name |
java.util.Set<java.lang.String> |
getPropertyNames()
Names of all properties |
boolean |
next()
Moves to the next feature in the set. |
Methods inherited from class mapnik.NativeObject |
---|
dispose, isDisposed |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FeatureSet()
Method Detail |
---|
public boolean next()
public int getGeometryCount()
public Geometry getGeometry(int index)
index
-
public int getId()
public Box2d getEnvelope()
public java.util.Set<java.lang.String> getPropertyNames()
public java.lang.Object getProperty(java.lang.String name)
name
-
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |