[gdal-dev] fid column info missing

2009-10-17 Thread Martin Landa
1.6.0 -- Martin Landa landa.martin gmail.com * http://gama.fsv.cvut.cz/~landa ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] fid column info missing

2009-10-17 Thread Martin Landa
a new row in the .shp and the .dbf files. OGR uses no column in the .dbf to get the FID. I see, thanks for clarification! You'll probably also find here answers to your questions about the GetFIDColumn() method : http://trac.osgeo.org/gdal/ticket/2694 Thanks, Martin -- Martin Landa

[gdal-dev] ogr vfk and write access

2009-12-18 Thread Martin Landa
. There is no dependency, so it could be compiled by default. I am also interested to get write access to the main GDAL/OGR repository if possible. My name is Martin Landa and I am GRASS developer for some years [3]. It would be honest for me to contribute also on the GDAL/OGR project. I would focus myself on GRASS

Re: [gdal-dev] ogr vfk and write access

2009-12-18 Thread Martin Landa
to be the mainainer of this code and agree with http://trac.osgeo.org/gdal/wiki/rfc3_commiters I would support this addition. I agree with RFC3. Martin -- Martin Landa landa.martin gmail.com * http://gama.fsv.cvut.cz/~landa ___ gdal-dev mailing list gdal-dev

Re: [gdal-dev] ogr vfk and write access

2009-12-18 Thread Martin Landa
Hi, 2009/12/18 Martin Landa landa.mar...@gmail.com: Hi, 2009/12/18 Tamas Szekeres szeker...@gmail.com: Does this driver compile on both Windows and Linux platforms? Just by looking into your repository I don't see a windows makefile for that. I Right, currently there is only GNUMakefile

Re: [gdal-dev] ogr vfk and write access

2009-12-26 Thread Martin Landa
/ogr_vfk.py -- Martin Landa landa.martin gmail.com * http://gama.fsv.cvut.cz/~landa ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] ogr vfk and write access

2009-12-26 Thread Martin Landa
Hi, 2009/12/26 Martin Landa landa.mar...@gmail.com: thanks for the support! I got write access to SVN repository. It's really pleasure for me to contribute to GDAL project. My first issue is to add VFK driver [1]. Please let me know if you have any objections or notes. Martin [1] http

Re: [gdal-dev] ogr vfk and write access

2009-12-26 Thread Martin Landa
should wait for releasing 1.7.0 [1] and after that add new VFK driver. What do you think? Martin [1] http://trac.osgeo.org/gdal/wiki/ReleasePlan17 -- Martin Landa landa.martin gmail.com * http://gama.fsv.cvut.cz/~landa ___ gdal-dev mailing list gdal-dev

Re: [gdal-dev] ogr vfk and write access

2010-01-06 Thread Martin Landa
Hi all, 2009/12/26 Martin Landa landa.mar...@gmail.com: 2009/12/26 Even Rouault even.roua...@mines-paris.org: As 1.7.0 release should happen soon, the top priority is to be careful not to break GDAL building. You can have a look at the various slavebots at http://buildbot.osgeo.org:8500

[gdal-dev] buiding gdal with Visual C++ 2008

2010-01-07 Thread Martin Landa
\nmake.EXE' : return code '0x2' Stop. Project : error PRJ0019: A tool returned an error code from Performing Makefile project actions I am not sure what is wrong (no experience with VC compiler...). Thanks, Martin -- Martin Landa landa.martin gmail.com * http://gama.fsv.cvut.cz/~landa

Re: [gdal-dev] ogr vfk and write access - Updates on 1.7.0 release plan

2010-01-07 Thread Martin Landa
the code in r18449. The driver is not compiled by default. Tested on GNU/Linux with g++ 4.3.4, compilation using VC compiler in progress. Martin -- Martin Landa landa.martin gmail.com * http://gama.fsv.cvut.cz/~landa ___ gdal-dev mailing list gdal-dev

[gdal-dev] Re: buiding gdal with Visual C++ 2008

2010-01-07 Thread Martin Landa
: 'C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\cl.EXE' : return code '0x2' Stop. NMAKE : fatal error U1077: 'C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\nmake.EXE' : return code '0x2' Stop. even I set up MSVC_VER=1500 in nmake.opt. Martin -- Martin Landa landa.martin gmail.com

[gdal-dev] Re: buiding gdal with Visual C++ 2008

