Tag Info

Hot answers tagged

2

Ah, this looks like an encoding error. I need to patch the plugin to replace str() with unicode(). I'm away for two weeks, so for the moment, change leafletWriter.py line 203 from: if str(field) == "icon_exp": to: if unicode(field) == "icon_exp": Do the same with any similar errors. And if it works, please do create a pull request on Github. Edit: it's ...


1

As long as your query is structured correctly this should work. I used the da.SearchCursor instead because I noticed you were on 10.2. I also removed work from the function parameters because it wasn't being used anywhere. import arcpy arcpy.env.overwriteOutput = True workspace = "C:\\Users\\Cara\\Documents\\MPSGIS\\Programming and Scripting\\Lab6\\Lab 6 ...


1

Shapefiles utilize dBase-III+ date values ('D' type), which are restricted to day resolution. If you need second resolution, you'll need to use a personal, file, or enterprise geodatabase. It would probably be best to round the fractional seconds to the nearest second, since Desktop's time structure (struct tm) doesn't support subsecond precision at this ...


1

Do the same in the console, but add qgis2web/ before each param name, eg: QSettings().remove("qgis2web/Extent") QSettings().remove("qgis2web/Base layer") QSettings().remove("qgis2web/Template") Since that error was caused by Precision, also try: QSettings().remove("qgis2web/Precision")


1

Problems with JavaScript in IE were the problem. The toolbox uses JavaScript to display the parameter prompts. We used whatismybrowser.com/is-javascript-enabled to determine the status of JavaScript in both IE and Chrome. It was working in Chrome, but not in IE even though it was enabled in the settings. We found that our virus software had disrupted ...



Only top voted, non community-wiki answers of a minimum length are eligible