You can change the text “” to the path to a small image on your own server. The external graphic is using a sample PNG file on a Cyclomedia server.Alternatively, remove the line Lamp_Ht to omit the tooltip. The text “Lamp_Ht” should be changed to the name of an attribute field in your shapefile.Change the text in the SLD file to symbolize your features as desired.Notepad ++ color codes the various tags in the file to make it easy to read. Notepad ++ is a nice (and free) editor for working with XML files. You may need to change the file type in the open dialog to “All Files (*.*)” to see the SLD file listed. This sample is formatted to symbolize point data with a graphic and to have a tooltip showing the value in an attribute field. Download the sample SLD file ExampleForPointShapefile.sld.An SLD file is an XML format file with either a.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |