AshGeo.GeoJson (AshGeo v0.1.2)
Geometry type which accepts and decodes GeoJSON input
Accepts all options of AshGeo.Geometry, and may be narrowed with use
in the same way.
options
Options
:storage_type(atom/0) - Column type in the databaseExamples
use AshGeo.Geometry, storage_type: :"geometry(Point,26918)":geo_types- AllowedGeotypesExamples
use AshGeo.Geometry, geo_types: :pointuse AshGeo.Geometry, geo_types: [:point, :point_z, :point_zm]use AshGeo.Geometry, geo_types: [:point, Geo.PointZ, :point_zm]See also
Link to this section Summary
Link to this section Functions
Try decoding with Geo.JSON.