public class SpatialDocument
extends java.lang.Object
| Constructor and Description |
|---|
SpatialDocument(java.lang.String docid,
DBConnection dbconn)
Constructor that queries the db
|
| Modifier and Type | Method and Description |
|---|---|
org.opengis.feature.simple.SimpleFeature |
getPointFeature()
Returns a geotools (multi)point feature with geometry plus attributes
ready to be inserted into our spatial dataset cache
|
org.opengis.feature.simple.SimpleFeature |
getPolygonFeature()
Returns a geotools (multi)polygon feature with geometry plus attributes
ready to be inserted into our spatial dataset cache
|
public SpatialDocument(java.lang.String docid,
DBConnection dbconn)
docid - The document id to be represented spatiallydbconn - The database connection shared from the refering method.public org.opengis.feature.simple.SimpleFeature getPolygonFeature()
public org.opengis.feature.simple.SimpleFeature getPointFeature()
Copyright © 2020 Regents of the University of California. All Rights Reserved.