2010-01-07 Thread Martin Landa
in r18453 r18454 (untested due to my problems with building GDAL using VC). Martin -- Martin Landa landa.martin gmail.com * http://gama.fsv.cvut.cz/~landa ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal

[gdal-dev] transactions and ExecuteSQL

2011-08-19 Thread Martin Landa
, NULL); poLayer-CommitTransaction(); Calling StartTransaction() and CommitTransaction() has no effect since ExecuteSQL() calls FlushSoftTransaction(). How to deal with that? Thanks in advance, Martin -- Martin Landa landa.martin gmail.com * http://geo.fsv.cvut.cz/~landa

[gdal-dev] ogr-pg: GetFeature() speed

2011-08-23 Thread Martin Landa
0m0.248s user0m0.116s sys 0m0.012s Are there any possibilities how to speed up random access (not speaking about sample application where should be used seq access). Thanks in advance, Martin -- Martin Landa landa.martin gmail.com * http://geo.fsv.cvut.cz/~landa

[gdal-dev] broken wms examples (frmt page)

2012-01-02 Thread Martin Landa
services! ERROR 1: frmt_wms_onearth_global_mosaic.xml, band 1: IReadBlock failed at X offset 0, Y offset 0 I am using gdal from SVN trunk. Best regards, Martin Landa [1] http://www.gdal.org/frmt_wms.html -- Martin Landa landa.martin gmail.com * http://geo.fsv.cvut.cz/~landa

[gdal-dev] OGR-VFK in 1.9

2012-01-18 Thread Martin Landa
for clarification. Martin [1] http://gdal.org/ogr/drv_vfk.html [2] http://trac.osgeo.org/gdal/log/trunk/gdal/ogr/ogrsf_frmts/vfk -- Martin Landa landa.martin gmail.com * http://geo.fsv.cvut.cz/~landa ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http

[gdal-dev] metadata - OGRLayer::GetInfo()

2012-03-03 Thread Martin Landa
) metadata when developing OGR driver. Thanks for the clarification. Martin -- Martin Landa landa.martin gmail.com * http://geo.fsv.cvut.cz/~landa ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] problem with compiling grass with gdal

2012-10-23 Thread Martin Landa
-- Martin Landa landa.martin gmail.com * http://geo.fsv.cvut.cz/~landa ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] problem with compiling grass with gdal

2012-10-24 Thread Martin Landa
/libhdf5.so.7 Martin -- Martin Landa landa.martin gmail.com * http://geo.fsv.cvut.cz/~landa ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] OGR-VFK in 1.9

2012-10-26 Thread Martin Landa
bug entry. I have filled the ticket for this issue [1]. If a wiki page is also required I will prepare it too. Thanks for info in advance. Best regards, Martin [1] http://trac.osgeo.org/gdal/ticket/4872 -- Martin Landa landa.martin gmail.com * http://geo.fsv.cvut.cz/~landa

Re: [gdal-dev] problem with compiling grass with gdal

2012-11-03 Thread Martin Landa
Hi, 2012/10/24 Martin Landa landa.mar...@gmail.com: Perhaps try to diff the output of ldd libgdal.so ?? Apparently libstdc++.so.6 is missing in trunk. seems to be solved. $ gdal-config --version 2.0.0 $ ldd /usr/local/lib/libgdal.so | grep 'c++' libstdc++.so.6 = /usr/lib/x86_64

Re: [gdal-dev] problem with compiling grass with gdal

2012-11-03 Thread Martin Landa
Hi, 2012/11/3 Even Rouault even.roua...@mines-paris.org: Yes, I think that the recent commit in http://trac.osgeo.org/gdal/changeset/25195 fixed the issue. seems to be like that, thanks for info, Martin -- Martin Landa landa.martin gmail.com * http://geo.fsv.cvut.cz/~landa

Re: [gdal-dev] OGR-VFK in 1.9

2012-11-04 Thread Martin Landa
Hi, 2012/10/26 Martin Landa landa.mar...@gmail.com: However, as your changes only affect your driver, I think it would be easier to commit them to 1.9.0 without an RFC. It would be easier if you prepare a small wiki page (similar to RFCs) describing the changes, and create at least one bug

Re: [gdal-dev] OGR-VFK in 1.9

2012-12-28 Thread Martin Landa
Hi, 2012/11/5 Etienne Tourigny etourigny@gmail.com: e, the vfk driver would be optional (or at least could be disabled), so should not create any problems for people that do not compile it, right? there is `--without-vfk` to disable VFk driver if needed. Martin -- Martin Landa

