Hi Dan. Thank you for a great tool. I've used it a couple of times before, but now it runs into a problem that i have difficulties with solving.
If you have time and would like to help I've pasted the error message below.
GST_LINTXT is being queried for unique values.
Failed script SplitLayerByAttributes...
Traceback (most recent call last):
File "M:\HAL\TeamNIS\Arbejdsdata\ANDEH\CoastlineL\Tools\SplitLayerByAttributes.py", line 121, in <module>
aString = aString + " " + str(aVal)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe5' in position 7: ordinal not in range(128)
Failed to execute (Split Layer By Attributes).
Failed at Tue Jul 21 15:30:10 2015 (Elapsed Time: 0,95 seconds)
Is it my attributes in the column GST_LINTXT that might contain values inapplicable for this tool. The format is string.
Best regards
Unicode characters...not fixed yet