deegree 2.3 (2010/04/09 10:10 build-4-official)

org.deegree.io.databaseloader
Class PostgisDataLoader

java.lang.Object
  extended by org.deegree.io.databaseloader.PostgisDataLoader

public class PostgisDataLoader
extends Object

class for loading data as feature collection from a postgis database

Version:
$Revision: 6251 $, $Date: 2007-03-19 16:59:28 +0100 (Mo, 19 Mrz 2007) $
Author:
Andreas Poth, last edited by: $Author: poth $

Constructor Summary
PostgisDataLoader()
           
 
Method Summary
static FeatureCollection load(DatabaseDataSource datasource, Envelope envelope)
           
static FeatureCollection load(DatabaseDataSource datasource, Envelope envelope, String sql)
           
static FeatureCollection load(DatabaseDataSource datasource, Envelope envelope, String sql, String extraClauses)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PostgisDataLoader

public PostgisDataLoader()
Method Detail

load

public static FeatureCollection load(DatabaseDataSource datasource,
                                     Envelope envelope,
                                     String sql)
                              throws Exception
Parameters:
datasource -
envelope -
sql -
Returns:
the fc
Throws:
Exception

load

public static FeatureCollection load(DatabaseDataSource datasource,
                                     Envelope envelope,
                                     String sql,
                                     String extraClauses)
                              throws Exception
Parameters:
datasource -
envelope -
sql -
extraClauses -
Returns:
the feature collection directly from the db
Throws:
Exception

load

public static FeatureCollection load(DatabaseDataSource datasource,
                                     Envelope envelope)
                              throws Exception
Parameters:
datasource -
envelope -
Returns:
featurecollection loaded from a postgis database
Throws:
Exception

deegree 2.3 (2010/04/09 10:10 build-4-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org