T - public class JSGeometryArrayList<T extends JSGeometry>
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
JSGeometryArrayList.ImportFileType |
| Constructor and Description |
|---|
JSGeometryArrayList(it.prato.comune.utilita.logging.interfaces.LogInterface logger)
Costruttore della classe JSGeometryArrayList.
|
| Modifier and Type | Method and Description |
|---|---|
static JSGeometryArrayList<JSGeometry> |
fromImport(java.io.File file,
JSGeometryArrayList.ImportFileType fileType,
JSGeometry.GeometryType geomType,
it.prato.comune.utilita.logging.interfaces.LogInterface logger)
Restituisce un JSGeometryArrayList contenente le geometrie contenute nel file in ingresso.
|
java.lang.String |
getBoundingbox() |
java.util.List<T> |
getGeometries() |
void |
setGeometries(java.util.List<T> geometries)
Imposta le geometrie.
|
static JSGeometryArrayList<JSGeometry> |
toJSGeometryArrayList(java.util.List<? extends OggettoTerritorio> oggTerCollection,
java.lang.String toCRS,
it.prato.comune.utilita.logging.interfaces.LogInterface logger) |
static JSGeometryArrayList<JSGeometry> |
toJSGeometryArrayList(java.util.List<? extends OggettoTerritorio> oggTerCollection,
java.lang.String toCRS,
it.prato.comune.utilita.logging.interfaces.LogInterface logger,
boolean withGeometry)
Converte una lista di
OggettoTerritorio in una lista di JSGeometryArrayList. |
static JSGeometryArrayList<JSGeometry> |
toJSGeometryArrayList1(java.util.List<IGetFeatureInfoObject> oggTerCollection,
java.lang.String toCRS,
it.prato.comune.utilita.logging.interfaces.LogInterface logger,
boolean withGeometry)
Converte una lista di
IGetFeatureInfoObject in una lista di JSGeometryArrayList. |
static JSGeometryArrayList<JSGeometry> |
toJSGeometryArrayList1(java.util.List<IGetFeatureInfoObject> oggTerCollection,
java.lang.String toCRS,
it.prato.comune.utilita.logging.interfaces.LogInterface logger,
boolean withGeometry,
boolean withAttributes)
Converte una lista di
IGetFeatureInfoObject in una lista di JSGeometryArrayList. |
public JSGeometryArrayList(it.prato.comune.utilita.logging.interfaces.LogInterface logger)
logger - public java.lang.String getBoundingbox()
public java.util.List<T> getGeometries()
public void setGeometries(java.util.List<T> geometries) throws SITException
geometries - SITExceptionpublic static JSGeometryArrayList<JSGeometry> toJSGeometryArrayList(java.util.List<? extends OggettoTerritorio> oggTerCollection, java.lang.String toCRS, it.prato.comune.utilita.logging.interfaces.LogInterface logger) throws SITException
oggTerCollection - toCRS - logger - SITExceptiontoJSGeometryArrayList(List, String, LogInterface, boolean)public static JSGeometryArrayList<JSGeometry> toJSGeometryArrayList(java.util.List<? extends OggettoTerritorio> oggTerCollection, java.lang.String toCRS, it.prato.comune.utilita.logging.interfaces.LogInterface logger, boolean withGeometry) throws SITException
OggettoTerritorio in una lista di JSGeometryArrayList.oggTerCollection - toCRS - logger - withGeometry - SITExceptionpublic static JSGeometryArrayList<JSGeometry> toJSGeometryArrayList1(java.util.List<IGetFeatureInfoObject> oggTerCollection, java.lang.String toCRS, it.prato.comune.utilita.logging.interfaces.LogInterface logger, boolean withGeometry) throws SITException
IGetFeatureInfoObject in una lista di JSGeometryArrayList.oggTerCollection - toCRS - logger - withGeometry - SITExceptionpublic static JSGeometryArrayList<JSGeometry> toJSGeometryArrayList1(java.util.List<IGetFeatureInfoObject> oggTerCollection, java.lang.String toCRS, it.prato.comune.utilita.logging.interfaces.LogInterface logger, boolean withGeometry, boolean withAttributes) throws SITException
IGetFeatureInfoObject in una lista di JSGeometryArrayList.oggTerCollection - toCRS - logger - withGeometry - withAttributes - SITExceptionpublic static JSGeometryArrayList<JSGeometry> fromImport(java.io.File file, JSGeometryArrayList.ImportFileType fileType, JSGeometry.GeometryType geomType, it.prato.comune.utilita.logging.interfaces.LogInterface logger) throws SITException, java.io.IOException
file - File contenente le geometriefileType - Tipo di file in ingressogeomType - Tipo di geometria attesa. Se presente anche una sola di tipo diverso viene lanciata l'eccezione SITImportWrongGeometryTypelogger - SITExceptionjava.io.IOException