[gdal-dev] GDAL and monster multipolygons

2019-10-25 Thread Rahkonen Jukka (MML)
Hi, This shapefile from the Inspire dataportal https://geospatial.jrc.ec.europa.eu/geoserver/wad/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=wad%3Alpd_int2&outputFormat=SHAPE-ZIP contains 226 (multi)polygons, one of them with 516716 ring. It seems that ogr2ogr can't explode the ge

[gdal-dev] Source pixels used when warping using cubic resampling

2019-10-25 Thread Gregory, Matthew
Hi all, I am warping and upsampling an image from 4km to 30m using cubic resampling. I've been warping different sized windows from the source image like this: # Larger window gdalwarp -t_srs EPSG:5070 -te -2303985 2406015 -2033985 2649015 -tr 30 30 -of GTiff -r cubic in.vrt out.t

Re: [gdal-dev] converting AAIGrid to SRTM

2019-10-25 Thread Even Rouault
> It doesn't :) That would be surprising. See below: Non-appropriate extent/resolution $ gdal_translate test.tif N48E002.HGT -of srtmhgt -outsize 1201 1201 -a_srs EPSG:4326 -a_ullr 2 49 3 48 Input file size is 20, 20 Warning 1: The corner coordinates of the source are not properly aligned on p

Re: [gdal-dev] FileGDB create layer error

2019-10-25 Thread Jon Morris
> > >-Original Message- >From: Even Rouault >Sent: 25 October 2019 09:39 >To: gdal-dev@lists.osgeo.org >Cc: Jon Morris >Subject: Re: [gdal-dev] FileGDB create layer error > >On vendredi 25 octobre 2019 08:19:54 CEST Jon Morris wrote: >> Hi All, >> >> I came across an intermittent system t

Re: [gdal-dev] converting AAIGrid to SRTM

2019-10-25 Thread Bryan Fields
On 10/25/19 5:33 AM, Even Rouault wrote: >> Is there a way to trim this to 36001x36001 before converting it to the >> 1201x1201 tiles? > the -srcwin switch of gdal_translate: > https://gdal.org/programs/gdal_translate.html > > like -srcwin 11 11 36001 36001 Thanks, I'll give it a try later today.

Re: [gdal-dev] converting AAIGrid to SRTM

2019-10-25 Thread Even Rouault
> Is there a way to trim this to 36001x36001 before converting it to the > 1201x1201 tiles? the -srcwin switch of gdal_translate: https://gdal.org/programs/gdal_translate.html like -srcwin 11 11 36001 36001 > > When I run this conversion, I need an exact 1201x1201 image. I'm also not > sure ho

Re: [gdal-dev] FileGDB create layer error

2019-10-25 Thread Even Rouault
On vendredi 25 octobre 2019 08:19:54 CEST Jon Morris wrote: > Hi All, > > I came across an intermittent system test failure and just wanted to clarify > what was going on. > > While trying to add a layer to a newly-created File GDB, we got the error > message: Failed at creating table for \expect

[gdal-dev] Ogr2ogr: export attribute data (columns row data) from PostGis to DXF

2019-10-25 Thread Bojan Bizjak
I can export multiple layers to sigle Dxf file without no problem using SQL. My question is how could attributbe data be entered into these layers using SQL. We are thinking in this direction that BlockAttributes should be filled and the DXF_INLINE_BLOCKS option must be set to false. Best rega

[gdal-dev] FileGDB create layer error

2019-10-25 Thread Jon Morris
Hi All, I came across an intermittent system test failure and just wanted to clarify what was going on. While trying to add a layer to a newly-created File GDB, we got the error message: Failed at creating table for \expected_dem_mods_germany (General function failure.). Turning on GDAL debug