All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
STDataLoader.h
Go to the documentation of this file.
1 /* Copyright (C) 2001-2009 National Institute For Space Research (INPE) - Brazil.
2 
3  This file is part of the TerraLib - a Framework for building GIS enabled applications.
4 
5  TerraLib is free software: you can redistribute it and/or modify
6  it under the terms of the GNU Lesser General Public License as published by
7  the Free Software Foundation, either version 3 of the License,
8  or (at your option) any later version.
9 
10  TerraLib is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  GNU Lesser General Public License for more details.
14 
15  You should have received a copy of the GNU Lesser General Public License
16  along with TerraLib. See COPYING. If not, write to
17  TerraLib Team at <terralib-team@terralib.org>.
18 */
19 
20 /*!
21  \file STDataLoader.h
22 
23  \brief This file contains a class that contains a set of static methods
24  to load spatiotemporal data from data sources.
25 */
26 
27 #ifndef __TERRALIB_ST_INTERNAL_STDATALOADER_H
28 #define __TERRALIB_ST_INTERNAL_STDATALOADER_H
29 
30 //TerraLib
31 #include "../../common/Enums.h"
32 #include "../../geometry/Enums.h"
33 #include "../../geometry/Envelope.h"
34 #include "../../datatype/Enums.h"
35 
36 //ST
37 #include "../Config.h"
38 #include "../core/coverage/CoverageSeriesDataSetInfo.h"
39 
40 //STL
41 #include <memory>
42 
43 //Boost
44 #include <boost/ptr_container/ptr_vector.hpp>
45 
46 // Forward declarations
47 namespace te { namespace gm { class Geometry; } }
48 namespace te { namespace dt { class DateTime; class DateTimePeriod; } }
49 
50 namespace te
51 {
52  namespace st
53  {
54  // Forward declarations
55  class ObservationDataSet;
56  class TrajectoryDataSet;
57  class TimeSeriesDataSet;
58  class ObservationDataSetInfo;
59  class TrajectoryDataSetInfo;
60  class TimeSeriesDataSetInfo;
61  class CoverageSeriesDataSetInfo;
62  class PointCoverageDataSetInfo;
63  class RasterCoverageDataSetInfo;
64  class Trajectory;
65  class TimeSeries;
66  class CoverageSeries;
67  class PointCoverage;
68  class AbstractPointCoverageInterp;
69  class RasterCoverage;
70 
71  /*!
72  \class STDataLoader
73 
74  \brief A class that contains a set of static methods to load spatiotemporal
75  data from data sources.
76 
77  \ingroup st
78 
79  \note Before using the methods of this class, certify that the Data Source exists in the DataSourceManager
80  \note The methods of this class can throw an Exception when internal errors occur.
81 
82  \sa ObservationDataSet ObservationDataSetInfo
83  \sa TrajectoryDataSet TrajectoryDataSetInfo
84  \sa CoverageSeriesDataSet CoverageSeriesDataSetInfo
85  */
87  {
88  public:
89 
90  /*! \name Operations for loading ObservationDataSet */
91  //@{
92 
93  /*!
94  \brief It returns a ObservationDataSet, that is, a DataSet that contains observations.
95 
96  \param info Information about the DataSource which the observation are from and
97  the DataSet which contains the observations.
98  \param travType The traverse type associated to the returned dataset.
99 
100  \return A pointer to a new ObservationDataSet.
101 
102  \note Before using this method, certify that the Data Source exists in the DataSourceManager and
103  its "id" is correct in the info parameter
104  \note The caller will take the ownership of the returned pointer.
105  \note It can throw an Exception when internal errors occur.
106  */
107  static std::auto_ptr<ObservationDataSet> getDataSet(const ObservationDataSetInfo& info,
109 
110  /*!
111  \brief It returns a data set with observations whose observed geometries satisfy a
112  given spatial relation.
113 
114  \param info Information about the DataSource which the observation are from and
115  the DataSet which contains the observations.
116  \param e A given envelope.
117  \param r A given spatial relation.
118  \param travType The traverse type associated to the returned dataset.
119 
120  \return A pointer to a new ObservationDataSet.
121 
122  \note Before using this method, certify that the Data Source exists in the DataSourceManager and
123  its "id" is correct in the info parameter
124  \note The caller will take the ownership of the returned pointer.
125  \note It can throw an Exception when internal errors occur.
126  */
127  static std::auto_ptr<ObservationDataSet> getDataSet(const ObservationDataSetInfo& info, const te::gm::Envelope& e,
130 
131  /*!
132  \brief It returns a data set with observations whose observed geometries satisfy a
133  given spatial relation.
134 
135  The possible spatial relations implemented here are: INTERSECTS
136 
137  \param info Information about the DataSource which the observation are from and
138  the DataSet which contains the observations.
139  \param geom A given geometry.
140  \param r A given spatial relation.
141  \param travType The traverse type associated to the returned dataset.
142 
143  \return A pointer to a new ObservationDataSet.
144 
145  \note Before using this method, certify that the Data Source exists in the DataSourceManager and
146  its "id" is correct in the info parameter
147  \note The caller will take the ownership of the returned pointer.
148  \note It can throw an Exception when internal errors occur.
149  */
150  static std::auto_ptr<ObservationDataSet> getDataSet(const ObservationDataSetInfo& info, const te::gm::Geometry& geom,
153 
154  /*!
155  \brief It returns a data set with observations whose phenomenon times satisfy a
156  given temporal relation.
157 
158  The possible temporal relations are: 1. AFTER;
159  2. AFTER | EQUALS; 3. BEFORE; 4. BEFORE | EQUALS; 5. DURING; 6. EQUALS
160 
161  \param info Information about the DataSource which the observation are from and
162  the DataSet which contains the observations.
163  \param dt A given datetime.
164  \param r A given temporal relation.
165  \param travType The traverse type associated to the returned dataset.
166 
167  \return A pointer to a new ObservationDataSet.
168 
169  \note Before using this method, certify that the Data Source exists in the DataSourceManager and
170  its "id" is correct in the info parameter
171  \note The caller will take the ownership of the returned pointer.
172  \note When the temporal relation is DURING, dt must be a time period.
173  \note It can throw an Exception when internal errors occur.
174  */
175  static std::auto_ptr<ObservationDataSet> getDataSet(const ObservationDataSetInfo& info,
178 
179  /*!
180  \brief It returns a data set with observations whose observed geometries satisfy a
181  given spatial relation and phenomenon times satisfy a given temporal relation.
182 
183  The possible spatial relations are: INTERSECTS
184  The possible temporal relations are: 1. AFTER;
185  2. AFTER | EQUALS; 3. BEFORE; 4. BEFORE | EQUALS; 5. DURING; 6. EQUALS
186 
187  \param info Information about the DataSource which the observation are from and
188  the DataSet which contains the observations.
189  \param geom A given geometry.
190  \param sr A given spatial relation.
191  \param dt A given datetime.
192  \param tr A given temporal relation.
193  \param travType The traverse type associated to the returned dataset.
194 
195  \return A pointer to a new ObservationDataSet.
196 
197  \note Before using this method, certify that the Data Source exists in the DataSourceManager and
198  its "id" is correct in the info parameter
199  \note The caller will take the ownership of the returned pointer.
200  \note It will NOT take the ownership of the given pointers.
201  \note When the temporal relation is DURING, dt must be a time period.
202  \note It can throw an Exception when internal errors occur.
203  */
204  static std::auto_ptr<ObservationDataSet> getDataSet(const ObservationDataSetInfo& info,
208  //@}
209 
210  /*! \name Operations for loading TrajectoryDataSet */
211  //@{
212 
213  /*!
214  \brief It returns the information about all trajectories that exist in a single DataSet.
215 
216  The information about the DataSource and DataSet that contains trajectories is defined
217  as a TrajectoryDataSetInfo (input parameter).
218 
219  The information about each trajectory (its correct id) is returned as a
220  TrajectoryDataSetInfo of the parameter output.
221  These results can be used to create TrajectoryDataSetLayers.
222 
223  \param input The information about the DataSource and DataSet that contains trajectories
224  \param output The information about each trajectory (its correct id).
225 
226  \note Before using this method, certify that the Data Source exists in the DataSourceManager and
227  its "id" is correct in the info parameter
228  \note It can throw an Exception when internal errors occur.
229  */
230  static void getInfo( const TrajectoryDataSetInfo& input,
231  std::vector<TrajectoryDataSetInfo>& output);
232 
233  /*!
234  \brief It returns a data set with observations of trajectories.
235 
236  When the DataSet contains more than one trajectory, the info parameter
237  (TrajectoryDataSetInfo) must contain the id of the desire trajectory that
238  must be returned as a TrajectoryDataSet.
239 
240  \param info Information about the DataSource which the observations of a trajectory
241  are from and the DataSet which contains these observations.
242  \param travType The traverse type associated to the returned datasets.
243  \param rwRole The read and write permission associated to the returned datasets.
244  \return The returned TrajectoryDataSet.
245 
246  \note Before using this method, certify that the Data Source exists in the DataSourceManager and
247  its "id" is correct in the info parameter
248  \note The caller will take the ownership of the returned pointer.
249  \note It can throw an Exception when internal errors occur.
250  */
251  static std::auto_ptr<TrajectoryDataSet> getDataSet(const TrajectoryDataSetInfo& info,
253 
254  /*!
255  \brief It returns patches of a trajectory whose geometries
256  satisfy a given spatial relation.
257 
258  When the DataSet contains more than one trajectory, the info parameter
259  (TrajectoryDataSetInfo) must contain the id of the desire trajectory that
260  must be returned as a TrajectoryDataSet.
261 
262  The possible spatial relations implemented here are: INTERSECTS
263 
264  \param info Information about the DataSource which the observations of a trajectory
265  are from and the DataSet which contains these observations.
266  \param geom A given geometry.
267  \param r A given spatial relation.
268  \param travType The traverse type associated to the returned dataset.
269 
270  \return The returned trajectoy data set.
271 
272  \note Before using this method, certify that the Data Source exists in the DataSourceManager and
273  its "id" is correct in the info parameter
274  \note The caller will take the ownership of the returned pointer.
275  \note It can throw an Exception when internal errors occur.
276  */
277  static std::auto_ptr<TrajectoryDataSet> getDataSet(const TrajectoryDataSetInfo& info,
280 
281  /*!
282  \brief It returns patches of a trajectory whose geometries
283  satisfy a given spatial relation.
284 
285  When the DataSet contains more than one trajectory, the info parameter
286  (TrajectoryDataSetInfo) must contain the id of the desire trajectory that
287  must be returned as a TrajectoryDataSet.
288 
289  \param info Information about the DataSource which the observations of a trajectory are from
290  and the DataSet which contains the observations.
291  \param e A given envelope.
292  \param r A given spatial relation.
293  \param travType The traverse type associated to the returned dataset.
294 
295  \return The returned trajectoy data set.
296 
297  \note Before using this method, certify that the Data Source exists in the DataSourceManager and
298  its "id" is correct in the info parameter
299  \note The caller will take the ownership of the returned pointer.
300  \note It can throw an Exception when internal errors occur.
301  */
302  static std::auto_ptr<TrajectoryDataSet> getDataSet(const TrajectoryDataSetInfo& info,
305 
306  /*!
307  \brief It returns a data set with observations of trajectories whose times
308  satisfy a given temporal relation.
309 
310  When the DataSet contains more than one trajectory, the info parameter
311  (TrajectoryDataSetInfo) must contain the id of the desire trajectory that
312  must be returned as a TrajectoryDataSet.
313 
314  The possible temporal relations are: 1. AFTER;
315  2. AFTER | EQUALS; 3. BEFORE; 4. BEFORE | EQUALS; 5. DURING; 6. EQUALS
316 
317  \param info Information about the DataSource which the observation of trajectpries
318  are from and the DataSet which contains the observations.
319  \param dt A given datetime.
320  \param r A given temporal relation.
321  \param travType The traverse type associated to the returned dataset.
322 
323  \return A pointer to a new TrajectoryDataSet.
324 
325  \note Before using this method, certify that the Data Source exists in the DataSourceManager and
326  its "id" is correct in the info parameter
327  \note The caller will take the ownership of the returned pointer.
328  \note When the temporal relation is DURING, dt must be a time period.
329  \note It can throw an Exception when internal errors occur.
330  */
331  static std::auto_ptr<TrajectoryDataSet> getDataSet(const TrajectoryDataSetInfo& info,
334 
335  /*!
336  \brief It returns patches of a trajectory whose geometries
337  satisfy a given spatial relation and times satisfy a given temporal relation.
338 
339  When the DataSet contains more than one trajectory, the info parameter
340  (TrajectoryDataSetInfo) must contain the id of the desire trajectory that
341  must be returned as a TrajectoryDataSet.
342 
343  The possible spatial relations are: INTERSECTS
344  The possible temporal relations are: 1. AFTER;
345  2. AFTER | EQUALS; 3. BEFORE; 4. BEFORE | EQUALS; 5. DURING; 6. EQUALS
346 
347  \param info Information about the DataSource which the observations of trajectories
348  are from and the DataSet which contains these observations.
349  \param geom A given geometry.
350  \param sr A given spatial relation.
351  \param dt A given datetime.
352  \param tr A given temporal relation.
353  \param travType The traverse type associated to the returned dataset.
354 
355  \return The returned trajectoy data set.
356 
357  \note Before using this method, certify that the Data Source exists in the DataSourceManager and
358  its "id" is correct in the info parameter
359  \note The caller will take the ownership of the returned pointer.
360  \note It will NOT take the ownership of the given pointers.
361  \note When the temporal relation is DURING, dt must be a time period.
362  \note It can throw an Exception when internal errors occur.
363  */
364  static std::auto_ptr<TrajectoryDataSet> getDataSet(const TrajectoryDataSetInfo& info,
368  //@}
369 
370  /*! \name Operations for loading TimeSeriesDataSet */
371  //@{
372 
373  /*!
374  \brief It returns the information about all time series that exist in a single DataSet.
375 
376  The information about the DataSource and DataSet that contains time series is defined
377  as a TimeSeriesDataSetInfo (input parameter).
378 
379  The information about each time series (its correct id) is returned as a
380  TimeSeriesDataSetInfo of the parameter output.
381  These results can be used to create TimeSeriesDataSetLayers.
382 
383  \param input The information about the DataSource and DataSet that contains time series
384  \param output The information about each time series (its correct id).
385 
386  \note Before using this method, certify that the Data Source exists in the DataSourceManager and
387  its "id" is correct in the info parameter
388  \note It can throw an Exception when internal errors occur.
389  */
390  static void getInfo( const TimeSeriesDataSetInfo& input,
391  std::vector<TimeSeriesDataSetInfo>& output);
392 
393  /*!
394  \brief It returns a data set with observations of time series.
395 
396  When the DataSet contains more than one time series, the info parameter
397  (TimeSeriesDataSetInfo) must contain the id of the desire time series that
398  must be returned as a TimeSeriesDataSet.
399 
400  \param info Information about the DataSource which the observations of a time series
401  are from and the DataSet which contains these observations.
402  \param travType The traverse type associated to the returned datasets.
403 
404  \return The returned TrajectoryDataSet.
405 
406  \note Before using this method, certify that the Data Source exists in the DataSourceManager and
407  its "id" is correct in the info parameter
408  \note The caller will take the ownership of the returned pointer.
409  \note It can throw an Exception when internal errors occur.
410  */
411  static std::auto_ptr<TimeSeriesDataSet> getDataSet(const TimeSeriesDataSetInfo& info,
413 
414  /*!
415  \brief It returns a data set with observations of time series whose times
416  satisfy a given temporal relation.
417 
418  When the DataSet contains more than one time series, the info parameter
419  (TimeSeriesDataSetInfo) must contain the id of the desire time series that
420  must be returned as a TimeSeriesDataSet.
421 
422  The possible temporal relations are: 1. AFTER;
423  2. AFTER | EQUALS; 3. BEFORE; 4. BEFORE | EQUALS; 5. DURING; 6. EQUALS
424 
425  \param info Information about the DataSource which the observation of time series
426  are from and the DataSet which contains the observations.
427  \param dt A given datetime.
428  \param r A given temporal relation.
429  \param travType The traverse type associated to the returned dataset.
430 
431  \return A pointer to a new TimeSeriesDataSet.
432 
433  \note Before using this method, certify that the Data Source exists in the DataSourceManager and
434  its "id" is correct in the info parameter
435  \note The caller will take the ownership of the returned pointer.
436  \note When the temporal relation is DURING, dt must be a time period.
437  \note It can throw an Exception when internal errors occur.
438  */
439  static std::auto_ptr<TimeSeriesDataSet> getDataSet(const TimeSeriesDataSetInfo& info,
442 
443  //@}
444 
445  /*! \name Operations for loading spatiotemporal data types
446  (TimeSeries, Trajetory, CoverageSeries) directly from data sources, without using
447  DataSets. */
448  //@{
449 
450  /*!
451  \brief It returns a point coverage series.
452 
453  \param info Information about the DataSource which the observations of a coverage series
454  are from and the data sets which contain these observations.
455  \param interp The interpolator associated to each
456 
457  \return The returned CoverageSeries.
458 
459  \note Before using this method, certify that the Data Source exists in the DataSourceManager and
460  its "id" is correct in the info parameter
461  \note The caller will take the ownership of the returned pointer.
462  \note It can throw an Exception when internal errors occur.
463  */
464  static std::auto_ptr<CoverageSeries> getCoverageSeries( const PointCoverageSeriesDataSetInfo& info,
465  AbstractPointCoverageInterp* interp);
466 
467  /*!
468  \brief It returns a raster coverage series.
469 
470  \param info Information about the DataSource which the observations of a coverage series
471  are from and the data sets which contain these observations.
472 
473  \return The returned CoverageSeries.
474 
475  \note Before using this method, certify that the Data Source exists in the DataSourceManager and
476  its "id" is correct in the info parameter
477  \note The caller will take the ownership of the returned pointer.
478  \note It can throw an Exception when internal errors occur.
479  */
480  static std::auto_ptr<CoverageSeries> getCoverageSeries(const RasterCoverageSeriesDataSetInfo& info);
481 
482  /*!
483  \brief It returns a raster coverage.
484 
485  \param info Information about the DataSource which the observations of a raster coverage
486  are from and the data sets which contain these observations.
487 
488  \return The returned RasterCoverage.
489 
490  \note Before using this method, certify that the Data Source exists in the DataSourceManager and
491  its "id" is correct in the info parameter
492  \note The caller will take the ownership of the returned pointer.
493  \note It can throw an Exception when internal errors occur.
494  */
495  static std::auto_ptr<RasterCoverage> getCoverage(const RasterCoverageDataSetInfo& info);
496 
497  /*!
498  \brief It returns a point coverage.
499 
500  \param info Information about the DataSource which the observations of a point coverage
501  are from and the data sets which contain these observations.
502  \param interp The interpolator associated to the point coverage
503 
504  \return The returned PointCoverage.
505 
506  \note Before using this method, certify that the Data Source exists in the DataSourceManager and
507  its "id" is correct in the info parameter
508  \note The caller will take the ownership of the returned pointer.
509  \note It will take the ownership of the given pointers.
510  \note It can throw an Exception when internal errors occur.
511  */
512  static std::auto_ptr<PointCoverage> getCoverage(const PointCoverageDataSetInfo& info,
514 
515  /*!
516  \brief It returns a time series associated to a point of a coverage series.
517 
518  If info contains information about raster coverages and its associated data source
519  supports raster data type, this function is executed by the data source.
520  Otherwise, it is executed in two steps: (1) creating a CoverageSeries type
521  and (2) using its method getTimeSeries.
522 
523  \param info Information about the DataSource which the observations of a coverage series
524  are from and the data sets which contain these observations.
525  \param p A given point.
526 
527  \return The returned CoverageSeries.
528 
529  \note The caller will take the ownership of the returned pointer.
530  \note It can throw an Exception when internal errors occur.
531 
532  \\TO DO: (1) vantagem de usar o DataSetCoverageDataSet é ele fica armazenado no driver
533  \\em memória (stmem) ao invés de toda hora gerar o CoverageSeries para cada ponto
534  \\que queremos extrair a time series.
535  */
536  //static std::auto_ptr<CoverageSeries> getTimeSeries(const CoverageSeriesDataSetInfo& info,
537  // const te::gm::Point& p);
538  //@}
539 
540  /*! \name Operations for loading temporal and spatial extent */
541  //@{
542 
543  /*!
544  \brief It returns the temporal extent of the data set with observations.
545 
546  \return The temporal extent of the observations.
547 
548  \note Before using this method, certify that the Data Source exists in the DataSourceManager and
549  its "id" is correct in the info parameter
550  \note The caller will take the ownership of the returned pointer.
551  \note It will NOT take the ownership of the given pointer "info".
552  \note It can throw an Exception when internal errors occur.
553  */
554  static std::auto_ptr<te::dt::DateTimePeriod> getTemporalExtent(const ObservationDataSetInfo& info);
555 
556  /*!
557  \brief It returns the temporal extent of the data set with observations of a trajectory.
558 
559  \return The temporal extent of the observations of a trajectory.
560 
561  \note Before using this method, certify that the Data Source exists in the DataSourceManager and
562  its "id" is correct in the info parameter
563  \note The caller will take the ownership of the returned pointer.
564  \note It will NOT take the ownership of the given pointer "info".
565  \note It can throw an Exception when internal errors occur.
566  */
567  static std::auto_ptr<te::dt::DateTimePeriod> getTemporalExtent(const TrajectoryDataSetInfo& info);
568 
569  /*!
570  \brief It returns the temporal extent of the data set with observations of a time series.
571 
572  \return The temporal extent of the observations of a time series.
573 
574  \note Before using this method, certify that the Data Source exists in the DataSourceManager and
575  its "id" is correct in the info parameter
576  \note The caller will take the ownership of the returned pointer.
577  \note It will NOT take the ownership of the given pointer "info".
578  \note It can throw an Exception when internal errors occur.
579  */
580  static std::auto_ptr<te::dt::DateTimePeriod> getTemporalExtent(const TimeSeriesDataSetInfo& info);
581 
582  /*!
583  \brief It returns the temporal extent of the data set with observations of a coverage series.
584 
585  \return The temporal extent of the observations of a coverage series.
586 
587  \note Before using this method, certify that the Data Source exists in the DataSourceManager and
588  its "id" is correct in the info parameter
589  \note The caller will take the ownership of the returned pointer.
590  \note It will NOT take the ownership of the given pointer "info".
591  \note It can throw an Exception when internal errors occur.
592  */
593  //static std::auto_ptr<te::dt::DateTimePeriod> getTemporalExtent(const CoverageSeriesDataSetInfo& info);
594 
595  /*!
596  \brief It returns the spatial extent of the observations, when there is an observed value of geometry type.
597 
598  \return The spatial extent of the observations.
599 
600  \note Before using this method, certify that the Data Source exists in the DataSourceManager and
601  its "id" is correct in the info parameter
602  \note The caller will take the ownership of the returned pointer.
603  \note It can throw an Exception when internal errors occur.
604  */
605  static te::gm::Envelope getSpatialExtent(const ObservationDataSetInfo& info);
606 
607  /*!
608  \brief It returns the spatial extent of the observations of a trajectory.
609 
610  \return The spatial extent of the observations of a trajectory.
611 
612  \note Before using this method, certify that the Data Source exists in the DataSourceManager and
613  its "id" is correct in the info parameter
614  \note The caller will take the ownership of the returned pointer.
615  \note It can throw an Exception when internal errors occur.
616  */
617  static te::gm::Envelope getSpatialExtent(const TrajectoryDataSetInfo& info);
618 
619  /*!
620  \brief It returns the spatial extent of the observations of a coverage series.
621 
622  \return The spatial extent of the observations of a coverage series.
623 
624  \note Before using this method, certify that the Data Source exists in the DataSourceManager and
625  its "id" is correct in the info parameter
626  \note The caller will take the ownership of the returned pointer.
627  \note It can throw an Exception when internal errors occur.
628  */
629  //static te::gm::Envelope getSpatialExtent(const CoverageSeriesDataSetInfo& info);
630  //@}
631 
632  /*!
633  \brief It initialize the STDataLoader
634 
635  It creates a ST Memory data source and adds it into the DataSourceManager.
636 
637  \note The user must use this method before using the other methods.
638  \note It can throw an Exception when internal errors occur.
639  */
640  static void initialize();
641 
642  /*!
643  \brief It finalize the STDataLoader
644 
645  It closes (cleans its iternal DataSets) ST Memory data source in the DataSourceManager.
646 
647  \note The user must use this method after using the STDataLoader.
648  \note It can throw an Exception when internal errors occur.
649  */
650  static void finalize();
651 
652  /*! \brief Virtual destructor. */
653  virtual ~STDataLoader();
654 
655  protected:
656 
657  /*! \brief Protected constructor */
658  STDataLoader();
659  };
660 
661  } // end namespace st
662 } // end namespace te
663 
664 #endif // __TERRALIB_ST_INTERNAL_STDATALOADER_H
665 
666 
667 
std::vector< RasterCoverageDataSetInfo > RasterCoverageSeriesDataSetInfo
A class that contains infos about a DataSet that contains observations of one or more time series...
A class that contains infos about a DataSet that contains observations.
An abstract class for interpolation function or interpolator that estimate values at non-observaved l...
std::vector< PointCoverageDataSetInfo > PointCoverageSeriesDataSetInfo
SpatialRelation
Spatial relations between geometric objects.
Definition: Enums.h:122
#define TESTEXPORT
You can use this macro in order to export/import classes and functions from this module.
Definition: Config.h:136
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
Definition: Geometry.h:73
TemporalRelation
Temporal relations between date and time (Source: Allen, 1991).
Definition: Enums.h:76
A class that contains infos about a DataSet that contains observations of one or more trajectories...
TraverseType
A dataset can be traversed in two ways:
Definition: Enums.h:53
A class that contains a set of static methods to load spatiotemporal data from data sources...
Definition: STDataLoader.h:86
A class that contains infos about a DataSource and DataSet that contains observations of a point cove...
An Envelope defines a 2D rectangular region.
Definition: Envelope.h:51
A class that contains infos about a DataSource and DataSet that contains observations of a raster cov...