Raster Layers are usually used as Base Mapping but they may also be used for My Maps. If you are using them for My Maps then simply define a raster layer in the .map file and create a Map Source layer that's associated with it. Bear in mind that the Info click mechanism will not return information. Any information relating to the values of the raster should be displayed through a legend graphic. If you wish to use local raster sources as a Base Map for iShare then follow the instructions below which describe the creation of the .map file, WMS compliance and the build of a WMS base map Map Source.
Info |
---|
If you have multiple sets of Raster images to process then you may wish to check the page on using a Batch Script for creating tileindices. |
Note |
---|
For iShare GIS a Legacy map source can be used instead without the WMS compliance. |
...
Code Block |
---|
D:\astun\tools\ogr\gdaltindex <Tile_index_name>.shp --optfile <path to file>.txt |
Update the .MAP file
Now you have created the Tile Index .shp file you then add this as a WMS layer to the BaseMap or MyMaps .map file e.g.
Code Block |
---|
LAYER METADATA WMS_TITLE "OS Vectormap District (Raster)" END NAME OSVectormap STATUS DEFAULT TILEINDEX "D:/OS VectorMap District (Raster)/data/osvectormapdistrict.shp" TYPE RASTER END |
...