[gdal-dev] How to concatenate with newlines by using OGR SQL?

2012-07-30 Thread Jukka Rahkonen
Hi, I was playing with the new OSM driver and tried to transfer some POI features into my GPS. It goes well by using GPX format in between. However, I have a little problem. My GPS supports multiline descriptions but I do not know how to insert newlines into the output of ogr2ogr. The following

Re: [gdal-dev] Python Bindings - ReadArray direct to ctypes array?

2012-07-30 Thread Chris Barker
On Mon, Jul 30, 2012 at 8:19 AM, Jay L. wrote: > Chris, > > Thanks for the link / info. My issue is not working with the ctypes array, > but the fact that, I believe, GDAL returns a numpy array using > gdal.ReadAsArray(). Perhaps it is possible to use the GDAL python bindings > ReadAsArray() to

[gdal-dev] gdalbuildvrt problem with heterogenous band characteristics

2012-07-30 Thread CABO
Hi! I'm trying to create a VRT file from 4 GeoTIFFs using gdalbuildvrt. Three of the GeoTIFFs are created using OrthoVista and the last one created with an earlier version of the same program. When I run gdalbuildvrt I get the following error message when I try to add the file created by the ea

Re: [gdal-dev] Python Bindings - ReadArray direct to ctypes array?

2012-07-30 Thread Even Rouault
Selon "Jay L." : > One more, likely, foolish question. > > Where is libgdal.dylib living on OSX? I have used the Kyngchaos binary > installer and it looks like it renames libgdal.dylib to simply GDAL. > Should I be soft linking that libgdal.dylib? > > Also, evan's test [1] looks like it is using

Re: [gdal-dev] Python Bindings - ReadArray direct to ctypes array?

2012-07-30 Thread Jay L.
One more, likely, foolish question. Where is libgdal.dylib living on OSX? I have used the Kyngchaos binary installer and it looks like it renames libgdal.dylib to simply GDAL. Should I be soft linking that libgdal.dylib? Also, evan's test [1] looks like it is using simply libgdal.dylib. Is tha

Re: [gdal-dev] how to set proxy authentication method for WMS

2012-07-30 Thread Even Rouault
Selon Livneh Yehiyam : > > Hi > Is it possible to set the proxy authentication method to NTLM using either > the config options or the environment? > I noticed that it is possible to set the proxy server and user:password, and > also the http authentication method, but I couldn't find the proxy se

Re: [gdal-dev] gdalsrsinfo "ERROR - failed to load SRS definition"

2012-07-30 Thread Etienne Tourigny
There might be an other tool that can translate WKT or PROJ.4 strings to/from GML CRS definition? Etienne On Mon, Jul 30, 2012 at 12:28 PM, Even Rouault wrote: > Selon Piero Campalani : > >> Thanks Even, >> I suspected this, GML is still not that widely used for CRS definition >> seemingly. >> >

Re: [gdal-dev] gdalsrsinfo "ERROR - failed to load SRS definition"

2012-07-30 Thread Even Rouault
Selon Piero Campalani : > Thanks Even, > I suspected this, GML is still not that widely used for CRS definition > seemingly. > > Unluckily I have strong reasons to use GML, so do you know if there are is > some developing in progress to support a wider range of projections from/to > the XML repres

Re: [gdal-dev] Python Bindings - ReadArray direct to ctypes array?

2012-07-30 Thread Jay L.
Chris, Thanks for the link / info. My issue is not working with the ctypes array, but the fact that, I believe, GDAL returns a numpy array using gdal.ReadAsArray(). Perhaps it is possible to use the GDAL python bindings ReadAsArray() to go directly into a ctypes array (as opposed to the wonderfu

[gdal-dev] how to set proxy authentication method for WMS

2012-07-30 Thread Livneh Yehiyam
Hi Is it possible to set the proxy authentication method to NTLM using either the config options or the environment? I noticed that it is possible to set the proxy server and user:password, and also the http authentication method, but I couldn't find the proxy setting. The curl options that nee

Re: [gdal-dev] gdalsrsinfo "ERROR - failed to load SRS definition"

2012-07-30 Thread Piero Campalani
Thanks Even, I suspected this, GML is still not that widely used for CRS definition seemingly. Unluckily I have strong reasons to use GML, so do you know if there are is some developing in progress to support a wider range of projections from/to the XML representation? Piero On 30 July 2012 15:3

Re: [gdal-dev] gdalsrsinfo "ERROR - failed to load SRS definition"

2012-07-30 Thread Even Rouault
Piero, > Dear list, > (PREFACE: I was looking for a *gdal-users* list but I could see it does not > exists; I hope I am in the right place) You're in the right place. There's only one mailing list for GDAL users, developers, followers, fans, etc... ;-) > Any hint about the source of error? > Is

[gdal-dev] gdalsrsinfo "ERROR - failed to load SRS definition"

2012-07-30 Thread Piero Campalani
Dear list, (PREFACE: I was looking for a *gdal-users* list but I could see it does not exists; I hope I am in the right place) I started playing with the relatively new /gdalsrsinfo/ utility for forward/backward translation to GML-based definitions of CRS. I am trying to first get my XML definitio

Re: [gdal-dev] wms support not enabled with ceratin LDFLAGS set

2012-07-30 Thread Even Rouault
Selon Oliver Burger : > Hi, > > one of our users spotted a regression in gdal >= 1.9.x: > https://bugs.mageia.org/show_bug.cgi?id=6434 > > The problem seems to be with our default LDFLAGS we use on the package > build system: > LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 > -W

Re: [gdal-dev] OSM Driver and World Planet file (pbf format)

2012-07-30 Thread Jukka Rahkonen
Jukka Rahkonen mmmtike.fi> writes: > I borrowed my son's computer and made one more test. Important numbers about the > computer: > Windows 7, 64 -bit > Four-core Intel i5 2500k @3,3 GHz > SSD disk > > Timings for germany.osm.pbf by using -lco SPATIAL_INDEX=NO. Times are total > times from t

[gdal-dev] wms support not enabled with ceratin LDFLAGS set

2012-07-30 Thread Oliver Burger
Hi, one of our users spotted a regression in gdal >= 1.9.x: https://bugs.mageia.org/show_bug.cgi?id=6434 The problem seems to be with our default LDFLAGS we use on the package build system: LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags'