25 #include "../dataaccess/dataset/DataSet.h"
26 #include "../dataaccess/dataset/DataSetType.h"
27 #include "../dataaccess/utils/Utils.h"
28 #include "../geometry/Envelope.h"
29 #include "../geometry/GeometryProperty.h"
41 #include <boost/lexical_cast.hpp>
42 #include <boost/date_time/gregorian/gregorian.hpp>
50 md->
setDateStamp(boost::gregorian::day_clock::local_day());
62 std::auto_ptr<te::gm::Geometry> g = d->
getGeometry(pos);
63 std::auto_ptr<te::gm::Envelope> env =
const_cast<te::da::DataSet*
>(d)->getExtent(pos);
65 id->addGeographicBBoxExt(env.get());
Provides a standardized method for citing a resource (dataset, feature, source, publication, etc.)
Information required to identify a dataset.
To support the bibliographic information to reference the resource.
TEMDEXPORT MD_Metadata * Extract(const te::da::DataSet *d)
Extract some metadata from a layer.
virtual std::auto_ptr< te::gm::Geometry > getGeometry(std::size_t i) const =0
Method for retrieving a geometric attribute value.
A dataset is the unit of information manipulated by the data access module of TerraLib.
TEDATAACCESSEXPORT std::size_t GetFirstPropertyPos(const te::da::DataSet *dataset, int datatype)