Re: [gdal-dev] OGR SQL: Excecuting select where column name contains "."

2012-10-08 Thread Odd Ragnar Lydersen
Thanks for the response. I think I will conclude the same as you, and report back to the server developers that this is a bad idea. >Odd-Ragnar< -Original Message- From: Rahkonen Jukka [mailto:jukka.rahko...@mmmtike.fi] Sent: 8. oktober 2012 22:22 To: gdal-dev@lists.osgeo.org Subject: R

[gdal-dev] S57 dataset boundary issue

2012-10-08 Thread Nikhil Sai Parupalli
HI All, , Thanks for the reply in below data NAME_RCNM (IntegerList) = (7:130,130,130,130,130,130,130) NAME_RCID (IntegerList) = (7:691,391,690,52,1336,1503,1512) ORNT (IntegerList) = (7:2,2,2,2,1,1,1) USAG (IntegerList) = (7:1,1,1,1,1,1,1) MASK (IntegerList) = (7:255,255,255,255,25

Re: [gdal-dev] GDAL/OGR 1.9.2 RC2

2012-10-08 Thread Daniel Morissette
On 12-10-08 9:03 PM, Frank Warmerdam wrote: Downloads at: http://download.osgeo.org/gdal/gdal192RC2.zip http://download.osgeo.org/gdal/gdal-1.9.2RC2.tar.gz If no problems are reported, I'll call for a vote on promoting it to final tomorrow. Hi Frank, No problem to report for me after a bui

[gdal-dev] GDAL/OGR 1.9.2 RC2

2012-10-08 Thread Frank Warmerdam
Folks, I have prepared a new 1.9.2 RC which fixes the GDALmake.opt.in issue mentioned by Even. Developers have also been busy in the last few days and you can see the differences to the NEWS file at: http://trac.osgeo.org/gdal/changeset/25088 Downloads at: http://download.osgeo.org/gdal/gd

Re: [gdal-dev] +proj=etmerc in ogr2ogr

2012-10-08 Thread Even Rouault
Le lundi 08 octobre 2012 22:19:13, Simon Lyngby Kokkendorff a écrit : > Hi Even, > > Thanks a lot :-) I'll try the workaround and keep an eye open for when/if > the patch goes into trunk. The patch is now in trunk. See the ticket. ___ gdal-dev mailing

Re: [gdal-dev] OGR SQL: Excecuting select where column name contains "."

2012-10-08 Thread Even Rouault
> There may be something wrong with TinyOWS but it must be noted that it has > passed all the CITE tests for WFS 1.0.0 and 1.1.0. If so well tested > server fails with dots in the field names it is very probable that there > are lots of other servers and clients which will fail too. The CITE tes

Re: [gdal-dev] OGR SQL: Excecuting select where column name contains "."

2012-10-08 Thread Rahkonen Jukka
Even Rouault wrote: >> I can confirm that it is not illegal per se because the following works. I >> hope that the backslashes and everything go through properly. > >> ogrinfo WFS:http://188.64.1.61/cgi-bin/tinyows >> -sql "select \"nom.dept\" from \"tows:dot.test\"" > >> It is an open WFS server

Re: [gdal-dev] +proj=etmerc in ogr2ogr

2012-10-08 Thread Simon Lyngby Kokkendorff
Hi Even, Thanks a lot :-) I'll try the workaround and keep an eye open for when/if the patch goes into trunk. Cheers, Simon On Mon, Oct 8, 2012 at 10:07 PM, Even Rouault wrote: > > However, if I try to run ogr2ogr like: > > > > ogr2ogr -s_srs "EPSG:25832" -t_srs "+proj=etmerc +lat_0=0 +

Re: [gdal-dev] Compile GDAL/OGR with OGDI Support on OSX 10.7.4

2012-10-08 Thread Even Rouault
Le lundi 08 octobre 2012 05:39:20, Samuel Smith a écrit : > Monkeying around with my first GDAL/OGR builds in Mac OS X 10.7.4 tonight > ... Got it built with FGB support, then tried OGDI. > > This required compiling OGDI first, which I eventually got to go with the > 3.2.0-beta2 instructions from

Re: [gdal-dev] +proj=etmerc in ogr2ogr

2012-10-08 Thread Even Rouault
> However, if I try to run ogr2ogr like: > > ogr2ogr -s_srs "EPSG:25832" -t_srs "+proj=etmerc +lat_0=0 +lon_0=9 > +k=0.9996 > +units=m +x_0=50 +datum=WGS84 +nodefs" C:\DHM\analysis\bakke2.shp > C:\DHM\analysis\shape\ > bakke.shp > > I get the following error: > > Failed to process SRS defi

Re: [gdal-dev] OGR SQL: Excecuting select where column name contains "."

2012-10-08 Thread Even Rouault
> I can confirm that it is not illegal per se because the following works. I > hope that the backslashes and everything go through properly. > > ogrinfo WFS:http://188.64.1.61/cgi-bin/tinyows > -sql "select \"nom.dept\" from \"tows:dot.test\"" > > It is an open WFS server and you can test it wi

