[Rspatial-devel] SpatialLinesDataFrame with z-axis
Kent Johnson
kent3737 at gmail.com
Mon Dec 7 17:57:59 CET 2015
One last post to follow up - I am using SpatialMultiPointsDataFrame and it
is working; actually, it is pretty much what I was hoping to find. I posted
a small patch to R-sig-geo which Edzer checked in. I also have a patch to
the R leaflet package to make it work with SMPDF; I have given that to the
leaflet devs.
Thanks for your help and apologies for butting in here.
Kent
On Mon, Nov 30, 2015 at 10:04 PM, Kent Johnson <kent3737 at gmail.com> wrote:
> On Mon, Nov 30, 2015 at 2:44 AM, Roger Bivand <Roger.Bivand at nhh.no> wrote:
>
>> On Mon, 30 Nov 2015, Kent Johnson wrote:
>>
>> Hi,
>>>
>>> I am working with spatial line data which has three axes - lat, lon and
>>> altitude and metadata for each line. I would love to have something like
>>> a
>>> SpatialLines3DDataFrame.
>>>
>>
>> Why? Love isn't appropriate here - you need a use case.
>
>
> OK. I would find it helpful to have a data structure to represent tracks
> in three dimensions with associated metadata. My data is airplane tracks
> from KML files and direct recording of flight data. Some useful operations:
> - Plot the tracks on a map using leaflet.
> - Find distance from each point in the track to a fixed point on the ground
> - Plot distance from a fixed point vs altitude
> - Find the point of closest approach to a fixed point on the ground
> - Find the altitude at point of closest approach
> - Associate attributes with each track such as flight number, departure
> time, nearest waypoint, etc.
> All of the above using collections of 200-300 tracks.
>
> Have you looked at SpatialMultiPoints (as altitude could be an attribute
>> at a line segent end point, or a coordinate)?
>
>
> SpatialMultiPointsDataFrame looks promising, thanks for the pointer.
>
>>
>> Please use R-sig-geo for all contact - this list is only used by
>> developers.
>>
>
> OK I will use that list in the future.
>
> Kent
>
>>
>> Roger
>>
>>
>>> Thanks,
>>> Kent Johnson
>>>
>>>
>> --
>> Roger Bivand
>> Department of Economics, Norwegian School of Economics,
>> Helleveien 30, N-5045 Bergen, Norway.
>> voice: +47 55 95 93 55; fax +47 55 95 91 00
>> e-mail: Roger.Bivand at nhh.no
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rspatial-devel/attachments/20151207/bc585786/attachment.html>
More information about the Rspatial-devel
mailing list