OpenDroneMap — Paris Code Sprint

I failed to make it to the Paris Code Sprint. It just wasn’t in the cards. But, my colleague Dakota and I sprinted anyway, with some help and feedback from the OpenDroneMap community. So, what did we do? Dakota did most of the work. He hacked away at the cmake branch of ODM, a branch set up by Edgar Riba to substantially improve the installation … Continue reading OpenDroneMap — Paris Code Sprint

GDAL tools of the trade: GDAL, MrSid, and nearblack revisited

Back in 2011 I wrote a post about GDAL, translating MrSID files and trimming off the artifacts so mosaics work. I’m revisiting some similar work this week and realized I had lost my copy of FWTools that can deal with MrSIDs. The Internet Archive came to the rescue. At some point LizardTech licensed a DLL that allowed for compilation compatible with FWTools licensing so we could … Continue reading GDAL tools of the trade: GDAL, MrSid, and nearblack revisited

PostgreSQL table drop — a little fun with ouroboros

My latests posts on PDAL have been fun. For the moment, a quick bit of code for dropping all the tables in your PostgreSQL database. BTW, the following is a bad idea. Many bad ideas are really useful. This is a really useful but bad idea: How does this work? Let’s do a quick step through. First we echo “\dt”. This just prints literally (the literally … Continue reading PostgreSQL table drop — a little fun with ouroboros

Taking Slices from LiDAR data: Part V

For this post, let’s combine the work in the last 4 posts in order to get a single pipeline for doing the following: Calculate relative height of LiDAR data Slice that data into bands of heights Load the data into a PostgreSQL/PostGIS/pgPointCloud database. Now, we can use parallel to make this run a little faster: Sadly, we can run into issues in running this in … Continue reading Taking Slices from LiDAR data: Part V

Taking Slices from LiDAR data: Part IV

In PDAL, a pipeline file can be used to do a variety of operations. Within the following context, I think of a pipeline file like an ad hoc preferences file, where I can use an external command to iterate through the things I want to change, while holding constant everything else in the pipeline file. In my use case for this vignette, I’ll use the … Continue reading Taking Slices from LiDAR data: Part IV

Taking Slices from LiDAR data: Part III

forest_structure Borrowed from: http://irwantoshut.com Continuing my series on slicing LiDAR data in order to analyze a forest, one of the objectives of the current project is to understand the habitats that particular species of birds prefer. This will be accomplished using field info from breeding bird surveys combined with LiDAR data of forest structure to help predict what habitats are necessary for particular species of … Continue reading Taking Slices from LiDAR data: Part III

Taking Slices from LiDAR data: Part II

Ok, with a little help from Bradley Chambers on the PDAL mailing list, we are back in business. If we want to filter our newly calculated heights into a new PDAL output, we can do that easily, say all points 100-500 above ground level: A little sanity check to see if we are getting appropriate values: Ok, now I want to view this. I could convert … Continue reading Taking Slices from LiDAR data: Part II