package fred

  1. Overview
  2. Docs
type maps_shape_file = {
  1. typ : string;
  2. name : string;
  3. crs : crs;
  4. features : feature list;
}

Container for map shape file data

and crs = {
  1. crs_typ : string;
  2. properties : crs_properties;
}
and crs_properties = {
  1. crs_properties_name : string;
}
and feature = {
  1. feature_typ : string;
  2. feature_properties : feature_properties;
  3. geometry : geometry;
}
and feature_properties = {
  1. bea_region : int;
  2. bea_regi_1 : string;
}
and geometry = {
  1. geometry_typ : string;
  2. coordinates : int list list list list;
}
val show_maps_shape_file : maps_shape_file -> Ppx_deriving_runtime.string
val show_crs_properties : crs_properties -> Ppx_deriving_runtime.string
val show_feature : feature -> Ppx_deriving_runtime.string
val show_feature_properties : feature_properties -> Ppx_deriving_runtime.string
val show_geometry : geometry -> Ppx_deriving_runtime.string
type shape =
  1. | Bea
  2. | Msa
  3. | Frb
  4. | Necta
  5. | State
  6. | Country
  7. | County
  8. | CensusRegion
  9. | CensusDivision

Maps share file's shape options

val shape_to_string : shape -> string
OCaml

Innovation. Community. Security.