Open HEdingfield opened 8 years ago
I thought #45 took care of this?
No, this problem still exists and is triggered by 11 tests now that I got Fiona working. In addition to the 6 above:
@HEdingfield can you take a crack at fixing the function? can you get that arcpy function to work outside of the tool?
@HEdingfield try forcing the function to use the spatial extension, i.e.,
@update_status() # layer
def raster_to_polygons(zonal_raster, filename, newfield=None):
""" ... """
with OverwriteState(True), Extension("spatial"):
results = arcpy.conversion.RasterToPolygon(
in_raster=zonal_raster,
out_polygon_features=filename,
simplify="SIMPLIFY",
raster_field="Value",
)
[yada yada]
@HEdingfield
And before you get too far down the rabbit hole, clone in to a fresh, normal directory away from pycharm and try the tests:
cd C:\users\hedingfield\Desktop
pip uninstall tidegates
git clone git@github.com:Geosyntec/python-tidegates.git
cd python-tidegates
pip install -e .
nosetests
This error currently causes 6 tests to fail:
Traceback: