deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.io.databaseloader
Class PostgisDataLoader

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

public class PostgisDataLoader
extends java.lang.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, java.lang.String sql)
           
static FeatureCollection load(DatabaseDataSource datasource, Envelope envelope, java.lang.String sql, java.lang.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,
                                     java.lang.String sql)
                              throws java.lang.Exception
Parameters:
datasource -
envelope -
sql -
Returns:
the fc
Throws:
java.lang.Exception

load

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

load

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

deegree 2.5 (2011/06/29 09:44 build-8-official)

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