Update Map Data

This action allows you to replace the map source data file of a map on the server running DAS with another file. Your new map source data file must have the same delimiter, number of columns, and overall structure as the existing map data source file in order for the map to function properly after the update. The new map source data file should only differ from the existing file by the values that appear in the columns. If the new map source data file has a different structure than the existing file, use the Edit feature to update the map definition.

This command uses the following flags:

-action

updateMapData

-map

<mapName>

-file

<fileName>

-backup (Optional)

<true/false>

-connectFile

<filePath>

To run updateMapData:

Execute this command as follows:

-action updateMapData -map <mapName> -file <fileName> [-backup <true/false> (DEFAULT: true)] -connectFile <filePath>

./sdm  -action updateMapData -map Maps/rMap -file D:\EDLocal_Updated.csv  -connectFile D:\sdm.connect

sdm  -action updateMapData -map Maps/rMap -file D:\EDLocal_Updated.csv  -connectFile D:\sdm.connect