Hello,
I have problem using ogr2ogr during import gml file which can have one or more then one value for an attribute e.g.:

<gml:featureMember>
   <id>101</id>
   <fun>A</fun>
   <fun>B</fun>
    .
    .
</gml:featureMember>
<gml:featureMember>
   <id>102</id>
   <fun>C</fun>
    .
    .
</gml:featureMember>

In above situation ogr2ogr didn't  import at all attribute "fun".

May be in this situation it would be better when user can choose one of variant: - import first encountered value of attribute "fun" from each record e.g.: "A",
- import all values separated with comma e.g.: "A, B"
- ideal solution but difficult: create auxiliary table which keeps all relations one to many e.g.:
    101  A
    101  B
    102  C

Regards,
Piotr
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to