module Types: sig
.. end
Types of OSM objects
type
osm_id =
module StringMap: Core.Std.Map.S
type
osm_tags = string StringMap.t
val empty_tags : osm_tags
val add_tag : osm_tags -> string -> string -> osm_tags
val find_tag : osm_tags -> string -> string option
module OSMId_Comparator: Comparator.S
with type t = osm_id
module OSMMap: Core.Std.Map.S
with type Key.t = OSMId_Comparator.t
with type Key.comparator_witness = OSMId_Comparator.comparator_witness
type
osm_node =
type
osm_node_t = {
|
id : osm_id ; |
|
latitude : float ; |
|
longitude : float ; |
|
version : string ; |
|
changeset : string ; |
|
user : string ; |
|
uid : string ; |
|
timestamp : string ; |
|
tags : osm_tags ; |
}
type
osm_way =
type
osm_way_t = {
|
id : osm_id ; |
|
version : string ; |
|
changeset : string ; |
|
user : string ; |
|
uid : string ; |
|
timestamp : string ; |
|
tags : osm_tags ; |
|
nodes : osm_id list ; |
}
type
osm_relation_member =
type
osm_relation_member_t = {
|
ref : osm_id ; |
|
type_ : string ; |
|
role : string ; |
}
type
osm_relation =
type
osm_relation_t = {
}
type
osm =
type
osm_t = {
}
val empty_osm : osm