Tag Info

New answers tagged

0

ArcGIS often throws a topoengine error when it runs out of memory while running in 32 bit mode and performing overlay operations. To get around that I either chop-up the job or use 64 bit geoprocessing with lots of RAM and Repair Geometry on all input features (create local copies first if you don't want to mess up your inputs with the repair).


0

I would probably go with ian's answer using the da cursor, but if you just want to 'fix' your script using the legacy cursor, it appears the dataset parameter isn't using your set workspace --- your workaround may be to enter the full path to your dataset. If you import os at the beginning of the script you can try this line substitution in your function: ...


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 ...


0

Remove ".shp" from your featureClass string: fc= "Hospitals"


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 ...


0

Have you tried altering the precision in the time field to only allow "ss.s" instead of what it has there: "ss.sss"?


0

Besides what Jorge says in his answer, you might be interested in creating your own Named Maps with variables so that you're able to map and query your private data. I recommend you to take a look at the documentation here and to this tutorial here.


0

Named Maps are about privacy of datasets, not the map itself. If any of the datasets you are using on your map is set to "private" then your map will be exposed as named. So, in order to be able to use normal setSQL or setCSS functions all your datasets need to be public or with link on the privacy settings.


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

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 ...


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")



Top 50 recent answers are included