[gdal-dev] FileGDB for rasters

2013-02-03 Thread Martin Landa
Hi, I found FileGDB driver in OGR very useful. Is there any plan to implement FileGDB driver also for rasters [1] (as a GDAL driver). Thanks, Martin [1] http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//009t002z00 -- Martin Landa landa.martin gmail.com * http

Re: [gdal-dev] FileGDB for rasters

2013-02-03 Thread Martin Landa
Hi, 2013/2/3 Smith, Michael ERDC-RDE-CRREL-NH michael.sm...@erdc.dren.mil: The current FileGDB api available from ESRI does not support rasters. It would probably be implemented fairly soon after ESRI provides such capability in their api. I see, thanks for the info! Martin -- Martin Landa

[gdal-dev] gdal - grass 7 (conf)

2013-08-14 Thread Martin Landa
for reply in advance. Martin -- Martin Landa landa.martin gmail.com * http://geo.fsv.cvut.cz/~landa grass-conf.diff Description: Binary data ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] gdal - grass 7 (conf)

2013-08-14 Thread Martin Landa
doesn't mix autoconf version upgrade and your changes. thanks a lot, applied in r26320. Martin -- Martin Landa landa.martin gmail.com * http://geo.fsv.cvut.cz/~landa ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo

Re: [gdal-dev] gdal - grass 7 (conf)

2013-08-14 Thread Martin Landa
Hi, 2013/8/14 Even Rouault even.roua...@mines-paris.org: Cool. Just a question. I see $(PG_INC) in the GNUmakefile : just curious why it is needed ? GRASS 7 vector libraries can be optionally compiled with native PostGIS support [1]. Martin [1]

Re: [gdal-dev] gdal - grass 7 (conf)

2013-08-19 Thread Martin Landa
Hi, 2013/8/14 Even Rouault even.roua...@mines-paris.org: Le mercredi 14 août 2013 14:25:10, Martin Landa a écrit : Hi, 2013/8/14 Even Rouault even.roua...@mines-paris.org: Cool. Just a question. I see $(PG_INC) in the GNUmakefile : just curious why it is needed ? GRASS 7 vector

[gdal-dev] how to implement user specified events and handlers

2013-10-15 Thread Martin Landa
://trac.osgeo.org/gdal/browser/trunk/gdal/ogr/ogrsf_frmts/vfk/vfkreader.cpp#L125 [3] https://github.com/landam/ogr-vfk-testing/blob/master/read-vfk-test/read-vfk.py#L52 -- Martin Landa landa.martin gmail.com * http://geo.fsv.cvut.cz/~landa ___ gdal-dev mailing

[gdal-dev] GML / NAS code redundancy

2014-03-18 Thread Martin Landa
think? Martin [1] http://trac.osgeo.org/gdal/browser/trunk/gdal/ogr/ogrsf_frmts/gml/gmlreader.cpp#L1247 [2] http://trac.osgeo.org/gdal/browser/trunk/gdal/ogr/ogrsf_frmts/nas/nasreader.cpp#L804 -- Martin Landa * http://geo.fsv.cvut.cz/gwiki/Landa

Re: [gdal-dev] GML / NAS code redundancy

2014-03-18 Thread Martin Landa
Hi, 2014-03-18 16:35 GMT+01:00 Even Rouault even.roua...@mines-paris.org: some categories of application schemas easier. See the Registry for GML application schemas paragraph of http://gdal.org/ogr/drv_gml.html. Perhaps your use case could fit into that. right, after digging into the code

Re: [gdal-dev] GML / NAS code redundancy

2014-03-18 Thread Martin Landa
Hi, 2014-03-18 17:25 GMT+01:00 Even Rouault even.roua...@mines-paris.org: right, after digging into the code I discovered that `featureType` from `gml_registry.xml` is checked only in header (first 2048 bytes) [1]. This check fails in my case because features are not included in szHeader

Re: [gdal-dev] GML / NAS code redundancy

2014-03-18 Thread Martin Landa
of the code compared to NAS... Martin -- Martin Landa * http://geo.fsv.cvut.cz/gwiki/Landa ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] GML / NAS code redundancy

2014-03-18 Thread Martin Landa
type not all of them? Martin [1] http://gdal.org/ogr/drv_gml.html -- Martin Landa * http://geo.fsv.cvut.cz/gwiki/Landa ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] GML / NAS code redundancy

