Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Features which contain a geometry
val geometry : t -> Geometry.t option
foreign_members t
will extract name/value pair of a foreign member from t (a GeoJSON object)
val id : t -> [ `String of string | `Float of float ] option
id f
extracts the identifier for the feature if it exists.
val v :
?id:[ `String of string | `Float of float ] ->
?properties:json ->
?foreign_members:(string * json) list ->
Geometry.t ->
t
v geo
creates a new feature object, you may wish to provide a properties
JSON object for the feature too.
module Collection : sig ... end