SVG Topobase Structure

Generally, a topobase structure looks as follows:

<svg version="1.1" xmlns:fs="http://www.fsight.ru" width="853px" height="640px" proportionality="0.75" xmlns="http://www.w3.org/2000/svg">

<g fs:ItemType="Layer" id="Root">

<g id="Regions" fs:ItemType="Layer">

<g id="RU-MOS" style="fill: #B0B0B0; stroke: #000000; stroke-width: 1;">

<path d="M..." />

...

</g>

...

</g>

</g>

<fs:MetaInfo>

<fs:Geo>

<fs:GeoItem Longitude="..." Latitude="..." X="..." Y="..." />

...

</fs:Geo>

<fs:Attributes>

<fs:Attribute Name="ISO" Type="string">

<fs:Data Id="RU-MOS" Value="RU-MOS" />

...

</fs:Attribute>

...

</fs:Attributes>

</fs:MetaInfo>

</svg>

Description

The specification determines the following elements that are used to create a topobase:

The following specific attributes are used in elements descriptions:

Attribute Description
fs:ItemType It determines element type. It is specified for a root element or layer. This attribute may not be specified for the displayed elements located in the layer. The attribute may have the following string values: {“Layer”, "LinearLayer", “Item”}. Default value: “Item”.

See also:

SVG Topobases | Examples