2014-03-18 Thread Martin Landa
[1] http://www.cuzk.cz/Uvod/Produkty-a-sluzby/RUIAN/2-Poskytovani-udaju-RUIAN-ISUI-VDP/Vymenny-format-RUIAN/Vymenny-format-RUIAN-(VFR)/2013_08_30_vf_xsd.aspx -- Martin Landa * http://geo.fsv.cvut.cz/gwiki/Landa ___ gdal-dev mailing list gdal-dev

Re: [gdal-dev] GML / NAS code redundancy

2014-04-05 Thread Martin Landa
names are in plural form, features in singular form, eg. data cities city ... /city /cities /data To allow GML driver to create layer 'cities' I need to modify 'GMLHandler::startElementDefault()' method, see 'gmlhandler.diff'. Thanks for any comments in advance, Martin -- Martin

Re: [gdal-dev] GML / NAS code redundancy

2014-04-05 Thread Martin Landa
Hi Even, 2014-04-05 13:17 GMT+02:00 Even Rouault even.roua...@mines-paris.org: gmlregistry.diff looks fine, but it would be good to document elementValue in drv_gml.html I will prepare such patch tomorrow. All in all, I think that the more simpler solution would be to drop that patch and

Re: [gdal-dev] GML / NAS code redundancy

2014-04-05 Thread Martin Landa
(geometry|polygon): PROJCS[S-JTSK / Krovak East North, ... Thanks for any pointers in advance, Martin -- Martin Landa * http://geo.fsv.cvut.cz/gwiki/Landa ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] GML / NAS code redundancy

2014-04-05 Thread Martin Landa
a different SRS. Sure, but in this cases there is only one SRS defined for whole input file. So layer-related SRS would be enough. BTW, do I need to specify SRS separately for each GMLFeatureClass? I found useGlobalSRSName=true noted in the manual, but not explained. Martin -- Martin Landa

Re: [gdal-dev] GML / NAS code redundancy

2014-04-05 Thread Martin Landa
Hi, 2014-04-05 23:50 GMT+02:00 Even Rouault even.roua...@mines-paris.org: [...] Hum, this isn't yet possible, but I can try to see if I can add support for that. Done. See http://trac.osgeo.org/gdal/changeset/27132 thanks a lot! Martin ___

Re: [gdal-dev] GML / NAS code redundancy

2014-04-06 Thread Martin Landa
Dear Even, 2014-04-05 23:50 GMT+02:00 Even Rouault even.roua...@mines-paris.org: Done. See http://trac.osgeo.org/gdal/changeset/27132 it's working perfectly! I found out a small inconsistency when converting data to PostGIS. For layers which have multiple geometries, column name refers to

Re: [gdal-dev] GML / NAS code redundancy

2014-04-06 Thread Martin Landa
CopyLayer()... Martin -- Martin Landa * http://geo.fsv.cvut.cz/gwiki/Landa ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] GML / NAS code redundancy

2014-04-06 Thread Martin Landa
. Martin -- Martin Landa * http://geo.fsv.cvut.cz/gwiki/Landa ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] [EXTERNAL] oci and oracle express 11

2014-04-09 Thread Martin Landa
emp ERROR 1: ORA-12154: TNS:could not resolve the connect identifier specified in unnamed I double-checked user/password, and it seems to be OK, any idea? Martin -- Martin Landa * http://geo.fsv.cvut.cz/gwiki/Landa ___ gdal-dev mailing list gdal-dev

Re: [gdal-dev] [EXTERNAL] oci and oracle express 11

2014-04-09 Thread Martin Landa
but with no success. Martin -- Martin Landa * http://geo.fsv.cvut.cz/gwiki/Landa ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] [EXTERNAL] oci and oracle express 11

2014-04-09 Thread Martin Landa
Hi, 2014-04-10 1:40 GMT+02:00 Smith, Michael ERDC-RDE-CRREL-NH michael.sm...@erdc.dren.mil: Hmm, this one should have work ogrinfo -ro OCI:user/password@geo1:1521/xe -sql select count(*) from emp You can use debug mode and see what might be going on. This is windows I see so try SET

Re: [gdal-dev] [EXTERNAL] oci and oracle express 11

2014-04-10 Thread Martin Landa
Hi, 2014-04-10 3:27 GMT+02:00 Smith, Michael ERDC-RDE-CRREL-NH michael.sm...@erdc.dren.mil: If user/passwd@xe works in sqlplus, you can use that in OGR. Its using the same libs to connect. Try ogrinfo -ro OCI:user/passwd@xe I already tried that but without success... ERROR 1: ORA-12154:

Re: [gdal-dev] Reminder: GDAL 1.11.0RC1 planned to be packaged tomorrow evening

2014-04-10 Thread Martin Landa
in advance... Martin -- Martin Landa * http://geo.fsv.cvut.cz/gwiki/Landa ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] [EXTERNAL] oci and oracle express 11

2014-04-10 Thread Martin Landa
/xe OCI:user/passwd@xe but still with no success. Any idea what I am doing wrong? I I try to connect using sqldeveloper, it's using xe_landa user@//localhost:1521/xe so I tried also OCI:user/passwd@//localhost:1521/xe but it also failed... Thanks in advance! Martin -- Martin Landa * http

Re: [gdal-dev] [EXTERNAL] oci and oracle express 11

2014-04-10 Thread Martin Landa
Hi, 2014-04-10 21:47 GMT+02:00 Mateusz Łoskot mate...@loskot.net: On 10 April 2014 21:39, Martin Landa landa.mar...@gmail.com wrote: C:\oraclexe\app\oracle\product\11.2.0\server\hs\admin\tnsnames.ora The file contains: XE = (DESCRIPTION= (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT

Re: [gdal-dev] [EXTERNAL] oci and oracle express 11

2014-04-10 Thread Martin Landa
-technologies/express-edition/downloads/index.html -- Martin Landa * http://geo.fsv.cvut.cz/gwiki/Landa ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] [EXTERNAL] oci and oracle express 11

2014-04-11 Thread Martin Landa
Hi all, 2014-04-11 4:00 GMT+02:00 Ivan Lucena lucena_i...@hotmail.com: [...] I know that is not the same situation you have, but when I need to run GDAL build for Win32 on my Win64 machine I need to place an OCI.DLL from a InstantClient-32 first on my PATH. Otherwise it will try to load the

[gdal-dev] ogr oracle unable to create index

2014-04-15 Thread Martin Landa
OBCE_IDX ON OBCE(ORA_GEOMETRY) INDEXTYPE IS MDSYS.SPATIAL_INDEX OCI: Prepare(DROP INDEX OBCE_IDX) Any similar experience or ideas what could be wrong (testing GDAL from trunk on MS Windows)? Thanks in advance, Martin -- Martin Landa * http://geo.fsv.cvut.cz/gwiki/Landa

[gdal-dev] ogr oracle multiple geometries

2014-04-15 Thread Martin Landa
such experience? Thanks in advance, Martin -- Martin Landa * http://geo.fsv.cvut.cz/gwiki/Landa ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] GML / NAS code redundancy

2014-04-16 Thread Martin Landa
Hi, 2014-04-05 12:36 GMT+02:00 Martin Landa landa.mar...@gmail.com: First is related to GML registry. The input file contains different layers based on its internal type (TypSouboru). For each of these types are prepared separated GFS file. !-- Czech VFR schame-- namespace prefix=vf

[gdal-dev] ogr2ogr -f OCI fails on Windows

2014-04-16 Thread Martin Landa
, :field_18, :field_19, :field_20, :field_21, :fi eld_22, :field_23, :field_24, :field_25, :field_26, :field_27, :field_28, :field_29, :field_30) ) OCI: Prepare(SELECT MAX(OGR_FID) FROM STAVEBNIOBJEKTY) Any idea? Thanks in advance! Martin -- Martin Landa * http://geo.fsv.cvut.cz/gwiki

Re: [gdal-dev] ogr2ogr -f OCI fails on Windows

2014-04-18 Thread Martin Landa
Hi, 2014-04-18 18:55 GMT+02:00 Ivan Lucena lucena_i...@hotmail.com: The driver should create the column as VARCHAR2, not VARCHAR [1]. It is wrong for several reasons [2] and there is a possibility that the amount of data you are loading is too big for the wrong data type. Can you change that

Re: [gdal-dev] gdal trunk version

2014-04-18 Thread Martin Landa
) +++ VERSION (working copy) @@ -1 +1 @@ -1.12dev +1.11.0 ? Martin -- Martin Landa * http://geo.fsv.cvut.cz/gwiki/Landa ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] Motion: Promote 1.11.0RC1 for release

