3d - ST_ApproximateMedialAxis with TIN input -
i want determine medial axis of 3d tin using st_approximatemedialaxis
in postgis. however, empty multilinestring result. need change medial axis instead of empty result?
my code:
create extension if not exists postgis_sfcgal; alter table tin add column medial_axis geometry; set postgis.backend = sfcgal; update tin set medial_axis = st_approximatemedialaxis(geom);
a dump of tin table can found here: https://docs.google.com/document/d/1drgt_05oa29a_af3snizs89c3lvixsbgiuiytx6yjcs/edit?usp=sharing
my postgis full version: "postgis="2.3.2 r15302" geos="3.6.1-capi-1.10.1 r4317" sfcgal="1.3.0" proj="rel. 4.9.1, 04 march 2015" gdal="gdal 2.1.3, released 2017/20/01" libxml="2.7.8" libjson="0.12" raster"
Comments
Post a Comment