[Benchmarking] How to load spain shapefiles in postgis

Jeff McKenna jmckenna at gatewaygeomatics.com
Wed Jan 1 09:06:06 PST 2014


On 2013-12-29 5:50 AM, Andrea Aime wrote:
> Hi,
> does anyone remember the command to load the last benchmarking effort
> shapefiles
> in postgis?
> 
> I remember there were issues with the string encoding in the dbf, but I
> can't seem to find
> the right combination of db charset/shp2pgsql settings to have the
> import work
> successfully. Does anybody remember it?
> 
> Cheers
> Andrea
> 

Happy new year to you and your family Andrea.

If I remember, the trick I used was the -W <encoding> switch for
shp2pgsql (you need to tell PG what encoding your dbf attributes are).
Such as -W LATIN1    I think?

-jeff




-- 
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/




More information about the Benchmarking mailing list