Re: [gdal-dev] Reading s57 charts with GDAL

2023-01-30 Thread Brad Hards
On Monday, 30 January 2023 10:31:47 PM AEDT Aryan Landi wrote: > Hi again, > > Not sure what you mean by “support files”. There are two support files that translate vectors - see the documentation. https://gdal.org/drivers/vector/s57.html > The command line tool returns: > > ERROR 4: `US5LA26M.

Re: [gdal-dev] Metadata keys in upper or lower case ?

2023-01-30 Thread Even Rouault
Louis-Philippe, there's no recommendation. Each format or community within a format may have different practices. Some formats may accept some odd characters (but definitely not '=', as key/value pairs are stored as "key=value" strings internally), but keeping to alphanumeric + underscore is

[gdal-dev] Metadata keys in upper or lower case ?

2023-01-30 Thread Rousseau Lambert,Louis-Philippe (ECCC)
Hi everyone ! I would like to know if there is a rule or a best practice for a raster file's metadata key to be written in upper or lower case ?  I read https://gdal.org/user/raster_data_model.html#metadata and saw that "/The names are required to be well behaved tokens (no spaces, or odd ch

Re: [gdal-dev] Reading s57 charts with GDAL

2023-01-30 Thread Aryan Landi
Hi again. Yes, ogrinfo lists the correct information. But my understanding was that GDAL works both with raster and vector, and thus exposes the org drivers. Should I then use ogr directly instead of through GDAL? Den 30. jan. 2023 kl. 13.42 skrev Andreas Oxenstierna mailto:andreas.oxenstie...@

Re: [gdal-dev] Reading s57 charts with GDAL

2023-01-30 Thread Andreas Oxenstierna
Hi S57 is a vector format so you need to use ogr Check that ogrinfo --formats reports: S57 -vector- (rw+v): IHO S-57 (ENC) Best Regards / Vänliga hälsningar Andreas Oxenstierna Senior Strategic Advisor +46 733 206 831 andreas.oxenstie...@t-kartor.com

Re: [gdal-dev] Motion: adopt RFC 91: GDALDataset::Close() method

2023-01-30 Thread Even Rouault
Hi, I declare this motion passed with +1 from PSC members KurtS, MateuszL and me, and +0 from JukkaR Even Le 25/01/2023 à 12:56, Even Rouault a écrit : Hi, Motion: adopt RFC 91: GDALDataset::Close() method https://github.com/OSGeo/gdal/pull/7108 Starting with my +1, Even -- http://www.

Re: [gdal-dev] Reading s57 charts with GDAL

2023-01-30 Thread Aryan Landi
Hi again, Not sure what you mean by “support files”. The command line tool returns: ERROR 4: `US5LA26M.000' not recognized as a supported file format. gdalinfo failed - unable to open 'US5LA26M.000 Den 30. jan. 2023 kl. 11.46 skrev br...@frogmouth.net: Do you have

Re: [gdal-dev] Reading s57 charts with GDAL

2023-01-30 Thread bradh
Do you have the two support files in the same directory? What errors do you get with the command line tool?___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] Reading s57 charts with GDAL

2023-01-30 Thread Aryan Landi
Hi all, I recently wrote about the difficulty of reading an s57 chart with GDAL following the standard example, as it seems that GDAL cannot find the s57 driver (the gdalinfo command also returns an error). I am curious to know, if this is a general problem, or if it is only my local GDAL insta