Is it possible to write infinities to fields in arc feature classes, and if so, how?
Currently I get an exception thrown when I try.
|
Float in ArcGIS has a range of values. Infinity values are not supported. You can store such values in 3rd party non ESRI applications and attempt to import but these values will be changed to 1.#INF -1.#INF and you may encounter problems with Querying, etc. Check out this thread for more info. http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//003n0000001m000000 http://support.esri.com/en/knowledgebase/techarticles/detail/25646 |
|||
|
|
float("-inf"), float("inf")for Python >= 2.6 – Mike Toews Mar 13 '12 at 18:57row.setValue(field,float("inf"))(well, effectively anyway) whererowwas an UpdateCursor on a feature class in a file geodatabase. Jakub's answer looks good to me - looks like anything that might happen to work isn't officially supported! – Sideshow Bob Mar 14 '12 at 9:42