[gdal-dev] Reading multipatch textures from FileGeoDataBase using GDAL

sameer.sheikh at wetransform.to sameer.sheikh at wetransform.to
Fri May 22 02:50:26 PDT 2015


Hello Even,

Thank you for your suggestion, I have looked at ogr/ogrpgeogeometry.cpp file and I would like to point out the challenges that I am facing:
1. As far as I could understand it, the texture information has not been passed to the function which creates OGR representation from multipatch.
2. OGRrepresentation doesn't include a place to write images to, so that would need to be extended.
I would welcome and appreciate some guidance regarding what could be changed to make it work. Also, I  would like to mention that we are happy to contribute any improvements back.
Regards,
Sameer Sheikh
On Thu, May 21, 2015 at 07:05 PM, Even Rouault  wrote:
Sameer,

I am using GDAL (Java binding) API in my application to read from file
geodatabase. I am trying to read multipatch geometry and textures of a
Building. I could read features, Geometry, relationship information etc.
from file geodatabase, but unable to read multipatch textures. Could
anybody suggest me approach to read textures from filegeodatabase?

There's no way with OGR currently. You should be able to get the vertex 
information from the multipatch, but textures are ignored for now. It's not 
directly obvious however how they could be modelled in OGR.

If you're also a C/C++ programmer, you could look at the Extended Shapefile 
specification provided with the FileGDB SDK, and hack into 
ogr/ogrpgeogeometry.cpp to enhance the multipatch decoder to decode textures.

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com (http://www.spatialys.com)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20150522/9bc80026/attachment.html>


More information about the gdal-dev mailing list