Giter Club home page Giter Club logo

Comments (1)

mapface avatar mapface commented on July 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.