Re: [gdal-dev] Making a uniform collection from images with and without palettes

2019-07-07 Thread jratike80
Hi, I myself would consider reading the source files with Mapserver and tileindex. It should work automatically as you wish. You can then read data from the WMS service in some uniform format. If you do not know Mapserver yet it might take a moment to learn how to do it but it is possible that som

[gdal-dev] Making a uniform collection from images with and without palettes

2019-07-07 Thread Andrew C Aitchison
I have a large collection (millions) of .png files (with .wld files) some 8bit/color RGB, others with 1,2,4 or 8bit colormaps, and some grayscale. Since .vrt files cannot have different colormaps I'd like to convert them into something uniform (probably 8bit/color RGB). gdal_translate -expand is

Re: [gdal-dev] warp/trsnalte a specific src_ovr without alpha band

2019-07-07 Thread Even Rouault
On dimanche 7 juillet 2019 12:13:04 CEST Idan Miara wrote: > Hi, > > I have a RGBA raster with overviews, I'd like to cut an extent from a > specific overview into a new YCbCr JPEG raster. > I want to drop the alpha band (I don't need it and it is not supported in > YCbCr). > > I couldn't find a

Re: [gdal-dev] Could not write Japanese characters in Shapefiles

2019-07-07 Thread Even Rouault
On dimanche 7 juillet 2019 08:34:03 CEST tor21...@protonmail.com wrote: > Hi, > > Great to find an awesome geospatial library! > > I could read the field names of a shapefile in Japanese characters by > applying the following setting in Python 3 program. > os.environ['SHAPE_ENCODING'] = "Shift_JI

[gdal-dev] warp/trsnalte a specific src_ovr without alpha band

2019-07-07 Thread Idan Miara
Hi, I have a RGBA raster with overviews, I'd like to cut an extent from a specific overview into a new YCbCr JPEG raster. I want to drop the alpha band (I don't need it and it is not supported in YCbCr). I couldn't find a way to do it because: 1. with gdal_translate I could choose bands (RGB) but

[gdal-dev] Could not write Japanese characters in Shapefiles

2019-07-07 Thread tor21...@protonmail.com
Hi, Great to find an awesome geospatial library! I could read the field names of a shapefile in Japanese characters by applying the following setting in Python 3 program. os.environ['SHAPE_ENCODING'] = "Shift_JIS" fieldname = in_feature.GetField('Name') However, I could not write the fieldname