[gdal-dev] Interlis driver does not polygonize anymore
Stefan Ziegler
stefan.ziegler.de at gmail.com
Sun Nov 16 22:34:42 PST 2014
I think my answer is still on hold because of the attachements. Now the
answer w/o attachements:
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 (link see below). 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?
http://catais.org/tmp/ili.zip
regards
Stefan
On Fri, Nov 14, 2014 at 3:23 PM, Even Rouault <even.rouault at spatialys.com>
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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20141117/03e9491a/attachment.html>
More information about the gdal-dev
mailing list