Re: [gdal-dev] mssql import speed

2018-05-12 Thread Martin Landa
Hi, 2018-05-12 16:17 GMT+02:00 Tamas Szekeres : > Can I get the sample data for this? sure [1]. > Looks like more than one table is set "IDENTITY_INSERT ON" at the same time. Steps to reproduce (tested with SQL Server 2014): 1) create new mssql db 2) C:\OSGeo4W64/apps/gdal-dev/bin/ogr2ogr -f M

Re: [gdal-dev] mssql import speed

2018-05-12 Thread Tamas Szekeres
Hi Martin, Can I get the sample data for this? Looks like more than one table is set "IDENTITY_INSERT ON" at the same time. Best regards, Tamas 2018-05-12 16:10 GMT+02:00 Martin Landa : > Hi, > > 2018-05-12 15:51 GMT+02:00 Martin Landa : > > > ERROR 1: Failed to set identity insert on layer,

Re: [gdal-dev] mssql import speed

2018-05-12 Thread Martin Landa
Hi, 2018-05-12 15:51 GMT+02:00 Martin Landa : > ERROR 1: Failed to set identity insert on layer, [Microsoft][SQL Server > Native C > lient 11.0][SQL Server]IDENTITY_INSERT is already ON for table 'kn2.dbo.par'. > Ca > nnot perform SET operation for table 'dbo.bud'.. > ERROR 1: Unable to write f

Re: [gdal-dev] mssql import speed

2018-05-12 Thread Martin Landa
Hi, 2018-05-11 23:51 GMT+02:00 Martin Landa : >> --config GDAL_DRIVER_PATH C:\OSGeo4W64\apps\gdal-dev\bin\gdalplugins >> >> In progress, Ma > > works like a charm, from 3 hours to 3 minutes! Thanks for packaging > gdal-mss :-) Ma well, after solving BCP issue, I have another, on empty DB the com

Re: [gdal-dev] [OSGeo/gdal] Fix the datadir in gdal.pc. (#609)

2018-05-12 Thread Even Rouault
On samedi 12 mai 2018 11:37:36 CEST Ari Jolma wrote: > Even Rouault kirjoitti 12.05.2018 klo 11:18: > > > Now I did it by creating a local clone of OSGeo/gdal and > > > > > > editing/committing/pushing its release/2.3 branch. > > > > You can use a single clone for all branches and uses git checko

Re: [gdal-dev] [OSGeo/gdal] Fix the datadir in gdal.pc. (#609)

2018-05-12 Thread Ari Jolma
Even Rouault kirjoitti 12.05.2018 klo 11:18: > > Now I did it by creating a local clone of OSGeo/gdal and > editing/committing/pushing its release/2.3 branch. You can use a single clone for all branches and uses git checkout to switch branches. I know that but the issue here was that I h

Re: [gdal-dev] [OSGeo/gdal] Fix the datadir in gdal.pc. (#609)

2018-05-12 Thread Even Rouault
Ari, > > > > How do I merge a PR into another branch than master? > > I made a try to -- PR #614 -- which was a mistake. It is possible to do a PR against a non-master branch, but you need to apply the commit in that branch, and in the GitHub UI make sure the base branch it selects is that b

Re: [gdal-dev] [OSGeo/gdal] Fix the datadir in gdal.pc. (#609)

2018-05-12 Thread Ari Jolma
Ari Jolma kirjoitti 12.05.2018 klo 10:18: Even Rouault kirjoitti 11.05.2018 klo 23:19: cherry-pick in release/2.3 How do I merge a PR into another branch than master? I made a try to -- PR #614 -- which was a mistake. Now I did it by creating a local clone of OSGeo/gdal and editing/commi