<div dir="ltr">Hi Ivan,<br><br>Thanks for your reply. Yes, it clarified my query.<div><br></div><div>Thanks and Regards<br>Chaitanya Jalluri</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Mar 7, 2022 at 6:57 PM Ivan Lucena <<a href="mailto:ivan.lucena@outlook.com">ivan.lucena@outlook.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Interesting question Chaitanya,<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
But the answer is probably no.</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
The VSI drivers mentioned on that page are supposed to access assets, buckets and file system on popular cloud services.</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
There is no Oracle Cloud Infrastructure (OCI) driver for that purpose, but you might be able to access spatial data types SDO_GEOMETRY and SDO_GEORASTER tables/columns on a server running on the cloud, just like if it were running in any machine. No?<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
The GDAL/OGR driver OCI, developed many decades ago, was named OCI in reference to the Oracle C SDK. It can access "vector" data in SDO_GEOMETRY type.<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<a href="https://gdal.org/drivers/vector/oci.html#vector-oci" id="gmail-m_-5282200622017186824LPNoLPOWALinkPreview" target="_blank">https://gdal.org/drivers/vector/oci.html#vector-oci</a><br>
</div>
<div></div>
<br>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
The GDAL georaster driver is a raster driver that supports SDO_GEORASTER type. <br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<a href="https://gdal.org/drivers/raster/georaster.html" id="gmail-m_-5282200622017186824LPNoLPOWALinkPreview_1" target="_blank">https://gdal.org/drivers/raster/georaster.html</a><br>
</div>
<div></div>
<br>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Inside the georaster driver code there is a VSI/OCI driver that can read images in BLOB data type on the database.
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<a href="https://github.com/OSGeo/gdal/blob/master/frmts/georaster/cpl_vsil_ocilob.cpp" id="gmail-m_-5282200622017186824LPlnk469090" target="_blank">https://github.com/OSGeo/gdal/blob/master/frmts/georaster/cpl_vsil_ocilob.cpp</a></div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
That driver is rarely exposed for the public and there is documentation. It is used by the georaster driver to read JPEG200 compression. But it can be used to store Geotiffs or any other raster file format into an BLOB.</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
With those GDAL driver and with the data stored in oracle databases, you can have rendering on the fly in QGIS, ArcMap, etc.</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
But if you have other geospatial types inside an oracle schema, like ST_GEOMETRY, TERRALIB or SDE_GEOMETRY for example, those are not supported by GDAL.</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Again, if all you want is to access files on OCI storage and rendering on the fly, that wasn't developed yet. You might find command line tools that you can pipe the data into GDAL based application, but not rendering on the fly. I think.<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
I hope it helps to clarify,</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Ivan<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div id="gmail-m_-5282200622017186824appendonsend"></div>
<hr style="display:inline-block;width:98%">
<div id="gmail-m_-5282200622017186824divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> gdal-dev <<a href="mailto:gdal-dev-bounces@lists.osgeo.org" target="_blank">gdal-dev-bounces@lists.osgeo.org</a>> on behalf of Chaitanya Jalluri <<a href="mailto:chaitanyajalluri@gmail.com" target="_blank">chaitanyajalluri@gmail.com</a>><br>
<b>Sent:</b> Monday, March 7, 2022 7:42 AM<br>
<b>To:</b> <a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a> <<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a>><br>
<b>Subject:</b> [gdal-dev] GDAL support on OCI</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div id="gmail-m_-5282200622017186824x_gmail-:2bm">
<div id="gmail-m_-5282200622017186824x_gmail-:2bi" aria-label="Message Body" role="textbox" style="direction:ltr;min-height:376px">
Hi,
<div><br>
</div>
<div>Does gdal support the accessing and rendering data on the fly (i.e virtual file systems ) from the Oracle cloud storage?? I couldn't see any support of this in the documentation <a href="https://gdal.org/user/virtual_file_systems.html" target="_blank">https://gdal.org/user/virtual_file_systems.html</a> .
Can you please help with it?</div>
<div><br>
</div>
<div>Thanks and regards<br>
Chaitanya Jalluri</div>
</div>
</div>
</div>
</div>
</div>
</blockquote></div>