Re: [gdal-dev] handle GRIB files in polar stereographic projection

2014-10-06 Thread Kyle Shannon
Daniel, Can you report your GDAL version, and perhaps a sample dataset? On Mon, Oct 6, 2014 at 1:32 PM, teeschke wrote: > Dear list, > > I am having trouble to handle grib files, that are polar stereographic > projected. My goal is to reproject the grib into WGS84, but gdalinfo and > gdalwrap can

Re: [gdal-dev] SQLite dialect with GeoPackage

2014-10-06 Thread Even Rouault
Le lundi 06 octobre 2014 21:13:04, Stefan Ziegler a écrit : > Ah, still one - hopefully last - question: how can I overwrite a layer in > the gpkg? > > stefan@hatschepsut:~/Downloads$ ogr2ogr -append -f GPKG 2601.gpkg -nln > my_new_layer -lco OVERWRITE=YES -dialect INDIRECT_SQLITE -sql 'SELECT *

[gdal-dev] handle GRIB files in polar stereographic projection

2014-10-06 Thread teeschke
Dear list, I am having trouble to handle grib files, that are polar stereographic projected. My goal is to reproject the grib into WGS84, but gdalinfo and gdalwrap cannot find any data iside the grib. $ gdalinfo south_hemisphere.grb Warning: Inside GRIB2Inventory, Message # 2 ERROR: Ran out of

Re: [gdal-dev] SQLite dialect with GeoPackage

2014-10-06 Thread Stefan Ziegler
Ah, still one - hopefully last - question: how can I overwrite a layer in the gpkg? stefan@hatschepsut:~/Downloads$ ogr2ogr -append -f GPKG 2601.gpkg -nln my_new_layer -lco OVERWRITE=YES -dialect INDIRECT_SQLITE -sql 'SELECT * FROM bodenbedeckung__bbtext WHERE tid IN (SELECT tid FROM bodenbedeck

Re: [gdal-dev] SQLite dialect with GeoPackage

2014-10-06 Thread Stefan Ziegler
This is awesome! Thanks Even. Stefan On Mon, Oct 6, 2014 at 8:55 PM, Even Rouault wrote: > Le lundi 06 octobre 2014 20:48:02, Stefan Ziegler a écrit : > > Hi Even > > > > thanks! INDIRECT_SQLITE works like a charm. I could not figure out the > > syntax to create a new layer in the very same gpk

Re: [gdal-dev] SQLite dialect with GeoPackage

2014-10-06 Thread Even Rouault
Le lundi 06 octobre 2014 20:48:02, Stefan Ziegler a écrit : > Hi Even > > thanks! INDIRECT_SQLITE works like a charm. I could not figure out the > syntax to create a new layer in the very same gpkg file: > > stefan@hatschepsut:~/Downloads$ ogr2ogr -append -f GPKG 2601.gpkg -nln > my_new_layer -di

Re: [gdal-dev] SQLite dialect with GeoPackage

2014-10-06 Thread Stefan Ziegler
Hi Even thanks! INDIRECT_SQLITE works like a charm. I could not figure out the syntax to create a new layer in the very same gpkg file: stefan@hatschepsut:~/Downloads$ ogr2ogr -append -f GPKG 2601.gpkg -nln my_new_layer -dialect INDIRECT_SQLITE -sql 'SELECT * FROM bodenbedeckung__bbtext WHERE tid

Re: [gdal-dev] SQLite dialect with GeoPackage

2014-10-06 Thread Even Rouault
Le lundi 06 octobre 2014 19:41:43, Stefan Ziegler a écrit : > Hi > > When trying to use SQLite dialect with GeoPackage I get some errors, like: > > stefan@hatschepsut:~/Downloads$ ogrinfo -al -sql 'SELECT > ST_X(ST_SnapToGrid(geom,1)) FROM bodenbedeckung__bbtext LIMIT 1' > 2601.gpkgINFO: Open of

[gdal-dev] SQLite dialect with GeoPackage

2014-10-06 Thread Stefan Ziegler
Hi When trying to use SQLite dialect with GeoPackage I get some errors, like: stefan@hatschepsut:~/Downloads$ ogrinfo -al -sql 'SELECT ST_X(ST_SnapToGrid(geom,1)) FROM bodenbedeckung__bbtext LIMIT 1' 2601.gpkgINFO: Open of `2601.gpkg' using driver `GPKG' successful. ERROR 1: In ExecuteSQL()

Re: [gdal-dev] Tags missing on GitHub mirror

2014-10-06 Thread Leif Gruenwoldt
Oh weird. I decided to go ahead and clone the gdal repo locally, but I don't see the tags there either. Maybe it's something to do with the svn -> git migration... Worst case I will use the git SHA1 (184230238828f0f31aed7335e4c8443963437b66) from the 1.4.1 github URL you shared for configuring my

Re: [gdal-dev] Tags missing on GitHub mirror

2014-10-06 Thread Even Rouault
Le lundi 06 octobre 2014 18:08:22, Leif Gruenwoldt a écrit : > I'm trying to add the gdal repo as a git submodule to one > of my projects. My project requires a specific older revision of gdal > (1.4.1) so I want to set the git submodule to that point in time, but it's > hard to do that without the

[gdal-dev] Tags missing on GitHub mirror

2014-10-06 Thread Leif Gruenwoldt
I'm trying to add the gdal repo as a git submodule to one of my projects. My project requires a specific older revision of gdal (1.4.1) so I want to set the git submodule to that point in time, but it's hard to do that without the tags in the GitHub mirror. Can someone push the git tags to the gda

Re: [gdal-dev] NITF YCbCr To RGB?

2014-10-06 Thread Even Rouault
Le lundi 06 octobre 2014 17:02:51, M Lewis a écrit : > We have a software component where users can view/zoom/pan different map > types. > We use GDAL to read the specific part of the image using RasterIO as raw > bytes and then convert to a bitmap for display. > We are now incorporating viewing NI

[gdal-dev] NITF YCbCr To RGB?

2014-10-06 Thread M Lewis
We have a software component where users can view/zoom/pan different map types. We use GDAL to read the specific part of the image using RasterIO as raw bytes and then convert to a bitmap for display. We are now incorporating viewing NITF files and am a little confused in how the NITF driver handle