UAS (drone) Footprint Geometries Calculated in PostGIS with SFCGAL — for real this time

In my earlier post, I made a claim that SFCGAL was used in this figure: It dawned on my afterwards, while I was using 3D, I hadn’t actually employed any of the analysis goodies that come with SFCGAL.  Well, here it is– a footprint as calculated using the view angles and a real terrain model: Here it is compared with the initial calculation: Continue reading UAS (drone) Footprint Geometries Calculated in PostGIS with SFCGAL — for real this time

shape-pov on GitHub

I am working on a project, well, I guess just read the README from the repo (a project which will require a creative rename in the future): https://github.com/smathermather/shape-pov shape-pov ATM, this is a script to write shapefiles to PovRay docs for rendering. Long-term, will be a map tile renderer with 3D support and more. Whats more? Well, while compositing in TileMill and all the Mapnik … Continue reading shape-pov on GitHub

Tree Interpolator on GitHub

I’ve shared bits and pieces of tree interpolation code (3D tree canopies from LiDAR) on this blog for a few years. I finally got things together enough to post some of this code on GitHub. Currently it has a LasTools dependency, so you’ll have to watch for that license gotcha, but I’ll be phasing out that dependency in future versions. In the future, I’ll do … Continue reading Tree Interpolator on GitHub

Way beyond red-dot fever– bees hives and overlapping home ranges

Last week, post Boston Code Sprint, I spent a couple of hours playing with bee data, specifically bee keeper data for Norfolk County Massachusetts. My friend Eric (a bee keeper of 4 hives in said county) says that worker bees can fly as far as 3 miles for nectar, but after that approximate limit, they hit diminishing returns relative to the calories they burn. Proximity … Continue reading Way beyond red-dot fever– bees hives and overlapping home ranges

3D Renderers– a woefully incomplete survey

Recent exploration into PostGIS 3D tools has reminded me of my love of renderers.  First, there’s PovRay.  PovRay is and always will be my first love.  I’ve done so many fun things with it. In short, PovRay is a mathematicians renderer– mathematical primitives, advanced ray tracing tools, and a C-like control language make for an abstract but powerful environment.  I like to use it with … Continue reading 3D Renderers– a woefully incomplete survey

Fast Calculation of Voronoi Polygons in PovRay

Yet further abuse to follow in the application of PovRay for spatial analyses– be forwarned… . Calculating Voronoi polygons is a useful tool for calculating the initial approximation of a medial axis. We densify the vertices on the polygon for which we want a medial axis, and then calculate Voronoi polygons on said vertices. I’ll confess– I’ve been using ArcGIS for this step. There. I … Continue reading Fast Calculation of Voronoi Polygons in PovRay