Skip to content

Addition of Circle Geometry #206

@Kaveeshwar2k1

Description

@Kaveeshwar2k1

I'm not sure whether it is already possible, but generating circular geometries with latitude and longitude as center with radius would be great in cases where a location's accuracy is used (as it always forms a circle).

As far as I've played with few libraries in hex.pm, only Geocalc had the option but it is only limited to three shapes.

I also tried to decode with WKT using CIRCULARSTRING, but it didn't help.

Geo.WKT.decode("CIRCULARSTRING(4 1, 7 4, 4 7, 1 4, 4 1)")

Result:

 %FunctionClauseError{
   module: Geo.WKT.Decoder,
   function: :do_decode,
   arity: 2,
   kind: nil,
   args: nil,
   clauses: nil
 }}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions