Hi Patrick,
You are right - there are currently only simple feature/non topological
formats available in OGR/QGIS and others. GRASS is an exception and I
believe that OGR can read old ArcInfo coverages (also a topological
format). I just don't know any solution currently.
The problem with Interlis is the bad performance. Parsing the model and
polygonizing each time you open a project will always be slower. That's
why I suggested the conversion to a different format. Interlis is
designed as an exchange format, not a production database. I don't know
any GIS (neither commercial or Open Source) that can read/write/edit
directly off of Interlis data. Usually there are only import and
exports.
Sorry that I don't have a better answer,
Andreas
On Fri, 25 Mar 2011 09:53:55 +0100, Patrick S. wrote:
Thanks Andreas,
But it just doesn't seem a right approach to me to convert a
topological format into a simple feature format to import it to
GRASS.
I am speaking of some 300.000 polygons of buildings and X00.0000
parcels, which created a lot of topological problems when I imported
from shapefiles. That's why I did ask the dataowner for the INTERLIS
format.
Isn't there any other solution or exchange format that is
topological?
Regards, Patrick
P.S. sorry for the late answer- but I was off for 2 Weeks
On 03/12/2011 12:28 AM, grass-user-requ...@lists.osgeo.org wrote:
Message: 9
Date: Fri, 11 Mar 2011 21:39:20 +0100
From: Andreas Neumann<a.neum...@carto.net>
Subject: Re: [GRASS-user] interlis import
To:grass-user@lists.osgeo.org
Message-ID:<4d7a8878.6050...@carto.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hi Patrick,
I wouldn't try to open Interlis files directly in GRASS. You are
better
off converting them to an intermediate format or database, e.g.
spatialite, PostgreSQL, GML, etc. and work from there.
If you open the files directly, performance will be bad.
btw: Interlis consists of two files:
1. .ili file (contains the data model: topics, tables, columns, data
types, domain lists, etc.)
2. .itf file (the raw data: geometry and attribute data). - itf
means
"interlis transfer format"
You always need both files.
Here are one or two examples:http://gis.hsr.ch/wiki/HowTo_OGR2OGR
Good luck,
Andreas
On 3/11/11 8:00 PM, Patrick S. wrote:
> Dear List,
>
> does someone have experience in importing the topological format
> INTERLIS to GRASS?
> It seems to need an .ili file, that will define polygons, lines
and
> points, but I don't see how to integrate this one in the
v.in.ogr
> command.
>
> I managed to use ogr2ogr and tested conversion to shapefile.
This one
> uses the java interpreter ili2c.jar. (see:
> http://www.gdal.org/ogr/drv_ili.html). It will only work if the
.ili
> is intergrated as in the command:
>
> ogr2ogr -f "ESRI Shapefile" shpdir
> /home/order/filename.itf,/home/order/description.ili
>
> When I import the .itf to GRASS it will only create lines
instead of
> areas. Same result for conversion with ogr2ogr mentioned above
when
> the .ili is not integrated.
>
> Any Feedback would be helpful.
>
> Patrick
>
> P.S. Testfiles can be foundhttp://www.interlis.ch/
> _______________________________________________
> grass-user mailing list
> grass-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
--
--
Andreas Neumann
Böschacherstrasse 10A
8624 Grüt (Gossau ZH)
Switzerland
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user