[gdal-dev] Ogr2Ogr Interlis1 Export

Chaitanya kumar CH chaitanya.ch at gmail.com
Tue Sep 20 10:10:51 EDT 2011


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.andres at bsap.ch> wrote:

>  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 in the
> same order like in the ILI-File… and also not in the same order like in the
> Postgres Database…****
>
> Why that?****
>
> ** **
>
> Thx for your help,****
>
> Thomas Andres****
>
> ** **
>
> ** **
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>



-- 
Best regards,
Chaitanya kumar CH.

+91-9494447584
17.2416N 80.1426E
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20110920/a749a3f0/attachment.html


More information about the gdal-dev mailing list