Icon

Bounding Box vs. Convex Hull

This example starts with the specification of a coordingate (lat/lon) and a buffer radius. The resulting buffer area around that center will be used to extract OSM objects. These objects are then used to compute the bounding box and the convex hull around them and display it in a view. This lets you compare the geometry of the resulting polygon object for the two methods.

Bounding Box vs. Convex HullThis example displays the difference in creating the Bounding Box or the Convex Hull of geometries. It covers the creation for POIs (points, polygons) and roads (lines).creating amultipart objectcomputing thebounding rectanglecomputing thesmallest convex hullcreating amultipart objectcomputing thebounding rectanglecomputing thesmallest convex hullfetch OSMrestaurant POIsremoveunnecessarycolumnsremoverestaurantswith no nameremove oldgeometry columnremove oldgeometry columnDenver Central2.5km bufferremoveroads with nospeed limitfetching OSMroad networkremove oldgeometry columnremove oldgeometry columnUnary Union Bounding Box Convex Hull GeospatialView Component GeospatialView Component Unary Union Bounding Box Convex Hull OSM POIs Column Filter Row Filter Table Manipulator Table Manipulator Buffer Zone Row Filter OSM Road Network Table Manipulator Table Manipulator Bounding Box vs. Convex HullThis example displays the difference in creating the Bounding Box or the Convex Hull of geometries. It covers the creation for POIs (points, polygons) and roads (lines).creating amultipart objectcomputing thebounding rectanglecomputing thesmallest convex hullcreating amultipart objectcomputing thebounding rectanglecomputing thesmallest convex hullfetch OSMrestaurant POIsremoveunnecessarycolumnsremoverestaurantswith no nameremove oldgeometry columnremove oldgeometry columnDenver Central2.5km bufferremoveroads with nospeed limitfetching OSMroad networkremove oldgeometry columnremove oldgeometry columnUnary Union Bounding Box Convex Hull GeospatialView Component GeospatialView Component Unary Union Bounding Box Convex Hull OSM POIs Column Filter Row Filter Table Manipulator Table Manipulator Buffer Zone Row Filter OSM Road Network Table Manipulator Table Manipulator

Nodes

Extensions

Links