Re: [Talk-ca] Errors importing NRN shapefiles

2010-02-28 Thread steggink
Hi Bob, Can you try to add the option -W latin1 ? (the -W needs to be uppercase) This will take care of the encoding. Probably the default encoding is different from the one in the shapefile (which is always latin1). HTH, Frank Citeren Robert Shand b...@shand.org.uk: Hi Everyone, I'm

[Talk-ca] Errors importing NRN shapefiles

2010-02-27 Thread Robert Shand
Hi Everyone, I'm once again playing with NRN import now that I have more free time. I noticed I'm getting some errors importing the shapefile into my gis database shp2pgsql -s 4326 NRN_PE_8_0_ROADSEG nrn_roadseg | psql -d gis -f - snip psql:stdin:16493: ERROR: invalid byte sequence for