Thank you so much for the clear and spectacular tutorials. I created the river basin map of Afghanistan using the instructions with some modifications. It turned out to be a piece of art 🖼️ so thanks again. Keep doing what you do.
@milos-makes-maps
8 ай бұрын
Great, and thanks for your kind words! I would be curious to see your map
@79marchewa
9 ай бұрын
Spectacular map. Thx from Poland.
@milos-makes-maps
9 ай бұрын
Thank you 🙏🏼
@elisaurysuarez5927
9 ай бұрын
Buen trabajo Milos, un saludo from Dominican Republic
@zainabkhan2475
6 ай бұрын
Thank you Milos. It's wonderful✨😍
@DeanHowellSphereofInfluence
6 ай бұрын
Thanks again Milos. I just needed to also install the "magick" library but otherwise worked perfectly.
@milos-makes-maps
6 ай бұрын
Thanks for your feedback and help, Dean! I added magick to my script in the GitHub repo
@AleksPopovic
9 ай бұрын
Another awesome tutorial! Thank you Milos!
@milos-makes-maps
9 ай бұрын
Thanks for your kind words, Aleks ☺️
@Our__Earth
9 ай бұрын
Thanks !
@DmitriiPetrenko
8 ай бұрын
Great job!
@DmitriiPetrenko
8 ай бұрын
The power of GIS
@jhonsysilva5517
7 ай бұрын
Thanks
@AliMunirFarooqui
9 ай бұрын
Hi Milos I am new to R programming and have been following along your tutorials for past few weeks and throughly enjoying the experience , just a quick question which IDE are you using? because the help files popups look quite helpful in this one , it doesn't appear on Rstudio
@milos-makes-maps
9 ай бұрын
Hello Ali, I'm so happy you're following my work! I hope you're enjoying it and learning a lot. I use VS code for all my tutorials. It's a great tool for working with R. If you want to learn how to set up R in VS code from scratch, you can watch this video I made: kzitem.info/news/bejne/zG1vrmx7noRmfaQ I hope it helps you! 😊
@koubeen16
9 ай бұрын
It was very benefits didn't know that R can do this much ! Thank you I Have a question where do I get the lambert projection transformation? Again thank you very much
@milos-makes-maps
9 ай бұрын
Thank you for your comment. I’m glad you found the video useful and learned something new about R. R is a very powerful and versatile language for data analysis and visualization. To get the Lambert projection transformation for Europe you can visit this page: epsg.io/3035. To retrieve the projection in the PROJ.4 format please click on the tab under the same name at the bottom of the page. The cool thing about this page is that you can find country-specific projections that you can implement in R!
@koubeen16
9 ай бұрын
@@milos-makes-maps thanks a lot !!
@Hamzahnahmad
8 ай бұрын
Sir, may i ask what apps you used to create this map? is it Visual Code Studio or RStudio? I'm from Indonesia and i'm planning on doing what you're doing but with watershed around my hometown.
@milos-makes-maps
8 ай бұрын
Hello, I use VSCode
@rollas260
9 ай бұрын
Bom dia, Me perdoe o amadorismo, mas vc está usando o R Studio? ou é em Python? qual software digito esses códigos? grato desde já.
@milos-makes-maps
9 ай бұрын
Bom dia, não se preocupe com o seu amadorismo, todos nós começamos assim. Eu uso R no VSCode, que é um software de visualização de dados interativa. Você pode digitar os códigos no editor de código do VSCode, ou importar um script R existente
@delbinaldairsantiagoblanca396
8 ай бұрын
Hi, great job, I'm trying to make one for Peru, but I'm having a hard time.
@milos-makes-maps
8 ай бұрын
Hey, where are you stuck in the code?
@delbinaldairsantiagoblanca396
8 ай бұрын
@@milos-makes-maps Hello, in the render scene part I get this Error in plot_sf(x, ...) : NA value(s) in bounding box. Trying to plot empty geometries?
@milos-makes-maps
8 ай бұрын
@@delbinaldairsantiagoblanca396 The error message you see is from the `plot_sf` function, which is used to plot simple features objects in R. The error means that there is no data within the bounding box that you specified for the plot. A bounding box is a rectangular region that defines the extent of the plot. If the bounding box has NA values, or if the simple features object has empty geometries, then the plot will fail. Please check that you downloaded the rivers and river basins for South America and that you fetched the shapefile for Peru
@delbinaldairsantiagoblanca396
8 ай бұрын
@@milos-makes-maps When downloading the basins I get this error even though the coordinates are longitude/latitude, st_intersection assumes that they are flat Warning message: attribute variables are assumed to be spatially constant in all geometries.
@milos-makes-maps
8 ай бұрын
@@delbinaldairsantiagoblanca396 This is a warning not an error because you probably switched off spherical geometry with sf
@serhatcetin7836
6 ай бұрын
Hello Milos. Do we need to write the places written as "##########" at the beginning of the video and as it progresses? This confused me a little. Thanks.
@milos-makes-maps
6 ай бұрын
Ah hey, those are used to write text, such as comments, that won't be executed. So they are not needed!
@serhatcetin7836
6 ай бұрын
Thanks. @@milos-makes-maps
@elisaurysuarez5927
9 ай бұрын
Hello Milos, my computer did not do very well with the rendering, what capacity is needed and I assume that if a smaller area is used the rendering will be less complicated
@milos-makes-maps
9 ай бұрын
Hey, thanks for your question. The rendering performance of rayshader depends on several factors, such as the size and resolution of the data, the number and complexity of the layers and effects, the quality and method of the sampling, and the hardware and software specifications of your computer. Generally, the larger and more detailed the data, the more time and memory it will take to render. The same applies to the number and complexity of the layers and effects, such as shadows, textures, overlays, and water. The quality and method of the sampling also affect the rendering time and quality, as higher samples and better methods will produce smoother and more realistic images, but at the cost of longer computation. Finally, the hardware and software specifications of your computer, such as the CPU, GPU, RAM, and operating system, will also influence the rendering performance, as faster and more powerful components will enable faster and more efficient rendering. To improve the rendering performance of rayshader, you can try some of the following suggestions: - Reduce the size and resolution of the data, either by cropping, resampling, or aggregating the data. You can use functions like `raster_to_matrix`, `aggregate_matrix`, or `resample_matrix` to manipulate the data in R. - Reduce the number and complexity of the layers and effects, either by removing or simplifying some of the layers or effects. You can use functions like `render_label`, `render_scalebar`, `render_water`, or `render_snapshot` to add or remove layers or effects in R. - Adjust the quality and method of the sampling, either by lowering the number of samples or changing the sampling method. You can use the `samples` and `sample_method` arguments in the `render_highquality` function to control the sampling in R. You can also use the `min_variance` argument to enable adaptive sampling, which will use fewer samples in areas with less variation. - Upgrade the hardware and software specifications of your computer, either by replacing or adding some of the components or updating the operating system. You can also use the `width` and `height` arguments in the `render_highquality` function to specify the output size of the image in R.
@philtaylor4071
8 ай бұрын
Hi Milos, really great tutorial thank you. I have run through it, but at the render scene stage, R returns this error Error "in grDevices::png(filename = tempoverlay, width = width, height = height, : unable to start png() device" Any clue toi how I should trouble shoot this?
@milos-makes-maps
8 ай бұрын
Hi Phil, the error message indicates that you are trying to use the `grDevices::png()` function to create a PNG file, but R is unable to do so. It could be due to various reasons, such as: - The directory where you want to save the file does not exist or is not writable. - The libraries required for the PNG device are not installed or loaded. - The parameters (width, height, etc.) passed to the function are incorrect or incompatible. To fix this error, you can try the following steps: - Make sure that the directory where you want to save the file exists and is writable. You can use `dir.create()` to create a new directory if needed. - Check if you have the `png` package installed and loaded. You can use `install.packages("png")` to install it and `library(png)` to load it. - Verify if the parameters passed to the `grDevices::png()` function are correct and compatible. You can use `?grDevices::png` to see the documentation and examples of the function. I hope this helps you understand and fix the error.
@0611131civil
9 ай бұрын
Dear Milo. What are teh system requirements. and what is the processing time.
@milos-makes-maps
9 ай бұрын
Hi, my specs are AMD Ryzen 9 5900X 12-Core Processor 3.70 GHz, 32,0 GB RAM, NVIDIA GeForce RTX 3070. I need approximately 30 minutes to render a map as a high quality image
@tomascontreras5152
9 ай бұрын
Hey Milos I love your vids they explore exactly what I love to do in R! I was working through this video and got stuck around step 3 when creating the country_basin object. Heres what I have: country_basin sf::st_intersection(country_sf) dplyr::select(HYBASE_ID) This is the output: Reading layer `hybas_eu_lev04_v1c' from data source `/Users/tomascontreras/hybas_eu_lev04_v1c.shp' using driver `ESRI Shapefile' Simple feature collection with 240 features and 13 fields Geometry type: MULTIPOLYGON Dimension: XY Bounding box: xmin: -24.54232 ymin: 12.59131 xmax: 69.55452 ymax: 81.85898 Geodetic CRS: WGS 84 Error in wk_handle.wk_wkb(wkb, s2_geography_writer(oriented = oriented, : Loop 69 is not valid: Edge 1870 has duplicate vertex with edge 1874
@milos-makes-maps
9 ай бұрын
Hi Tomas, thanks for your kind words! It would be good to run sf::sf_use_s2(F) to switch off the spherical geometry. Let me know if this fixes the error
Пікірлер: 42