Re: [gdal-dev] Compile gdal/ogr with mingw

2014-03-27 Thread David Tran
Hi to everyone Did somebody compile gdal/ogr with mingw? I tried to compile gdal (static/shared) with MinGW without success of calling the function OGRRegisterAll() in QT 5.2.1 (C++). Starting the binary results in: > The program has unexpectedly finished. I used those tutorials: http://gvsi

Re: [gdal-dev] Compile gdal/ogr with mingw

2014-03-27 Thread David Tran
World!" does not show in the console with the function OGRRegisterAll(). Do you know why it doesn't work? Any other ideas? Cheers David Original Message Subject: Re: [gdal-dev] Compile gdal/ogr with mingw From: Even Rouault To: David Tran Date: Thursday, 27. Marc

[gdal-dev] DEFECT --without-libtool, somebody else?

2014-04-04 Thread David Tran
Hi to everybody I just tried to compile gdal (>=1.9.2) with --without-libtool flag and it shows me with ./configure --without-libtool that it is not included with a "no", but "make" ends sometime later with an ERROR. Is there a fix or would somebody mind to verify the bug? Cheers David _

Re: [gdal-dev] DEFECT --without-libtool, somebody else?

2014-04-04 Thread David Tran
Even Rouault To: David Tran Date: Friday, 4. April 2014 17:48:28 What is the text or the error ? Hi to everybody I just tried to compile gdal (>=1.9.2) with --without-libtool flag and it shows me with ./configure --without-libtool that it is not included with a "no", but "ma

Re: [gdal-dev] GDAL/OGR 1.11.0 Beta1 ready

2014-04-05 Thread David Tran
Hi to everybody again Hope you all enjoy gdal 1.11.0beta1. What was the big bang between v1.9.2 and >=1.1x.y? Because my MinGW installtion doesn't compile Gdal since version 1.10.0 at all. Only Gdal 1.9.2 with MinGW (www.mingw.org) was (configure, make, make install) fine. I tested the binari

Re: [gdal-dev] GDAL/OGR 1.11.0 Beta1 ready

2014-04-06 Thread David Tran
:40:01 Le dimanche 06 avril 2014 02:36:16, David Tran a écrit : Hi to everybody again Hope you all enjoy gdal 1.11.0beta1. What was the big bang between v1.9.2 and >=1.1x.y? The big-bang lol ? no, I guess a tiny change that cause a compilation failure... 1.10.1 mak

[gdal-dev] Gdal 1.10.1 with OCI and ODBC doesn't compile right

2014-04-07 Thread David Tran
Hello again Gdal 1.10.1 compiles fine so far with mingw-builds and i686-w64-mingw32 flags. About OCI I already tried this: http://trac.osgeo.org/gdal/wiki/BuildingOnUnix https://trac.osgeo.org/gdal/wiki/Oracle with those (v10-12): http://www.oracle.com/technetwork/topics/winsoft-085727.html

Re: [gdal-dev] [EXTERNAL] Gdal 1.10.1 with OCI and ODBC doesn't compile right

2014-04-08 Thread David Tran
pile right From: Smith, Michael ERDC-RDE-CRREL-NH To: David Tran , gdal-dev@lists.osgeo.org Date: Monday, 7. April 2014 20:33:31 David, For using OCI with GDAL and --with-oci-lib, you need both oci-lib and oci-include For example: --with-oci-include=/home/oracle/local/instantclient_11_2

Re: [gdal-dev] [EXTERNAL] Gdal 1.10.1 with OCI and ODBC doesn't compile right

2014-04-08 Thread David Tran
Original Message Subject: Re: [gdal-dev] [EXTERNAL] Gdal 1.10.1 with OCI and ODBC doesn't compile right From: Ivan Lucena To: David Tran , Smith, Michael ERDC-RDE-CRREL-NH , gdal-dev@lists.osgeo.org Date: Tuesday, 8. April 2014 16:04:40 David, In order to compil

[gdal-dev] How to use OGROpen with WFS?

2014-04-14 Thread David Tran
Hi I tried this: OGRRegisterAll(); sourceName = "http://maps.zh.ch/wfs/FnsNSWFS";; sourceData = OGROpen( sourceName.c_str(), 0, NULL ); if(sourceData == NULL) { printf("Open failed.\n"); exit(1); } and it ends with: ERROR 4: Failed to read GeoJSON data Op

[gdal-dev] Source code for ogr2ogr --version

2014-04-17 Thread David Tran
Hi to everyone I compiled gdal 1.10.1 and now I want to show ogr2ogr --version with my library in my ide console. How do I do that with C or C++? Thanks in advance. David ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mail

Re: [gdal-dev] Source code for ogr2ogr --version

2014-04-22 Thread David Tran
thanks, is there an example for any kind of flags? Original Message Subject: Re: [gdal-dev] Source code for ogr2ogr --version From: Mateusz Łoskot To: David Tran Date: Thursday, 17. April 2014 21:38:02 On 17 April 2014 21:26, David Tran wrote: Hi to everyone I compiled

Re: [gdal-dev] Source code for ogr2ogr --version

2014-04-22 Thread David Tran
David Tran Date: Tuesday, 22. April 2014 19:37:39 see http://www.gdal.org/gdal_8h.html#acc50a4a63bc430d31abe1bca3f822da5 On Apr 22, 2014, at 1:23 PM, David Tran wrote: thanks, is there an example for any kind of flags? Original Message Subject: Re: [gdal-dev] Source cod

[gdal-dev] gdal autotest with gdal 1.11 (msvc2010)

2014-04-26 Thread David Tran
hi how does gdal autotest work? i compiled gdal 1.11 with vc10 and installed python 3.4 and run_all.py: Traceback (most recent call last): File "E:\gdalautotest-1.11.0\run_all.py", line 30, in import gdaltest File "pymod\gdaltest.py", line 37, in from osgeo import gdal ImportErr

Re: [gdal-dev] gdal autotest with gdal 1.11 (msvc2010)

2014-04-26 Thread David Tran
gdal 1.11 (msvc2010) From: Mateusz Łoskot To: David Tran Date: Saturday, 26. April 2014 21:45:53 On 26 April 2014 21:16, David Tran wrote: hi how does gdal autotest work? i compiled gdal 1.11 with vc10 and installed python 3.4 and run_all.py: Traceback (most recent call last): File &q

[gdal-dev] ogr2ogr.cpp: how to use it in my own code?

2014-05-06 Thread David Tran
Hi to everyone I use MSVC 2010 to compile my stuff: ogr2ogr.cpp needed some headers, therefore I put them in the right directory with the gdal 1.10.1 library (gdal_i.lib) from gisinternals.com/sdk. It just doesn't compile (about 165 errors). Can I use ogr2ogr.cpp in my own code somehow? che

[gdal-dev] Qt5.2.1+GDAL1.11+VC10: ogrsf_frmts.h compile errors

2014-05-13 Thread David Tran
Hi test.pro TEMPLATE = app TARGET = test DEPENDPATH += $$PWD/src $$PWD/include INCLUDEPATH += $$PWD/src $$PWD/include SOURCES += src/main.cpp main.cpp //#include "ogr_api.h" #include "ogrsf_frmts.h" int main() {} It compiles fine with #include "ogr_api.h", but with #include "ogrsf_frmts.h"

[gdal-dev] GDAL 1.11: SQLite & tables

2014-05-28 Thread David Tran
Hi Is there a something similiar to "tables=table1,table2" from pg for sqlite? pg: http://www.gdal.org/drv_pg_advanced.html sqlite: http://www.gdal.org/drv_sqlite.html thanks in advance. ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://list