Re: [gdal-dev] gdal2tiles from vrt with unexpected result

2014-06-16 Thread Andre Joost
Am 16.06.2014 23:56, schrieb klo uo: When I use gdal2tiles, i.e.: `gdal2tiles.py -p raster -z 2 mosaic.vrt` I get as a result 256px tiles, but tiles are empty except for upper left 64 x 64 px region, which contains what I would expect for whole tile, or put it differently tile is reduced unnece

[gdal-dev] gdal2tiles from vrt with unexpected result

2014-06-16 Thread klo uo
Hi, I tried to use gdal2tiles on a VRT generated from JPG images (which a btw 256 x 256 pixel tiles themselves) I double checked VRT with gdal_translate to crop part of it and got expected result. When I use gdal2tiles, i.e.: `gdal2tiles.py -p raster -z 2 mosaic.vrt` I get as a result 256px tiles

Re: [gdal-dev] Asking about feature field types of Shape File (SHP) ?

2014-06-16 Thread Jan Heckman
Not focusing on ogr, but on shapefile: Shapefile uses .dbf (dBase III) to store attributes (except geometrical attributes which are stored in the .shp file). This format does not know about integers, only about numericals (type N or F), with a specifiable precision (how many number-positions) and n

Re: [gdal-dev] Asking about feature field types of Shape File (SHP) ?

2014-06-16 Thread Ari Jolma
On 06/04/2014 11:45 PM, taibc wrote: Hi everyone, I created the shape file by usinge the feature filed type: OFTInteger. But when I open the file in Arcgis (ArcCatalog) the data type is: Double (not integer). Do you know how to fix this (I want it is Int) ? Dear Tai, This is a bit old email

[gdal-dev] CPLEscapeString URL - encoding characters that don't need to be encoded

2014-06-16 Thread Timothy Astle
Hi all, Does anyone know why CPLEscapeString (https://svn.osgeo.org/gdal/trunk/gdal/port/cpl_string.cpp) character encodes characters that are valid as-is according to http://www.ietf.org/rfc/rfc1738.txt? I just hit a situation where I noticed the WMS driver is converting hyphens to %2D for