Perfect! Thanks. Did I get it right: If I want the polygon from an "AREA"-table I need to explicit request the polygon geometry? From my point of view the point geometry from an "AREA"-table is only there to join the attributes to the polygons.
regards Stefan On Mon, Nov 17, 2014 at 8:52 AM, Pirmin Kalberer <[email protected]> wrote: > Hi Stefan, > > Am Freitag, 14. November 2014, 17.09:12 schrieb Stefan Ziegler: > > Ok, the autotest example runs smoothly. It seems a problem with the order > > of the relation attribute "Entstehung" in the table > > Bodenbedeckung__BoFlaeche in my data (find it attached). It is added as > the > > last attribute in the table but actually it's the second one (after TID). > > > > I remember that the order of these relation attributes are a bit nasty to > > handle. Pirmin, can you confirm this behaviour/bug? I guess this was > > introduced with the change from ili (java) to imd? > > This bug has been fixed in trunk about 3 weeks ago. The imd file has to be > generated with ili2c.jar >=4.5.5 from the sourceforge site (not available > on > interlis.ch). > > Regards > Pirmin > > > > > On Fri, Nov 14, 2014 at 3:23 PM, Even Rouault < > [email protected]> > > > > wrote: > > > Stefan, > > > > > > > I've got some problems with the interlis driver. When I try to > convert > > > > an > > > > interlis 1 file to shapefiles with the following command: > > > > > > > > ogr2ogr shpdir/ 254900/254900.itf,dm01avso24.imd > > > > > > > > There are no polygon shapes created. It seems that the point > coordinates > > > > > > - > > > > > > > which are stored in two separate columns - are shifted. > > > > > > The driver now supports multiple geometry columns since GDAL 1.11. On > the > > > example in the GDAL autotest, it appears that the point geometry > column is > > > declared before the second geometry column, so > > > you'll get only the point when translating to shapefile, unless you > > > explicitely specify the polygon geometry column (look at its name with > > > ogrinfo) > > > > > > With the sample in autotest : > > > ogr2ogr out.shp data/ili/Beispiel.itf,data/ili/Beispiel.imd > > > Bodenbedeckung__BoFlaechen -overwrite -select Form > > > > > > > Column "Geometrie_" contains a small double value. Column > "Geometrie_1" > > > > contains one coordinate. Column "Qualitaet" contains the second > > > > > > coordinate. > > > > > > Not sure about that. Maybe Pirmin has an idea. A sample dataset of > yours > > > might be needed. > > > > > > Even > > > > > > -- > > > Spatialys - Geospatial professional services > > > http://www.spatialys.com > > -- > Pirmin Kalberer > Sourcepole - Linux & Open Source Solutions > http://www.sourcepole.com > >
_______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
