Calculate lengths and areas of geometries

Created on 19 April 2021, almost 4 years ago
Updated 30 October 2023, about 1 year ago

Problem/Motivation

farmOS 1.x had methods for calculating the length and area of geometries:

We need the same capability in 2.x!

Some of the lower level functions: https://github.com/farmOS/farmOS/blob/7.x-1.x/modules/farm/farm_map/farm...
Which are used by higher level functions: https://github.com/farmOS/farmOS/blob/c5c15043cf30275fa1bdadf8e39a9393ff...

Steps to reproduce

N/A

Proposed resolution

Use the same logic that we have in 1.x.
Create a new service (or perhaps use the asset.location service?) that provides these methods.

Remaining tasks

Write tests.
Implement a service with these features.

User interface changes

N/A

API changes

N/A

Data model changes

N/A

πŸ“Œ Task
Status

Closed: outdated

Version

2.0

Component

Miscellaneous

Created by

πŸ‡ΊπŸ‡ΈUnited States paul121 Spokane, WA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States m.stenta

    I'm not sure if there has been a real need for this, so I'm going to close it as "outdated". Feel free to reopen @paul121 if you disagree.

Production build 0.71.5 2024