You are here: Reference > Performing Common Tasks in XML and on the Command Line > Changing an Index's Spatial Reference System Using the Command Line

Changing an Index's Spatial Reference System Using the Command Line

Occasionally it is necessary to modify the spatial reference system (SRS, often called coordinate reference system or CRS) of an index. For example, this would be necessary if you entered the wrong SRS when you created the catalog.

NOTE: Before running any of the command line tools on Unix, you must source the run-time environment.

To change the SRS of an index, run the following command:

$ isindex -modify -c <catalog-name> -srs EPSG:XXXX

Make sure you provide a valid EPSG code for the SRS. This SRS should match that of each image in the catalog. For more information on EPSG codes, visit www.epsg.org.