Skip to main content
Question

PostGIS 3D Texture writing

  • September 1, 2017
  • 4 replies
  • 33 views

mhab
Contributor
Forum|alt.badge.img+10
  • Contributor

Hello

I am fairly new to 3D data handling and stumbled over the problem, that I can write 3D data to PostGIS but texture information seems to get lost.

Is it generally possible ? If yes, what do I need to do ?

Thanks for any hint

Michael

4 replies

danilo_fme
Evangelist
Forum|alt.badge.img+45
  • Evangelist
  • September 1, 2017

Hi @mhab,

Could you share us more details? Workspace template ( FMWT ), print Database PostGis, etc...

Thanks,

Danilo


mhab
Contributor
Forum|alt.badge.img+10
  • Author
  • Contributor
  • September 2, 2017

I have a textured 3D building (read from CityGML). If I write it to a FileGDB as Multipatch and read it afterwards I see the 3D object and the texturing is there.

If I do the same with PostGIS writer and read it afterwards I get the 3D objects without the texture.

I dont have more info and the very general question if texture handling is supported in PostGIS or not.

Michael


paul.nalos
Safer
Forum|alt.badge.img
  • Safer
  • September 5, 2017

This is expected behavior. The PostGIS reader/writer in FME does not preserve textures. This is because, to the best of my knowledge, PostGIS does not directly support textures.

That said, PostGIS (and FME) support rasters in PostGIS, and depending on your use case, there may be workarounds.

References:

- PostGIS 2.3 documentation on its supported geometry types: http://postgis.net/docs/manual-2.3/using_postgis_dbmanagement.html#RefObject http://postgis.net/docs/manual-2.3/ST_GeomFromWKB.html (and others, these are the main ones)

- A nice slide-deck talking about PostGID 3D from 2011 (so useful for context, not really useful for confirming the latest state of things) https://www.slideshare.net/SimeonNedkov/postgis-3d-implementation

Regards,

Paul


mhab
Contributor
Forum|alt.badge.img+10
  • Author
  • Contributor
  • September 11, 2017
paulnalos wrote:

This is expected behavior. The PostGIS reader/writer in FME does not preserve textures. This is because, to the best of my knowledge, PostGIS does not directly support textures.

That said, PostGIS (and FME) support rasters in PostGIS, and depending on your use case, there may be workarounds.

References:

- PostGIS 2.3 documentation on its supported geometry types: http://postgis.net/docs/manual-2.3/using_postgis_dbmanagement.html#RefObject http://postgis.net/docs/manual-2.3/ST_GeomFromWKB.html (and others, these are the main ones)

- A nice slide-deck talking about PostGID 3D from 2011 (so useful for context, not really useful for confirming the latest state of things) https://www.slideshare.net/SimeonNedkov/postgis-3d-implementation

Regards,

Paul

Thanks Paul for the clarification.

 

It confirms what I thought maybe the state of art for now.

 

Now I'm pretty sure

 

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings