[gdal-dev] Serving COGs from GCP bucket to Openlayers

2020-09-15 Thread Arun Govind
Hi, I need advice on what is the best approach I should take? I'm not an expert in web mapping or its technologies and I'm trying to figure things as I go... I've several time-series (for an image date many types like true color, false color, ndvi, etc.) COG imagery files in Google Cloud buckets (

Re: [gdal-dev] ogr2ogr dxf font

2020-09-15 Thread andrew terry
More appropriately, the github location of the font assignment is: https://github.com/OSGeo/gdal/blob/master/gdal/ogr/ogrsf_frmts/dxf/ogrdxfwriterlayer.cpp , starting line 576 Also to note that ogrinfo -al on the output lists the font assigned correctly but not the style (e.g. AutoTextStyle1) tha

Re: [gdal-dev] ogr2ogr with ORACLE driver: limitation on table name size?

2020-09-15 Thread Even Rouault
On mardi 15 septembre 2020 16:33:51 CEST Even Rouault wrote: > Ivan, > > > https://github.com/OSGeo/gdal/blob/70a2ec1795c3e01aeaf1ac3c0f7c69a3f0fa2ca > > 5/ gdal/ogr/ogrsf_frmts/oci/ogrocisession.cpp#L316 > > The logic > > if( nServerVersion >= 12 && nServerRelease >= 2 ) > > looks wrong to me.

[gdal-dev] ogr2ogr dxf font

2020-09-15 Thread andrew terry
Hi, I'm trying to use a specific font required by a client and i've created a header file including "Romans" as a font but despite doing so, the font always seems to be created in a new AutoTextStyle type. For some fonts, this comes in as AutoTextStyle1 (or 2, 3, 4 etc to avoid duplicating anythi

Re: [gdal-dev] ogr2ogr with ORACLE driver: limitation on table name size?

2020-09-15 Thread Ivan Lucena
Even, You are correct. As you can see in the code above those lines is that it is possible to run in debugging mode to check if the call to OCIServerVersion is been parsed correctly. Best regards, Ivan From: Even Rouault Sent: Tuesday, September 15, 2020 10:3

Re: [gdal-dev] ogr2ogr with ORACLE driver: limitation on table name size?

2020-09-15 Thread Victoria Ponz-Sarvise
Thanks for your answers. I have reviewed my oracle settings and in fact what I said wasn't strictly ok... I compiled GDAL using a 12.2 oracle client, but the database I got for the tests is oracle 19... so it won't work (I think Even is right). Sorry for that bad info in my first mail. I'm goi

Re: [gdal-dev] ogr2ogr with ORACLE driver: limitation on table name size?

2020-09-15 Thread Even Rouault
Ivan, > https://github.com/OSGeo/gdal/blob/70a2ec1795c3e01aeaf1ac3c0f7c69a3f0fa2ca5/ > gdal/ogr/ogrsf_frmts/oci/ogrocisession.cpp#L316 The logic if( nServerVersion >= 12 && nServerRelease >= 2 ) looks wrong to me. It will not work for 13.0 for example Shouldn't that be if( nServerVersion > 12

Re: [gdal-dev] ogr2ogr with ORACLE driver: limitation on table name size?

2020-09-15 Thread Ivan Lucena
According to that code it should work: https://github.com/OSGeo/gdal/blob/70a2ec1795c3e01aeaf1ac3c0f7c69a3f0fa2ca5/gdal/ogr/ogrsf_frmts/oci/ogrocisession.cpp#L316 Ticket: https://trac.osgeo.org/gdal/ticket/6866 From: gdal-dev on behalf of Victoria Ponz-Sarvise

[gdal-dev] ogr2ogr with ORACLE driver: limitation on table name size?

2020-09-15 Thread Victoria Ponz-Sarvise
Hi, I'm using ogr2ogr to upload shapefiles in an Oracle database, and I would like to know if there is a limitation of the number of characters in the created tables names. In Oracle, until v12.2, the table names where limited to 30 bytes, and after that it is possible to create tables with nam

Re: [gdal-dev] Create big COG file (C++)

2020-09-15 Thread Even Rouault
On lundi 14 septembre 2020 21:38:33 CEST Javier Jimenez Shaw wrote: > Thanks Even. > > So if I understand correctly, the steps would be: > 1- Create() the GTiff dataset (with a valid filename) > 2- write all the data with [many] RasterIO() calls > 3- close the dataset (to dump everything into d