2014-04-20 Thread Martin Landa
own testing and validation. Input from everyone else who can test it is also very welcome. sorry for the noise, I would just expect that RC period will take about two weeks. In any case no objections, just my 2eurocents, Martin -- Martin Landa * http://geo.fsv.cvut.cz/gwiki/Landa

Re: [gdal-dev] [EXTERNAL] Re: ogr oracle multiple geometries

2014-04-20 Thread Martin Landa
Hi, 2014-04-16 2:05 GMT+02:00 Smith, Michael ERDC-RDE-CRREL-NH michael.sm...@erdc.dren.mil: Oracle does support multiple geometry columns per table. all, but even if it does, nobody has upgraded yet the driver to RFC 41. OK, I started to work on it. Martin -- Martin Landa * http

[gdal-dev] debug ogr2ogr on Windows

2014-04-24 Thread Martin Landa
], but with no success. Is there any cookbook available online? Thanks for any useful tips in advance! Martin [1] http://msdn.microsoft.com/en-us/library/0bxe8ytt.aspx -- Martin Landa * http://geo.fsv.cvut.cz/gwiki/Landa ___ gdal-dev mailing list gdal-dev@lists.osgeo.org

Re: [gdal-dev] debug ogr2ogr on Windows

2014-04-24 Thread Martin Landa
[back to ML] 2014-04-24 23:18 GMT+02:00 David Strip da...@stripfamily.net: do you have access to visual studio? sure, as I noted, building using package.cmd script (nmake-based). I have VS 2010 Express. Martin ___ gdal-dev mailing list

