[gdal-dev] Problem with export from GIS file to MSSQL with 3D data points

2011-06-12 Thread Nicolas Garel
Hi, The export from a file (tested on .gml and .shp) to a table in MSSQL Spatial database does not work properly when the data points use 3 dimensions. For instance, I have a file (test02.gml) with 2 LineString: 114.82008919027152,-30.533088637478372,200 114.84597389066435,-30.6

Re: [gdal-dev] Python syntax for Terragen band::SetUnitType()

2011-06-12 Thread Frank Warmerdam
On 11-06-12 01:38 PM, Chris English wrote: Hi, What is the proper Python syntax for SetUnitType("m") for Terragen ? type(dst_ds) The dataset (Terragen) exists, and (I think) in order for the MIN/MAXUSERPIXELVALUESto make sense it seems you'd have to SetUnitType() prior to WritingArrayin the

[gdal-dev] Python syntax for Terragen band::SetUnitType()

2011-06-12 Thread Chris English
Hi, What is the proper Python syntax for SetUnitType("m") for Terragen ? >>> type(dst_ds) The dataset (Terragen) exists, and (I think) in order for the MIN/MAXUSERPIXELVALUESto make sense it seems you'd have to SetUnitType() prior to WritingArrayin the same way you'd establish SetGeoTransform()