Re: [gdal-dev] Build GDAL - visual studio version

2011-09-20 Thread Mateusz Loskot
On 20/09/11 18:14, Cole, Derek wrote: > If GDAL is linked statically, and I recompile my library, will this > still be the case? If you link GDAL against static C/C++ libs, you don't need to deploy the C/C++ run-time re-distributable DLLs. http://msdn.microsoft.com/en-us/library/abx4dbyh.aspx ht

[gdal-dev] Re: RPC computation

2011-09-20 Thread Jorge
Hello I tried to use gdaltransform executable ( with option -rpc) but it returns an error: Unable to compue the rpc of the input. I need to validate my rpc algorithm but I do not find the way that gdal generates the rpc of an input geoTIFF. Best Regards Jorge El 12/09/2011, a las 1

[gdal-dev] Export multiples postgres-tables with an order of fields

2011-09-20 Thread BSAP ( Andres Thomas )
>>… i’ve tried, but there are several tables to be exported…. I can’t write >>–select table1.fid,table1.color,table2.fid,table2.mysize,etc… Now I create mutliples itf’s: ogr2ogr -f "Interlis 1" /itf/table1.itf,myili.ili PG:"dbname='mydb' host='localhost' port='5432' user='postgres' password=

RE: [gdal-dev] Build GDAL - visual studio version

2011-09-20 Thread Cole, Derek
If GDAL is linked statically, and I recompile my library, will this still be the case? Can I recompile GDAL with MT instead of with the DLLs? From: Mateusz Loskot [mate...@loskot.net] Sent: Tuesday, September 20, 2011 11:51 AM To: Cole, Derek Cc: gdal-dev@l

Re: [gdal-dev] mapfile config options - scan directory

2011-09-20 Thread Jan Hartmann
Hi all, What is the relationship between the "PER_DATASET_ALPHA" mask of the RGB bands in a raster dataset, and the Alpha Channel? I created a four-band tiff file with gdalwarp from an RGB original. On creation, the fourth band has all values set to 255, and the whole picture is visible. Howe

Re: [gdal-dev] Build GDAL - visual studio version

2011-09-20 Thread Mateusz Loskot
On 20/09/11 16:45, Cole, Derek wrote: Does this build require any of the MSvc* dlls or any other external DLLS? Yes, Web-search for Microsoft Visual C++ Redistributable Package and choose appropriate version of the package. Best regards, -- Mateusz Loskot, http://mateusz.loskot.net Charter Mem

[gdal-dev] Build GDAL - visual studio version

2011-09-20 Thread Cole, Derek
I built GDAL using nmake following the instructions here: http://trac.osgeo.org/gdal/wiki/BuildingOnWindows and building from Source Does this build require any of the MSvc* dlls or any other external DLLS? I am trying to use the GDAL library in a very simple Visual Studio 2010 project, and I h

WG: [gdal-dev] Ogr2Ogr Interlis1 Export

2011-09-20 Thread BSAP ( Andres Thomas )
… the query in Postgres: SELECT attrelid, attname, attnum FROM pg_attribute WHERE attrelid=369857; gives me the field names with their correct order number… so I shouldn’t to have to rely the attributes… witch logic OGR is following? Von: BSAP ( Andres Thomas ) Gesendet: Dienstag, 20. S

[gdal-dev] OGR C Sharp

2011-09-20 Thread Asim Ahmad
Hi All, I have Few question - I want to OGR c sharp wrap to read/update ESRI personal geo database. Is it possible. I am not able to use it from autocad. It give me the type initializer for threw an exception error. Why? I have copied all the dlls to my project's bin directory..

Re: [gdal-dev] Ogr2Ogr Interlis1 Export

2011-09-20 Thread BSAP ( Andres Thomas )
--- Anyway, it's better to not rely on field order. ITF and ILI go always together… when I give them to someone else, the attribute order has to correspond, because they using programs who looks to the ILI attribute order to import the ITF data Anyway, it's better to not rely on field ord

Re: [gdal-dev] mapfile config options - scan directory

2011-09-20 Thread Frank Warmerdam
On 11-09-20 05:47 AM, Travis Kirstine wrote: Hi All, I saw Frank's GDAL performance tips presentation at FOSS4G and he mentioned that a config option in a MS mapfile could be set to stop GDAL from scanning for auxiliary files when using external tiling. I have looked around in the MS documentat

Re: [gdal-dev] Ogr2Ogr Interlis1 Export

2011-09-20 Thread Chaitanya kumar CH
Thomas, OGR doesn't promise the same field order. Individual drivers can reorder the fields when they save the data. You may be able to reorder the fields using the -select option in ogr2ogr. On Tue, Sep 20, 2011 at 7:05 PM, BSAP ( Andres Thomas ) < thomas.and...@bsap.ch> wrote: > Dear List,***

[gdal-dev] Ogr2Ogr Interlis1 Export

2011-09-20 Thread BSAP ( Andres Thomas )
Dear List, i have exported data from postgres to an itf with the following command: ogr2ogr -f "Interlis 1" mynew.itf,myili1.ili PG:"dbname='mydatabase' host='localhost' port='123' user='postgres' password='mypassword'" The ITF was created, but the attributes of one table i.e. are not i

[gdal-dev] Ogr2Ogr Interlis1 Export

2011-09-20 Thread BSAP ( Andres Thomas )
Dear List, i have exported data from postgres to an itf with the following command: ogr2ogr -f "Interlis 1" mynew.itf,myili1.ili PG:"dbname='mydatabase' host='localhost' port='123' user='postgres' password='mypassword'" The ITF was created, but the attributes of one table i.e. are not i

[gdal-dev] mapfile config options - scan directory

2011-09-20 Thread Travis Kirstine
Hi All, I saw Frank's GDAL performance tips presentation at FOSS4G and he mentioned that a config option in a MS mapfile could be set to stop GDAL from scanning for auxiliary files when using external tiling. I have looked around in the MS documentation and GDAL and cannot find the option. If th