Information required to identify a dataset. More...
#include <MD_DataIdentification.h>
Public Member Functions | |
void | addPointOfContact (CI_ResponsibleParty *p) |
Adds a point of contact to the resource. More... | |
MD_Identification * | clone () const |
Gets a copy of this object. More... | |
const std::string & | getAbstract () const |
Returns the resource abstract. More... | |
const CI_Citation * | getCitation () const |
Returns the citation for the metadata. More... | |
const boost::ptr_vector< CI_ResponsibleParty > & | getPointsOfContact () const |
Returns the resource points of contact. More... | |
te::md::MD_ProgressCode | getStatus () const |
Returns the resource status code. More... | |
MD_DataIdentification (CI_Citation *cite, const std::string &abstract, MD_ProgressCode status, const std::string &lang) | |
Constructor. More... | |
~MD_DataIdentification () | |
Destructor. More... | |
Accessor methods | |
Methods used to get or set properties. | |
void | addLanguage (const std::string &lang) |
Adds a language used within the dataset. More... | |
const std::vector< std::string > & | getLanguages () const |
Returns the set of languages associated to the dataset. More... | |
void | addCharacterSet (MD_CharacterSetCode code) |
Adds a character coding standard in the dataset. More... | |
const std::vector< MD_CharacterSetCode > & | getCharsetCodes () const |
Returns a character coding standard in the dataset. More... | |
void | addTopicCategory (MD_TopicCategoryCode code) |
Adds a theme of the dataset. More... | |
const std::vector< MD_TopicCategoryCode > & | getTopicCategories () const |
Return the themes associated to the dataset. More... | |
void | addGeographicBBoxExt (const double &llx, const double &lly, const double &urx, const double &ury, bool isInside=true) |
Adds the spatial description of the dataset. More... | |
void | addGeographicBBoxExt (const te::gm::Envelope *bb, bool isInside=true) |
Adds the spatial description of the dataset. More... | |
const te::gm::Envelope & | getExtent () const |
Returns the set of extents for the dataset. More... | |
bool | dataIsCovered () const |
Returns true if the bounding polygon encompasses an area covered by the data or false if is an area where data is not present. More... | |
void | setSpatialRepType (te::md::MD_SpatialRepresentationTypeCode code) |
Sets the spatial representation type. More... | |
te::md::MD_SpatialRepresentationTypeCode | getSpatialRepTypeCode () const |
Returns the spatial representation type. More... | |
void | setScale (long d) |
Sets resource scale. The scale of a map or other cartographic object expressed as a fraction or ratio which relates unit distance on the map or other cartographic object to distance, measured in the same units, on the ground. More... | |
long | getScale () const |
Returns the scale information. If equal to 0 the denominator is not valid. More... | |
Protected Attributes | |
std::string | m_abstract |
CI_Citation * | m_citation |
boost::ptr_vector< CI_ResponsibleParty > | m_poc |
te::md::MD_ProgressCode | m_status |
Private Attributes | |
std::vector< MD_CharacterSetCode > | m_charSet |
bool | m_dataIsCovered |
te::gm::Envelope | m_extent |
std::vector< std::string > | m_language |
long | m_scale |
te::md::MD_SpatialRepresentationTypeCode | m_spatialRepresentationType |
std::vector< MD_TopicCategoryCode > | m_topicCategory |
Information required to identify a dataset.
Definition at line 52 of file MD_DataIdentification.h.
te::md::MD_DataIdentification::MD_DataIdentification | ( | CI_Citation * | cite, |
const std::string & | abstract, | ||
MD_ProgressCode | status, | ||
const std::string & | lang | ||
) |
Constructor.
citation | Pointer to the citation to the resource. Class takes ownership. Do not pass null. |
abstract | Brief narrative summary of the resource. |
status | The development phase of the resource. |
lang | A language used within the dataset. using standard ISO three-letter codes. Do not pass empty. |
te::md::MD_DataIdentification::~MD_DataIdentification | ( | ) |
Destructor.
void te::md::MD_DataIdentification::addCharacterSet | ( | MD_CharacterSetCode | code | ) |
Adds a character coding standard in the dataset.
void te::md::MD_DataIdentification::addGeographicBBoxExt | ( | const double & | llx, |
const double & | lly, | ||
const double & | urx, | ||
const double & | ury, | ||
bool | isInside = true |
||
) |
Adds the spatial description of the dataset.
llx | Westernmost coordinate of the limit of the dataset extent, expressed in longitude in decimal degrees. |
lly | Southernmost coordinate of the limit of the dataset extent, expressed in latitude in decimal degrees. |
urx | Easternmost coordinate of the limit of the dataset extent, expressed in longitude in decimal degrees. |
lly | Northernmost coordinate of the limit of the dataset extent, expressed in latitude in decimal degrees. |
isInside | True if the bounding polygon encompasses an area covered by the data or false if an area where data is not present. Default true. |
void te::md::MD_DataIdentification::addGeographicBBoxExt | ( | const te::gm::Envelope * | bb, |
bool | isInside = true |
||
) |
Adds the spatial description of the dataset.
bbx | Pointer to the enclosing boounding box. Do not pass null. |
isInside | True if the bounding polygon encompasses an area covered by the data or false if an area where data is not present. Default true. |
void te::md::MD_DataIdentification::addLanguage | ( | const std::string & | lang | ) |
Adds a language used within the dataset.
lang | Language description using standard ISO three-letter codes. Do not pass empty string. |
|
inherited |
Adds a point of contact to the resource.
poc | Pointer to a responsible party. Class takes pointer ownership. Do not pass null. |
void te::md::MD_DataIdentification::addTopicCategory | ( | MD_TopicCategoryCode | code | ) |
Adds a theme of the dataset.
|
virtual |
Gets a copy of this object.
Reimplemented from te::md::MD_Identification.
bool te::md::MD_DataIdentification::dataIsCovered | ( | ) | const |
Returns true if the bounding polygon encompasses an area covered by the data or false if is an area where data is not present.
|
inherited |
Returns the resource abstract.
const std::vector<MD_CharacterSetCode>& te::md::MD_DataIdentification::getCharsetCodes | ( | ) | const |
Returns a character coding standard in the dataset.
|
inherited |
Returns the citation for the metadata.
const te::gm::Envelope& te::md::MD_DataIdentification::getExtent | ( | ) | const |
Returns the set of extents for the dataset.
const std::vector<std::string>& te::md::MD_DataIdentification::getLanguages | ( | ) | const |
Returns the set of languages associated to the dataset.
|
inherited |
Returns the resource points of contact.
long te::md::MD_DataIdentification::getScale | ( | ) | const |
Returns the scale information. If equal to 0 the denominator is not valid.
te::md::MD_SpatialRepresentationTypeCode te::md::MD_DataIdentification::getSpatialRepTypeCode | ( | ) | const |
Returns the spatial representation type.
|
inherited |
Returns the resource status code.
const std::vector<MD_TopicCategoryCode>& te::md::MD_DataIdentification::getTopicCategories | ( | ) | const |
Return the themes associated to the dataset.
void te::md::MD_DataIdentification::setScale | ( | long | d | ) |
Sets resource scale. The scale of a map or other cartographic object expressed as a fraction or ratio which relates unit distance on the map or other cartographic object to distance, measured in the same units, on the ground.
d | The scale denominator. Do not pass <= 0; |
void te::md::MD_DataIdentification::setSpatialRepType | ( | te::md::MD_SpatialRepresentationTypeCode | code | ) |
Sets the spatial representation type.
|
protectedinherited |
Definition at line 92 of file MD_Identification.h.
|
private |
Definition at line 142 of file MD_DataIdentification.h.
|
protectedinherited |
Definition at line 91 of file MD_Identification.h.
|
private |
Definition at line 145 of file MD_DataIdentification.h.
|
private |
Definition at line 144 of file MD_DataIdentification.h.
|
private |
Definition at line 141 of file MD_DataIdentification.h.
|
protectedinherited |
Definition at line 94 of file MD_Identification.h.
|
private |
Definition at line 147 of file MD_DataIdentification.h.
|
private |
Definition at line 146 of file MD_DataIdentification.h.
|
protectedinherited |
Definition at line 93 of file MD_Identification.h.
|
private |
Definition at line 143 of file MD_DataIdentification.h.