[gdal-dev] Maximum size of Raster and vector layers in geopackage database

2018-09-05 Thread Newcomb, Doug
Hi Folks, I was in a meeting today and the question came up: What is the maximum size of a vector data layer in a geopackage database? a raster layer? I did not see the answer in the few minutes of searching the internet, so thought I would ask here. Doug -- Doug Newcomb - Cartographer USFWS 5

[gdal-dev] WMS-C gdal xml file

2018-09-05 Thread Idan Miara
Hi, I'm trying to load the layer 'terrain' from the following WMS-C server: https://tiles.maps.eox.at/wms?service=wms&request=getcapabilities via gdal with the attached XML file. I get just a black image. Any ideas? Thanks, Idan. 1.1.1 https://tiles.maps.eox.at/wms? terrain -180.0 90.0 180.0

Re: [gdal-dev] Working with GeoPackage using python API

2018-09-05 Thread Even Rouault
Ben, > Hello, I'm trying to use GDAL python API to work with geopackage files, and > I ran into some trouble > > First off, when creating a geopackage raster, the created raster is always > 4-bands. There is no concept of bands in GeoPackage. The raster code for visualization (the tile gridded

Re: [gdal-dev] gdal_translate doesn't create GeoPackage's metadata

2018-09-05 Thread Even Rouault
Gil, > > I got two questions: > 1) I have a question about something I believe is a bug, I recently upgraded > from 2.0.2 to 2.3.1, when using gdal_translate to convert a GeoTiff to > GeoPackage it doesn't create the GeoPackage's metadata tables > (gpkg_metadata/gpkg_metadata_reference). > If I

[gdal-dev] Working with GeoPackage using python API

2018-09-05 Thread Ben Avrahami
Hello, I'm trying to use GDAL python API to work with geopackage files, and I ran into some trouble First off, when creating a geopackage raster, the created raster is always 4-bands. After running this code: import ogr, osr, gdal import numpy as np dst_path = 'out.gpkg' srs = osr.SpatialReferen