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:

It is not allowed to use additional <g> elements inside the <g> element of displayed layer.

See also:

SVG Topobases | Examples