Layer With Table - spectrum_spatial - 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-03-07
ft:lastPublication
2025-03-07T10:28:48.112000

Example

This is an example of a named layer definition that contains a reference to a named table.

In this example, the definition defines the attributes of a feature layer named World Countries. The data source for this layer is a named table that can be accessed by the Repository Service using the path /NamedTables/WorldTable.

<?xml version="1.0" encoding="UTF-8"?>
<NamedLayer version="MXP_NamedResource_1_5" xmlns="http://www.mapinfo.com/mxp">
	<ConnectionSet/>
	<DataSourceDefinitionSet>
		<NamedDataSourceDefinitionRef id="id1" resourceID="/NamedTables/WorldTable"/>
	</DataSourceDefinitionSet>
	<FeatureLayer id="id9" name="World Countries" alias="world" volatile="unknown">
		<Visibility visible="true">
			<VisibleRange enabled="false">
				<ZoomRange uom="mapinfo:length mi">0 0</ZoomRange>
			</VisibleRange>
		</Visibility>
		<DataSourceRef ref="id1"/>
	</FeatureLayer> 
</NamedLayer>