Re: [gdal-dev] debug ogr2ogr on Windows

2014-04-25 Thread Martin Landa
Hi Ivan, 2014-04-24 23:27 GMT+02:00 Ivan Lucena lucena_i...@hotmail.com: first of all, thanks a lot for very useful notes! Press F7 will build everything but you don't need to do that if you have done in command line. I tried to build GDAL also from VC, but it ends with 1 lib /nologo

Re: [gdal-dev] debug ogr2ogr on Windows

2014-04-25 Thread Martin Landa
for the noise. Martin -- Martin Landa * http://geo.fsv.cvut.cz/gwiki/Landa ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] debug ogr2ogr on Windows

2014-04-26 Thread Martin Landa
Hi, 2014-04-25 21:37 GMT+02:00 Joaquim Luis jl...@ualg.pt: File - Open - Project/Solution and load the executable. Yes, the executable. Than go to Project - Properties and, if needed change the Working directory, fill the Arguments field with the command line options (but NOT the programs

Re: [gdal-dev] debug ogr2ogr on Windows

2014-04-26 Thread Martin Landa
Hi, 2014-04-26 14:56 GMT+02:00 Martin Landa landa.mar...@gmail.com: I tried to rebuild GDAL with OCI (not as a plugin). Then I can place a brakepoint (no warning) to OCI driver, but when I debug ogr2ogr.exe the debugger doesn't stop on this brakepoint. If I place another brakepoint for e.g

Re: [gdal-dev] ogr2ogr -f OCI fails on Windows

2014-05-02 Thread Martin Landa
Hi, 2014-04-18 18:55 GMT+02:00 Ivan Lucena lucena_i...@hotmail.com: The driver should create the column as VARCHAR2, not VARCHAR [1]. It is wrong for several reasons [2] and there is a possibility that the amount of data you are loading is too big for the wrong data type. Can you change that

Re: [gdal-dev] ogr2ogr -f OCI fails on Windows

2014-05-02 Thread Martin Landa
Hi Ivan, 2014-05-02 17:59 GMT+02:00 Ivan Lucena lucena_i...@hotmail.com: Here is a list of the issues that I am planning to fix on that driver, once I have time, bur if you think they are important for you too we can share the work. The first item you have already started but you might think

[gdal-dev] ogr python pg GetLayerByName / CreateLayer

2014-05-20 Thread Martin Landa
what to check if layer exists... Layer not found, creating... Using GDAL 1.12dev, PostGIS 2.1. Thanks, Martin -- Martin Landa * http://geo.fsv.cvut.cz/gwiki/Landa ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman

Re: [gdal-dev] ogr python pg GetLayerByName / CreateLayer

2014-05-20 Thread Martin Landa
/ogrpgtablelayer.cpp#L380 no, it's not new to dev version. Anyway done in r27369. Martin -- Martin Landa * http://geo.fsv.cvut.cz/gwiki/Landa ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] driver pages

2014-05-28 Thread Martin Landa
Hi, after RFC-46, the original location of OGR driver pages is broken, eg. http://www.gdal.org/ogr/drv_shapefile.html Would be nice to add redirection... Thanks, Martin -- Martin Landa * http://geo.fsv.cvut.cz/gwiki/Landa ___ gdal-dev mailing list

Re: [gdal-dev] driver pages

2014-05-28 Thread Martin Landa
! Martin -- Martin Landa * http://geo.fsv.cvut.cz/gwiki/Landa ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] ogr2ogr and RFC41

2014-06-11 Thread Martin Landa
://trac.osgeo.org/gdal/wiki/rfc41_multiple_geometry_fields -- Martin Landa * http://geo.fsv.cvut.cz/gwiki/Landa ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] ogr2ogr and RFC41

2014-06-11 Thread Martin Landa
to select geometry column when destination data source doesn't support RFC-41, what do you think? Martin -- Martin Landa * http://geo.fsv.cvut.cz/gwiki/Landa ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo

[gdal-dev] python scripts - create layer problem

2014-07-09 Thread Martin Landa
://github.com/landam/ogr-vfr/blob/master/vfr4ogr/ogr.py#L156 [2] https://github.com/landam/ogr-vfr/blob/master/vfr4ogr/ogr.py#L164 [3] http://geo102.fsv.cvut.cz/~landa/log -- Martin Landa * http://geo.fsv.cvut.cz/gwiki/Landa ___ gdal-dev mailing list gdal

Re: [gdal-dev] python scripts - create layer problem

2014-07-11 Thread Martin Landa
random, usually one or two layers are missing in output DB... Martin -- Martin Landa * http://geo.fsv.cvut.cz/gwiki/Landa ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] python scripts - create layer problem

2014-07-11 Thread Martin Landa
Hi, 2014-07-11 9:07 GMT+02:00 Martin Landa landa.mar...@gmail.com: It's random, usually one or two layers are missing in output DB... I checked also all tables with psql vfr -c SELECT * FROM information_schema.tables WHERE table_schema = 'public' Some tables (one or two) are simply

Re: [gdal-dev] gdal gml driver field type

2014-07-25 Thread Martin Landa
. In the meantime, you will have to declare the type as String. OK, thanks. I will fix GFS files in this way. Martin -- Martin Landa * http://geo.fsv.cvut.cz/gwiki/Landa ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo

Re: [gdal-dev] gdal gml driver field type

2014-07-30 Thread Martin Landa
Hi Even, 2014-07-25 11:44 GMT+02:00 Martin Landa landa.mar...@gmail.com: OGR integers are only 32 bit wide for now. There's a draft RFC about introducing 64 bit integers. Pending from being complemented and implemented. btw, [1] any idea if somebody is working on that? Thanks, Martin [1

Re: [gdal-dev] python scripts - create layer problem

2014-08-01 Thread Martin Landa
PostgreSQL instance ? I tried your suggestions and then I checked again my scripts. The problem was not in GDAL, but in my scripts. Sorry for the noise and thanks for your help! Martin -- Martin Landa * http://geo.fsv.cvut.cz/gwiki/Landa ___ gdal-dev

[gdal-dev] feature.clone() - same featuredefn

2014-08-02 Thread Martin Landa
am getting same reference to OGRFeatureDefn. osgeo.ogr.FeatureDefn; proxy of Swig Object of type 'OGRFeatureDefnShadow *' at 0x7f86b7b84a20 osgeo.ogr.FeatureDefn; proxy of Swig Object of type 'OGRFeatureDefnShadow *' at 0x7f86b7b84a20 ? Thanks for clarification in advance, Martin -- Martin

[gdal-dev] oci driver rfc 41 (funding)

2014-08-02 Thread Martin Landa
would be able to fund completation of RFC41 for OCI driver and give me a possibility to finish this project. Thanks for any tips in advance, Martin [1] http://trac.osgeo.org/gdal/wiki/rfc41_multiple_geometry_fields -- Martin Landa * http://geo.fsv.cvut.cz/gwiki/Landa

Re: [gdal-dev] feature.clone() - same featuredefn

2014-08-02 Thread Martin Landa
-- Martin Landa * http://geo.fsv.cvut.cz/gwiki/Landa ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] export to postgis, ogc_fid_seq

2014-08-02 Thread Martin Landa
script? Thanks, Martin -- Martin Landa * http://geo.fsv.cvut.cz/gwiki/Landa ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] Feature style page

2014-08-03 Thread Martin Landa
Hi, small note, the page about feature styles [1] lacks images. Martin [1] http://www.gdal.org/ogr_feature_style.html -- Martin Landa * http://geo.fsv.cvut.cz/gwiki/Landa ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org

Re: [gdal-dev] Feature style page

2014-08-03 Thread Martin Landa
the next refresh from SVN they should be reinstalled. In the meantime you can see them from http://www.gdal.org/1.11/ogr/ogr_feature_style.html cool, thanks a lot for super-quick fix! Martin -- Martin Landa * http://geo.fsv.cvut.cz/gwiki/Landa ___ gdal

Re: [gdal-dev] export to postgis, ogc_fid_seq

2014-08-04 Thread Martin Landa
Hi, 2014-08-03 10:30 GMT+02:00 Even Rouault even.roua...@mines-paris.org: Does your script explicitely set the FID before calling CreateFeature() ? If [...] right, You likely need to explicitely call setval() I will update my script accordingly. Thanks, Martin -- Martin Landa * http

Re: [gdal-dev] feature.clone() - same featuredefn

2014-08-04 Thread Martin Landa
; proxy of Swig Object of type 'OGRFeatureDefnShadow *' at 0x7fbf0d95fae0 I am not sure why... Thanks for clarification in advance, Martin -- Martin Landa * http://geo.fsv.cvut.cz/gwiki/Landa ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http

Re: [gdal-dev] feature.clone() - same featuredefn

2014-08-04 Thread Martin Landa
) print feature.GetDefnRef().GetGeomFieldCount(), feature.GetDefnRef().GetFieldCount() print ofeature.GetDefnRef().GetGeomFieldCount(), ofeature.GetDefnRef().GetFieldCount() 2 31 0 31 -- 0!!! Martin -- Martin Landa * http://geo.fsv.cvut.cz/gwiki/Landa

