I solved this by changing the encoding in the line in the tutorial for
world/load.py from this ...
#lm = LayerMapping(WorldBorder, world_shp, world_mapping,
# transform=False, encoding='iso-8859-1')
To the following ...
lm = LayerMapping(WorldBorder, world_shp, worl
Hi, I was trying to go through the GeoDjango tutorial and when I try to
import data with LayerMapping I'm getting the following error:
Warning: Incorrect string value: '\xC2\x85land...' for column 'name'
at row 1
I'm using MySQL and my charset and collation are set to latin1 (I also
trie
2 matches
Mail list logo