You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Next »

ArcGIS Enterprise Marketplace Linux image comes with ArcPy. Thus, it is possible to run MDCS script (in theory).

Step-by-step guide

  1. Copy the entire contents of https://github.com/Esri/mdcs-py/blob/master/scripts/ to working directory.


MDTools_Setup.exe cannot be installed. MDTools is a set of command line tools that simplifies some common management tasks when working with rasters in a mosaic dataset.

Installing Missing Packages

  1. conda install pip
  2. "z:\home\arcgis\bin\Python\envs\test\Scripts\pip.exe" install logger

Use of py cache (.pyc)  files and Python version

Use of solutionsLib.pyc is not compatible with Python3 [1]. Always use source https://github.com/Esri/mdcs-py/blob/master/scripts/solutionsLib.py.

Z:\home\arcgis\src\SDT-56>"z:\home\arcgis\bin\Python\envs\test\python.exe" MDCS.py 
Traceback (most recent call last):
  File "MDCS.py", line 34, in <module>
    import solutionsLib  # import Raster Solutions library
ImportError: bad magic number in 'solutionsLib': b'\x03\xf3\r\n'


References

  1. https://github.com/Miserlou/Zappa/issues/854
  • No labels