You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the Rayshader packege. Very clever and simple to use.
I am following the Bryce tutorial that adds Open Street Map data to terrain.
The Rayshader tutorial uses USM metres - but I am rendering in lat/long
I am new to the GIS domain - and still learning.
I am posting here as could not find a forum for support.
Issue
The problem is that when I overlay the transformed roads - they are overlayed incorrectly.
The roads are scale/down/shortened along the latitude (vertically). Longitudinal scale looks about right (I think).
I think this is due to the different CRS used by Open Street Map to CRS terrain DEM file.
But Iam not sure.
My guess is with the transform of OPenStreetMap Data below is not working.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Thanks for the Rayshader packege. Very clever and simple to use.
I am following the Bryce tutorial that adds Open Street Map data to terrain.
The Rayshader tutorial uses USM metres - but I am rendering in lat/long
I am new to the GIS domain - and still learning.
I am posting here as could not find a forum for support.
Issue
The problem is that when I overlay the transformed roads - they are overlayed incorrectly.
The roads are scale/down/shortened along the latitude (vertically). Longitudinal scale looks about right (I think).
I think this is due to the different CRS used by Open Street Map to CRS terrain DEM file.
But Iam not sure.
My guess is with the transform of OPenStreetMap Data below is not working.
Basically the output roadPath is not transformed at all.
See at bottom of code where I plot the untransformed
roads$osm_lines
with identical results.The osm_lines comes back as OpenSteetMap lat/long which I think is a projected lat/long in EPSG:3875 that Open Street Map uses - not true lat/long.
See this good discussion https://gis.stackexchange.com/questions/48949/epsg-3857-or-4326-for-googlemaps-openstreetmap-and-leaflet?rq=1
I have tried multiple underlying CRS's in the terrain DEM file eg:
EPSG 4326,
EPSG:7844,
EPSG:4383
with same effect.
Reprex below
(NB - warning from curl that I cannot understand due to retrieving the remote file)
But the example works
Many thanks..
Beta Was this translation helpful? Give feedback.
All reactions