The IDLnetOGCWMS::GetServiceSection function method returns the values found in the Service section of the XML file returned by the IDLnetOGCWMS::GetCapabilities method.

Syntax


Result = Obj->[IDLnetOGCWMS::]GetServiceSection( )

Return Value


Returns a single structure containing Service element items. Each field returns a string unless otherwise noted as follows:

Field Name

Description

NAME

1.1.1, 1.3.0 XML source: <service><name>

TITLE

1.1.1, 1.3.0 XML source: <service><title>

ABSTRACT

1.1.1, 1.3.0 XML source: <service><abstract>

NUM_KEYWORD

Provides the number of KEYWORD elements as a convenience. This value is generated by IDL.

KEYWORD

Array of strings (0 to many).

1.1.1, 1.3.0 XML source: <service><keywordlist><keyword>

ONLINE

1.1.1, 1.3.0 XML source: <service><onlineresource>

PERSON

1.1.1, 1.3.0 XML source: <service><contactinformation>
<contactpersonprimary><contactperson>

ORGANIZATION

1.1.1, 1.3.0 XML source: <service><contactinformation>
<contactpersonprimary><contactorganization>

POSITION

1.1.1, 1.3.0 XML source: <service><contactinformation><contactposition>

ADDRESS_TYPE

1.1.1, 1.3.0 XML source: <service><contactinformation><contactaddress>
<addresstype>

ADDRESS

1.1.1, 1.3.0 XML source: <service><contactinformation>
<contact address><address>

CITY

1.1.1, 1.3.0 XML source: <service><contactinformation>
<contact address><city>

STATE

1.1.1, 1.3.0 XML source: <service><contactinformation>
<contact address><stateorprovince>

POSTAL_CODE

1.1.1, 1.3.0 XML source: <service><contactinformation>
<contact address><postcode>

COUNTRY

1.1.1, 1.3.0 XML source: <service><contactinformation>
<contact address><country>

VOICE

1.1.1, 1.3.0 XML source: <service><contactinformation>
<contactvoicetelephone>

FAX

1.1.1, 1.3.0 XML source: <service><contactinformation>
<contactfacsimiletelephone>

EMAIL

1.1.1, 1.3.0 XML source: <service><contactinformation>
<contactelectronicmailaddress>

FEES

1.1.1, 1.3.0 XML source: <service><fees>

ACCESS

1.1.1, 1.3.0 XML source: <service><access>

LAYER_LIMIT

1.3.0 XML source: <service><layerlimit>

Valid only in 1.3.0 (if set then this value is the number of layers that can be requested in a GetMap request). In 1.1.1, this is always equal to an empty string.

MAX_WIDTH

1.3.0 XML source: <service><maxwidth>

Valid only in 1.3.0 (if set then this value is the max width that can be used in a GetMap request). In 1.1.1, this is always equal to an empty string.

MAX_HEIGHT

1.3.0 XML source: <service><maxheight>

Valid only in 1.3.0 (if set then this value is the max height that can be used in a GetMap request). In 1.1.1, this is always equal to an empty string.

Arguments


None

Keywords


None

Examples


See IDLnetOGCWMS::GetLayers for an example that also uses GetServiceSection.

Version History


6.4

Introduced

See Also


IDLnetOGCWMS::GetCapabilities