[gdal-dev] JPEG2000 / GMLJP2: parameters seem to be ignored (offset location)

2024-03-29 Thread Philippe Ghesquiere via gdal-dev
Hi all, I have some questions about GMLJP2 parameters concerning location. *1) Description*Some JP2K images have a pixel origin different than (0 ; 0) (DIMAP products for example). In such cases, the GML header looks like like: *7 7 <== Different than "0 0"* 1000 1000 This o

Re: [gdal-dev] Compiling Poppler plugin under Windows (missing dependencies with GisInterrnals)

2024-03-21 Thread Philippe Ghesquiere via gdal-dev
Thanks Even. As far as Gisinternals is concerned, I think they are still using "nmake" to compile the PDF plugin (see makefile ). This may explain why they don't need the POPPLER_EXTRA_LIBRARIES parameter. Concerning the document, I

[gdal-dev] Compiling Poppler plugin under Windows (missing dependencies with GisInterrnals)

2024-03-21 Thread Philippe Ghesquiere via gdal-dev
Hi, While compiling GDAL V3.8.4 under Windows (Visual Studio 17 2022), I would like to add the PDF plugin. I downloaded all dependencies from GisInternals . The PDF plugin compilation, based on Poppler, fails due to missing dependencies for poppler.lib. I found a not-

Re: [gdal-dev] OGDI 4.1.1 is released

2024-02-01 Thread Philippe Ghesquiere via gdal-dev
Hi Even, It is great to hear that some people still take care of this library :-) Lately, I have tried to compile it with Visual C 2019. And I gave up, because of too many errors ... I wonder how people running GDAL under windows manage to compile it, for example QGIS. Do you have any hints ? Tha

Re: [gdal-dev] GPKG raster creation : error with too small resolution

2024-01-18 Thread Philippe Ghesquiere via gdal-dev
> > -Jukka Rahkonen- > > > > gdal_translate -of GPKG 1mm.tif 1mm.gpkg > > Input file size is 2000, 2000 > > 0ERROR 6: Only north-up non rotated geotransform supported > > ..ERROR 1: Raster table 1mm not correctly initialized due to missing call > to SetGeoTran

Re: [gdal-dev] GPKG raster creation : error with too small resolution

2024-01-18 Thread Philippe Ghesquiere via gdal-dev
yte -a_srs epsg:32631 -a_ullr 100 102 > 102 100 1mm.tif > > gdal_translate -of GPKG 1mm.tif 1mm.gpkg > > Notice the fixed ullr for making the image north-up. > > > > -Jukka Rahkonen- > > > > gdal_translate -of GPKG 1mm.tif 1mm.gpkg > > Input file size is

Re: [gdal-dev] GPKG raster creation : error with too small resolution

2024-01-18 Thread Philippe Ghesquiere via gdal-dev
> ..ERROR 1: Raster table 1mm not correctly initialized due to missing call > to SetGeoTransform() > > > > *Lähettäjä:* gdal-dev *Puolesta *Philippe > Ghesquiere via gdal-dev > *Lähetetty:* torstai 18. tammikuuta 2024 15.22 > *Vastaanottaja:* gdal-dev > *Aihe:* [gda

[gdal-dev] GPKG raster creation : error with too small resolution

2024-01-18 Thread Philippe Ghesquiere via gdal-dev
Dear all, I just had an error while converting an image to GPKG. This image has a very small resolution and gdal_translate pops up an error message. *Test image :* gdal_create -of GTiff -co COMPRESS=DEFLATE -outsize 2000 2000 -burn 255 -burn 0 -burn 0 -bands 3 -ot Byte -a_srs epsg:32631 -a_ullr 1

Re: [gdal-dev] gdaladdo does not "respect" GPKG tile matrix

2024-01-08 Thread Philippe Ghesquiere via gdal-dev
only case now where the tiling scheme might no longer be respected is > if the user specifies an overview level beyond the base one, or some > "weird" factor like 3. But as it is the user that requests that, I don't > think we should do anything for that case. > > Even

[gdal-dev] gdaladdo does not "respect" GPKG tile matrix

2024-01-08 Thread Philippe Ghesquiere via gdal-dev
Dear all, A while ago, I opened a ticket which is still opened ( https://github.com/OSGeo/gdal/issues/3853). I recently bumped into this bug with some new data, and I think I tracked the origin. *1) Generate a test image :* gdal_create -of GTIFF -co COMPRESS=LZW -a_srs epsg:4326 -a_ullr -180 90

Re: [gdal-dev] GeoPDF and neatline

2023-11-17 Thread Philippe Ghesquiere via gdal-dev
Great. Thanks Even On Fri, Nov 17, 2023 at 5:13 PM Even Rouault wrote: > Hi, > > > *My question :* > Is there a way to gdal_translate / gdalwarp the PDF file without > EXPLICITLY extracting the neatline ? > > No. Your above method is the nominal one. > > > I tried to use the "*-oo NEATLINE=somet

[gdal-dev] GeoPDF and neatline

2023-11-17 Thread Philippe Ghesquiere via gdal-dev
Dear all, I would like to translate a GeoPDF into Geotiff. Furthermore, I would like to select the image area, given by the neatline. Image samples are available on "FSTopo Map Products " site. Typical gdalinfo gives : gd

[gdal-dev] VPF to GPKG translation with Latin-1 encoded strings

2023-09-12 Thread Philippe Ghesquiere via gdal-dev
Dear all, I need some help to deal with a VPF data set. *Environment :* - Windows 10 - Gdal V3.5.0 *Context :* I have a VPF vector set I try to convert to Geopackage. Some strings are Latin-1 encoded (ISO-8859-1). The OGR_OGDI plugin supports this specific encoding, but the GPKG format

Re: [gdal-dev] Converting VPF vector set into shapefile (under Windows environment)

2023-06-29 Thread Philippe Ghesquiere via gdal-dev
> INFO: Open of > `gltp:/vrf/C:/git/gdal/autotest/ogr/data/vm2alv2_texash/texash' > > using driver `OGR_OGDI' successful. > > 1: tileref@tileref(*)_area (Polygon) > > 2: tilereft@tileref(*)_text (Point) > > 3: markersp@bnd(*)_point (Point) > > 4: pol

[gdal-dev] Converting VPF vector set into shapefile (under Windows environment)

2023-06-28 Thread Philippe Ghesquiere via gdal-dev
Dear all, I would like to convert a VPF vector set ( OGDI driver ) into shapefile format. My environment is as follow: - windows 10 - GDAL environment installed with QGIS 3.26.0 : *GDAL 3.5.0, released 2022/05/10* - the OGDI driver is ava