Live Coding: Population Density along the Seine

  Рет қаралды 6,809

Spencer Schien

Spencer Schien

Күн бұрын

This is a live coding video that shows my process for creating these sorts of graphics. This is not intended to be a tutorial, and I don't explain things in great detail.

Пікірлер: 27
@camilatotti2843
@camilatotti2843 Жыл бұрын
Thanks so much for your tutorials, it's been amazing learning 3d viz in R with them!
@tomcrown_adventure
@tomcrown_adventure Жыл бұрын
Beautiful stuff! Learning to do something like this seems like an excellent project for those starting out with R visualizations. Thank you :)
@MrPecners
@MrPecners Жыл бұрын
Thanks!
@pdcoronado
@pdcoronado Жыл бұрын
Esta increíble, ahora aprender R para generar cartográfia tan hermoso como tus trabajos, te admiro.
@bassamsaleh8034
@bassamsaleh8034 Жыл бұрын
like the process and video. amazing work!
@MrPecners
@MrPecners Жыл бұрын
Thanks!
@Pongant
@Pongant 8 ай бұрын
What an amazing package.
@MrPecners
@MrPecners 8 ай бұрын
Agreed!
@abhisheknayak2088
@abhisheknayak2088 Жыл бұрын
Thats Amazing. Thank you very much for posting these videos. I am beginner to R can you please let me know how can I plot for states of other countries. For example in my case I wanted to do the same thing for an Indian state. Your help would be much appreciated
@abhisheknayak2088
@abhisheknayak2088 Жыл бұрын
Got the answer from the other video comments.
@arieldome530
@arieldome530 Жыл бұрын
hello i've been stuck on rasterizing the data and gives me this kind of error: Error in Ops.units(dimensions[[i]]$to, 1) : both operands of the expression should be "units" objects
@divyanshukumardixit5833
@divyanshukumardixit5833 Жыл бұрын
Thanks for this wonderful tutorial. Is it possible to add rive as a line object within the generated 3d plot? I have tried to do that but the river gets elevated with population z values. I'll be highly obliged if you suggest a code. Thanks again.
@MrPecners
@MrPecners Жыл бұрын
Yes, there are a couple ways to do that. You could use rayshader::generate_line_overlay(), though I haven't used this much myself. More info on that here: www.rayshader.com/reference/generate_line_overlay.html. My preferred method is to simulate data so it's plotted exactly like the rest of the data. I do this by taking the geometry (in this case the river linestring), cast it to a linestring/multilinestring if necessary (not needed for your river), then buffer around it so it will be large enough to show up on the final map, give it a dummie population of 1, then use bind_rows() to add to data. See lines 38-52 of this script: github.com/Pecners/rayshader_portraits/blob/main/R/portraits/oregon/render_graphic.R
@la_jeunesse1
@la_jeunesse1 Жыл бұрын
> florida_rast
@burakt
@burakt Жыл бұрын
Hi Spencer, It gives the warning --> package ‘MetBrewer’ was built under R version 4.2.3 What should I do.
@grantchalmers3878
@grantchalmers3878 Жыл бұрын
Good video. Things were going well until this error on render_highquality() step: "Error in rayrender::obj_model(cache_filename, x = -bbox_center[1], y = -bbox_center[2], : unused argument (texture = TRUE)". Can't find anything online on this one.
@MrPecners
@MrPecners Жыл бұрын
Install most recent dev versions of rayshader and rayrender. remotes::install_github("github.com/tylermorganwall/rayshader") remotes::install_github("github.com/tylermorganwall/rayrender")
@grantchalmers3878
@grantchalmers3878 Жыл бұрын
@@MrPecners Great thanks. Back in business.
@grantchalmers3878
@grantchalmers3878 Жыл бұрын
Was able to replicate the Siene, although with not fully defined hexagons if you zoom in very closely (looks a bit like melted ice cream on top). I tried to do this for a local river (Brisbane river in Australia), but population density is a lot lower, meaning sparse hexagons. Are there any parameters to adjust, or are you better off just visualising high populated regions?
@hasanzonaed2365
@hasanzonaed2365 Жыл бұрын
@@MrPecners webpage not found can you help please?
@MrPecners
@MrPecners Жыл бұрын
@grantchalmers3878 You could try upping the resolution, both of your matrix on the front end and of your rendered image on the back end. With sparse population, or more zoomed in areas, I will set solid=TRUE in plot_3d() as well. All that said, yeah low population areas are just harder.
@nikkzm3689
@nikkzm3689 Жыл бұрын
Hi, I am getting error while I am executing the st_read() for gpkg file of France's population. " The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats. " Can anyone please tell me how to fix this error? Thank You.
@sitrakaforler8696
@sitrakaforler8696 Жыл бұрын
Dude...can you do an example for France ?
@audiophile...
@audiophile... Жыл бұрын
I had no idea that you have a youtube channel too😭
@MrPecners
@MrPecners Жыл бұрын
It's pretty new!
@audiophile...
@audiophile... Жыл бұрын
@@MrPecners i hope you post whenever you feel like it. 🙃
@MuhammadZubair-yd9ev
@MuhammadZubair-yd9ev Жыл бұрын
i am getting error like admin is not found
Centroid Video Series: 3D Visualization in R
16:53
Geospatial Centroid
Рет қаралды 4,2 М.
Кәсіпқой бокс | Жәнібек Әлімханұлы - Андрей Михайлович
48:57
She's very CREATIVE💡💦 #camping #survival #bushcraft #outdoors #lifehack
00:26
Worst flight ever
00:55
Adam W
Рет қаралды 54 МЛН
Population density spike maps in QGIS
9:26
Map Academy
Рет қаралды 5 М.
3D Maps and Data Visualization in R with rayshader
10:13
Dr Lyndon Walker
Рет қаралды 3,5 М.
The 5 Best Places to Find Old Maps
14:58
Boone Loves Video
Рет қаралды 4,5 М.
How to use BlenderGIS for Population Density 3D Maps
10:03
Open Source for Architects
Рет қаралды 9 М.
How to Create 3D Terrain with Google Maps and Blender!
12:17
CG Geek
Рет қаралды 2 МЛН
3D Terrain Software: Aerialod by ephtracy (free)
7:08
Steven Scott (OnlineRender)
Рет қаралды 29 М.
Making crisp spike maps with R
30:30
Milos Makes Maps
Рет қаралды 7 М.
Rayshader Tutorial-Florida Population Density
1:44:53
Spencer Schien
Рет қаралды 21 М.
Rayshader Workshop Feb 2023
27:26
Sam O'Hana
Рет қаралды 681