28 #include <boost/foreach.hpp>
33 m_dataIsCovered(true),
34 m_spatialRepresentationType(te::md::
MD_vector),
47 m_language.push_back(lang);
50 const std::vector<std::string>&
59 m_charSet.push_back(code);
62 const std::vector<te::md::MD_CharacterSetCode>&
71 m_topicCategory.push_back(code);
74 const std::vector<te::md::MD_TopicCategoryCode>&
77 return m_topicCategory;
82 const double& urx,
const double& ury,
85 m_extent.init(llx, lly, urx, ury);
86 m_dataIsCovered = dataIsCovered;
107 m_spatialRepresentationType = code;
113 return m_spatialRepresentationType;
134 if (!m_language.empty())
148 m_extent.getUpperRightX(), m_extent.getUpperRightY(),
void addGeographicBBoxExt(const double &llx, const double &lly, const double &urx, const double &ury, bool isInside=true)
Adds the spatial description of the dataset.
~MD_DataIdentification()
Destructor.
const std::vector< MD_CharacterSetCode > & getCharsetCodes() const
Returns a character coding standard in the dataset.
const double & getUpperRightX() const
It returns a constant refernce to the x coordinate of the upper right corner.
void addLanguage(const std::string &lang)
Adds a language used within the dataset.
const double & getLowerLeftY() const
It returns a constant refernce to the y coordinate of the lower left corner.
const std::vector< std::string > & getLanguages() const
Returns the set of languages associated to the dataset.
const std::vector< MD_TopicCategoryCode > & getTopicCategories() const
Return the themes associated to the dataset.
long getScale() const
Returns the scale information. If equal to 0 the denominator is not valid.
const double & getUpperRightY() const
It returns a constant refernce to the x coordinate of the upper right corner.
Provides a standardized method for citing a resource (dataset, feature, source, publication, etc.)
te::md::MD_SpatialRepresentationTypeCode getSpatialRepTypeCode() const
Returns the spatial representation type.
std::vector< std::string > m_language
MD_DataIdentification(CI_Citation *cite, const std::string &abstract, MD_ProgressCode status, const std::string &lang)
Constructor.
MD_SpatialRepresentationTypeCode
An Envelope defines a 2D rectangular region.
Information required to identify a dataset.
const te::gm::Envelope & getExtent() const
Returns the set of extents for the dataset.
MD_ProgressCode
status of the dataset or progress of a review
void addCharacterSet(MD_CharacterSetCode code)
Adds a character coding standard in the dataset.
MD_Identification * clone() const
Gets a copy of this object.
void setScale(long d)
Sets resource scale. The scale of a map or other cartographic object expressed as a fraction or ratio...
const double & getLowerLeftX() const
It returns a constant reference to the x coordinate of the lower left corner.
void addTopicCategory(MD_TopicCategoryCode code)
Adds a theme of the dataset.
Information required to identify a dataset.
Identification information contains information to uniquely identify the data.
void setSpatialRepType(te::md::MD_SpatialRepresentationTypeCode code)
Sets the spatial representation type.
MD_CharacterSetCode
name of the character coding standard used in the resource
MD_TopicCategoryCode
high-level geographic data thematic classification to assist in the grouping and search of available ...