AshGeo.GeoWkb (AshGeo v0.3.0)
Geometry type which accepts and decodes WKB input
Accepts all options of AshGeo.Geometry, and may be narrowed with use
in the same way.
Options
:storage_type(atom/0) - Column type in the database
May NOT be overridden using:constraints.Examples
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
:force_srid(integer/0) - SRID to force on the geometryExamples
use AshGeo.Geometry, force_srid: 4326:check_srid(integer/0) - SRID to check on the geometryExamples
use AshGeo.Geometry, check_srid: 4326
Summary
Functions
Try decoding with Geo.WKB.