[gdal-dev] feature styles: svg symbol

2014-08-04 Thread Martin Landa
/ogr_feature_style.html -- Martin Landa * http://geo.fsv.cvut.cz/gwiki/Landa ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] feature styles: svg symbol

2014-08-04 Thread Martin Landa
? Martin -- Martin Landa * http://geo.fsv.cvut.cz/gwiki/Landa ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] feature styles: svg symbol

2014-08-04 Thread Martin Landa
Hi, 2014-08-04 20:21 GMT+02:00 Even Rouault even.roua...@mines-paris.org: [...] And the reverse code also exists. what do you mean by that? Thanks for clarification in advance, Martin -- Martin Landa * http://geo.fsv.cvut.cz/gwiki/Landa ___ gdal

Re: [gdal-dev] feature styles: svg symbol

2014-08-04 Thread Martin Landa
/ogrlibkmlstyle.cpp, line 170 and following. ah, thanks. Martin -- Martin Landa * http://geo.fsv.cvut.cz/gwiki/Landa ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] GetFeatureCount() bForce set to FALSE

2014-09-08 Thread Martin Landa
? Thanks in advance, Martin [1] http://trac.osgeo.org/gdal/browser/trunk/gdal/ogr/ogrsf_frmts/vfk/ogr_vfk.h#L83 -- Martin Landa * http://geo.fsv.cvut.cz/gwiki/Landa ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo

Re: [gdal-dev] GetFeatureCount() bForce set to FALSE

2014-09-09 Thread Martin Landa
the code, ie. int GetFeatureCount(int = FALSE); locally. I agree that it's a bad practice and I solved the problem based on Even's suggestion. Martin -- Martin Landa * http://geo.fsv.cvut.cz/gwiki/Landa ___ gdal-dev mailing list gdal-dev

[gdal-dev] arcs and circles as OGR geometry

2014-09-10 Thread Martin Landa
, is it right? Thanks a lot, Martin -- Martin Landa * http://geo.fsv.cvut.cz/gwiki/Landa ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] arcs and circles as OGR geometry

2014-09-10 Thread Martin Landa
, to be able to work on that. thanks for info! Martin -- Martin Landa * http://geo.fsv.cvut.cz/gwiki/Landa ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

  1   2   3   >