mapnik
Class Datasource

java.lang.Object
  extended by mapnik.NativeObject
      extended by mapnik.Datasource

public class Datasource
extends NativeObject

Wraps a mapnik::datasource object. Datasources should be created by passing parameters to DatasourceCache.

Author:
stella

Method Summary
 void bind()
           
 FeatureSet features(Query q)
           
 FeatureSet featuresAtPoint(Coord pt)
           
 LayerDescriptor getDescriptor()
           
 Box2d getEnvelope()
           
 Parameters getParameters()
           
 int getType()
           
 
Methods inherited from class mapnik.NativeObject
dispose, isDisposed
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getParameters

public Parameters getParameters()

getType

public int getType()

bind

public void bind()

getEnvelope

public Box2d getEnvelope()

features

public FeatureSet features(Query q)

featuresAtPoint

public FeatureSet featuresAtPoint(Coord pt)

getDescriptor

public LayerDescriptor getDescriptor()