New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
import errors bag-laatst.backup #217
Comments
Lijkt alsof alle foutmeldingen met "vreemde characters" te maken hebben. BAG is UTF-8 character encoding. Is dat ook de encoding van je database? btw: er staat net een nieuwe bag-laatst op data.nlextract.nl. |
Daar had ik eerder ook al last van. |
Blijf dit vreemd vinden: heb zelf net zonder problemen http://data.nlextract.nl/bag/postgis/bag-laatst.backup geimporteerd. Ook volgens de BAG standaard (GML XSD) zijn |
Hier was het probleem idd opgelost door een UTF-8 database aan te maken. Voor het wijzigen van de characterset encoding moet je de database opnieuw importeren, dus het is mischien wel handig om in de documentatie duidelijk aan te geven dat er een UTF-8 database gebruikt moet worden. |
ja bedankt! De default database is bij mij SQL_ASCII encoded.
lost dit op. |
Documentatie op http://docs.nlextract.nl/en/latest/bagextract.html is aangepast. |
Hi,
When importing the bag dump in postgresql, i am getting some errors (and some tables are empty)
pg_restore --no-owner --no-privileges -d gis bag-laatst.backup
pg_restore: [archiver (db)] Error while PROCESSING TOC:
pg_restore: [archiver (db)] Error from TOC entry 3561; 0 967968607 TABLE DATA nummeraanduiding kademo
pg_restore: [archiver (db)] COPY failed for table "nummeraanduiding": ERROR: value too long for type character varying(20)
CONTEXT: COPY nummeraanduiding, line 2651304, column documentnummer: "15 � 18393 � 7102"
pg_restore: [archiver (db)] Error from TOC entry 3559; 0 967968585 TABLE DATA openbareruimte kademo
pg_restore: [archiver (db)] COPY failed for table "openbareruimte": ERROR: value too long for type character varying(20)
CONTEXT: COPY openbareruimte, line 53251, column documentnummer: "WD 901 Dr. Ariënsstr"
pg_restore: [archiver (db)] Error from TOC entry 3569; 0 967968689 TABLE DATA pand kademo
pg_restore: [archiver (db)] COPY failed for table "pand": ERROR: value too long for type character varying(20)
CONTEXT: COPY pand, line 4221987, column documentnummer: "BvB 22052011 Blok 9¿"
pg_restore: [archiver (db)] Error from TOC entry 3567; 0 967968661 TABLE DATA verblijfsobject kademo
pg_restore: [archiver (db)] COPY failed for table "verblijfsobject": ERROR: value too long for type character varying(20)
CONTEXT: COPY verblijfsobject, line 3317543, column documentnummer: "14 � 17478 � 4183"
WARNING: errors ignored on restore: 4
The text was updated successfully, but these errors were encountered: