How to Build a 3D City from Scratch with LiDAR Data

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ต.ค. 2024

ความคิดเห็น • 27

  • @milos-makes-maps
    @milos-makes-maps  11 หลายเดือนก่อน

    If you are getting this error:
    Error in rayvertex::validate_mesh(mesh) : !any(is.na(normals)) is not TRUE
    please downgrade your rayshader (pasting here the instructions from Michal Škop):
    How to downgrade rayshader?
    install devtools
    devtools::install_version("rayshader", version = "0.35.7", repos = "cran.r-project.org")
    Always restart R (R studio)
    Not all numbers/versions exist (it took me a while to realize this, I was getting errors for 0.35 or 0.35.0 or 0.35.1)
    Use a small example to find the problems quickly (🇦🇩 Andorra was my friend)

  • @Aaqib..
    @Aaqib.. 11 หลายเดือนก่อน +2

    Definitely going to try this, looking crispy and crunchy as always, thanks a lot sir

    • @milos-makes-maps
      @milos-makes-maps  11 หลายเดือนก่อน

      Awesome, let me know how it goes!

  • @Walker-nb9de
    @Walker-nb9de 11 หลายเดือนก่อน +1

    Fantastic tutorial! I've always been intrigued by LiDAR technology, Thanks for sharing this valuable knowledge!

    • @milos-makes-maps
      @milos-makes-maps  11 หลายเดือนก่อน

      Hi! I’m glad you enjoyed the tutorial on LIDAR technology! It’s a fascinating topic that has many applications in various fields. Thank you for your kind words and for sharing your interest with me. 😊

  • @mahatmaalimibrahim6631
    @mahatmaalimibrahim6631 11 หลายเดือนก่อน +1

    Excellent tutorial. Thanks for sharing.

    • @milos-makes-maps
      @milos-makes-maps  11 หลายเดือนก่อน

      Thank you! Looking forward to your application 😁

  • @grahamjoss4643
    @grahamjoss4643 11 หลายเดือนก่อน +1

    Very cool. Look forward to the next one!

    • @milos-makes-maps
      @milos-makes-maps  11 หลายเดือนก่อน +1

      Thanks!! I'm glad you find it cool and looking forward to publishing my next video, too

    • @grahamjoss4643
      @grahamjoss4643 11 หลายเดือนก่อน

      @@milos-makes-maps I'm coming from the ArcGIS Pro/python geopandas world. very cool to see new tools!
      have you experimented with collecting your owned sensed data through a small sensor or drone?

  • @i-m-alien
    @i-m-alien 17 วันที่ผ่านมา +1

    u take courses of the shown subject...?

  • @transportation-talk
    @transportation-talk 11 หลายเดือนก่อน +1

    Thank you for putting time into creating this. Are geotiles available for other parts of the world?

    • @milos-makes-maps
      @milos-makes-maps  11 หลายเดือนก่อน +1

      My pleasure! I've included a few links in the description box but I think there should be more though mostly available for Western countries

  • @tomaszklimanek6662
    @tomaszklimanek6662 11 หลายเดือนก่อน +1

    Thank you for an excellent work! I noticed that in my case this part doesn't work:
    if(
    any(installed_libraries == F){
    install.packages(
    libs[!installed_libraries]
    )
    }
    )
    I had to change to :
    if (any
    (installed_libraries == FALSE)) {
    install.packages(libs[!installed_libraries]
    )
    }

    • @milos-makes-maps
      @milos-makes-maps  11 หลายเดือนก่อน

      Thank you, that's really good to know! Thanks for flagging the issue!

  • @larissamuller3423
    @larissamuller3423 11 หลายเดือนก่อน +1

    Super amazing tutorial! However I am running into a problem that I am not sure why is happening. When I plot the lidar_mat and add the overlay of the img, it is computing a black square behind the circular plot. I haven't been able to figure out how to get rid of it and just have the clean circular plot yet. Did you experience this or know how I could get rid of it?

    • @milos-makes-maps
      @milos-makes-maps  11 หลายเดือนก่อน

      Thanks! I’m sorry to hear that you are having trouble with rayshader. Does the black square appear when you render the scene? I suspect you might be using an older rayshader version so updating it would be my first try. Let me know how it goes

  • @NjBerber
    @NjBerber 11 หลายเดือนก่อน +1

    Fanatastic! But I ran into an error: Error in h(simpleError(msg, call)) :
    error in evaluating the argument 'y' in selecting a method for function 'extract': unable to find an inherited method for function ‘extent’ for signature ‘"SpatRaster"
    After running:
    lidar_mat

    • @milos-makes-maps
      @milos-makes-maps  11 หลายเดือนก่อน

      Hey, thank you for your kind words ☺️! Are you trying to run my code? It seems that you are having trouble with the extract function for a SpatRaster object. According to the web search results, this error may occur when the object is not properly defined or the extent is not compatible with the function. You may want to check the following points:
      - Make sure that you have loaded the terra package and created a valid SpatRaster object from your file
      - Make sure that the extent of your SpatRaster object is within the range of the function you are using.
      I suspect that the error occurs before you call rayshader so it would be great if you could trace it back to the first line where it occurs

    • @NjBerber
      @NjBerber 11 หลายเดือนก่อน +1

      @@milos-makes-maps Thx for your response!
      Yes I have run the exact same code that you have provided in github, including using the same Lidar data etc.
      Terra and rayshader is also loaded, before i run the rest.
      I'm not sure what you mean with: "Make sure that the extent of your SpatRaster object is within the range of the function you are using."

    • @milos-makes-maps
      @milos-makes-maps  11 หลายเดือนก่อน

      @@NjBerber You might be using an older version of rayshader (please confirm your version) where raster_to_matrix function expects a RasterLayer object as input, not a SpatRaster object. You can try to convert your SpatRaster object to a RasterLayer object using the as function, like this: lidar_mat

  • @amitrahangdale595
    @amitrahangdale595 11 หลายเดือนก่อน +1

    Can we do this for India?

    • @milos-makes-maps
      @milos-makes-maps  11 หลายเดือนก่อน

      Good question, I was wondering the same question if any Indian state has LiDAR data

    • @amitrahangdale595
      @amitrahangdale595 11 หลายเดือนก่อน +1

      @@milos-makes-maps yes u might get that online

    • @milos-makes-maps
      @milos-makes-maps  11 หลายเดือนก่อน

      @@amitrahangdale595 please share the link! I would like to make another video on mapping an Indian city with the point cloud data

    • @amitrahangdale595
      @amitrahangdale595 10 หลายเดือนก่อน

      www.nrsc.gov.in/aerial_dsm?language_content_entity=en

    • @amitrahangdale595
      @amitrahangdale595 10 หลายเดือนก่อน

      @@milos-makes-maps www.nrsc.gov.in/aerial_dsm?language_content_entity=en