Re: [gdal-dev] Selecting Python during configuration

2012-11-01 Thread James Hiebert
Michael, --with-python sets the path to the python binary that you want to use and while that may not intuitively seem like it sets the install path, it actually does. If you have multiple separate python binaries installed on the system (e.g. from using virtualenv), generally each one of them

Re: [gdal-dev] Selecting Python during configuration

2012-11-01 Thread Charlie Sharpsteen
On Thu, Nov 1, 2012 at 6:01 PM, Michael Speth wrote: > Greetings, > > I am attempting to compile gdal with python support. However, I don't > want to use the system installed python; I want to use a locally compiled > version of python. I am unable to find how to select the python version to

[gdal-dev] Selecting Python during configuration

2012-11-01 Thread Michael Speth
Greetings, I am attempting to compile gdal with python support. However, I don't want to use the system installed python; I want to use a locally compiled version of python. I am unable to find how to select the python version to use with the gdal install. It seems that --with-python doesn'

[gdal-dev] Introduction to WELD Products Using Open Source Software

2012-11-01 Thread Giuseppe Amatulli
Hi, at AGU FALL MEETING San Francisco 3-7 December 2012 [1] there will be a course in: Introduction to the Web-Enabled Landsat Data (WELD) Products Using Open Source Software [2] During the workshop we will go through same material stored at http://www.spatial-ecology.net plus a specific exercis

Re: [gdal-dev] Ogr and Dwg via Teigha (in C#)

2012-11-01 Thread Noon Silk
On Mon, Oct 29, 2012 at 11:34 PM, Tamas Szekeres wrote: > You might also take a look at the -dev packages at > http://www.gisinternals.com/sdk/ > The compilation is controlled by a single makefile, so you can use: > > nmake gdal > nmake gdal-csharp Thanks; I happened to grab the "MSVC2005 (Win64)

Re: [gdal-dev] DGN File with 10 layers recognized in OGR only 1 layer + DGN to SVG converter

2012-11-01 Thread Frank Warmerdam
On Thu, Nov 1, 2012 at 3:11 PM, Miroslav Karpis wrote: > Hi, please can you help me with following: > > 1) When I open DGN file which has for example 10 layers, > OGRDataSource::GetLayerCont () returns 1. What can be the problem? The > documentation says that OGR DGN is supporting layers. > Miro

[gdal-dev] DGN File with 10 layers recognized in OGR only 1 layer + DGN to SVG converter

2012-11-01 Thread Miroslav Karpis
Hi, please can you help me with following: 1) When I open DGN file which has for example 10 layers, OGRDataSource::GetLayerCont () returns 1. What can be the problem? The documentation says that OGR DGN is supporting layers. 2) Does anybody know about an example of conversion from DGN to SVG?

Re: [gdal-dev] state of RFC #26 adoption?

2012-11-01 Thread Tamas Szekeres
Hi Konstantin, As far as I remember, I'd require some further testing efforts to make sure the code is feasible in all conditions. This RFC targets a fairly substantial part of the code, that should be handled with care. But the client who required this fix (with the intent to fix problems address

Re: [gdal-dev] state of RFC #26 adoption?

2012-11-01 Thread Frank Warmerdam
Konstantin, It does not appear that the RFC was brought up for vote, or the patch applied. Possibly Tamas can comment further. Best regards, Frank On Thu, Nov 1, 2012 at 12:32 PM, Konstantin Baumann < konstantin.baum...@autodesk.com> wrote: > Hi all, > > what is the current state of the adopti

Re: [gdal-dev] python CreateFeature() error when converting OGR features from gpsbabel layer to PostGIS layer

2012-11-01 Thread Even Rouault
Selon James Hiebert : > Hi All, > > For months I've been happily pulling GPS tracks into PostGIS using ogr in a > pretty simple python script. The essence of it approximately this: > > rlyr = ogr.Open(gpsbabel_src).GetLayerByName('tracks') > wlyr = ogr.Open(pg_con_string).GetLayerByName('tracks')

Re: [gdal-dev] problem converting a FileGDB to PostGIS using ogr2ogr

2012-11-01 Thread Jukka Rahkonen
Martin Feuchtwanger shaw.ca> writes: > Using OSGeo4W shell command    c:\OSGeo4W\bin\ogr2ogr -f "PostgreSQL" PG:"dbname=test > user=postgres" c:\Users\Martin\Documents\test.gdb > i got >     ERROR 1: PQconnectdb failed. >     could not connect to server: Connection refuse

[gdal-dev] state of RFC #26 adoption?

2012-11-01 Thread Konstantin Baumann
Hi all, what is the current state of the adoption and implementation of RFC #26 (http://trac.osgeo.org/gdal/wiki/rfc26_blockcache)? Are there any plans to finalize the development for it? -Konstantin ___ gdal-dev mailing list gdal-dev@lists.osgeo.org

[gdal-dev] problem converting a FileGDB to PostGIS using ogr2ogr

2012-11-01 Thread Martin Feuchtwanger
Hello, i'm new to PostGIS and OSGeo. I have a problem converting a FileGDB to PostGIS using ogr2ogr. First some background on what i've done: Installed OpenGeo Suite Enterprise Edition 3.0 to c:\Program Files (x86)\OpenGeo\OpenGeo Suite\ Did the Introduction to PostGIS tutorial at http://wo

[gdal-dev] python CreateFeature() error when converting OGR features from gpsbabel layer to PostGIS layer

2012-11-01 Thread James Hiebert
Hi All, For months I've been happily pulling GPS tracks into PostGIS using ogr in a pretty simple python script. The essence of it approximately this: rlyr = ogr.Open(gpsbabel_src).GetLayerByName('tracks') wlyr = ogr.Open(pg_con_string).GetLayerByName('tracks') fid_map = {} for feat in rlyr:

Re: [gdal-dev] .tab to .mif with ogr2ogr

2012-11-01 Thread xavier lhomme
It works fine for me with GDAL 1.9.1.The issus coud be depends on the version you used or the datasource. ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] .tab to .mif with ogr2ogr

2012-11-01 Thread Wael Tarhouni
Chaitanya, GDAL's version is 1.7.0b2 and FWTools's version is 2.4.7; Regards 2012/11/1 Wael Tarhouni > Chaitanya, > > GDAL's version is 1.7.0b2 and FWTools's version is 2.4.7; > > Regards > > > 2012/11/1 Chaitanya kumar CH > >> Wael, >> >> Can you give more details like the version of GDAL yo

Re: [gdal-dev] .tab to .mif with ogr2ogr

2012-11-01 Thread Chaitanya kumar CH
Wael, Can you give more details like the version of GDAL you are using and an output of ogrinfo of the source? (Use "ogr2ogr --version") On Thu, Nov 1, 2012 at 4:04 PM, Wael Tarhouni wrote: > Hi All; > > I'm tryin to convert a .tab file(Mapinfo) to a .mif file using the > following command : >

[gdal-dev] .tab to .mif with ogr2ogr

2012-11-01 Thread Wael Tarhouni
Hi All; I'm tryin to convert a .tab file(Mapinfo) to a .mif file using the following command : ogr2ogr -f "MapInfo File" dst_datasource -dsco FORMAT=MIF src_datasource but FWtools crashes !! is there any problem with this command line ? Best regards -- Wael Tarhouni Élève ingénieur en Réseau