ESRI MDCS - AddRasters?

2159
0
12-16-2015 05:25 AM
NicholasO_Connor
New Contributor II

Hello ESRI and fellow GIS Users

I was hoping someone could help with the dataset_id, raster_type, sources and filter properties given the error message below?

I have 100 tifs stored on D:\test2015\gisdata which I would like to add to a raster mosiac dataset.

Kind Regards

Nicholas

<AddRasters>

        <AddRaster>

          <dataset_id>Dataset_ID</dataset_id>

          <raster_type>Raster Dataset</raster_type>

          <Sources>

            <data_path>D:\test2015\gisdata</data_path>

          </Sources>

          <filter>tif</filter>

          <update_cellsize_ranges>UPDATE_CELL_SIZES</update_cellsize_ranges>

          <update_boundary>UPDATE_BOUNDARY</update_boundary>

          <update_overviews>NO_OVERVIEWS</update_overviews>

          <maximum_pyramid_levels>#</maximum_pyramid_levels>

          <maximum_cell_size>0</maximum_cell_size>

          <minimum_dimension>1500</minimum_dimension>

          <spatial_reference>#</spatial_reference>

          <sub_folder>SUBFOLDERS</sub_folder>

          <duplicate_items_action>ALLOW_DUPLICATES</duplicate_items_action>

          <build_pyramids>NO_PYRAMIDS</build_pyramids>

          <calculate_statistics>NO_STATISTICS</calculate_statistics>

          <build_thumbnails>NO_THUMBNAILS</build_thumbnails>

          <operation_description>#</operation_description>

          <force_spatial_reference>NO_FORCE_SPATIAL_REFERENCE</force_spatial_reference>

        </AddRaster>

<M<message> Calling (arcpy.AddRastersToMosaicDataset_management)  <Error><type>critical</type><text>ERROR 000622: Failed to execute (Add Rasters To Mosaic Dataset). Parameters are not valid. ERROR 000628: Cannot set input into parameter raster_type. </text></Error></Message>

0 Kudos
0 Replies