Re: [gdal-dev] Export multiple tables from GPKG to PG

2020-12-23 Thread matteo
Hi Even, thanks for the reply. You could possibly do that in 2 steps: - use ogr2vrt to create a VRT from your source GeoPackage and rename layers as you wish https://github.com/OSGeo/gdal/blob/master/gdal/swig/python/samples/ogr2vrt.py OK so I've to download this file and run it to build a v

[gdal-dev] HDF5 output

2020-12-23 Thread hosein imani
Hello Does gdal_translate have capability to convert a format to HDF5? I tried to convert “tiff”format to “HDF5” bud I got an error message ERROR 1: HDF5 driver has no creation capabilities If gdal doesn’t convert to HDF5, how could i convert to HDF5 Please advise Thanks Sincerely -- Hosein Imani

Re: [gdal-dev] sfcgal support

2020-12-23 Thread Even Rouault
On mercredi 23 décembre 2020 12:09:04 CET Franco Amato wrote: > Hi everyone, > I would know if is possible to build gdal (3.x) with sfcgal support > as indicated at this link > https://github.com/OSGeo/gdal/blob/master/gdal/m4/sfcgal.m4. > > I took a look at the nmake.opt file in the source packag

[gdal-dev] sfcgal support

2020-12-23 Thread Franco Amato
Hi everyone, I would know if is possible to build gdal (3.x) with sfcgal support as indicated at this link https://github.com/OSGeo/gdal/blob/master/gdal/m4/sfcgal.m4. I took a look at the nmake.opt file in the source package and didn't find the right option. Thanx -- *Franco Amato* Il caffè è

Re: [gdal-dev] Export multiple tables from GPKG to PG

2020-12-23 Thread Even Rouault
On mercredi 23 décembre 2020 16:00:28 CET matteo wrote: > Hi all (again, sorry for the flooding), > > for some reasons I have to export many tables (not all) from a GPKG to a > PG database. > > I can do it easily with a loop, but I need ogr2ogr to do it in a single > transaction. That's because e

Re: [gdal-dev] MBTiles generation docs question

2020-12-23 Thread Evert Etienne (SITEMARK)
Thank you Jukka for the links. As I’ve commented on the github ticket and stackoverflow post, you helped me to find a workaround. Is there any tool available that can change a 3857 geotiff to the resolution needed for a specific zoom level at the location of the geotiff (I am having a hard tim

Re: [gdal-dev] Doubts to Convert TopoJson to SHP File

2020-12-23 Thread Even Rouault
On mardi 22 décembre 2020 21:54:44 CET Moises Silva wrote: > Hi, > >I am newbie to use the GDAL and passing the problem in convert TopoJSON > to SHP FIle. >I executed the command below and some files were created (.dbf, .shp, > .shx) but the file .prj is not created. > Is there any par

Re: [gdal-dev] Doubts to Convert TopoJson to SHP File

2020-12-23 Thread jratike80
Hi, Do you know in which coordinate system the topojson data are? If GDAL can't recognize it automatically (check with ogrinfo) you can give it manually, for example " -a_srs EPSG:4326". That should trigger the creation of the .prj file. -Jukka Rahkonen- Moises Silva wrote > Hi, > >I am ne

[gdal-dev] Export multiple tables from GPKG to PG

2020-12-23 Thread matteo
Hi all (again, sorry for the flooding), for some reasons I have to export many tables (not all) from a GPKG to a PG database. I can do it easily with a loop, but I need ogr2ogr to do it in a single transaction. That's because even if the first N tables are correctly imported, at the first er

Re: [gdal-dev] Duplicate pixels in VRT

2020-12-23 Thread Jon Morris
Hi Jukka, I'm off work now so can't check the image type until next week, but the extents are the same at both GDAL 2 and GDAL 3. At v3, there is a repeated column of pixels at the right hand edge. I guess there is no more data, so it is padded to fill the required extent. Jon Get Outlook for