PointStyle - Latest

Spectrum Spatial Guide

Product type
Software
Portfolio
Locate
Product family
Spectrumâ„¢ software
Product
Spectrumâ„¢ software > Spatial > Spectrum Spatial
Version
Latest
ft:locale
en-US
Product name
Spectrum Technology Platform
ft:title
Spectrum Spatial Guide
Copyright
2025
First publish date
2007
ft:lastEdition
2025-09-26
ft:lastPublication
2025-09-26T10:03:58.880000

Description

A PointStyle element defines a style for a point geometry.

Context

The table below lists the elements that can contain, or be contained by, a PointStyle element.

Table 1. Context
Contained by Element Contains

NamedStyle or CompositeStyle

PointStyle

Bitmap or FontSymbol

Attributes

The table below lists the attributes of a PointStyle element.

Table 2. Attributes
Attribute Description

id

A unique identifier for the element.

name

A descriptive name for the element.

Examples

This example specifies an 18-point red push-pin symbol from the MapInfo 3.0 Symbols set. For more information, see MapInfo 3.0 Symbol Codes.

Note that the text attribute is set to C, which is decimal code 67 in the UTF-8 encoding, and the family attribute is set to MapInfo Symbols, which specifies the MapInfo 3.0 Symbols set. In the MapInfo 3.0 Symbols set, code 67 specifies a push-pin symbol.

<?xml version="1.0" encoding="UTF-8"?>
<NamedStyle
    version="MXP_WorkSpace_1_5"
    xmlns="http://www.mapinfo.com/mxp">
    <PointStyle>
        <FontSymbol
            size="18"
            size-unit="mapinfo:length pt"
            stroke="red"
            stroke-opacity="1"
            text="C"
            family="MapInfo Symbols"/>
    </PointStyle>
</NamedStyle>

This example specifies a 14-point blue star symbol from the MapInfo 3.0 Symbols set.

Note that the text attribute is set to #, which is decimal code 35 in the UTF-8 encoding, and the family attribute is set to MapInfo Symbols, which specifies the MapInfo 3.0 Symbols set. In the MapInfo 3.0 Symbols set, code 35 specifies a star symbol.

<?xml version="1.0" encoding="UTF-8"?>
<NamedStyle
    version="MXP_WorkSpace_1_5"
    xmlns="http://www.mapinfo.com/mxp">
    <PointStyle>
        <FontSymbol
            size="14"
            size-unit="mapinfo:length pt"
            stroke="blue"
            stroke-opacity="1"
            text="#"
            family="MapInfo Symbols"/>
    </PointStyle>
</NamedStyle>