Skip to content

geoheader for 2009_5yr has an invalid character encoding #15

@peterwang998

Description

@peterwang998

After unzipping the 2009_5yr manually, it turns out a file in the geoheader has an incorrect encoding:

(I also removed the -q flag to see where it failed for importing geoheader)

psql:create_geoheader.sql:1: NOTICE:  table "geoheader" does not exist, skipping
Creating geoheader comments
Creating temp geoheader
psql:create_tmp_geoheader.sql:1: NOTICE:  table "tmp_geoheader" does not exist, skipping
Creating temp import tables
Importing geoheader
COPY 4946
COPY 7117
COPY 14397
COPY 32732
COPY 2707
COPY 12598
COPY 1899
COPY 15952
COPY 11356
psql:import_geoheader.sql:10: ERROR:  invalid byte sequence for encoding "UTF8": 0xf1 0x6f 0x6e 0x63
CONTEXT:  COPY tmp_geoheader, line 965
Failed importing geoheader.

Metadata

Metadata

Assignees

No one assigned

    Labels

    historic dataIssues with historic data are currently lower priority

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions