Re: [gdal-dev] Problems with latest pdfium

2020-06-29 Thread Joaquim Manuel Freire Luís
Tried with another python (miniconda this time) and ... some other error (very picky these pythons) A subdirectory or file out already exists. A subdirectory or file Release already exists. 1 file(s) copied. Done. Made 139 targets from 82 files in 4709ms ninja: Entering directory `out\Rel

Re: [gdal-dev] Problems with latest pdfium

2020-06-29 Thread Even Rouault
On lundi 29 juin 2020 09:26:23 CEST William Kyngesburye wrote: > I'm compiling GDAL 3.1, the note says that only needs the patches. It > doesn't specify the source to use. So you need to use https://github.com/rouault/pdfium_build_gdal_3_1 I presume you'll have to start from the Linux build scri

Re: [gdal-dev] Problems with latest pdfium

2020-06-29 Thread Joaquim Manuel Freire Luís
The python error coes from running this command call gn.bat gen out\Release apparently it doesn't find something and gives that incomprehensible error message. From: gdal-dev On Behalf Of Joaquim Manuel Freire Luís Sent: Monday, June 29, 2020 1:50 PM To: Even Rouault Cc: gdal-dev@lists.osge

Re: [gdal-dev] MSSQLSpatial not using BCP to load

2020-06-29 Thread Hector muro
Hi, Cheers for that. I tried it, even specifying a "-gt 5" for instance, but still stuck with the single-transaction limit... Any other suggestions? On Mon, 29 Jun 2020 at 15:10, jratike80 wrote: > Hi, > > Don't use -skipfailures. It is only possible to skip errors one by one if > transact

Re: [gdal-dev] MSSQLSpatial not using BCP to load

2020-06-29 Thread Rahkonen Jukka (MML)
Pity, I thought it would be simple but in your case avoiding -skipfailures is obviously not enough. Please use “reply to all” on this mailing list, otherwise mail does not reach the list. -Jukka Rahkonen- Lähettäjä: Hector muro Lähetetty: maanantai 29. kesäkuuta 2020 17.28 Vastaanottaja: Rahk

Re: [gdal-dev] Problems with latest pdfium

2020-06-29 Thread William Kyngesburye
I'm compiling GDAL 3.1, the note says that only needs the patches. It doesn't specify the source to use. - William Kyngesburye Don't Panic > On Jun 29, 2020, at 4:34 AM, Even Rouault wrote: > >  > William, > >> I'm getting multiple errors trying to compile P

Re: [gdal-dev] MSSQLSpatial not using BCP to load

2020-06-29 Thread jratike80
Hi, Don't use -skipfailures. It is only possible to skip errors one by one if transactions also contain just one row. It is even documented in the Performance hints in https://gdal.org/programs/ogr2ogr.html. -Jukka Rahkonen- hectormauer wrote > Hi, > > As a part of a project I need to load qu

[gdal-dev] MSSQLSpatial not using BCP to load

2020-06-29 Thread Hector muro
Hi, As a part of a project I need to load quite big geojsons into SQL Server and I am using ogr2ogr to do so. Here is an example command I am using: ogr2ogr -f MSSQLSpatial "MSSQL:server=xxx;database=xxx;UID=xxx;PWD=xxx;DRIVER={ODBC Driver 17 for SQL Server}" -append --config SPATIAL_INDEX NO --

Re: [gdal-dev] Problems with latest pdfium

2020-06-29 Thread Joaquim Manuel Freire Luís
Even, I would try it but I'm not being able to build pdfium. I get python errors such running 'vpython.bat pdfium/tools/clang/scripts/update.py' in 'C:\programs\compa_libs\PDFium' Downloading https://commondatastorage.googleapis.com/chromium-browser-clang/Win/clang-371202-8455294f-1.tg

[gdal-dev] GDAL 3.1.1 is released

2020-06-29 Thread Even Rouault
Hi, On behalf of the GDAL/OGR development team, I am pleased to announce the release of the GDAL/OGR 3.1.1 bug fix version. This adds 69 bug fixes on top of 3.1.0. Consult the release notes for the list of issues addressed : https://github.com/OSGeo/gdal/blob/v3.1.1/gdal/NEWS The sources are

Re: [gdal-dev] Problems with latest pdfium

2020-06-29 Thread Even Rouault
Joaquim, > I tried to build with your pdfium.lib but got these linking errors. It seems they are due to your GDAL build also linking against openjp2.lib, and pdfium.lib being linked against its internal copy of openjp2. I don't remember how I tested this. Perhaps this was with a GDAL build with

Re: [gdal-dev] Problems with latest pdfium

2020-06-29 Thread Joaquim Manuel Freire Luís
Hi Even, I tried to build with your pdfium.lib but got these linking errors. Joaquim pdfium.lib(openjpeg.obj) : error LNK2005: opj_set_info_handler already defined in openjp2.lib(openjp2_w64.dll) pdfium.lib(openjpeg.obj) : error LNK2005: opj_set_warning_handler already defined in openjp2.lib(

[gdal-dev] Problems with reading data into SQLServer

2020-06-29 Thread Bo Victor Thomsen
Hi all - I'm trying to use ogr2ogr to read shape data into a SQL Server Spatial database using ogr2ogr. The problem is that I have a insert trigger (which is absolutely necessary) on the receiving table. The command is like this: *ogr2ogr.exe --config MSSQLSPATIAL_USE_BCP false -append -sk

Re: [gdal-dev] Error while opeing Dataset

2020-06-29 Thread NSquare
Looks like this is some kind of warning. I got the same warning after running gdalinfo tool for the sample file. I added some more code to get the general file information and it worked fine. On Mon, Jun 29, 2020 at 4:15 PM NSquare wrote: > Hi Folks, > > I am trying to explore GDAL raster APIs f

[gdal-dev] Error while opeing Dataset

2020-06-29 Thread NSquare
Hi Folks, I am trying to explore GDAL raster APIs for reading i_3001a.ntf. I have installed GDAL using miniconda on Ubuntu 18.04 and referring to the Raster API tutorial open sample file downloaded from here . Below i

Re: [gdal-dev] Motion: promote GDAL 3.1.1 RC1

2020-06-29 Thread Even Rouault
On jeudi 25 juin 2020 12:18:45 CEST Even Rouault wrote: > Hi, > > Having heard no issues with RC1, > > Motion: > > Adopt GDAL 3.1.1 RC1 as final 3.1.1 release I declare this motion passed with +1 from PSC members HowardB, MateuszL, DanielM, NormanB and myself Even -- Spatialys - Geospatial

Re: [gdal-dev] Problems with latest pdfium

2020-06-29 Thread Even Rouault
William, > I'm getting multiple errors trying to compile PDF support with pdfium. See https://gdal.org/drivers/raster/pdf.html#pdfium You need to build pdfium from the indicated forks. Even -- Spatialys - Geospatial professional services http://www.spatialys.com __