Question

PostGIS polyhedral surface from solid

  • 16 March 2017
  • 2 replies
  • 10 views

Badge

Hello,

I have a problem with writer to postgis.

 

I make one solid in FME with SolidBuilder. Then I write it to PostGIS

 

as polyhedral surface.

The problem is, that when I read the same object from PostGIS into

 

FME and make solid again with SolidBuilder, it makes more than one solid.

If I write to PostGIS as TIN, It returns in the same chape back to FME,

 

but I can't calculate volume from TIN in PostGIS.


2 replies

Userlevel 2
Badge +17

Hi @jernejtekavec, if you could read the objects as a TIN (mesh) surface closed in 3D, I think it could be transformed into a solid with two GeometryCoercers.

The first one (Geometry Type: fme_composite_surface) converts the mesh to a composite surface, and the second one (Geometry Type: fme_brep_solid) converts the composite surface to a brep (boundary representation) solid.

Badge

Thanks for answer. But I'm still having troubles, that the solid that is read

 

from Postgis is not the same as the written one.

I tried to use two geometry coercers and it works, but the volume

 

that I calculate afterwards is not correct.

Regards!

Jernej

Reply