Describe Named Maps - 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

Description

Takes a list of maps as the input and gives the description of those maps.

ACL Authorization Flow

To get the description of maps, the user (or the role they belong to) needs EXECUTE permission on the Named table.

HTTP POST URL Format

The following format is used for HTTP POST requests:

HTTP POST:	/maps.json
POST DATA:	{
                     "namedMapsList": ["/Samples/NamedMaps/CountriesWithShapeTable",
                        "/Samples/NamedMaps/MapWithLayer",
                        "/DoesNotExist"]
                 }

POST BODY: Content-Type:application/json {list of maps}

Returns

Returns the metadata of maps.

Example

Returns the metadata for the CountriesWithShapeTable and MapWithLayer maps located in the /Samples/NamedMaps directory in the repository, in the Locale English (US).

http://<server>:<port>/rest/Spatial/MappingService/maps.json
	{
            "namedMapsList": ["/Samples/NamedMaps/CountriesWithShapeTable",
                        "/Samples/NamedMaps/MapWithLayer",
                        "/DoesNotExist"]
	}

The following example returns the JSON object in the response:

{  
   "mapDescriptions":[  
      {  
         "name":"/Samples/NamedMaps/CountriesWithShapeTable",
         "mapDescription":{...}
      },
      {  
         "name":"/Samples/NamedMaps/MapWithLayer",
         "mapDescription":{…}
      },
      {  
         "name":"/DoesNotExist",
         "errorMessage":"RepositoryEx_ResourceNotFound: Resource was not found - /DoesNotExist"
      }
   ]
}