Re: [gdal-dev] vsimem files

2020-11-23 Thread Even Rouault
Hi, > I am adding support for working with *vsimem* files from JS buffers to > *node-gdal-next *and I have a couple of questions. > > * There is an example for working with *vsimem* files at > https://gdal.org/api/cpl.html#_CPPv424VSIInstallMemFileHandlerv - it > says that a *VSIFile* h

Re: [gdal-dev] gdal-dev Digest, Vol 198, Issue 48

2020-11-23 Thread 1520 gis
com > >> > To: gdal-dev@lists.osgeo.org<mailto:gdal-dev@lists.osgeo.org> > Subject: [gdal-dev] resampling netcdf data > Message-ID: > oxvajgetpvmj9hkx8nf9we9xw3bxtftzjpcznftk4x...@mail.gmail.com oxvajgetpvmj9hkx8nf9we9xw3bxt

[gdal-dev] vsimem files

2020-11-23 Thread Momtchil Momtchev
    Hello, I am adding support for working with *vsimem* files from JS buffers to *node-gdal-next *and I have a couple of questions. * There is an example for working with *vsimem* files at https://gdal.org/api/cpl.html#_CPPv424VSIInstallMemFileHandlerv - it says that a *VSIFile* handl

Re: [gdal-dev] GPKG and antimeridian

2020-11-23 Thread Even Rouault
On lundi 23 novembre 2020 09:14:26 CET Bugbuster wrote: > Even, > Your last suggestion (gdalwarp) sounds quite interesting. > I still don't know how to manage the different GPKG options (e.g. > TILING_SCHEME) TILING_SCHEME is a bit particular as a creation option in the GPKG driver. You can pass

Re: [gdal-dev] GPKG and antimeridian

2020-11-23 Thread Bugbuster
Even, Your last suggestion (gdalwarp) sounds quite interesting. I still don't know how to manage the different GPKG options (e.g. TILING_SCHEME) I tried to use *"-co"* option: I also tried to use *"-doo"* option. PROMPT> gdalwarp -of GPKG -co TILING_SCHEME=InspireCRS84Quad MyImageEast.tif MyIm

Re: [gdal-dev] gdal-dev Digest, Vol 198, Issue 45

2020-11-23 Thread Rahkonen Jukka (MML)
Hi, Hi, I do not know how QGIS deals with this, but how about using VRT? It is XML and you can use it with GDAL tools. Try Step 1. gdal_translate -of vrt WCS:"http://demo.geo-solutions.it:80/geoserver/wcs?version=2.0.1&coverage=sf__sfdem"; wcs.vrt Step 2. gdal_translate -of GTiff -outsize 20

Re: [gdal-dev] ogr2ogr is not working for a geojson file

2020-11-23 Thread jratike80
Hi, I don't know that Java stuff but at least there does not seem to be anything wrong with your data nor ogr2ogr. Your command runs without errors on Windows and ogr2ogr binary (GDAL version 3.2). -Jukka Rahkonen- Ravi Teja Krishna Wuyyuru wrote > Hi team, > >       I am using ogr2ogr with

Re: [gdal-dev] gdal-dev Digest, Vol 198, Issue 45

2020-11-23 Thread 1520 gis
Dear Rahkonen Jukka, I will consider your warnings about using GDAL_WCS with GeoServer. It seems that what I am trying to do is not possible, but it will be something interesting to achieve through GDAL_WCS. In many cases, the user has access to wcs geoservices and he may be interested in loading

Re: [gdal-dev] GPKG and antimeridian

2020-11-23 Thread Even Rouault
Hello, > I created a "single raste_table" GPKG image, based on a VRT image : > > > It does work. However, the output image is HUGE: all the empty tiles within > [-179.0° ; +179.0°] are created. > * Is there a way to tell gdal_translate not to create those useless tiles ? > * does GPKG format sup

[gdal-dev] ogr2ogr is not working for a geojson file

2020-11-23 Thread Wuyyuru Ravi Teja Krishna
Hi team,       I am using ogr2ogr with java bindings for conversion of a geojson file to a csv file, But I am getting an error as specified below. ERROR 10: Pointer 'panMap' is NULL in 'OGR_F_SetFrom'. Unable to translate feature 0 from layer map_sample Terminating translation prematurely af

[gdal-dev] GPKG and antimeridian

2020-11-23 Thread Bugbuster
Dear all, I would like to manage an image which spans over the antimeridian in GPKG format. After reading some information in the GDAL forum, I did a few tests and I have some questions. First of all, I divided my image MyImage.tif (CRS = EPSG:4326) into 2 sub-images : 1) MyImageEast.tif, which sp