-
Notifications
You must be signed in to change notification settings - Fork 944
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modules to support z coordinate from geometry #628
Comments
You didn't miss any modules, nice. But my problem is I don't have z coordinate, so how can I get this coordinate? |
@marie15 Z coordinates is defined by elevation/altitude, that would be retrieved from your own personal datasets, TurfJS won't be able to help you calculate datasets without this information. |
As I said before I don't have this information, how can I get this
coordinate from latitude and longitude?
Thank you
2017-03-28 17:51 GMT+00:00 Denis <notifications@github.com>:
… @marie15 <https://github.com/marie15> Z coordinates is defined by
elevation/altitude, that would be retrieved from your own personal
datasets, TurfJS won't be able to help you calculate datasets without this
information.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#628 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ANe_70pmFwgoyzyysKXeQJfhy3IlJZ0Uks5rqUiSgaJpZM4Mo0DQ>
.
|
@marie15 You will need to source this information yourself and implement your own method of querying the value at a coordinate. This is outside the scope of Turf, but I would do some web searching and check out datasets like those provided by USGS. This data is normally delivered in a bulk raster format like a DEM, which is not the type of data that Turf is designed to handle. |
I understood, thank you for clarification, I will do research about what
you suggested.
2017-04-05 0:48 GMT+00:00 Morgan Herlocker <notifications@github.com>:
… @marie15 <https://github.com/marie15> You will need to source this
information yourself and implement your own method of querying the value at
a coordinate. This is outside the scope of Turf, but I would do some web
searching and check out datasets like those provided by USGS
<https://nationalmap.gov/elevation.html>. This data is normally delivered
in a bulk raster format like a DEM
<https://en.wikipedia.org/wiki/USGS_DEM>, which is not the type of data
that Turf is designed to handle.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#628 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ANe_72bjNQC9avHqoZzzZIyq8dlNFW-cks5rsuT1gaJpZM4Mo0DQ>
.
|
My only general comment on this is that there are probably a stack of modules that simply override the coordinates that come in, discarding any data that may be within the 3rd position in the array. |
Agreed, however if your data does contain [x,y,z] then this would be useful, both properties & the 3rd coordinate should work for these modules, so you can always fallback to GeoJSON properties if the data gets stripped. |
@DenisCarriere I looked over I think it is a bad property name. The documentation states that the new property should be called |
@dpmcmlxxvi 👍 sounds like a plan |
@DenisCarriere Unless there are other modules I think this can be closed. |
Proposing
Enable modules that require having a
z
coordinate be able to retrieve this altitude data from the 3rd coordinate of the GeoJSON geometry[x,y,z]
. Thez
param would still be available to retrieve the altitude from properties, however this would now be optional.Modules
List of modules that should be able to manipulate
z
coordinate directly from geometry.Any thoughts?
CC: @marie15 @morganherlocker @tmcw @stebogit @rowanwins
The text was updated successfully, but these errors were encountered: