Re: [gdal-dev] ogr2ogr PROMOTE_TO_MULTI with linestrings?

2017-05-15 Thread jratike80
Stephen Woodbridge wrote > On 5/15/2017 6:15 PM, Stephen Woodbridge wrote: >> Hi, >> >> I'm trying to load both polygons and linestrings and would like >> PROMOTE_TO_MULTI to work for both, but it appears to define Multipolygon >> type and does not work for linestrings/multilinestrings. >> >> M

Re: [gdal-dev] ogr2ogr PROMOTE_TO_MULTI with linestrings?

2017-05-15 Thread Stephen Woodbridge
On 5/15/2017 6:15 PM, Stephen Woodbridge wrote: Hi, I'm trying to load both polygons and linestrings and would like PROMOTE_TO_MULTI to work for both, but it appears to define Multipolygon type and does not work for linestrings/multilinestrings. Maybe it would make more sense to have: PROMO

[gdal-dev] GDAL build without big tiff support

2017-05-15 Thread Dmitry Baryshnikov
Hi, it seem to me there is misprint here: https://github.com/OSGeo/gdal/blob/trunk/gdal/frmts/gtiff/geotiff.cpp#L16195 instead of > else if( nCompression == COMPRESSION_JPEG should be > else if( l_nCompression == COMPRESSION_JPEG Without this fix I get such error in build without BIG TIFF S

[gdal-dev] ogr2ogr PROMOTE_TO_MULTI with linestrings?

2017-05-15 Thread Stephen Woodbridge
Hi, I'm trying to load both polygons and linestrings and would like PROMOTE_TO_MULTI to work for both, but it appears to define Multipolygon type and does not work for linestrings/multilinestrings. Maybe it would make more sense to have: PROMOTE_TO_MULTI - work for either polygon or linestri

[gdal-dev] Help with getting gdal python module working

2017-05-15 Thread Candy, Liam
Hi, I've managed to get GDAL 2.1.3 to build with ECW 5.3 support on my 64-bit system. The last hurdle I'm struggling with is getting the python module to install and work. The lines in my nmake.opt file relating to python are; !IFNDEF PYDIR PYDIR = "... \AppData\Local\Programs\Python\Python36"