org.deegree.io.databaseloader
Class PostgisDataLoader
java.lang.Object
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 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PostgisDataLoader
public PostgisDataLoader()
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
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org