The ESRI legend library file is located in its installation directory./styles folder. Each styles file is an independent legend library. ArcGIS provides multiple legend libraries by default based on different types and applications.
The *. Style File is the symbol library file used by ArcGIS Desktop and applications developed on the basis of ArcGIS Desktop. * The serverstyle file is a symbol library file provided to ArcGIS Engine and ArcGIS Server. Currently, ESRI does not provide tools and methods for creating the *. serversytle file. To create a custom legend, you must first create a. Style File and then convert it to the. serverstyle file. The specific process is described as follows:
Under the installation directory of esridesktop products (arcgis?kittools=), makeserverstyleset.exe is used to convert the *. Style file to the *. serverstyle file. (Note: When you need to convert your own *. Style File, Note: 1 *. The type column of the style file cannot be null. 2 *. The stylefile must be in the same directory as the makeserverstyleset.exe file .) "Contact the shduan@126.com for a solution if the conversion is not available"
Therefore, when you need to customize the ESRI legend library, you need to create your own style file.
To create a style file:
ArcMap provides the management function of the legend library. You can use "style manager" to edit and create legend files. The procedure is as follows:
Menu "Tools" à "styles" à "style manager ..." :
Click "styles" à "create new ...", Select the legend file storage location and file name.
In this way, a new legend library file is created.
How to create a complex legend:
"Style manager…" In ArcMap ..." Only editing and creating simple legends is supported in the environment. If you want to create complicated professional legends, it is difficult to implement them only by the support provided in the ArcMap environment. However, style Manager supports the character symbol mode when creating a new legend. Therefore, you can create a new legend font file to indirectly implement a complex legend.
Assume that the required complex legend font file already exists. The following describes how to create a new legend:
First, add the newly created Style File in styles of "style manager", which is equivalent to a container and provides the point (Marker symbols) and line (line symbols) and (fill symbols.
Then, select the corresponding category based on the type of the created legend, right-click and select "New ..." The editing page is displayed. Select "character symbols" in the type option, select the Ready Font type in the font, and select the expected font symbol. In addition, you can adjust the legend size and offset as needed.
Create a font symbol File
In the process of creating a new complex legend In ArcMap, we assume that the required font symbol file already exists, but in general, according to the different legend symbols in the field we need, the font of the legend symbol cannot be provided by ArcGIS, so we need to create it ourselves. There are some professional software for creating fonts (generally TrueType fonts), which can be selected as needed.
Trackback: http://tb.blog.csdn.net/TrackBack.aspx? Postid = 1570486