Re: [gdal-dev] Using GDAL to open password-protected MrSid files

2012-10-08 Thread Kirk McKelvey
It doesn't look like the GDAL MrSID driver currently supports password-protected files. To add support, you would have to provide a way to supply the password, which can be done by implementing a concrete MrSIDPasswordDelegate (MrSID SDK) and set it on the underlying MrSIDImageReader using set

[gdal-dev] Using GDAL to open password-protected MrSid files

2012-10-08 Thread Xavier Ventura Simon
Hi, can anybody provide me with an example on how to use GDAL to read password-protected MrSid files? Thank you! Regards, xavs ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] Compile GDAL/OGR with OGDI Support on OSX 10.7.4

2012-10-08 Thread Samuel Smith
I did that (actually to /usr/includes/ - projects.h alongside proj_api.h) and that let me compile GDAL just fine without OGDI (where before those .h's were noted as missing). I've also put ecs.h in the same place. In turn OGDI compiled fine~ish (thanks to your instructions), it's the extra step of

Re: [gdal-dev] Compile GDAL/OGR with OGDI Support on OSX 10.7.4

2012-10-08 Thread William Kyngesburye
There is a new problem with OGDI that I didn't account for in my build instructions: OGDI isn't updated for the new PROJ headers (that is, no projects.h). You need to copy projects.h to your proj header location. On Oct 7, 2012, at 10:39 PM, Samuel Smith wrote: > Monkeying around with my firs

Re: [gdal-dev] clipping multiple shapefiles from a set of clipping polygons

2012-10-08 Thread Etienne Tourigny
generally speaking new features do not go into current stable version (1.9), they will be incorporated into next stable version (probably 2.0). Etienne On Mon, Oct 8, 2012 at 9:57 AM, Ari Jolma wrote: > On 10/08/2012 03:21 PM, maning sambale wrote: > > Thanks! Is this implemented already in the

Re: [gdal-dev] clipping multiple shapefiles from a set of clipping polygons

2012-10-08 Thread Ari Jolma
On 10/08/2012 03:21 PM, maning sambale wrote: Thanks! Is this implemented already in the stable build? It's currently only in the trunk version. Ari Maning Sambale (mobile) On Oct 8, 2012 7:28 PM, "Ari Jolma" > wrote: On 10/08/2012 02:13 PM, maning sambal

[gdal-dev] +proj=etmerc in ogr2ogr

2012-10-08 Thread Simon Lyngby Kokkendorff
Hi List, For some transformations of data in Greenland we need the extended precision of the etmerc (Extended Transverse Mercator) projection, which is built into proj4.8. I have succesfully built the proj4.8 library and have gotten a definition like, e.g.: +proj=etmerc +lat_0=0 +lon_0=9 +k=0.99

Re: [gdal-dev] clipping multiple shapefiles from a set of clipping polygons

2012-10-08 Thread maning sambale
Thanks! Is this implemented already in the stable build? Maning Sambale (mobile) On Oct 8, 2012 7:28 PM, "Ari Jolma" wrote: > On 10/08/2012 02:13 PM, maning sambale wrote: > >> HI, >> >> I have a shapefile polygon that contains administrative boundaries and >> a several shapefile of various feat

Re: [gdal-dev] clipping multiple shapefiles from a set of clipping polygons

2012-10-08 Thread Ari Jolma
On 10/08/2012 02:13 PM, maning sambale wrote: HI, I have a shapefile polygon that contains administrative boundaries and a several shapefile of various features. I want to create separate shapefiles of each layer feature for each administrative boundaries in the clipping layer. For example, A

[gdal-dev] clipping multiple shapefiles from a set of clipping polygons

2012-10-08 Thread maning sambale
HI, I have a shapefile polygon that contains administrative boundaries and a several shapefile of various features. I want to create separate shapefiles of each layer feature for each administrative boundaries in the clipping layer. For example, AdminPoly1 - AdminPoly1_point.shp - AdminPoly1_

Re: [gdal-dev] OGR SQL: Excecuting select where column name contains "."

2012-10-08 Thread Jukka Rahkonen
Odd Ragnar Lydersen powel.no> writes: > > I see you have been busy discussing how to handle column names which contain dot "." > My problem is that I can't get any reasonable values from the query I make, whether I use "str1.str2" or > 'str1.str2' in my expression. > Please help, or confir

Re: [gdal-dev] OGR SQL: Excecuting select where column name contains "."

2012-10-08 Thread Odd Ragnar Lydersen
I see you have been busy discussing how to handle column names which contain dot "." My problem is that I can't get any reasonable values from the query I make, whether I use "str1.str2" or 'str1.str2' in my expression. In my C++ code this is: a) const char *sSqlQuery = "SELECT \"str1.str2\" FRO