[gdal-dev] GDAL Image Viewer supporting extensions

Even Rouault even.rouault at spatialys.com
Wed Dec 3 11:07:31 PST 2014


Le mercredi 03 décembre 2014 19:06:48, Ledoux, Bruno a écrit :
> Thanks for the pointer on QGIS, we will try.
> 
> I was mentioning geotools because we already use it in a thick client to
> display images. Eventually, we will have to integrate our format into
> geotools but I am looking for an alternate and quick way to do some tests.

Ah right, I didn't think to the geotools <--> GDAL bridge. Yes, it is 
unfortunate that the design of geotools (ImageIOExt actually AFAIR) for image 
format requires new code to be written each time. I haven't yet looked at the 
code to understand why it is such. However a possibility would be to write a 
VRT ImageIOExt plugins, and that way you could open any supported GDAL dataset 
by priorly "wrapping" it in a VRT.

> 
> Regards,
> B. Ledoux
> 
> 
> 
> 
> Please consider the environment before printing this email message.
> ---------------------------------------------------------------------------
> ----- Ce courriel (incluant ses éventuelles pièces jointes) peut contenir
> des informations confidentielles et/ou protégées ou dont la diffusion est
> restreinte. Si vous avez reçu ce courriel par erreur, vous ne devez ni le
> copier, ni l'utiliser, ni en divulguer le contenu à quiconque. Merci d'en
> avertir immédiatement l'expéditeur et d'effacer ce courriel de votre
> système. Spot Image décline toute responsabilité en cas de corruption par
> virus, d'altération ou de falsification de ce courriel lors de sa
> transmission par voie électronique.
> 
> This email (including any attachments) may contain confidential and/or
> privileged information or information otherwise protected from disclosure.
> If you are not the intended recipient, please notify the sender
> immediately, do not copy this message or any attachments and do not use it
> for any purpose or disclose its content to any person, but delete this
> message and any attachments from your system. Spot Image disclaims any and
> all liability if this email transmission was virus corrupted, altered or
> falsified.
> 
> Spot Image SA (325 089 589 RCS Toulouse) -
> Siege social: 5, rue des Satellites, 31400 Toulouse, France.
> 
> 
> 
> -----Message d'origine-----
> De : Even Rouault [mailto:even.rouault at spatialys.com]
> Envoyé : mercredi 3 décembre 2014 17:03
> À : gdal-dev at lists.osgeo.org
> Cc : Ledoux, Bruno
> Objet : Re: [gdal-dev] GDAL Image Viewer supporting extensions
> 
> Le mercredi 03 décembre 2014 16:16:02, Ledoux, Bruno a écrit :
> > Hi All,
> > 
> > We have developed a Gdal plug-in that supports our proprietary image
> > file format. We would now like to use a standard visualizer build on
> > Gdal to view our images with minimum development effort. From what I
> > have read about geotools there is a substantial amount of code to
> > write in order to integrate a new format. Are there any other
> > visualization libraries or tools that would do this natively without any
> > development ?
> 
> Bruno,
> 
> Not sure why you mention Geotools, which is a completely different
> technical code base. Anyway for GDAL, once your driver is developed, using
> a GUI that relies on GDAL to display your format should be pretty easy.
> For example you can use QGIS. You just have to make sure to compile
> against the headers of the GDAL version used by QGIS, and then add your
> plugin shared object in the path searched by GDAL_DRIVER_PATH. This is how
> OSGeo4W works for the proprietary formats (ECW, MrSID, etc...) On Linux,
> you can also completely substitute the GDAL shared object used by QGIS
> with your own, by tweaking LD_LIBRARY_PATH and doing the right symbolic
> links (e.g "ln -s libgdal.so libgdal.so.X.Y.Z" where X.Y.Z is the version
> expected by QGIS) Same applies for OpenEV, but the latter is probably a
> bit more difficult to build now.
> 
> Best regards,
> 
> Even
> 
> --
> Spatialys - Geospatial professional services http://www.spatialys.com

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the gdal-dev mailing list