Hi Andreas,

I wasn't aware of plans to remove the geometry classes, but it sounds
exciting.

Will the drawing interactions that currently use geometries then be
modified to work directly with GeoJSON?

Michael

On Tue, Dec 1, 2020 at 12:48 AM OpenLayers Dev <
[email protected]> wrote:

> Hey Michael,
>
> I'd be hesitant to make Arc a dependency of OpenLayers. Like Turf and
> other tools that work with geometries, Arc works with GeoJSON, and so does
> OpenLayers. We are planning to remove the geometry classes from OpenLayers
> In the near future, and use GeoJSON directly as well.
>
> Andreas.
>
> On Mon, Nov 30, 2020 at 11:01 PM OpenLayers Dev <
> [email protected]> wrote:
>
>> Andreas,
>>
>> That was my thought: to use Arc to make this feature possible.  The best
>> route seems to be to extend LineString or MultiLineString, and use Arc
>> within that new class to build great circle arcs.  It would abstract the
>> arc generation away from the user, but, since it would extend LineString,
>> it would be easier to integrate that functionality with other parts of the
>> library.
>>
>> Would it make sense to add Arc as an OpenLayers dependency for that
>> purpose?
>>
>> Michael
>>
>> On Mon, Nov 30, 2020 at 12:32 PM OpenLayers Dev <
>> [email protected]> wrote:
>>
>>> Hey Michael,
>>>
>>> thanks for your interest in OpenLayers, and for willing to improve the
>>> library. I'm not sure if it makes sense to add such a feature to
>>> OpenLayers, because there is a library (arc,
>>> https://www.npmjs.com/package/arc) already which provides that. You can
>>> see that it integrates well with OpenLayers in one of the official
>>> examples:
>>> https://openlayers.org/en/latest/examples/flight-animation.html.
>>>
>>> That said, you might be able to save yourself some time using that
>>> library.
>>>
>>> Andreas.
>>>
>>> On Mon, Nov 30, 2020 at 7:40 PM Michael Jurkoic via OpenLayers Dev <
>>> [email protected]> wrote:
>>>
>>>>
>>>> Hello,
>>>>
>>>> I am interested in contributing code to OpenLayers that will allow
>>>> users to draw geodesic (great circle) arcs between two points.  I've read
>>>> the contributing guide, and I am starting to work on code for the feature.
>>>> This is my first time contributing to an open source project.  Is there
>>>> anything I should know in general, or about adding this feature in
>>>> particular?
>>>>
>>>> Thanks,
>>>> Michael
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "OpenLayers Dev" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to [email protected].
>>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/openlayers-dev/52012b27-c1ad-4001-84f3-110c23b9cfecn%40googlegroups.com
>>>> <https://groups.google.com/d/msgid/openlayers-dev/52012b27-c1ad-4001-84f3-110c23b9cfecn%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>> --
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "OpenLayers Dev" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/openlayers-dev/aiuh9nLPy28/unsubscribe
>>> .
>>> To unsubscribe from this group and all its topics, send an email to
>>> [email protected].
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/openlayers-dev/CAOiJ94iteVgCH-NUo8ey4EW1_U7gcOwAW6VZXDe6F5HbqQ9Yeg%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/openlayers-dev/CAOiJ94iteVgCH-NUo8ey4EW1_U7gcOwAW6VZXDe6F5HbqQ9Yeg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "OpenLayers Dev" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/openlayers-dev/CAGzkXD%3D_ubX8bk-Fy6x3kNnjMjJ%2BbZp7FpjDBggYXURTi0aKpw%40mail.gmail.com
>> <https://groups.google.com/d/msgid/openlayers-dev/CAGzkXD%3D_ubX8bk-Fy6x3kNnjMjJ%2BbZp7FpjDBggYXURTi0aKpw%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "OpenLayers Dev" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/openlayers-dev/aiuh9nLPy28/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/openlayers-dev/CAOiJ94haAF8Z_GPyy3x3yOddovoj0fCE2O4Qis4DpgrVP-fRJQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/openlayers-dev/CAOiJ94haAF8Z_GPyy3x3yOddovoj0fCE2O4Qis4DpgrVP-fRJQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"OpenLayers Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/openlayers-dev/CAGzkXDnLKTGhZZfFXSkApq83sZ7zbaoVKtNWtjxsFDgkpzdSog%40mail.gmail.com.

Reply via email to