[gdal-dev] Ogr2ogr and default value of -gt

Saulteau Don sault.don at gmail.com
Mon Feb 17 14:12:48 PST 2014


On 2/17/2014 11:39 AM, Even Rouault wrote:
> Le lundi 17 février 2014 16:31:55, Jukka Rahkonen a écrit :
>> Jukka Rahkonen <jukka.rahkonen <at> mmmtike.fi> writes:
>>
>> I took some timings:
>>
>> ogr2ogr -f GPKG germany.gpkg germany.osm.pbf -gt 20000 -progress
>> --config OSM_COMPRESS_NODES YES
>> Timing: 18 minutes
>>
>> ogr2ogr -f GPKG germany_2.gpkg germany.osm.pbf -progress
>> --config OSM_COMPRESS_NODES YES
>> Timing: 2 hours and 11 minutes
>
> Jukka,
> If anyone has
> an objection to raise against 20000 instead of 200, please speak up.
>
> Even
>
>>
>> -Jukka-
>>
>

Does -gt 65536, which is a high value mentioned in the docs have a 
performance penalty for other RDBMS? I use it on Spatialite and 
PostgreSQL db's without issues.



Donovan


More information about the gdal-dev mailing list