1

I have a file with over 27,000 addresses, and I'm trying to geocode it using the OpenStreetMap/Nominatim web service via the MMQGIS plugin on QGIS 2.10.

I keep getting an error after about 30 minutes of this plugin running in which 0 addresses get geocoded. Presumably, it is because my .csv file is not clean.

An error has occured while executing Python code:

Traceback (most recent call last): File "/Users/derekkaden/.qgis2/python/plugins/mmqgis/mmqgis_dialogs.py", line 1198, in run shapefilename, notfoundfile, fields, service, 1) File "/Users/derekkaden/.qgis2/python/plugins/mmqgis/mmqgis_library.py", line 1901, in mmqgis_geocode_web_service attributes.append(unicode(row[z], 'utf-8').strip()) UnicodeDecodeError: 'utf8' codec can't decode byte 0xc9 in position 14: invalid continuation byte

Is anyone familiar with this error?

closed as too broad by PolyGeo Oct 27 '15 at 3:32

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    you might be trying to geocode too many records at once... try geocoding a subset of 100 or so and see if that works... – DPSSpatial Oct 7 '15 at 21:32
  • 1
    Perhaps you could give details about the error you're getting. This would help people familiar with the plugin know what is going wrong. – Techie_Gus Oct 7 '15 at 21:32
  • 1
    @DerekKaden I think I have seen this - how are you setting the name of the output shapefile and 'not found' file - by typing in the path, or by browsing to them? I have seen by typing in the paths, you get errors... – DPSSpatial Oct 8 '15 at 3:33
  • 1
    As per the Tour there should be only one question per question and you are asking three, of which the last is probably too broad in its own right. I recommend using the edit button to focus this question on what appears to be its main point i.e. the error that you are receiving. – PolyGeo Oct 27 '15 at 3:34
  • 1
    @DerekKaden in that case, try using LibreOffice Calc to open the CSV and see if there are any special characters in the file that MMQGIS might be blowing up on - this past week I had a problem with this tool crashing, and lo and behold when I opened up a MS Office-created CSV in LibreOffice, there were all these special characters gumming up the works! I removed them, and no issues in MMQGIS! – DPSSpatial Oct 27 '15 at 15:07