norBIT / alkisimport

ALKIS-Import
http://www.norbit.de/68/
GNU General Public License v2.0
28 stars 17 forks source link

unable to open datasource with filters #17

Closed StefanReichel closed 7 years ago

StefanReichel commented 7 years ago

going the UI import way, I feed the alkis import with alkis shape XML files. However, instead of a successful import, I get a

2017-02-20T17:26:51 Import-Version: ba7af92 2017-02-20T17:26:51 Datenbank-Version: PostgreSQL 9.5.5 on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 5.4.0-6ubuntu1~16.04.2) 5.4.0 20160609, 64-bit 2017-02-20T17:26:51 PostGIS-Version: 2.3 USE_GEOS=1 USE_PROJ=1 USE_STATS=1 2017-02-20T17:26:51 > GDAL 1.11.3, released 2015/09/16| 2017-02-20T17:26:51 > psql (PostgreSQL) 9.5.5| 2017-02-20T17:26:51 Gesamtgröße des Imports: 22kiB 2017-02-20T17:26:51 Kompatibilitätsfunktionen importiert. 2017-02-20T17:26:52 > PL/pgSQL function alkis_drop() line 17 at EXECUTE| 2017-02-20T17:26:52 > PL/pgSQL function alkis_drop() line 17 at EXECUTE| 2017-02-20T17:26:58 Datenbestand angelegt. 2017-02-20T17:26:58 > Präsentationstabellen werden erzeugt.| 2017-02-20T17:26:58 Präsentationstabellen angelegt. 2017-02-20T17:27:00 > Erzeuge Sicht für Klassifizierungen...| 2017-02-20T17:27:00 > Erzeuge Sicht für tatsächliche Nutzungen...| 2017-02-20T17:27:00 > Erzeuge Sicht für ausführende Stellen...| 2017-02-20T17:27:00 postcreate.d/nas2alb.sql ausgeführt. 2017-02-20T17:27:04 Signaturen importiert. 2017-02-20T17:27:04 > FAILURE:| 2017-02-20T17:27:04 > Unable to open datasource `/home/stefan/[...]shp.xml' with the following drivers.| 2017-02-20T17:27:04 > -> ESRI Shapefile| 2017-02-20T17:27:04 > -> MapInfo File| 2017-02-20T17:27:04 > -> UK .NTF| 2017-02-20T17:27:04 > -> SDTS| 2017-02-20T17:27:04 > -> TIGER| 2017-02-20T17:27:04 > -> S57| 2017-02-20T17:27:04 > -> DGN| 2017-02-20T17:27:04 > -> VRT| 2017-02-20T17:27:04 > -> REC| 2017-02-20T17:27:04 > -> Memory| 2017-02-20T17:27:04 > -> BNA| 2017-02-20T17:27:04 > -> CSV| 2017-02-20T17:27:04 > -> NAS| 2017-02-20T17:27:04 > -> GPX| 2017-02-20T17:27:04 > -> LIBKML| 2017-02-20T17:27:04 > -> KML| 2017-02-20T17:27:04 > -> GeoJSON| 2017-02-20T17:27:04 > -> Interlis 1| 2017-02-20T17:27:04 > -> Interlis 2| 2017-02-20T17:27:04 > -> GMT| 2017-02-20T17:27:04 > -> GPKG| 2017-02-20T17:27:04 > -> SQLite| 2017-02-20T17:27:04 > -> DODS| 2017-02-20T17:27:04 > -> ODBC| 2017-02-20T17:27:04 > -> WAsP| 2017-02-20T17:27:04 > -> PGeo| 2017-02-20T17:27:04 > -> MSSQLSpatial| 2017-02-20T17:27:04 > -> OGDI| 2017-02-20T17:27:04 > -> PostgreSQL| 2017-02-20T17:27:04 > -> MySQL| 2017-02-20T17:27:04 > -> PCIDSK| 2017-02-20T17:27:04 > -> OpenFileGDB| 2017-02-20T17:27:04 > -> XPlane| 2017-02-20T17:27:04 > -> AVCBin| 2017-02-20T17:27:04 > -> AVCE00| 2017-02-20T17:27:04 > -> DXF| 2017-02-20T17:27:04 > -> Geoconcept| 2017-02-20T17:27:04 > -> GeoRSS| 2017-02-20T17:27:04 > -> GPSTrackMaker| 2017-02-20T17:27:04 > -> VFK| 2017-02-20T17:27:04 > -> PGDump| 2017-02-20T17:27:04 > -> OSM| 2017-02-20T17:27:04 > -> GPSBabel| 2017-02-20T17:27:04 > -> SUA| 2017-02-20T17:27:04 > -> OpenAir| 2017-02-20T17:27:04 > -> PDS| 2017-02-20T17:27:04 > -> WFS| 2017-02-20T17:27:04 > -> HTF| 2017-02-20T17:27:04 > -> AeronavFAA| 2017-02-20T17:27:04 > -> Geomedia| 2017-02-20T17:27:04 > -> EDIGEO| 2017-02-20T17:27:04 > -> GFT| 2017-02-20T17:27:04 > -> GME| 2017-02-20T17:27:04 > -> SVG| 2017-02-20T17:27:04 > -> CouchDB| 2017-02-20T17:27:04 > -> Idrisi| 2017-02-20T17:27:04 > -> ARCGEN| 2017-02-20T17:27:04 > -> SEGUKOOA| 2017-02-20T17:27:04 > -> XLS| 2017-02-20T17:27:04 > -> ODS| 2017-02-20T17:27:04 > -> XLSX| 2017-02-20T17:27:04 > -> ElasticSearch| 2017-02-20T17:27:04 > -> PDF| 2017-02-20T17:27:04 > -> Walk| 2017-02-20T17:27:04 > -> CartoDB| 2017-02-20T17:27:04 > -> SXF| 2017-02-20T17:27:04 Fehler bei Prozeß: 1 2017-02-20T17:27:04 /home/stefan/[...].shp.xml mit 22kiB in 258ms importiert (87kiB/s) 2017-02-20T17:27:04 Import nach 12s abgebrochen.

Any idea what to change in order to get the data into the DB? Cheers, Stefan

jef-n commented 7 years ago

Mit welchen Daten tritt dieses Problem auf?

StefanReichel commented 7 years ago

Beispieldaten angehangen BeschrLin_Flst_ALKIS_2016.shp.xml

jef-n commented 7 years ago

Das sind keine NAS-Daten.

StefanReichel commented 7 years ago

Wurden mir als ALKIS Daten zur Verfuegung gestellt. Wie sehen NAS Daten im Vergleich aus?

jef-n commented 7 years ago

Auf der PostNAS-Website sind Daten aus verschiedenen Bundesländern gelistet.