Comments (1)
I got it working using variables, although I'm still a bit confused since I had to set the MosaicDataset name as the Reference I wanted to create, rather than the existing source
Command used:
python.exe "C:\Image_Mgmt_Workflows\mdcs-py\scripts\MDCS.py" -i:"C:\Image_Mgmt_Workflows\mdcs-py\Parameter\Config\create_ref_md.xml" -p:"C:\image_data\Aerial_Public.gdb\Aerial_Public"$SourceMD -p:"C:\image_data\Aerial_Public.gdb\Aerial_Public"$RefMD
config:
<Application>
<Name>create_ref</Name>
<Command>CR</Command>
<Workspace>
<WorkspacePath>C:\placeholder</WorkspacePath>
<Geodatabase>placeholder.gdb</Geodatabase>
<MosaicDataset>
<MosaicDatasetType>source</MosaicDatasetType>
<Name>Ref_MD;$RefMD$</Name>
<CreateReferencedMosaicDataset>
<in_dataset>Source_MD;$SourceMD$</in_dataset>
<out_mosaic_dataset>Ref_MD;$RefMD$</out_mosaic_dataset>
<SRS></SRS>
<number_of_bands></number_of_bands>
<pixel_type></pixel_type>
<where_clause>Year = 1998</where_clause>
<in_template_dataset></in_template_dataset>
<extent></extent>
<select_using_features></select_using_features>
<lod_field></lod_field>
<minPS_field>MinPS</minPS_field>
<maxPS_field>MaxPS</maxPS_field>
<pixelSize></pixelSize>
<build_boundary>BUILD_BOUNDARY</build_boundary>
</CreateReferencedMosaicDataset>
<Processes>
</Processes>
</MosaicDataset>
</Workspace>
</Application>
from mdcs-py.
Related Issues (20)
- Calculate Value expression / code block - 'not defined' HOT 7
- SyntaxWarning: "is not" with a literal.
- Updated MDTools Setup to support 3.1 version of ArcGIS Pro
- Mosaic Layer as input for MDCS HOT 3
- How to register Mosaic Datasets Footprint layer for web tool publication HOT 3
- Add Deep Learning Commands
- Issue related to Pro with MDCS PYTs/custom objects. HOT 1
- Introducing MDCS Steps functionality HOT 1
- Add standard Lidar commands
- MDTools Setup to support ArcGIS Pro 3.2
- Support for longer namespaces such as arcpy.ia..
- MDCS access support via Jupyter Notebooks
- Update Set Mosaic Dataset Properties .py file HOT 1
- Add Point to Raster tool to MDCS
- Add support to modify the MDCS command chain from a User Function
- Update Master.xml with new parameters for all the relevant GP tools
- MDCS fix ArcGIS version check for Pro
- MDCS/ removal of redundant code that are no longer needed for SP command invocation
- Pro 3.2 support?
- To support user variable values with ';' character
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mdcs-py.