AshGeo.GeoWkt (AshGeo v0.1.0)
Geometry type which accepts and decodes WKT 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 databaseExamples
use AshGeo.Geometry, storage_type: :"geometry(Point,26918)"
:geo_types
- AllowedGeo
typesExamples
use AshGeo.Geometry, geo_types: :point
use AshGeo.Geometry, geo_types: [:point, :point_z, :point_zm]
use AshGeo.Geometry, geo_types: [Geo.point, Geo.PointZ, Geo.PointZM]
See also
AshGeo.Common.geo_default_types
AshGeo.Common.geo_type_aliases
Link to this section Summary
Link to this section Functions
Try decoding with Geo.WKT
.