[gdal-dev] gdal_translate file naming for sds and HDF4 files

2013-05-29 Thread Jonathan Greenberg
Folks: I'm using a Windows install of GDAL 1.7.0 (FWTools) -- when I run: gdal_translate -sds -of "GTiff" [some.hdf] "myoutput" The output filenames do not have the .tif extension. If I set the output file to "myoutput.tif", it appends the "layer numbers" to the end of the file, e.g. myoutput.t

Re: [gdal-dev] Reading gml with schema

2013-05-29 Thread Jukka Rahkonen
Ari Jolma gmail.com> writes: > Even, by tweaking I hope you mean tweaking the GML itself? As I > believe (being quite ignorant of / unexperienced with XSLT) that > with a simple XSLT the XML could be made readable by GDAL. Again, > being unexperienced with XSLT, I'm not sure but h

Re: [gdal-dev] Reading gml with schema

2013-05-29 Thread Even Rouault
Le mercredi 29 mai 2013 16:33:49, Ari Jolma a écrit : > On 05/29/2013 05:00 PM, Even Rouault wrote: > >> Again, being unexperienced > >> with XSLT, I'm not sure but hope that XSLT processors run in sequential > >> mode, thus the reading could be conveniently handled with a pipe. Hmm, > >> how would

Re: [gdal-dev] Reading gml with schema

2013-05-29 Thread Ari Jolma
On 05/29/2013 05:00 PM, Even Rouault wrote: Again, being unexperienced with XSLT, I'm not sure but hope that XSLT processors run in sequential mode, thus the reading could be conveniently handled with a pipe. Hmm, how would that actually work, I'm not sure(?). I made a quick serach but I couldn'

Re: [gdal-dev] Reading gml with schema

2013-05-29 Thread Even Rouault
> I'm cc'ing Pekka Sarkola, as I remember him asking about this a while back. > > Even, by tweaking I hope you mean tweaking the GML itself? I really meant the GML driver itself, so as to avoid an additional preliminary conversion step. Admitedly this is not a very elegant solution as it adds

Re: [gdal-dev] Reading gml with schema

2013-05-29 Thread Ari Jolma
On 05/28/2013 11:40 PM, Even Rouault wrote: Le mardi 28 mai 2013 19:47:38, Ari Jolma a écrit : > On 05/28/2013 05:34 PM, Lauri Kajan wrote: > > Hi Ari, > > > > I think that shouldn't be neccessary. > > The gml file points to the xsd schema file > > (http://xml.nls.fi/XML/Schema/Maastotiet

Re: [gdal-dev] OSM to Postgis very slow without PG_USE_COPY YES

2013-05-29 Thread Even Rouault
Le mercredi 29 mai 2013 10:14:35, Jukka Rahkonen a écrit : > Hi, > > I was comparing OSM -> PostGIS conversion with and without > --config PG_USE_COPY YES > > With PG_USE_COPY YES - 1 minute > Without PG_USE_COPY YES - I canceled the conversion after an hour > > The difference is so big that I w

Re: [gdal-dev] TIFs with TABs problem

2013-05-29 Thread Nick Hopton
Many thanks for this Frank, the reason for the problem should have occurred to me. As you say, gdalwarp is the answer. Best wishes, Nick. On Tue, May 28, 2013 at 6:15 PM, Frank Warmerdam wrote: > Nick, > > I haven't tried the .TAB files locally, but I see they are both resulting > in georeferen

[gdal-dev] OSM to Postgis very slow without PG_USE_COPY YES

2013-05-29 Thread Jukka Rahkonen
Hi, I was comparing OSM -> PostGIS conversion with and without --config PG_USE_COPY YES With PG_USE_COPY YES - 1 minute Without PG_USE_COPY YES - I canceled the conversion after an hour The difference is so big that I wonder if it really comes only from the write method or if there is something