OSM::Tree::TagList -- OSM Node
Parse OpenStreetMap XML file
ToPeG
The TagList Object
returns the parent object, of this TagList-object; can be: node, way or relation
get/set the casesensitivity of catching keys returns true/false
alias for case_sensetive
returns a List of the Keys in this TagList if an list of names ist set, only Names in the list will be returned
returns the length of this TagList
returns a list of Tags where the Keys matchs the ReguarExpression
return true if the given TagName exists
return true if all the given TagNames exists
return the tag-Object from this key
Create new Tag-Objekt return the tag-Object or undef
delete a tag returns 1 on success
returns a List of the Tags in this TagList if an list of names ist set, only tags with a Name in the list will be returned
returns the length of this TagList
return true if the given TagName exists
return true if Tags exists
return a hash with the found keys and names as key
Example:
%tags=$tags->tag_hash(Name=>'name', BusLinie=>'line'); # returns tomthing like that: %tags=( Name=>... OSM::Tree::Tag - Object BusLinie=>... OSM::Tree::Tag - Object );
the Tag-Object
overloads "" and cmp
returns the parent object, of this tag-object; can be: node, way or relation
returns the name of this Tag
return the joined values if no Parameter ist set or returns the parameter at the Position pased trou the Parameter or returns undef if the asked Value do not exists
Example: $first_value=$tag->value(0); $last_value =$tag->value(-1); $third_value=$tag->value(2); $all_values_joined=$tag->value();
returns 1 on success
returns an List of the Values of this Tag
returns the length valuelist of this Tag
returns 1 if at least one Element of the List is an Value of this Tag otherwise 0 will be returned
returns 1 if at least one Element of the List is an Value of this Tag otherwise 0 will be returned
returns a list of Values who matchs the ReguarExpression