spectrum spatial getting started guide - pitney...

66
Spectrum™ Technology Platform Version 9.0 SP3 Spectrum Spatial Getting Started Guide

Upload: buituong

Post on 10-Jun-2018

214 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Spectrum Spatial Getting Started Guide - Pitney Bowessupport.pb.com/.../pdf/en/Spectrum_9.0.SP3_SpatialGettingStarted.pdfTolearnaboutthetypesoflayersthatSpectrum™ TechnologyPlatformsupports,seetheResources

Spectrum™ Technology PlatformVersion 9.0 SP3

Spectrum Spatial Getting Started Guide

Page 2: Spectrum Spatial Getting Started Guide - Pitney Bowessupport.pb.com/.../pdf/en/Spectrum_9.0.SP3_SpatialGettingStarted.pdfTolearnaboutthetypesoflayersthatSpectrum™ TechnologyPlatformsupports,seetheResources
Page 3: Spectrum Spatial Getting Started Guide - Pitney Bowessupport.pb.com/.../pdf/en/Spectrum_9.0.SP3_SpatialGettingStarted.pdfTolearnaboutthetypesoflayersthatSpectrum™ TechnologyPlatformsupports,seetheResources

Contents

Chapter 1: What Is Location Intelligence?........................................................7

Chapter 2: What is Spectrum Spatial?..............................................................9Spectrum Spatial Concepts................................................................................10

Named Resources......................................................................................10Repository..................................................................................................10REST..........................................................................................................10RIA Controls...............................................................................................10SOAP..........................................................................................................10Stages........................................................................................................10Web Services..............................................................................................11WSDL.........................................................................................................11

Chapter 3: Modules and Stages.......................................................................13Location Intelligence Module.............................................................................14

Location Intelligence Module Capabilities..................................................14Architecture Overview................................................................................14Mapping Concepts......................................................................................17

Location Intelligence Stages..............................................................................21Enterprise Routing Module................................................................................21Enterprise Routing Stages.................................................................................21Enterprise Geocoding Module...........................................................................22Enterprise Geocoding Stages............................................................................22GeoConfidence Module......................................................................................23GeoConfidence Stages.......................................................................................23

Chapter 4: Named Resources..........................................................................25Named Tables......................................................................................................26Named Maps........................................................................................................26Named Layers......................................................................................................27Named Tiles.........................................................................................................27Named Styles.......................................................................................................27Named Connections............................................................................................28

Page 4: Spectrum Spatial Getting Started Guide - Pitney Bowessupport.pb.com/.../pdf/en/Spectrum_9.0.SP3_SpatialGettingStarted.pdfTolearnaboutthetypesoflayersthatSpectrum™ TechnologyPlatformsupports,seetheResources

Chapter 5: Tools................................................................................................29Spectrum Spatial Manager.................................................................................30Map Uploader.......................................................................................................30Management Console.........................................................................................30Enterprise Designer............................................................................................30MapInfo Pro..........................................................................................................31

Chapter 6: Services...........................................................................................33Mapping Service..................................................................................................34Feature Service....................................................................................................34Geometry Service................................................................................................34Map Tiling Service...............................................................................................35Web Map Service.................................................................................................35Web Feature Service...........................................................................................35Catalog Service (CSW)........................................................................................36Named Resource Service...................................................................................36Enterprise Routing Services (REST).................................................................37

GetRoute....................................................................................................37GetRouteCostMatrix...................................................................................37GetSegmentData........................................................................................37GetTravelBoundary.....................................................................................37PersistentUpdate........................................................................................38

Enterprise Routing Services (SOAP).................................................................38GetRouteData.............................................................................................38GetTravelBoundary.....................................................................................38GetTravelCostMatrix...................................................................................39GetTravelDirections....................................................................................39PersistentUpdate........................................................................................39

Chapter 7: First Steps.......................................................................................41Platform Client Tools...........................................................................................42

Installing the Client Tools............................................................................42Management Console Tasks..............................................................................42

Add Data to Repository..............................................................................43Creating a Named Connection...........................................................................47

Chapter 8: Web Service Examples..................................................................49Mapping Service..................................................................................................50

Render a Map.............................................................................................50Feature Service....................................................................................................50

Search at Point - Java Example.................................................................51Search at Point - SOAP .............................................................................52Search at Point - REST .............................................................................52

Spectrum™ Technology Platform 9.0 SP34

Page 5: Spectrum Spatial Getting Started Guide - Pitney Bowessupport.pb.com/.../pdf/en/Spectrum_9.0.SP3_SpatialGettingStarted.pdfTolearnaboutthetypesoflayersthatSpectrum™ TechnologyPlatformsupports,seetheResources

Geometry Service................................................................................................56Create Buffer - Java Example....................................................................56Generating Stub Code................................................................................58

Chapter 9: Enterprise Designer Example........................................................59Point in Polygon Subflow...................................................................................60Point in Polygon Dataflow (Service)..................................................................61Point in Polygon Dataflow (Job)........................................................................61

5Spectrum Spatial Getting Started Guide

Page 6: Spectrum Spatial Getting Started Guide - Pitney Bowessupport.pb.com/.../pdf/en/Spectrum_9.0.SP3_SpatialGettingStarted.pdfTolearnaboutthetypesoflayersthatSpectrum™ TechnologyPlatformsupports,seetheResources
Page 7: Spectrum Spatial Getting Started Guide - Pitney Bowessupport.pb.com/.../pdf/en/Spectrum_9.0.SP3_SpatialGettingStarted.pdfTolearnaboutthetypesoflayersthatSpectrum™ TechnologyPlatformsupports,seetheResources

1What Is LocationIntelligence?

Location intelligence is:

• An awareness of relationships between location information and businessanalysis and operations

• The ability to use the understanding of geographic relationships to predict howit impacts a business or organization

• The capability to react to how location influences an organization by changingbusiness processes in order to minimize risk and maximize opportunities

Location Intelligence enables a business to measure, compare and analyze itsdata from business operations, in conjunction with external data such astransportation networks, regulatory jurisdictions, market characteristics or its owncustomers.

In this section:

Page 8: Spectrum Spatial Getting Started Guide - Pitney Bowessupport.pb.com/.../pdf/en/Spectrum_9.0.SP3_SpatialGettingStarted.pdfTolearnaboutthetypesoflayersthatSpectrum™ TechnologyPlatformsupports,seetheResources
Page 9: Spectrum Spatial Getting Started Guide - Pitney Bowessupport.pb.com/.../pdf/en/Spectrum_9.0.SP3_SpatialGettingStarted.pdfTolearnaboutthetypesoflayersthatSpectrum™ TechnologyPlatformsupports,seetheResources

2What is Spectrum Spatial?

Spectrum Spatial is an enterprise location intelligence platform designed to provideorganizations with a suite of broadly applicable location capabilities, includingspatial analysis, mapping, routing, geocoding, and geoprocessing. Thesecapabilities can be combined with a wide range of data management capabilitiesin Spectrum™ Technology Platform and an extensive data catalog to solve adiverse variety of business problems.

In this section:

• Spectrum Spatial Concepts . . . . . . . . . . . . . . . . . . . . . . . .10

Page 10: Spectrum Spatial Getting Started Guide - Pitney Bowessupport.pb.com/.../pdf/en/Spectrum_9.0.SP3_SpatialGettingStarted.pdfTolearnaboutthetypesoflayersthatSpectrum™ TechnologyPlatformsupports,seetheResources

Spectrum Spatial ConceptsThis section presents concepts of which you will need an understanding as you develop your applicationswith Spectrum™ Technology Platform.

Named ResourcesA resource can be a table, layer, map, tile, or style. In the Spectrum™ Technology Platform, a namedresource is data to which a name has been given. This allows the resource to referred by its name andnot its properties. Named resources must be stored in a central database called a repository.

For more information, see the Resource and Data section of the Spectrum Spatial Guide.

RepositoryThe repository is a central document database that stores Named Resource definitions.

For more information, see the Resource and Data section of the Spectrum Spatial Guide.

RESTRepresentational State Transfer (REST) is an architectural style that revolves around resources and theactions (analogous to verbs) that one can take with them. The "verbs" are provided by HTTP (for example,GET, PUT, or DELETE). In REST, resources can have one or more representation, typically HTML,JSON and image types. REST services are usually used from within a web application in a browser.

RIA ControlsThe RIA (Rich Internet Application) controls provide a set of browser-based user interface componentsfor easily embedding maps and other location-based capabilities in web pages. The RIA controls canbe used in a wide range of scenarios, from simply embedding maps in your web site to show locations,to creating rich web applications. Built entirely in JavaScript, the controls work without the need for anybrowser plug-ins and without having to write any server-side code. The RIA controls use Web 2.0techniques to provide functionality such as seamless map panning and the ability to search and displayinformation without requiring a web page refresh.

SOAPSOAP is short for Simple Object Access Protocol. A SOAP request and response are precisely definedby the server’s description known as WSDL (Web Service Description Language) and is supported bymany tools and programming languages that act as SOA clients.

StagesStages are pieces of technology provided in a module that can be connected with logic, flow controls,readers and writers using the Enterprise Designer and then used as a batch process, web service or asubset of functionality for other flows.

Spectrum™ Technology Platform 9.0 SP310

Spectrum Spatial Concepts

Page 11: Spectrum Spatial Getting Started Guide - Pitney Bowessupport.pb.com/.../pdf/en/Spectrum_9.0.SP3_SpatialGettingStarted.pdfTolearnaboutthetypesoflayersthatSpectrum™ TechnologyPlatformsupports,seetheResources

Web ServicesThe capabilities of Spectrum Spatial are made available as web services using open standards such asSOAP or REST. To access the web services, you construct an HTTP request and submit it directly tothe web service. The HTTP request can be in the form of a SOAP request, a REST request, or aPOST/GET request, and can be submitted directly from a web browser or from a client application.

WSDLWSDL is short for Web Service Description Language. It describes the capabilities offered by a webservice. Clients connected to a web service can read theWSDL for available operations and send SOAPrequests that call those operations.

11Spectrum Spatial Getting Started Guide

Chapter 2: What is Spectrum Spatial?

Page 12: Spectrum Spatial Getting Started Guide - Pitney Bowessupport.pb.com/.../pdf/en/Spectrum_9.0.SP3_SpatialGettingStarted.pdfTolearnaboutthetypesoflayersthatSpectrum™ TechnologyPlatformsupports,seetheResources
Page 13: Spectrum Spatial Getting Started Guide - Pitney Bowessupport.pb.com/.../pdf/en/Spectrum_9.0.SP3_SpatialGettingStarted.pdfTolearnaboutthetypesoflayersthatSpectrum™ TechnologyPlatformsupports,seetheResources

3Modules and Stages

Modules provide specific processing capabilities to solve specific businessproblems. In Spectrum Spatial the modules perform spatial operations includingmapping, geocoding, routing and geoprocessing.

Stages are pieces of technology provided in a module that can be connected withlogic, flow controls, readers and writers using the Enterprise Designer and thenused as a batch process, web service or a subset of functionality for other flows.

In this section:

• Location Intelligence Module . . . . . . . . . . . . . . . . . . . . . . .14• Location Intelligence Stages . . . . . . . . . . . . . . . . . . . . . . .21• Enterprise Routing Module . . . . . . . . . . . . . . . . . . . . . . . .21• Enterprise Routing Stages . . . . . . . . . . . . . . . . . . . . . . . . .21• Enterprise Geocoding Module . . . . . . . . . . . . . . . . . . . . . .22• Enterprise Geocoding Stages . . . . . . . . . . . . . . . . . . . . . .22• GeoConfidence Module . . . . . . . . . . . . . . . . . . . . . . . . . . .23• GeoConfidence Stages . . . . . . . . . . . . . . . . . . . . . . . . . . . .23

Page 14: Spectrum Spatial Getting Started Guide - Pitney Bowessupport.pb.com/.../pdf/en/Spectrum_9.0.SP3_SpatialGettingStarted.pdfTolearnaboutthetypesoflayersthatSpectrum™ TechnologyPlatformsupports,seetheResources

Location Intelligence ModuleThe Location Intelligence Module enables an organization to rapidly integrate location information intobusiness applications and processes. This enables organizations to create and embedmaps, understandspatial relationships, and carry out spatial calculations. The Location Intelligence Module provides supportfor standards-based geospatial information sharing through support for certified OGC web services.

The Location Intelligence Module provides support for integration at three levels:

• Web application development - Rapid application development user interface components andJavaScript API

• Web service integration - Support for SOAP, REST and certified OGC web services (WMS, WFS,CSW)

• Data integration - Batch and transactional integration of spatial data sources

The Location Intelligence Module is part of the Spectrum Spatial solution encompassing:

• Location Intelligence Module• Enterprise Geocoding Module• Enterprise Routing Module

Location Intelligence Module CapabilitiesThe Location Intelligence Module offers the following capabilities:

• Map-based data visualization and analysis• Feature querying and searching• Geometry operations including measurements (area, perimeter, length), predicates (within, contains,intersects), geometry manipulation (union, buffer, intersection) and coordinate transformation

Some of the things these capabilities enable you to do are:

• Determine which sites are nearest to a given location• Determine whether or not a location resides in a given area• Query a spatial database using spatial functions as well as standard SQL functions• Perform a variety of calculations on spatial data, such as determining the area of a polygon, determiningthe distance between two points, or measuring the perimeter of an area

• Return a geometry object that represents the union of two input geometry objects

Architecture OverviewThe following diagram shows an overview of the fundamental architecture of Spectrum™ TechnologyPlatform Location Intelligence Module, prior to any development, extension, or scaling.

Spectrum™ Technology Platform 9.0 SP314

Location Intelligence Module

Page 15: Spectrum Spatial Getting Started Guide - Pitney Bowessupport.pb.com/.../pdf/en/Spectrum_9.0.SP3_SpatialGettingStarted.pdfTolearnaboutthetypesoflayersthatSpectrum™ TechnologyPlatformsupports,seetheResources

The architecture consists of the following components:

Repository

The foundation of the Spectrum™ Technology Platform Location Intelligence Module is the repository.It contains named resources such as named styles, named tables, named maps, named layers, andnamed configurations. See the Resources and Data section in the Spectrum™ Technology PlatformSpectrum Spatial Guide on support.pb.com.

Core ServicesThe core services that Location Intelligence Module provides are Mapping, Feature, and Geometryservices. See the Services section in Spectrum Spatial Guide on support.pb.com for more information.

OGC ServicesThe OGC (Open Geospatial Consortium) services include:

• Catalog Service for the Web (CSW)• Web Map Service (WMS)• Web Feature Service (WFS)

15Spectrum Spatial Getting Started Guide

Chapter 3: Modules and Stages

Page 16: Spectrum Spatial Getting Started Guide - Pitney Bowessupport.pb.com/.../pdf/en/Spectrum_9.0.SP3_SpatialGettingStarted.pdfTolearnaboutthetypesoflayersthatSpectrum™ TechnologyPlatformsupports,seetheResources

Map TilingThe Map Tiling Service returns map tiles on the fly or from a tile cache at the user's request. See theServices section in the Spectrum Spatial Guide for more information.

Named ResourceYou can use the Named Resource Service to manage almost any type of named resource in the repository.See the Services section in the Spectrum™ Technology Platform Spectrum Spatial Guide onsupport.pb.com.

Architecture: Basic and Scaled DiagramsThe diagram below shows an example of the default, initial architecture of Spectrum™ TechnologyPlatform Location Intelligence Module, where there is a single server on which Spectrum Spatial isinstalled. Everything, including the repository, image files, and tile cache on a single box in the samelocation as where the product is installed.

To scale Spectrum Spatial from one to three servers, each server leverages a single shared databaseserver and image server to maximize efficiency and to avoid situations where an image or databaseresource is unavailable to one of the Spectrum Spatial servers. The file image server stores all imagesbetween multiple versions of Spectrum Spatial. All instances of Spectrum Spatial store images in a singlelocation

Spectrum™ Technology Platform 9.0 SP316

Location Intelligence Module

Page 17: Spectrum Spatial Getting Started Guide - Pitney Bowessupport.pb.com/.../pdf/en/Spectrum_9.0.SP3_SpatialGettingStarted.pdfTolearnaboutthetypesoflayersthatSpectrum™ TechnologyPlatformsupports,seetheResources

For load balancing information, see the Adminstration section in the Spectrum™ Technology PlatformSpectrum Spatial Guide on support.pb.com.

Mapping ConceptsBefore you create a mapping application, it's helpful to understand basic mapping concepts and howthese concepts are implemented in Spectrum™ Technology Platform. This chapter discusses the commonconcepts you will come across as you learn Spectrum™ Technology Platform.

MapsAmap displays the spatial relationship amongmap features, such as town boundaries, customer locations,or power lines. The map visually orients you to where those features are and what they represent. Inaddition to features, elements on the map can include labels, titles, legends, and themes. Themes arecreated based on some action taken involving the features and information on the map.

LayersLayers contain the rules of how spatial data is rendered on a map, whether that data be vector features,grid or raster images, labels or dynamic generated data such as pie or bar charts. Thematic rules aretypically used to determine the map styles in a layer. This dynamically connects the map visualizationwith the runtime data associated with the map elements.

The bottommost layer is drawn first and the topmost layer drawn last. Layers containing features thatwould obscure the features of other layers should be placed lower. For example, a layer of boundaryregions should be placed beneath a layer of points.

17Spectrum Spatial Getting Started Guide

Chapter 3: Modules and Stages

Page 18: Spectrum Spatial Getting Started Guide - Pitney Bowessupport.pb.com/.../pdf/en/Spectrum_9.0.SP3_SpatialGettingStarted.pdfTolearnaboutthetypesoflayersthatSpectrum™ TechnologyPlatformsupports,seetheResources

To learn about the types of layers that Spectrum™ Technology Platform supports, see the Resourcesand Data section in the Spectrum™ Technology Platform Spectrum Spatial Guide on support.pb.com.

TablesTables are collections of features from a data source. Tables hold rows and columns of information thatdescribe the features, including their geometry, style, and attributes.

FeaturesA feature is a row in a table. Features are defined by their data source, ID, style, attributes, and in thecase of spatial features, geometry. Features are displayed on a map as a Feature Layer.

Searching features for additional information is one of the main uses of digital maps. In Spectrum™

Technology Platform features are returned in FeatureCollections as the result of a query.

Labels and LegendsMaps need text such as labels and legends to deliver the message of the map.

Labels describe the data in the feature table. They can be customized in many ways, including theirvisibility, position, style, and content. Themes that change the style and content can be applied to labellayers. Use MI SQL expressions to generate custom label strings and rules.

Legends are cartographic elements that describe the features in a coded manner. For example, thelegend may describe the boundaries as school districts, the lines as a power line network, or points ascorporate office locations. Legends also contain a title to describe collectively what the map represents.

Legends in Spectrum™ Technology Platform are generated on the fly when a map is requested, andbased on the defined themes and styles of the map's layers.

Spectrum™ Technology Platform 9.0 SP318

Location Intelligence Module

Page 19: Spectrum Spatial Getting Started Guide - Pitney Bowessupport.pb.com/.../pdf/en/Spectrum_9.0.SP3_SpatialGettingStarted.pdfTolearnaboutthetypesoflayersthatSpectrum™ TechnologyPlatformsupports,seetheResources

ThemesThemes are the mechanism by which you determine the map display. This can be as simple as a singlestyle for all features (override) or more complex rules to visualize the information from the underlyingdata.

The main purpose of a theme is to graphically communicate a particular type of data that is associatedwith the layer, such as population levels or temperature ranges. The particular type of data forms thetheme of the map, and the theme can represent the data using shades of color, fill patterns, symbols,bar charts, and pie charts.

For example, a ranged theme shows color blocks where each color represents features on the map thatmeet the same criteria. A graduated symbol theme is useful for showing distributions of populations forexample, with the largest symbol representing the largest population.

Themes can also be created for labels. For example, use a ranged label theme to show the relativepopulation size among cities. The largest labels represent the cities with the largest populations.

19Spectrum Spatial Getting Started Guide

Chapter 3: Modules and Stages

Page 20: Spectrum Spatial Getting Started Guide - Pitney Bowessupport.pb.com/.../pdf/en/Spectrum_9.0.SP3_SpatialGettingStarted.pdfTolearnaboutthetypesoflayersthatSpectrum™ TechnologyPlatformsupports,seetheResources

StylesStyles enable you to control the visual appearance of map features, labels, themes and legends. Eachfeature has a default style. To change the style, apply an override theme.

In Spectrum™ Technology Platform the support for sparse styles allows you to change only the propertiesyou want and merge styles together to form a single style.

Coordinate Systems and ProjectionsCoordinate systems and projections are two important mapping concepts about which you should havea basic understanding. Projection refers to how a map is displayed on a flat surface such as a papermap or computer screen, while a coordinate system describes how map features are spatially arranged.Both are important considerations when developing applications, especially those where spatial precisionand accuracy are important.

A projection is a method of reducing the distortion that occurs when objects from a spherical surface aredisplayed on a flat surface. There are two main trade-offs to be considered: the preservation of equalarea, and the preservation of the true shape of a feature. There are many different types of projections,each designed to reduce the amount of distortion for a given area. Some projections preserve shape;others preserve accuracy of area, distance, or direction.

A coordinate system is a set of parameters that tells you how to interpret the locational coordinates forobjects. One of those parameters is projection. Coordinates can be of two types: Spherical or Cartesian.Spherical relates to locations on the curved surface of the Earth, while Cartesian describes flat surfacelocations in two dimensions. Both are represented by x and y coordinates. The difference comes whencalculating distance or area of features that represent real Earth locations such as streets or rivers(Spherical), or relative locations, such as a map of brain anatomy or a chess board (Cartesian).

Knowing which coordinate system your map uses is an important consideration when developingapplications. Analytical operations involving distance and area calculations, such as buffering, routing,and querying, use the coordinate system and projection to yield the correct results.

Map TilesMap tiles are portions of a map that are seamlessly joined on the fly while you are panning and zoomingin the map window. Each pan and zoom is a call to the server to request the appropriate map tile(s).Only those that fit the bounds of the map view and match the zoom level are returned. Google Mapsand Bing Maps are examples of applications that use map tiles.

Map tiles are created by dividing a map into levels that represents specific zoom levels. Level 0 is theentire map, Level 1 is one level zoomed out from the entire map and divided evenly into four tiles. Level

Spectrum™ Technology Platform 9.0 SP320

Location Intelligence Module

Page 21: Spectrum Spatial Getting Started Guide - Pitney Bowessupport.pb.com/.../pdf/en/Spectrum_9.0.SP3_SpatialGettingStarted.pdfTolearnaboutthetypesoflayersthatSpectrum™ TechnologyPlatformsupports,seetheResources

2 contains 16 tiles, which are the four tiles from Level 1 divided evenly. Level 3 are the 16 Level 2 tilessubdivided into 64 tiles. Levels 0-3 of a world map typically show global levels detail, while higher levels,are zoomed in to show street-level detail. Actual zoom levels are dependent on the bounds of the namedmap.

At very high levels (16 and above), the number of tiles is huge. For faster retrieval, you can pre-renderthe tiles if you know the map layers will not change. Or for more dynamic map tiles, you can cache themand provide an expiration date so that new tiles are generated when necessary.

Rasters and GridsRaster and grid images are special kinds of layers. These are image files plus a registration point TABfile that allows the image to be rendered as a map layer. You can create a registration point file in MapInfoProfessional.

A raster is typically a background layer used for reference: aerial photo, topo map, custom graphics.User-controlled properties of raster images include brightness, contrast, opacity, grayscale andtransparency.

A grid is an overlay layer that shows a continuous gradation of color to represent interpolated valuesfrom the underlying data. User-controlled properties of a grid include brightness, contrast, opacity,grayscale, transparency, and an inflection collection (how the colors are defined and spread).

Location Intelligence Stages• Find Nearest – Locates the points of interest (POI) that are nearest to a given location.• Query Spatial Data – Allows you to query a spatial database using MI SQL functions that can, forexample, search for a point within a given polygon.

• Read Spatial Data – Allows you to access spatial data in a variety of commonly-used spatial dataformats using MI SQL functions.

• Spatial Calculator – Performs string and geometry conversions as well a variety of calculations onspatial data, such as determining the area of a polygon or distance between two points.

• Spatial Union – Returns a geometry object which represents the union of two input geometry objects.• Write Spatial Data – Allows you to insert data into a named table or update data in a named table asoutput of a job.

• Closest Site – Determines which sites are closest to a given location.• Point In Polygon – Determines whether or not a location resides in a given area.

Enterprise Routing ModuleThe Enterprise Routing Module provides the ability to obtain driving or walking directions, calculate drivetime and drive distance, and identify locations within a certain time or distance from a starting point.

Enterprise Routing Stages• Get Route Data—Returns routing segment information for a point or segment ID. When you specifya point, the closest route segments are returned. When you specify a segment ID, the route segmentfor that segment ID is returned.

21Spectrum Spatial Getting Started Guide

Chapter 3: Modules and Stages

Page 22: Spectrum Spatial Getting Started Guide - Pitney Bowessupport.pb.com/.../pdf/en/Spectrum_9.0.SP3_SpatialGettingStarted.pdfTolearnaboutthetypesoflayersthatSpectrum™ TechnologyPlatformsupports,seetheResources

• Get Travel Boundary—Allows you to obtain polygons corresponding to an isochrone or isodistancecalculation. An isochrone is a polygon or set of points representing an area that can be traversed ina network from a starting point in a given amount of time. An isodistance is a polygon or set of pointsrepresenting the area that is a certain distance from the starting point.

• Get Travel Cost Matrix—Calculates the travel time and distances between an array of start and endlocations.

• Get Travel Directions—Allows you to route from one point to another point or from one point tomultiple other points.

• Persistent Update—Allows changes to the routing data that are made at the server level and applyto all route requests or stages. These updates remain intact even if the server is restarted. Updatescan be made on points, segments, or road types.

Enterprise Geocoding ModuleThe Enterprise Geocoding Module performs address standardization, address geocoding, and postalcode centroid geocoding. You can enter an address and get outputs such as geographic coordinates,which can be used for detailed spatial analysis and demographics assignment. You can also enter ageocode, a point represented by a latitude and longitude coordinate, and receive address informationabout the provided geocode.

Enterprise Geocoding StagesEnterprise Geocoding Module consists of the following components. The specific components you havedepend on your license.

• Geocode Address AUS—Takes an address in Australia and returns latitude/longitude coordinatesand other information.

• Geocode Address GBR—Takes an address in Great Britain and returns latitude/longitude coordinatesand other information.

• Geocode Address Global—Takes an address in any supported country and returns latitude/longitudecoordinates and other information. This component will only geocode addresses from countries youhave licensed. It does not support Australia and Great Britain.

• Geocode Address World—Takes an address located in any of the supported countries and returnsthe city centroid or, for some countries, postal centroid. The World component cannot geocode to thestreet address level.

• Geocode Address Africa — Provides street-level geocoding for many African countries. It can alsodetermine city or locality centroids, as well as postal code centroids for selected countries.

• Geocode Address Middle East — Provides street-level geocoding for many Middle East countries.It can also determine city or locality centroids. The Middle East component supports both English andArabic character sets.

• Geocode Address Latin America — Provides street-level geocoding for many Latin Americancountries. It can also determine city or locality centroids. There is postal code coverage for selectedcountries.

• Geocode US Address—Takes an input address and returns latitude/longitude coordinates and otheraddress information.

• GNAF PID Location Search—Identifies the address and latitude/longitude coordinates for a GeocodedNational Address File Persistent Identifier (G-NAF PID).

• Reverse APN Lookup—Takes an Assessor's Parcel Number (APN), Federal Information ProcessingStandards (FIPS) county code, and FIPS state code and returns the address of the parcel.

• Reverse Geocode US Location—Takes as input a geocode (latitude and longitude coordinate) andreturns the address of the location.

Spectrum™ Technology Platform 9.0 SP322

Enterprise Geocoding Module

Page 23: Spectrum Spatial Getting Started Guide - Pitney Bowessupport.pb.com/.../pdf/en/Spectrum_9.0.SP3_SpatialGettingStarted.pdfTolearnaboutthetypesoflayersthatSpectrum™ TechnologyPlatformsupports,seetheResources

GeoConfidence ModuleThe GeoConfidence Module is used to determine the probability that an address or street intersectionis within a given area. The module takes an address or intersection's location (determined by GeocodeUS Address), converts that location to a point, line, or polygon (depending on the precision of the match),then compares that shape with a database of known shapes to see if the two overlap, and the percentageoverlap. For example, you could use the GeoConfidence Module to make decisions on a flood zonerating based on how much overlap there is between an address's location and the flood zone data.Anything greater than a 95% overlap with a 100-year flood zone may indicate that the address is in theflood zone. Conversely, anything less than 95% could cause your business process to send the addressto exception processing that might include a manual review.

An address or intersection can be geocoded to a point, an address along a street segment (an array ofstreet segment points), ZIP + 4 centroid, ZIP + 2 centroid, or ZIP Code centroid (polygons). You can usethese shapes (points, lines, or polygons) to compare with other shapes to determine overlap, which canbe used to determine a risk or probability.

Different geoconfidence polygons are generated depending on the GeoConfidence result returned bythe Enterprise Geocoding Module. Refer to the Enterprise Geocoding Module documentation for moreinformation about the GeoConfidence information returned by the Enterprise Geocoding Module.

The GeoConfidence Module supports U.S. locations only.

GeoConfidence uses services provided by the Enterprise Geocoding and Location Intelligencemodules.

Note:

GeoConfidence StagesGeoConfidence deploys three dataflows that you can modify in Enterprise Designer. Each dataflowconsists of various components that were installed with the Enterprise Geocoding and Location Intelligencemodules.

For information about each component in the installed dataflows, see the relevant component chapterin the Spectrum™ Technology Platform User's Guide.

The names of the dataflows are:

• GeoConfidenceSurface This is the dataflow that creates the geoconfidence surface that can be usedfor further analysis. The input is the GeoConfidence information that is returned from the EnterpriseGeocoding Module. Currently, only the Geocode US Address stage can return this information.

• CreatePointsConvexHull This is a subflow that is used by the GeoConfidenceSurface template. Youshould not need to make any changes to this subflow.

• FloodRiskAnalysis This is an example dataflow.

23Spectrum Spatial Getting Started Guide

Chapter 3: Modules and Stages

Page 24: Spectrum Spatial Getting Started Guide - Pitney Bowessupport.pb.com/.../pdf/en/Spectrum_9.0.SP3_SpatialGettingStarted.pdfTolearnaboutthetypesoflayersthatSpectrum™ TechnologyPlatformsupports,seetheResources
Page 25: Spectrum Spatial Getting Started Guide - Pitney Bowessupport.pb.com/.../pdf/en/Spectrum_9.0.SP3_SpatialGettingStarted.pdfTolearnaboutthetypesoflayersthatSpectrum™ TechnologyPlatformsupports,seetheResources

4Named Resources

A named resource is a form of mapping data, such as amap data file or a databasetable connection, to which a name has been attached. Attaching names toresources offers the following advantages:

• Allows a resource to be known by its name and not by its properties.• Allows a resource to be located in one spot but be referenced from manylocations, which makes administration of resources easier.

• To change the look or behavior of applications or data, only the resource needsto be changed, not each application or data file.

Defining mapping data as named resources enables you to add them to a JCRrepository that is accessible to the Repository Service. After a named resourcehas been added to the repository, you can refer to it by name in XML requests.

In this section:

• Named Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .26• Named Maps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .26• Named Layers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .27• Named Tiles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .27• Named Styles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .27• Named Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .28

Page 26: Spectrum Spatial Getting Started Guide - Pitney Bowessupport.pb.com/.../pdf/en/Spectrum_9.0.SP3_SpatialGettingStarted.pdfTolearnaboutthetypesoflayersthatSpectrum™ TechnologyPlatformsupports,seetheResources

Named TablesLocation Intelligence Module stages, services, and operations require named tables to access varioustypes of data. Named tables are resources that reference data in various formats (see table below). Thissection describes how to add Location Intelligence Module named table resources. Named tables arestored in the Spectrum Spatial repository, and can be used by all spatial services.

For each type of supported data sources we support three types of tables: Spatial (table with Geometrycolumn), XY (table with X and Y column), and Non Spatial (table without geometry column and no columnhints specified that reference X and Y columns). Each of these types of tables are supported using adifferent data provider resulting in a different type of named table. When creating named tables you mustspecify the correct type. This is important for operations such as inserting or reading data to and from atable. The following table outlines the supported data sources and the type of table required for readand insert operations:

Table 1: Supported Data Sources

X/Y TableNon Spatial TableSpatial TableData Source

Read/InsertRead/Insertn/aGeneric JDBC

ReadReadReadSAP HANA

Read/InsertRead/InsertRead/InsertOracle 11gR2 / Oracle Linux

Read/InsertRead/InsertRead/InsertSQLServer 2008/2012 R2

Read/InsertRead/InsertRead/InsertPostgres 8+ / PostGIS 2.x

Table Formats (file-based datasources)

n/an/aReadShape

n/an/aReadMapInfo TAB

If you haven't already done so, install the data on your system. For adding named tables that are in adatabase resource, you must first add the named connection to the database resource. There are twotypes of named connections. For information on adding named connections, see Creating a NamedConnection on page 47.

Named MapsThe Mapping Service in the Location Intelligence Module can use named maps for display. By referringto a named map, the caller only needs to pass the name and location in the repository and the locationand size of the map (called the MapView) to return a map image.

The capabilities for managing named resources are being moved to the Spectrum SpatialManager and to a MapInfo Professional plug-in called Map Uploader. The Spectrum Spatial

Important:

Manager allows you to view, rename, move, and delete resources safely, as well as createand modify named connections and named tables. We recommend you use it for thesetasks. Adding namedmaps, as well as adding and modifying named tiles, can be done usingManagement Console, while adding named maps, tables, and layers can be done usingthe Map Uploader. However, future enhancements will only be added to the plug-in or theSpectrum Spatial Manager.

You can download the Map Uploader installer and view its documentation on the SpectrumSpatial section of the Welcome Page, under the Utilities tab. Documentation for the Map

Spectrum™ Technology Platform 9.0 SP326

Named Tables

Page 27: Spectrum Spatial Getting Started Guide - Pitney Bowessupport.pb.com/.../pdf/en/Spectrum_9.0.SP3_SpatialGettingStarted.pdfTolearnaboutthetypesoflayersthatSpectrum™ TechnologyPlatformsupports,seetheResources

Uploader is also located at support.pb.com. To preserve connections between resources,use the Spectrum Spatial Manager to rename, move, and delete named resources.

In Management Console, the Named Map tool takes an existing MWS file (MapInfo Workspace) whichdefines a map created in MapInfo Professional, and generates a namedmap in the repository. The MWSfile must contain TAB file references.

There are three options when adding named maps:

• Use with existing named tables• Use with inline table definitions• Create named tables at the same time

If you haven't already done so, have the .TAB data accessible on your system.

If your tables are stored in a database, you must first add the named connection to the database resourcebefore creating the named table or namedmap. There are two types of named connections. See Creatinga Named Connection on page 47.

Only a user account with full permissions to named resources has the ability to add named mapsusing the Management Console or . For more information on assigning permissions, see the

Note:

Administration section in the Spectrum™ Technology Platform Spectrum Spatial Guide onsupport.pb.com.

Named LayersA named layer defines the properties of a map layer. Map layers are used to make up a map, and a mapis always composed of at least one map layer. Each map layer is populated with spatial data from a datasource such as a TAB file.

For more information about named layers, see the Resource and Data section of the Spectrum SpatialGuide on support.pb.com.

Named TilesLocation Intelligence Module Map Tiling Service uses named tiles to render maps. The named tiles arestored in the repository located in the NamedTiles directory under the root repository. For example, adefault installation will place the named tile definition files athttp://localhost:8080/RepositoryService/repository/default/NamedTiles. Named tiles reference a namedmap that is used for the map display of the tile.

For adding named tiles, you must already have a named map defined. You can create or modify namedmaps using the Named Map tool in the Management Console, or manually creating the named map anduploading it to the repository. For information on adding Named Maps, see Named Maps on page 26.

Only a user account with a spatial-admin role has the ability to add named tiles using theManagement Console. For more information on assigning permissions, see the Administrationsection in the Spectrum™ Technology Platform Spectrum Spatial Guide on support.pb.com.

Note:

Named StylesA named style defines the properties of a map style. Styles enable you to control the visual appearanceof your maps by specifying the visual characteristics of various map elements, such as lines, filled areas,and symbols.

27Spectrum Spatial Getting Started Guide

Chapter 4: Named Resources

Page 28: Spectrum Spatial Getting Started Guide - Pitney Bowessupport.pb.com/.../pdf/en/Spectrum_9.0.SP3_SpatialGettingStarted.pdfTolearnaboutthetypesoflayersthatSpectrum™ TechnologyPlatformsupports,seetheResources

For more information about named styles, see the Resource and Data section of the Spectrum SpatialGuide.

Named ConnectionsA named connection is a named resource that contains a name and a connection to a data source andis stored in the repository. The name can be referenced in named tables without having to include theconnection information. If the connection changes, only the named connection is updated. The namedtables that use the named connection will automatically reference the updated connection.

For more information about named connections, see the Resource and Data section of the SpectrumSpatial Guide on support.pb.com.

Spectrum™ Technology Platform 9.0 SP328

Named Connections

Page 29: Spectrum Spatial Getting Started Guide - Pitney Bowessupport.pb.com/.../pdf/en/Spectrum_9.0.SP3_SpatialGettingStarted.pdfTolearnaboutthetypesoflayersthatSpectrum™ TechnologyPlatformsupports,seetheResources

5Tools

The Spectrum™ Technology Platform ships with several tools for managing namedresoources.

Currently we are transitioning the management to the Spectrum Spatial Managerand the Map Uploader plug-in for MapInfo Professional. Review each tooldescription to determine the best tool for your task.

In this section:

• Spectrum Spatial Manager . . . . . . . . . . . . . . . . . . . . . . . . .30• Map Uploader . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .30• Management Console . . . . . . . . . . . . . . . . . . . . . . . . . . . . .30• Enterprise Designer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .30• MapInfo Pro . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .31

Page 30: Spectrum Spatial Getting Started Guide - Pitney Bowessupport.pb.com/.../pdf/en/Spectrum_9.0.SP3_SpatialGettingStarted.pdfTolearnaboutthetypesoflayersthatSpectrum™ TechnologyPlatformsupports,seetheResources

Spectrum Spatial Manager

Spectrum Spatial Manager

The Spectrum Spatial Manager is a web application for browsing and managing named resources. Withthe Spectrum Spatial Manager you can:

• Create and modify named connections and named tables• Rename a resource that exists in the repository• Move a resource that exists in the repository• Delete a resource from the repository• Create, rename, and delete folders in the repository

To preserve connections between resources, the Spectrum Spatial Manager is the preferred tool forrenaming, moving, or deleting named resources.

For more information, see the Resources and Data section of the Spectrum Spatial Guide atsupport.pb.com.

Map Uploader

Map Uploader

Map Uploader is a plug-in for MapInfo Professional (v11.5 or above) where you can add named resources(namedmaps, named layers, and named tables) to the repository. Although you can upload these namedresources using Management Console as well, the Map Uploader is the preferred tool for this task.

Download the Map Uploader installer and view its documentation on the Spectrum Spatial section of theWelcome Page, under the Utilities tab. Documentation for the Map Uploader is also located atsupport.pb.com.

Management Console

Management ConsoleManagement Console is the tool for managing many aspects of Spectrum. For Spectrum Spatial, youcan use Management Console to add and modify named maps and named tiles.

Management Console is one of several platform tools that you can download and install from the SpectrumWelcome Page, under the Platform Client Tools section.

Enterprise DesignerEnterprise Designer is a visual tool for creating dataflows.

See Enterprise Designer Example on page 59 for an example of a point in polygon subflow anddataflow.

Spectrum™ Technology Platform 9.0 SP330

Spectrum Spatial Manager

Page 31: Spectrum Spatial Getting Started Guide - Pitney Bowessupport.pb.com/.../pdf/en/Spectrum_9.0.SP3_SpatialGettingStarted.pdfTolearnaboutthetypesoflayersthatSpectrum™ TechnologyPlatformsupports,seetheResources

MapInfo ProMapInfo Pro is a location intelligence application that offers world class mapping and spatial analysisfunctionality. Consider it a co-application with Spectrum Spatial where you can build sophisticated mapsand complex workspaces in MapInfo Pro. Then you bring your maps into Spectrum Spatial with theMapBasic application Map Uploader so you can access mapping and feature web services, create andrun dataflows in Enterprise Designer, manage named resources with Named Resource Manager andManagement Console, and much more.

For a discussion of the functional compatibility between Spectrum Spatial and MapInfo Pro, see theMapInfo Pro Release Notes, beginning with version 12.5.1.

31Spectrum Spatial Getting Started Guide

Chapter 5: Tools

Page 32: Spectrum Spatial Getting Started Guide - Pitney Bowessupport.pb.com/.../pdf/en/Spectrum_9.0.SP3_SpatialGettingStarted.pdfTolearnaboutthetypesoflayersthatSpectrum™ TechnologyPlatformsupports,seetheResources
Page 33: Spectrum Spatial Getting Started Guide - Pitney Bowessupport.pb.com/.../pdf/en/Spectrum_9.0.SP3_SpatialGettingStarted.pdfTolearnaboutthetypesoflayersthatSpectrum™ TechnologyPlatformsupports,seetheResources

6Services

The capabilities of Spectrum Spatial are made available as web services usingopen standards such as SOAP or REST. To access the web services, youconstruct an HTTP request and submit it directly to the web service. The HTTPrequest can be in the form of a SOAP request, a REST request, or a POST/GETrequest, and can be submitted directly from a web browser or from a clientapplication.

In this section:

• Mapping Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .34• Feature Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .34• Geometry Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .34• Map Tiling Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .35• Web Map Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .35• Web Feature Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .35• Catalog Service (CSW) . . . . . . . . . . . . . . . . . . . . . . . . . . . .36• Named Resource Service . . . . . . . . . . . . . . . . . . . . . . . . . .36• Enterprise Routing Services (REST) . . . . . . . . . . . . . . . . .37• Enterprise Routing Services (SOAP) . . . . . . . . . . . . . . . .38

Page 34: Spectrum Spatial Getting Started Guide - Pitney Bowessupport.pb.com/.../pdf/en/Spectrum_9.0.SP3_SpatialGettingStarted.pdfTolearnaboutthetypesoflayersthatSpectrum™ TechnologyPlatformsupports,seetheResources

Mapping ServiceThe Mapping Service provides a simplified interface to perform Mapping Service rendering, themes,overlays, and conversions. TheMapping Service provides both simple operations that are more frequentlyused, or more complex operations that require higher levels of customization.

The Mapping Service provides operations that:

• list, get and describe maps, layers, styles, and tables in the repository• conversion methods real world coordinates, XY, and screen coordinates• screen calculations such as length• navigation methods such as zoom, and pan• render maps and layers• overlay, override, and theme maps• customize your map with legends, watermarks, and other adornments.

In Spectrum Spatial, data access and mapping is independent. The tables define the data access, andthe repository takes care of the table management. Therefore, with the Mapping Service, you are ableto render maps and perform mapping operations without the worry of where the data is located.

Feature ServiceThe Feature Service provides the ability to search spatial databases. It provides a set of commonoperations that you can use to query content, regardless of the underlying data provider. The advantageof this is that you can run the exact same operation against many different content stores (such as anative TAB file, an Oracle database table, or a SQL Server database table) by specifying different namedtables; the same query will work on each table type.

The Feature Service provides operations that:

• list all tables in the catalog• describe specific tables in the catalog• search within a distance, polygon or envelope• search intersections of geometries and/or bounding boxes• search within a polygon or bounding box• search for the nearest feature or edge• search using a custom MapInfo SQL query• insert features into a database table

Geometry ServiceThe Geometry Service provides a simplified interface to perform Geometry Service measurements,conversions, and operations. The Geometry Service provides the following capabilities:

• Aggregate (buffer, centroid, envelope, union, intersection, convex hull, difference, symmetricaldifference)

• Transformation (coordinate transformations)• Measurement (area, distance, length, perimeter)• Predicate (contains, intersects, within)

Spectrum™ Technology Platform 9.0 SP334

Mapping Service

Page 35: Spectrum Spatial Getting Started Guide - Pitney Bowessupport.pb.com/.../pdf/en/Spectrum_9.0.SP3_SpatialGettingStarted.pdfTolearnaboutthetypesoflayersthatSpectrum™ TechnologyPlatformsupports,seetheResources

This service provides a set of common operations that you can use to perform operations on content,regardless of the data provider. One advantage is that you can run the exact same operation againstmany different content repositories (e.g., a native TAB file, an Oracle table, or a SQL Server table) byspecifying different named tables; the same operation will work on each table type. Using the GeometryService, you only need to worry about the request, not the location or type of data in the repository.

The Geometry Service is based on the well known mathematical concepts described in the OGC SimpleFeatures Specification.

Map Tiling ServiceThe Map Tiling Service dynamically generates subsets of a map on a per-request basis. This subset iscalled a tile. The tiles generated from the Map Tiling Service can be used individually, or combined toform larger maps, in applications for seamless map interaction. This service provides fast, simple,light-weight map rendering where more complex map rendering can be performed using the MappingService.

The Mapping Service provides operations that:

• lists the available tiles• describes the metadata for a specfic named tile• gets tiles based on the input parameters

Web Map ServiceThe Spectrum™ Technology PlatformWebMap Service (WMS) allows software clients to reference mapimages over the Internet or a private intranet. The WMS implementation is based on the WMS 1.1.1 and1.3.0 OGC specification. Using HTTP requests, the WMS provides georeferenced data to a client thatdisplays this data as an image. Georeferenced data is information associated with maps that describethe real world extents of specific features and the projection upon which it is based.

The images can be provided as GIF, JPEG, PNG, and other image formats.

WMS provides operations that:

• describe the service capabilities such as available layers and coordinate system• get an image of a map• get information about features

Web Feature ServiceThe Web Feature Service (WFS) is used for searching, obtaining metadata descriptions, querying, andfiltering spatial data (feature types) at the service level. The XML interface and syntax follow the WFS1.0.0 OGC specification. Both SOAP and HTTP POST/GET requests are supported. As a result, astandard compliant WFS client, such as MapInfo Professional, can access data by submitting an XMLrequest through HTTP to display it on a map or to get vector geometries for calculations.

Use the Web Feature Service to help perform a search for features within a given distance from a point(or other type of geometry). For example, a real estate application determines a realistic value for ahome by comparing the distance of it to numerous features, including railroad tracks, highways, shopping

35Spectrum Spatial Getting Started Guide

Chapter 6: Services

Page 36: Spectrum Spatial Getting Started Guide - Pitney Bowessupport.pb.com/.../pdf/en/Spectrum_9.0.SP3_SpatialGettingStarted.pdfTolearnaboutthetypesoflayersthatSpectrum™ TechnologyPlatformsupports,seetheResources

malls, and police stations. This application would call WFS to select a highway feature and a home (apoint). The application would then calculate distance values for proprietary rating calculations.

WFS provides operations that:

• describe the service capabilties• get the schema description for features• get features and information about them

WFS provides operations that:

• describe the service capabilties• get the schema description for features• get features and information about them

Catalog Service (CSW)The Catalog Service for the Web (CSW) provides the ability to search, retrieve, and update collectionsof descriptive information (metadata) about geospatial data, services, and related resources. Catalogsare used to register metadata that conform to a specific information model or standard. You then havethe ability to search for geospatial data and services in very efficient ways.

The CSW provides operations that:

• describe the service capabilities• describe the information models (schema) supported by the catalog• search within the catalog• get records based on a particular ID• insert, update, or delete catalog entries• batch retrieval and conversion of metadata

The CSW has two main interfaces: SOAP and HTTP POST/GET. The SOAP service URL structure ishttp://host:port/soap/CSWService, while the HTTP POST/GET URL structure ishttp://host:port/rest/Spatial/CSW.

Named Resource ServiceThe Named Resource Service provides the ability to work with resources in the repository. It providesa set of common operations that you can use to add, list, update, delete, and search resources in therepository. The advantage of this is that you can administer the repositories resources at the servicelevel, with a simple SOAP API that allows you to manage your content.

The Named Resource Service provides operations that:

• list all resources (or a subset) in the repository• add a resource to the repository• modify a resource that exists in the repository• delete a resource from the repository• read a resource from the repository to return the definition• search for resources in the repository

Spectrum™ Technology Platform 9.0 SP336

Catalog Service (CSW)

Page 37: Spectrum Spatial Getting Started Guide - Pitney Bowessupport.pb.com/.../pdf/en/Spectrum_9.0.SP3_SpatialGettingStarted.pdfTolearnaboutthetypesoflayersthatSpectrum™ TechnologyPlatformsupports,seetheResources

Enterprise Routing Services (REST)The stages in the Enterprise Routing Module have been exposed as REST web services.

GetRoute

Description

The GetRoute service returns routing information for a set of two distinct points or multiple points. Ittakes a starting location and an ending location with optional intermediate points as input, and returnsthe route that is either the fastest or the shortest.

Response from REST service will be in JSON format and the geometry returned will be inGeoJSON format

Note:

GetRouteCostMatrix

Description

The GetRouteCostMatrix service calculates the travel time and distances between an array of start andend locations. It takes a starting location and an ending location with optional intermediate points asinput, and returns the route that is either the fastest or the shortest. The result determines the total timeand distance of the individual routes (the route costs). For example if you input four start points and fourend points, a total of 16 routes will be calculated.

Response from REST service will be in JSON format and the geometry returned will be inGeoJSON format

Note:

GetSegmentData

Description

The GetSegmentData service returns segment information for a point or segment ID. When a point isspecified, the closest route segments are returned. When a segment ID is specified, the route data forthat specified route segment is returned.

Response from REST service will be in JSON format.Note:

GetTravelBoundary

Description

GetTravelBoundary determines a drive or walk time or distance boundary from a location. This featureobtains polygons corresponding to an isochrone or isodistance calculation. An isochrone is a polygonor set of points representing an area that can be traversed in a network from a starting point in a givenamount of time. An isodistance is a polygon or set of points representing the area that is a certain distancefrom the starting point. The GetTravelBoundary operation (also known as an iso definition) takes astarting point, a unit (linear or time), one or more costs as input and returns the resulting travel boundary.Costs refer to the amount of time or distance to use in calculating an iso. Multiple costs can also be givenas input. In case of multiple costs, costs can also be provided as a comma delimited string.

37Spectrum Spatial Getting Started Guide

Chapter 6: Services

Page 38: Spectrum Spatial Getting Started Guide - Pitney Bowessupport.pb.com/.../pdf/en/Spectrum_9.0.SP3_SpatialGettingStarted.pdfTolearnaboutthetypesoflayersthatSpectrum™ TechnologyPlatformsupports,seetheResources

Response from REST service will be in JSON format.Note:

PersistentUpdate

Description

The PersistentUpdate service allows a user to override aspects of the network. The overrides can bedone on a per-road type, at a specific point or at a specific segment. The persistent update is valid onlyfor a specific data source and may not be valid after a data update.

Using persistent updates to make these types of modifications, you have the ability to:

• Exclude a point• Exclude a segment• Set the speed of a point, segment, or road type• Change (increase or decrease) the speed of a point, segment, or road type by a value• Change (increase or decrease) the speed of a point, segment, or road type by a percentage

Since persistent updates are changes made on a system-wide basis for routing data and allupdates will persist, they should be used with caution. Response from REST service will be asuccess message.

Note:

Enterprise Routing Services (SOAP)The stages in the Enterprise Routing Module have been exposed as SOAP web services.

GetRouteDataGet Route Data returns routing segment information for a point or segment ID. When you specify a point,the closest route segments are returned. When you specify a segment ID, the route segment for thatsegment ID is returned.

Get Route Data is only available as a service (Management Console and SOAP web service).Get Route Data is not available through a stage or REST API. It is also not available through theJava, C++, C, .NET, or COM APIs.

Note:

Get Route Data is part of the Enterprise Routing Module.

GetTravelBoundaryGet Travel Boundary determines a drive or walk time or distance boundary from a location. This featureobtains polygons corresponding to an isochrone or isodistance calculation. An isochrone is a polygonor set of points representing an area that can be traversed in a network from a starting point in a givenamount of time. An isodistance is a polygon or set of points representing the area that is a certain distancefrom the starting point. The Get Travel Boundary operation (also known as an iso definition) takes astarting point, a unit (linear or time), one or more costs and their associated tags as input and returnsthe resulting travel boundary. Cost refers to the amount of time or distance to use in calculating an iso.A tag is a string that identifies the cost and is used to match the corresponding result. Multiple costs canbe given as input by providing the costs as a “;” delimited string.

Get Travel Boundary is part of the Enterprise Routing Module.

Spectrum™ Technology Platform 9.0 SP338

Enterprise Routing Services (SOAP)

Page 39: Spectrum Spatial Getting Started Guide - Pitney Bowessupport.pb.com/.../pdf/en/Spectrum_9.0.SP3_SpatialGettingStarted.pdfTolearnaboutthetypesoflayersthatSpectrum™ TechnologyPlatformsupports,seetheResources

Get Travel Boundary is only available as a web service. The Get Travel Boundary is not availablethrough the Java, C++, C, .NET, or COM APIs.

Note:

GetTravelCostMatrixGet Travel Cost Matrix calculates the travel time and distances between an array of start and endlocations. You can use Get Travel Cost Matrix to find the shortest or fastest paths between a number ofstart points and a number of end points, and determine the total time and distance of the individual routes(the route costs). For example if you input four start points (S1 through S4) and four end points (E1through E4), a total of 16 routes will be returned as illustrated in the following diagram:

Matrix routing is often used to determine service response time and coverages for specific services suchas a fire house or police station. You may require these calculations to ensure they can provide adequatecoverage for service level agreements such as having one or more people who can respond to an incidentwithin 20 minutes of first notification. The calculation can be used an analysis tool to determine the riskof an insured property or person based on the probability that ambulance, public safety, or fire personnelcan reach the property/person in a reasonable amount of time.

Get Travel Cost Matrix is part of the Enterprise Routing Module.

GetTravelDirectionsGet Travel Directions returns routing information for a set of two distinct points or for multiple points. Ittakes a starting latitude and longitude point and an ending latitude and longitude point as input andreturns the route that is either fastest or shortest, depending on how you configure the stage.

Each country has its own database, named in this format: Enterprise Routing Module - <Country>. Eachdatabase also has its own country code. For example, the name of the Austrian database is "EnterpriseRouting Module - Austria," and the Austrian batch country code is "A1T." Each database requires aseparate license.

Get Travel Directions is part of the Enterprise Routing Module.

PersistentUpdatePersistent Update allows changes to the routing data that are made at the server level and apply to allroute requests or stages. These updates remain intact even if the server is restarted. Updates can bebased on four types:

1. Point Updates2. Segment Updates3. Road-Type Updates4. Reset Updates

Using persistent updates to make these types of modifications, you have the ability to:

• Exclude a point• Exclude a segment• Set the speed of a point, segment, or road type• Change (increase or decrease) the speed of a point, segment, or road type by a value

39Spectrum Spatial Getting Started Guide

Chapter 6: Services

Page 40: Spectrum Spatial Getting Started Guide - Pitney Bowessupport.pb.com/.../pdf/en/Spectrum_9.0.SP3_SpatialGettingStarted.pdfTolearnaboutthetypesoflayersthatSpectrum™ TechnologyPlatformsupports,seetheResources

• Change (increase or decrease) the speed of a point, segment, or road type by a percentage

Persistent Update is only available as a service (Management Console and SOAP web service).Persistent Update is not available through a stage or REST API. It is also not available throughthe Java, C++, C, .NET, or COM APIs.

Note:

Since persistent updates are changes made on a system-wide basis for routing data and allupdates will persist, they should be used with caution.

Note:

Persistent Update is part of the Enterprise Routing Module.

Spectrum™ Technology Platform 9.0 SP340

Enterprise Routing Services (SOAP)

Page 41: Spectrum Spatial Getting Started Guide - Pitney Bowessupport.pb.com/.../pdf/en/Spectrum_9.0.SP3_SpatialGettingStarted.pdfTolearnaboutthetypesoflayersthatSpectrum™ TechnologyPlatformsupports,seetheResources

7First Steps

The following sections describe common procedures to carry out using the LocationIntelligence Module and Enterprise Routing Module.

In this section:

• Platform Client Tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . .42• Management Console Tasks . . . . . . . . . . . . . . . . . . . . . . .42• Creating a Named Connection . . . . . . . . . . . . . . . . . . . . . .47

Page 42: Spectrum Spatial Getting Started Guide - Pitney Bowessupport.pb.com/.../pdf/en/Spectrum_9.0.SP3_SpatialGettingStarted.pdfTolearnaboutthetypesoflayersthatSpectrum™ TechnologyPlatformsupports,seetheResources

Platform Client Tools

Installing the Client ToolsThe Spectrum™ Technology Platform client tools are Windows applications that you use to administeryour server and design and run dataflows and process flows. Youmust install your Spectrum™ TechnologyPlatform server before installing the client tools.

Before installing, be sure to read the release notes. The release notes contains important compatibilityinformation as well as release-specific installation notes.

This procedure describes how to install the following client tools:

• Enterprise Designer— Use Enterprise Designer to create, modify, and run dataflows.• Management Console—Use theManagement Console to perform administrative tasks such as settingservice defaults, scheduling jobs, managing users and security, and so on.

• Interactive Driver—Use Interactive Driver to test different processing settings. Interactive Driver allowsyou to run a small number of records through a process to preview the result.

• Job Executor—Job Executor is a command line tool that allows you to run a job from a commandline or script. The job must have been previously created and saved on Spectrum™ TechnologyPlatform using Enterprise Designer.

• Process Flow Executor—Process Flow Executor is a command line tool that allows the executionof a process flow from a command line or script. The process flow must have been previously createdand saved on Spectrum™ Technology Platform using Enterprise Designer.

• Administration Utility—The Administration Utility provides command line access to severaladministrative functions. You can use it in a script, allowing you to automate certain administrativetasks. You can also use it interactively.

To install the client tools:

1. Open a web browser and go to the Spectrum™ Technology Platform Welcome Page at:

http://<servername>:<port>

For example, if you installed Spectrum™ Technology Platform on a computer named"myspectrumplatform" and it is using the default HTTP port 8080, you would go to:

http://myspectrumplatform:8080

2. Click Platform Client Tools.3. Download the client tool you want to install.

Management Console TasksUsing Management Console, you can perform such tasks as:

• Manage users and other security options• Define connections to data sources such as databases or web services• Specify default settings for services• Schedule job execution• Analyze data via module-specific operations.

For details on the module-specific capabilities available in Management Console, click a Help button.

Spectrum™ Technology Platform 9.0 SP342

Platform Client Tools

Page 43: Spectrum Spatial Getting Started Guide - Pitney Bowessupport.pb.com/.../pdf/en/Spectrum_9.0.SP3_SpatialGettingStarted.pdfTolearnaboutthetypesoflayersthatSpectrum™ TechnologyPlatformsupports,seetheResources

Add Data to RepositoryA typical early step when developing an application to interact with the Location Intelligence Module inSpectrum™ Technology Platform is to bring a map that you have created in MapInfo Professional intothe Spectrum Spatial repository.

This is done by using a MapInfo Professional workspace (MWS) in Management Console. An .MWS isan XML-based workspace containing the map layers and settings that are used to render a map. Usingthe Management Console, the MWS content is used to add named resources to the repository. For moreinformation on Management Console, see the application's online help.

The capabilities for managing named resources are being moved to the Spectrum SpatialManager and to a MapInfo Professional plug-in called Map Uploader. The Spectrum Spatial

Important:

Manager allows you to view, rename, move, and delete resources safely, as well as createand modify named connections and named tables. We recommend you use it for thesetasks. Adding namedmaps, as well as adding and modifying named tiles, can be done usingManagement Console, while adding named maps, tables, and layers can be done usingthe Map Uploader. However, future enhancements will only be added to the plug-in or theSpectrum Spatial Manager.

You can download the Map Uploader installer and view its documentation on the SpectrumSpatial section of the Welcome Page, under the Utilities tab. Documentation for the MapUploader is also located at support.pb.com. To preserve connections between resources,use the Spectrum Spatial Manager to rename, move, and delete named resources.

Adding a Named Map and Named Tables

Adding a Named Map and Named TablesThe capabilities for managing named resources are being moved to the Spectrum SpatialManager and to a MapInfo Professional plug-in called Map Uploader. The Spectrum Spatial

Important:

Manager allows you to view, rename, move, and delete resources safely, as well as createand modify named connections and named tables. We recommend you use it for thesetasks. Adding namedmaps, as well as adding and modifying named tiles, can be done usingManagement Console, while adding named maps, tables, and layers can be done usingthe Map Uploader. However, future enhancements will only be added to the plug-in or theSpectrum Spatial Manager.

You can download the Map Uploader installer and view its documentation on the SpectrumSpatial section of the Welcome Page, under the Utilities tab. Documentation for the MapUploader is also located at support.pb.com. To preserve connections between resources,use the Spectrum Spatial Manager to rename, move, and delete named resources.

To add named maps and named tables to the repository:

1. Open Management Console.2. Expand Modules > Location Intelligence > Tools then click Named Maps.3. Click Add. The Add Named Map dialog box appears.

43Spectrum Spatial Getting Started Guide

Chapter 7: First Steps

Page 44: Spectrum Spatial Getting Started Guide - Pitney Bowessupport.pb.com/.../pdf/en/Spectrum_9.0.SP3_SpatialGettingStarted.pdfTolearnaboutthetypesoflayersthatSpectrum™ TechnologyPlatformsupports,seetheResources

4. Select the MWS file in the MWS source field using the browser button. This MWS file will be usedto define the named map.

5. In the Named Map name field enter the name for the named map to be created.

You can either use the repository browser button and select the directory in the repository and enterthe named map name, or enter the repository path and named map name information in the field.For example, if you are entering the information in the field and creating the nymap named map inthe Maps folder in the repository, the name you would enter in the Named map name field wouldbe /Maps/nymap.

6. Select one of the following methods to generate the table information for the named map:

• The Use inline tables option generates a named map with table definitions inline. This meansthat no named tables are used, rather the named map will contain all relevant table information.Choose this option if you will not be querying data but are merely planning to create tiles fromStreetPro data.

• The Create named tables option generates new named tables in the repository in the specifiedfolder that you define in the Named tables path field. You must choose this option if you areplanning to query StreetPro data that you are uploading.

If the named table already exists in that folder, it will use the existing one, unless you have selectedthe Overwrite named tables option. In this case, all named tables will be overwritten with newnamed table definitions.

The Use existing named table option updates the named map by populating the tables inthe map using already existing named tables in the repository. The list of named tables are

Note:

populated in the list and you must verify that each of the named tables is valid in the namedmap. This option is useful if you have only modified styles and not tables in the MWS inMapInfo Professional, for example.

7. For the Use inline tables and Create named tables options, leave the Local data path blank.

Spectrum™ Technology Platform 9.0 SP344

Management Console Tasks

Page 45: Spectrum Spatial Getting Started Guide - Pitney Bowessupport.pb.com/.../pdf/en/Spectrum_9.0.SP3_SpatialGettingStarted.pdfTolearnaboutthetypesoflayersthatSpectrum™ TechnologyPlatformsupports,seetheResources

8. For the Use inline tables and Create named tables options, specify the best server path from theserver's perspective.

The Server data path is used to define the new path from the machine on which you are usingManagement Console to upload the MWS file (local path), to the new table files located on the hostingmachine (server path). For example, if the server is on a machine you remote to, use the mappeddrive that is on the server if applicable, not the mapped drive on your own machine. Also a mappeddrive address is more efficient than a UNC address, such as \\server-name\directory\filename. Thiswill replace all data paths in the MWS file (up to the name of the table) with the new path specified.This includes both relative or full paths.

9. Click OK.The new named map appears in the tree in the Named Maps dialog.

10. To verify that you successfully uploaded all named tables for the Use inline tables option, open thenamed map using WebDAV to inspect that the named tables appear inline:

11. To verify that you successfully created all named tables for the Create named tables option, clickModify. You can now see the named tables:

45Spectrum Spatial Getting Started Guide

Chapter 7: First Steps

Page 46: Spectrum Spatial Getting Started Guide - Pitney Bowessupport.pb.com/.../pdf/en/Spectrum_9.0.SP3_SpatialGettingStarted.pdfTolearnaboutthetypesoflayersthatSpectrum™ TechnologyPlatformsupports,seetheResources

12. To verify that you can render a map using the new named map, select the Render Named Maprequest on the Mapping Service Demo Page athttp://hostname[:portnumber]/Spatial/MappingService/DemoPage.html, modify thenamed map in the request to match the one you created (as well as the X, Y, and Zoom as needed),then submit. A map image appears on the right side of the page.

Spectrum™ Technology Platform 9.0 SP346

Management Console Tasks

Page 47: Spectrum Spatial Getting Started Guide - Pitney Bowessupport.pb.com/.../pdf/en/Spectrum_9.0.SP3_SpatialGettingStarted.pdfTolearnaboutthetypesoflayersthatSpectrum™ TechnologyPlatformsupports,seetheResources

For the Create named tables option, the tab files referenced in the MWS must exist in theserver path or you get an error on loading; for the Use inline tables option, you will not getthe error. In the latter case, the named map you create will error at render time.

Note:

Creating a Named ConnectionThe Spectrum Spatial Manager allows you to create database (JDBC) or file-system named connections.

To create a named connection in the Spectrum Spatial Manager:

1. Click the Create Named Connection button located in the toolbar.

This button is disabled if you do not have sufficient permissions.Note:

The Create Named Connection page appears.

47Spectrum Spatial Getting Started Guide

Chapter 7: First Steps

Page 48: Spectrum Spatial Getting Started Guide - Pitney Bowessupport.pb.com/.../pdf/en/Spectrum_9.0.SP3_SpatialGettingStarted.pdfTolearnaboutthetypesoflayersthatSpectrum™ TechnologyPlatformsupports,seetheResources

2. Type the name for the named connection. The Spectrum Spatial Manager will warn you if anothernamed connection exists with that name, in which case you will have to enter another name. Namesare case sensitive and cannot contain the following characters: / \ : [ ] | * { } " .

3. Select the connection type, File System or Database. Use the file-system type for file-based datasources such as TAB files. Use the database type if you have a JDBC database (Oracle, PostGIS,SAP HANA or SQL Server) as a data source.

4. If you selected File System, follow the steps below then continue to step 6.

a) Click the Browse button to locate it on your server file system.b) In the Select a Folder dialog, use the drop-down to select a drive or type a UNC path (for example,

\\localhost\share) and press Enter. UNC paths are supported for Windows.c) Click the folder you want so that it appears in the Folder field, then click Select.

If you cannot locate a folder, check with your Spectrum™ Technology Platform administratorto determine if restrictions have been placed at the file-server level.

Note:

5. If you selected Database, complete these fields then continue to step 6.a) Specify the JDBC connection URL to the database. This URL is in the format

jdbc:subprotocol:subname. For example:

• Oracle— jdbc:oracle:thin:@oracle.example.com:1521:pbspatial• SQLServer—jdbc:sqlserver:@sqlserver.example.com;databaseName=pbspatial• Postgres/PostGIS— jdbc:postgresql:@postgres.example.com:1433/pbspatial• SAP HANA—jdbc:sap:@saphana.example.com• Generic JDBC —jdbc:mysql:thin:@mysql.example.com:3306/pbspatial

Spectrum Spatial Manager does not allow backslashes in JDBC URLs, even though SQL Serverallows JDBC URLs of the following form,

jdbc:sqlserver://<serverName>\<instanceName>

Note:

Use an alternative URL format such as:

jdbc:sqlserver://<serverName>:<portNumber>;databaseName=<NameOfDatabase>

or

jdbc:sqlserver://<serverName>;instanceName=<instanceName>;

databaseName=<NameOfDatabase>

Formore information, see http://technet.microsoft.com/en-us/library/ms378428(v=SQL.110).aspxand http://support.microsoft.com/kb/287932.

b) In the Username field, optionally specify the user for connecting to the database resource.c) In the Password field, optionally specify the password for the user connecting to the database

resource.d) In the Properties field, optionally specify any database specific connection properties. Consult

the database documentation for property names and value types that can be appended to aconnection string. For example, property value networkProtocol and key tcp.

e) Click Test to make sure your connection is valid.

6. Click Create.The details page for the named connection appears.

Spectrum™ Technology Platform 9.0 SP348

Creating a Named Connection

Page 49: Spectrum Spatial Getting Started Guide - Pitney Bowessupport.pb.com/.../pdf/en/Spectrum_9.0.SP3_SpatialGettingStarted.pdfTolearnaboutthetypesoflayersthatSpectrum™ TechnologyPlatformsupports,seetheResources

8Web Service Examples

The following are examples that highlight some of the web services provided bythe Spectrum™ Technology Platform.

In this section:

• Mapping Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .50• Feature Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .50• Geometry Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .56

Page 50: Spectrum Spatial Getting Started Guide - Pitney Bowessupport.pb.com/.../pdf/en/Spectrum_9.0.SP3_SpatialGettingStarted.pdfTolearnaboutthetypesoflayersthatSpectrum™ TechnologyPlatformsupports,seetheResources

Mapping ServiceThe Mapping Service provides a simplified interface to perform Mapping Service rendering, themes,overlays, and conversions. TheMapping Service provides both simple operations that are more frequentlyused, or more complex operations that require higher levels of customization.

The Mapping Service provides operations that:

• list, get and describe maps, layers, styles, and tables in the repository• conversion methods real world coordinates, XY, and screen coordinates• screen calculations such as length• navigation methods such as zoom, and pan• render maps and layers• overlay, override, and theme maps• customize your map with legends, watermarks, and other adornments.

In Spectrum Spatial, data access and mapping is independent. The tables define the data access, andthe repository takes care of the table management. Therefore, with the Mapping Service, you are ableto render maps and perform mapping operations without the worry of where the data is located.

Render a MapOnce your named resources from the MWS are available in the repository, you are ready to use themin Location Intelligence Module.

Rendering a map involves making a RenderMap request to the Spectrum Spatial server. For learningpurposes, we will use the Mapping Demo Page that include a list of common SOAP requests.

To render a map:

1. Go to the Spectrum Spatial SOAP Mapping Service Demo Page athttp://hostname[:portnumber]/Spatial/MappingService/DemoPage.html

2. Choose Render Named Map from the drop-down list of mapping requests and click Submit.

The Spectrum Spatial Mapping Service will process the request and return a SOAP response andan image of the named map. The named map associated with this demo request is using a samplenamed map that was uploaded to the repository at installation time.

3. To view the response and image for one of your named maps, edit the request and replace the text/Samples/NamedMaps/USA with your named map and click Submit.

You may need to change the map request to use the center and zoom width appropriate for yourdata.

Feature ServiceThe Feature Service provides the ability to search spatial databases. It provides a set of commonoperations that you can use to query content, regardless of the underlying data provider. The advantageof this is that you can run the exact same operation against many different content stores (such as anative TAB file, an Oracle database table, or a SQL Server database table) by specifying different namedtables; the same query will work on each table type.

The Feature Service provides operations that:

• list all tables in the catalog

Spectrum™ Technology Platform 9.0 SP350

Mapping Service

Page 51: Spectrum Spatial Getting Started Guide - Pitney Bowessupport.pb.com/.../pdf/en/Spectrum_9.0.SP3_SpatialGettingStarted.pdfTolearnaboutthetypesoflayersthatSpectrum™ TechnologyPlatformsupports,seetheResources

• describe specific tables in the catalog• search within a distance, polygon or envelope• search intersections of geometries and/or bounding boxes• search within a polygon or bounding box• search for the nearest feature or edge• search using a custom MapInfo SQL query• insert features into a database table

Search at Point - Java ExampleThis Java example calls the Feature service to do a Search at Point call. The Search at Point, whenused against a table with polygons, is a point in polygon method.

To generate the stub classes to access the Feature Service, see Generating Stub Code on page 58

import com.mapinfo.midev.service.feature.v1.SearchAtPointRequest;import com.mapinfo.midev.service.feature.v1.SearchAtPointResponse;import com.mapinfo.midev.service.feature.ws.v1.FeatureService;import com.mapinfo.midev.service.feature.ws.v1.FeatureServiceInterface;import com.mapinfo.midev.service.feature.ws.v1.ServiceException;import com.mapinfo.midev.service.geometries.v1.Point;import com.mapinfo.midev.service.geometries.v1.Pos;import com.mapinfo.midev.service.table.v1.NamedTable;import com.mapinfo.midev.service.table.v1.Table;

import javax.xml.ws.BindingProvider;import java.util.Map;

public final class FeatureServiceSample {// username with the authority to call the Feature serviceprivate static final String USERNAME = "admin";

// password of the callerprivate static final String PASSWORD = "admin";

public static void main(String[] args) throws ServiceException {// get the endpoint classFeatureServiceInterface featureServiceInterface = new

FeatureService().getFeatureServiceInterface();

// if authentication is enabled in Spectrum then the following is required

Map<String, Object> requestContext =((BindingProvider)featureServiceInterface).getRequestContext();requestContext.put(BindingProvider.USERNAME_PROPERTY, USERNAME);requestContext.put(BindingProvider.PASSWORD_PROPERTY, PASSWORD);

// start assembling the requestSearchAtPointRequest searchAtPointRequest = new SearchAtPointRequest();

// create the search point{Point point = new Point();point.setSrsName("epsg:4326");Pos pos = new Pos();pos.setX(-75.66);pos.setY(47.88);point.setPos(pos);

searchAtPointRequest.setPoint(point);}

// set the named table{NamedTable table = new NamedTable();table.setName("/Samples/NamedTables/USA");searchAtPointRequest.setTable(table);

51Spectrum Spatial Getting Started Guide

Chapter 8: Web Service Examples

Page 52: Spectrum Spatial Getting Started Guide - Pitney Bowessupport.pb.com/.../pdf/en/Spectrum_9.0.SP3_SpatialGettingStarted.pdfTolearnaboutthetypesoflayersthatSpectrum™ TechnologyPlatformsupports,seetheResources

}

// send the requestSearchAtPointResponse searchAtPointResponse =

featureServiceInterface.searchAtPoint(searchAtPointRequest);

// do what you want with the response ...

}

}

Search at Point - SOAPThe following SOAP Search at Point request against a table of polygons returns a list of points that arecontained within the polygon at point -75, 42.

<?xml version="1.0"?><S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"xmlns:ns1="http://www.mapinfo.com/midev/service/feature/v1"xmlns:ns2="http://www.mapinfo.com/midev/service/geometries/v1"xmlns:ns3="http://www.mapinfo.com/midev/service/table/v1"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><S:Header/><S:Body>

<ns1:SearchAtPointRequest><ns3:Table xsi:type="ns3:NamedTable"

name="/Samples/NamedTables/USA"/><ns2:Point srsName="EPSG:4326">

<ns2:Pos><ns2:X>-75</ns2:X><ns2:Y>42</ns2:Y>

</ns2:Pos></ns2:Point>

</ns1:SearchAtPointRequest></S:Body>

</S:Envelope>

To view the SOAP response, go to the Feature Service SOAP demo page athttp://hostname[:portnumber]/Spatial/MappingService/DemoPage.html and submitthe Search at Point request.

Search at Point - RESTThe following REST request performs a point in polygon search.

http://<machine>:<port>/rest/Spatial/FeatureService/tables/Samples/NamedTables/USA/features.json?q=SearchAtPoint&point=-75,42,epsg:4326

The JSON response:

Some of the points have been removed from this example to shorten it.Note:

{"type": "FeatureCollection","Metadata": [{"type": "Geometry","name": "Obj","crs": {"type": "name","properties": {"name": "epsg:4267"}},"bbox": [-79.762182,

Spectrum™ Technology Platform 9.0 SP352

Feature Service

Page 53: Spectrum Spatial Getting Started Guide - Pitney Bowessupport.pb.com/.../pdf/en/Spectrum_9.0.SP3_SpatialGettingStarted.pdfTolearnaboutthetypesoflayersthatSpectrum™ TechnologyPlatformsupports,seetheResources

40.4966,-71.85664,45.012533],"styleColumn": "MI_Style"},{"type": "Style","name": "MI_Style"},{"type": "String","name": "State_Name"},{"type": "String","name": "State"},{"type": "String","name": "Fips_Code"},{"type": "Decimal","name": "Pop_1990","fractionalDigits": 0,"totalDigits": 10},{"type": "Decimal","name": "Pop_2000","fractionalDigits": 0,"totalDigits": 10},{"type": "Decimal","name": "Num_Hh_1990","fractionalDigits": 0,"totalDigits": 10},{"type": "Integer","name": "Num_Hh_2000"},{"type": "Decimal","name": "Med_Inc_1990","fractionalDigits": 0,"totalDigits": 10},{"type": "Double","name": "Med_Inc_2000"},{"type": "Integer","name": "Pop_Urban_2000"},{"type": "Integer","name": "Pop_Rural_2000"},{"type": "Decimal","name": "Pop_Male","fractionalDigits": 0,"totalDigits": 10},{"type": "Decimal","name": "Pop_Female","fractionalDigits": 0,

53Spectrum Spatial Getting Started Guide

Chapter 8: Web Service Examples

Page 54: Spectrum Spatial Getting Started Guide - Pitney Bowessupport.pb.com/.../pdf/en/Spectrum_9.0.SP3_SpatialGettingStarted.pdfTolearnaboutthetypesoflayersthatSpectrum™ TechnologyPlatformsupports,seetheResources

"totalDigits": 10},{"type": "Decimal","name": "Pop_Cauc","fractionalDigits": 0,"totalDigits": 10},{"type": "Decimal","name": "Pop_Black","fractionalDigits": 0,"totalDigits": 10},{"type": "Decimal","name": "Pop_Native","fractionalDigits": 0,"totalDigits": 10},{"type": "Decimal","name": "Pop_Asian","fractionalDigits": 0,"totalDigits": 10},{"type": "Decimal","name": "Pop_Other","fractionalDigits": 0,"totalDigits": 10},{"type": "Decimal","name": "Sales_1990","fractionalDigits": 0,"totalDigits": 10},{"type": "Decimal","name": "AmerIndianAlaskaNat_2000","fractionalDigits": 0,"totalDigits": 10},{"type": "Decimal","name": "AsianHawaiianAlone_2000","fractionalDigits": 0,"totalDigits": 10},{"type": "Decimal","name": "Pop_Black_2000","fractionalDigits": 0,"totalDigits": 10},{"type": "Decimal","name": "Pop_Cauc_Alone_2000","fractionalDigits": 0,"totalDigits": 10},{"type": "Decimal","name": "Pop_Asian_Alone_2000","fractionalDigits": 0,"totalDigits": 10},{"type": "Decimal","name": "Area_in_Miles_2000",

Spectrum™ Technology Platform 9.0 SP354

Feature Service

Page 55: Spectrum Spatial Getting Started Guide - Pitney Bowessupport.pb.com/.../pdf/en/Spectrum_9.0.SP3_SpatialGettingStarted.pdfTolearnaboutthetypesoflayersthatSpectrum™ TechnologyPlatformsupports,seetheResources

"fractionalDigits": 0,"totalDigits": 10},{"type": "Decimal","name": "Area_in_Km_2000","fractionalDigits": 0,"totalDigits": 10},{"type": "String","name": "URL"},{"type": "Double","name": "Distance"}],"bbox": [-79.762182,40.4966,-71.85664,45.012533],"crs": {"type": "name","properties": {"name": "epsg:4267"}},"features": [{"type": "Feature","id": "33","geometry": {"type": "MultiPolygon","coordinates": [[[[-79.762182,42.269802999999996],[-79.75,42.273044],[-79.721352,42.282801],[-79.712698,42.287149],[-79.708078,42.288247],[-79.701425,42.291359],[-79.699361,42.291497],[-79.69104399999999,42.295637],[-79.68987299999999,42.295683],...[-73.8109,40.605799999999995]]]]},"properties": {"MI_Style": {"type": "MapBasicAreaStyle","MapBasicPen": {"width": 1,"pattern": 2,"color": "8421504"},"MapBasicBrush": {"pattern": 2,"foregroundColor": "16767152","backgroundColor": "16777215"}},"State_Name": "New York","State": "NY","Fips_Code": "36",

55Spectrum Spatial Getting Started Guide

Chapter 8: Web Service Examples

Page 56: Spectrum Spatial Getting Started Guide - Pitney Bowessupport.pb.com/.../pdf/en/Spectrum_9.0.SP3_SpatialGettingStarted.pdfTolearnaboutthetypesoflayersthatSpectrum™ TechnologyPlatformsupports,seetheResources

"Pop_1990": 17990455,"Pop_2000": 18976457,"Num_Hh_1990": 6639322,"Num_Hh_2000": 7056860,"Med_Inc_1990": 32965,"Med_Inc_2000": 43393.0,"Pop_Urban_2000": 16601126,"Pop_Rural_2000": 2375331,"Pop_Male": 8625673,"Pop_Female": 9364782,"Pop_Cauc": 13385255,"Pop_Black": 2859055,"Pop_Native": 62651,"Pop_Asian": 693760,"Pop_Other": 989734,"Sales_1990": 124478903,"AmerIndianAlaskaNat_2000": 82461,"AsianHawaiianAlone_2000": 1053794,"Pop_Black_2000": 3014385,"Pop_Cauc_Alone_2000": 12893689,"Pop_Asian_Alone_2000": 1044976,"Area_in_Miles_2000": 48785,"Area_in_Km_2000": 126352,"URL": "http://www.state.ny.us/","Distance": 0.0}}]}

Geometry ServiceThe Geometry Service provides a simplified interface to perform Geometry Service measurements,conversions, and operations. The Geometry Service provides the following capabilities:

• Aggregate (buffer, centroid, envelope, union, intersection, convex hull, difference, symmetricaldifference)

• Transformation (coordinate transformations)• Measurement (area, distance, length, perimeter)• Predicate (contains, intersects, within)

This service provides a set of common operations that you can use to perform operations on content,regardless of the data provider. One advantage is that you can run the exact same operation againstmany different content repositories (e.g., a native TAB file, an Oracle table, or a SQL Server table) byspecifying different named tables; the same operation will work on each table type. Using the GeometryService, you only need to worry about the request, not the location or type of data in the repository.

The Geometry Service is based on the well known mathematical concepts described in the OGC SimpleFeatures Specification.

Create Buffer - Java ExampleThis Java example shows how to use the SOAP interface to the Geometry Service to create a bufferaround a point.

Spectrum™ Technology Platform 9.0 SP356

Geometry Service

Page 57: Spectrum Spatial Getting Started Guide - Pitney Bowessupport.pb.com/.../pdf/en/Spectrum_9.0.SP3_SpatialGettingStarted.pdfTolearnaboutthetypesoflayersthatSpectrum™ TechnologyPlatformsupports,seetheResources

To generate the stub classes for the Geometry Service, see Generating Stub Code on page 58

import com.mapinfo.midev.service.geometries.v1.MultiPolygon;import com.mapinfo.midev.service.geometries.v1.Point;import com.mapinfo.midev.service.geometries.v1.Pos;import com.mapinfo.midev.service.geometry.v1.BufferRequest;import com.mapinfo.midev.service.geometry.v1.BufferResponse;import com.mapinfo.midev.service.geometry.ws.v1.GeometryService;import com.mapinfo.midev.service.geometry.ws.v1.GeometryServiceInterface;import com.mapinfo.midev.service.geometry.ws.v1.ServiceException;import com.mapinfo.midev.service.units.v1.Distance;import com.mapinfo.midev.service.units.v1.DistanceUnit;

import javax.xml.ws.BindingProvider;import javax.xml.ws.handler.MessageContext;import java.util.Collections;import java.util.HashMap;import java.util.List;import java.util.Map;

public final class GeometryServiceDriver {

// the number of line segments that will compose the bufferprivate static final Integer RESOLUTION = 64;

// username with the authority to call the Geometry serviceprivate static final String USERNAME = "admin";

// password of the callerprivate static final String PASSWORD = "admin";

public static void main(String[] args) throws ServiceException {

// get the endpoint classGeometryServiceInterface geometryServiceInterface = new

GeometryService().getGeometryServiceInterface();

// if authentication is enabled in Spectrum then the following is required

Map<String, Object> requestContext =((BindingProvider)geometryServiceInterface).getRequestContext();requestContext.put(BindingProvider.USERNAME_PROPERTY, USERNAME);requestContext.put(BindingProvider.PASSWORD_PROPERTY, PASSWORD);

BufferRequest bufferRequest = new BufferRequest();

// point to buffer{Point point = new Point();point.setSrsName("epsg:4326");Pos pos = new Pos();pos.setX(-75.66);pos.setY(47.88);point.setPos(pos);

bufferRequest.setGeometry(point);}

// buffer distance{Distance bufferDistance = new Distance();bufferDistance.setUom(DistanceUnit.MILE);bufferDistance.setValue(12.0);bufferRequest.setDistance(bufferDistance);}

bufferRequest.setResolution(RESOLUTION);

BufferResponse bufferResponse =geometryServiceInterface.buffer(bufferRequest);

57Spectrum Spatial Getting Started Guide

Chapter 8: Web Service Examples

Page 58: Spectrum Spatial Getting Started Guide - Pitney Bowessupport.pb.com/.../pdf/en/Spectrum_9.0.SP3_SpatialGettingStarted.pdfTolearnaboutthetypesoflayersthatSpectrum™ TechnologyPlatformsupports,seetheResources

MultiPolygon bufferGeometry = (MultiPolygon) bufferResponse.getGeometry();

// do what you want with the bufferGeometry ...

}

}

Generating Stub CodeUse the following steps to generate the stub code for a Java web services client application, using thewsimport tool that is included with the Java Development Kit.

1. Open an xterm or command prompt window and change to the directory that contains the wsimportprogram, usually JDK_install_dir/bin/.

2. At the command prompt, type wsimport -s source_dir -d classes_dir URL_TO_WSDLand press Enter.

For example, to generate stub classes for the Geometry Service, enter the following command:

wsimport -s output/source -d output/classeshttp://<host:port>/soap/GeometryService?wsdl

After the command has been executed, the generated source .java files are placed within the directoryyou specified with the -s option, and the compiled .class files are placed within the directory youspecified with the -d option.

Spectrum™ Technology Platform 9.0 SP358

Geometry Service

Page 59: Spectrum Spatial Getting Started Guide - Pitney Bowessupport.pb.com/.../pdf/en/Spectrum_9.0.SP3_SpatialGettingStarted.pdfTolearnaboutthetypesoflayersthatSpectrum™ TechnologyPlatformsupports,seetheResources

9Enterprise DesignerExample

Enterprise Designer is a visual tool for creating dataflows. Using this client, youcan:

• Create and modify jobs, services, subflows, and process flows• Test dataflows for problems• Expose and hide services• Generate reports

In this section:

• Point in Polygon Subflow . . . . . . . . . . . . . . . . . . . . . . . . . .60• Point in Polygon Dataflow (Service) . . . . . . . . . . . . . . . . .61• Point in Polygon Dataflow (Job) . . . . . . . . . . . . . . . . . . . .61

Page 60: Spectrum Spatial Getting Started Guide - Pitney Bowessupport.pb.com/.../pdf/en/Spectrum_9.0.SP3_SpatialGettingStarted.pdfTolearnaboutthetypesoflayersthatSpectrum™ TechnologyPlatformsupports,seetheResources

Point in Polygon SubflowThis procedure describes how to create a subflow that deterimines if a point is located within a givenpolygon.

This subflow takes as the source an x and y and creates a point geometry using Spatial Calculator'sCreate Point operation. The resulting geometry is the input for the Query Spatial Data stage which isthen output to an output sink.

Introductory information about subflows can be found in the Dataflow Designer's Guide onsupport.pb.com/spectrum.

To create a point in polygon subflow:

1. In Enterprise Designer, choose New > Dataflow > Subflowfrom the File menu or New > Subflowfrom the Task pane.

2. Drag an Input icon onto the canvas and double-click it to display the Options dialog.3. Click the Add button to display the Add Custom field dialog. Click Add and provide the field name

'x' and the type as double. Click OK.4. Repeat Step 3 to add a field 'y' of type double. Click OK to leave the Input Options dialog.5. From the Location Intelligence Stages section in the Palette, drag Spatial Calculator onto the design

canvas. Click the solid black triangle on the right side of the Input stage (the output port) and drag itto the left side of the Spatial Calculator stage to create a channel.

6. Double-click on Spatial Calculator to display the Options dialog. Choose Create Point Geometryfrom the list of operations. Change the coordinate system if necessary. Click OK. Rename the SpatialCalculator to Create Point so you can remember what it does.

7. Drag the Query Spatial Data stage onto the canvas. Connect the output port of the Create Pointoperation to the input port of the Query Spatial Data stage.

8. Double-click on the Query Spatial Data stage to display the Options dialog. Create the MISQLstatement in the box provided and click Verify.

Here is an example statement. Modify the field and named table to match your data.

select STATE from "/Samples/NamedTables/USA" where Obj contains ${Geometry}

9. Drag an Output sink onto the canvas. Connect the output port of the Query Spatial Data stage to theinput port of the Output sink.

10. Double-click on the Output sink and check the field you wish to expose. In our example, check theState field. Click OK.

11. Save the subflow. To expose the subflow for use in a dataflow, choose File Expose/Unexpose andSave or click the Expose/Unexpose and Save button. The subflow displays in the User-DefinedStages folder.

Spectrum™ Technology Platform 9.0 SP360

Point in Polygon Subflow

Page 61: Spectrum Spatial Getting Started Guide - Pitney Bowessupport.pb.com/.../pdf/en/Spectrum_9.0.SP3_SpatialGettingStarted.pdfTolearnaboutthetypesoflayersthatSpectrum™ TechnologyPlatformsupports,seetheResources

Point in Polygon Dataflow (Service)This procedure describes how to create a Point in Polygon dataflow from a Point in Polygon subflow thatalready contains the necessary processing instructions. By creating this dataflow as a service it can beaccessed from a web service or when using the Spectrum™ Technology Platform API. Alternatively, thisdataflow could be created as a job for batch processing. A subflow must be incorporated into a dataflowto be used.

Introductory information about dataflows can be found in the Dataflow Designer's Guide onsupport.pb.com/spectrum.

To create a point in polygon dataflow:

1. In Enterprise Designer, choose New > Dataflow > Service from the File menu or New > Servicefrom the Task pane.

2. Drag the Point in Polygon subflow from the User-Defined Stages folder.3. Drag an Input source onto the canvas and connect the output port to the Point In Polygon subflow.4. Double-click on Input to display the Options dialog. Expose the x and y fields to the dataflow by

clicking the Expose checkbox. Click OK.5. Drag an Output sink onto the canvas and connect the output port of the Point in Polygon subflow to

the input port of the Output.6. Double-click on Output to display the Options dialog. Expose the State field by clicking the checkbox

alongside the State field.7. To expose the dataflow, choose File Expose/Unexpose and Save or click the Expose/Unexpose

and Save button. The dataflow displays in the User-Defined Stages folder.8. To verify that the service is now exposed as a web service, go to one of the following URLs:

For REST: http://server:port/rest

For SOAP: http://server:port/soap

Point in Polygon Dataflow (Job)This procedure describes how to create a Point in Polygon dataflow from a Point in Polygon subflow thatalready contains the necessary processing instructions. By creating this dataflow as a service it can beaccessed from a web service or when using the Spectrum™ Technology Platform API. Alternatively, thisdataflow could be created as a service for use with a web service. A subflow must be incorporated intoa dataflow to be used.

Introductory information about dataflows can be found in the Dataflow Designer's Guide onsupport.pb.com/spectrum.

To create a point in polygon dataflow:

1. In Enterprise Designer, choose New > Dataflow > Job from the File menu or New > Job from theTask pane.

2. Drag the Point in Polygon subflow from the User-Defined Stages folder.3. Drag a Read from File icon onto the canvas and connect the output port to the Point In Polygon

subflow.4. Double-click on Read from File to display the Options dialog. In the File Properties tab, specify the

input file and other information as needed.5. In the Fields tab click Regenerate and click Yes to populate the list of fields in the input file. Click

Detect Type to determine the data type for each field. Click OK.6. Drag a Write to File sink onto the canvas and connect the output port of the Point in Polygon subflow

to the input port of the Output.

61Spectrum Spatial Getting Started Guide

Chapter 9: Enterprise Designer Example

Page 62: Spectrum Spatial Getting Started Guide - Pitney Bowessupport.pb.com/.../pdf/en/Spectrum_9.0.SP3_SpatialGettingStarted.pdfTolearnaboutthetypesoflayersthatSpectrum™ TechnologyPlatformsupports,seetheResources

7. Double-click on Write to File to display the Options dialog. In the File Properties tab specify theoutput file and information as needed.

8. In the Fields tab click Quick Add, then click Select All and click OK.9. Select File Save. Give your dataflow a name and click OK.10. To test the dataflow, select Run Run Current Flow.

Spectrum™ Technology Platform 9.0 SP362

Point in Polygon Dataflow (Job)

Page 63: Spectrum Spatial Getting Started Guide - Pitney Bowessupport.pb.com/.../pdf/en/Spectrum_9.0.SP3_SpatialGettingStarted.pdfTolearnaboutthetypesoflayersthatSpectrum™ TechnologyPlatformsupports,seetheResources

Notices

Page 64: Spectrum Spatial Getting Started Guide - Pitney Bowessupport.pb.com/.../pdf/en/Spectrum_9.0.SP3_SpatialGettingStarted.pdfTolearnaboutthetypesoflayersthatSpectrum™ TechnologyPlatformsupports,seetheResources

© 2014 Pitney Bowes Software Inc. All rights reserved. MapInfo and Group 1 Software are trademarksof Pitney Bowes Software Inc. All other marks and trademarks are property of their respective holders.

USPS® Notices

Pitney Bowes Inc. holds a non-exclusive license to publish and sell ZIP + 4® databases on optical andmagnetic media. The following trademarks are owned by the United States Postal Service: CASS, CASSCertified, DPV, eLOT, FASTforward, First-Class Mail, Intelligent Mail, LACSLink, NCOALink, PAVE,PLANET Code, Postal Service, POSTNET, Post Office, RDI, SuiteLink , United States Postal Service,Standard Mail, United States Post Office, USPS, ZIP Code, and ZIP + 4. This list is not exhaustive ofthe trademarks belonging to the Postal Service.

Pitney Bowes Inc. is a non-exclusive licensee of USPS® for NCOALink® processing.

Prices for Pitney Bowes Software's products, options, and services are not established, controlled, orapproved by USPS® or United States Government. When utilizing RDI™ data to determine parcel-shippingcosts, the business decision on which parcel delivery company to use is not made by the USPS® orUnited States Government.

Data Provider and Related Notices

Data Products contained on this media and used within Pitney Bowes Software applications are protectedby various trademarks and by one or more of the following copyrights:

© Copyright United States Postal Service. All rights reserved.

© 2014 TomTom. All rights reserved. TomTom and the TomTom logo are registered trademarks ofTomTom N.V.

© Copyright NAVTEQ. All rights reserved

Data © 2014 NAVTEQ North America, LLC

Fuente: INEGI (Instituto Nacional de Estadística y Geografía)

Based upon electronic data © National Land Survey Sweden.

© Copyright United States Census Bureau

© Copyright Nova Marketing Group, Inc.

Portions of this program are © Copyright 1993-2007 by Nova Marketing Group Inc. All Rights Reserved

© Copyright Second Decimal, LLC

© Copyright Canada Post Corporation

This CD-ROM contains data from a compilation in which Canada Post Corporation is the copyright owner.

© 2007 Claritas, Inc.

The Geocode Address World data set contains data licensed from the GeoNames Project(www.geonames.org) provided under the Creative Commons Attribution License ("Attribution License")located at http://creativecommons.org/licenses/by/3.0/legalcode. Your use of the GeoNames data(described in the Spectrum™ Technology PlatformUser Manual) is governed by the terms of the AttributionLicense, and any conflict between your agreement with Pitney Bowes Software, Inc. and the AttributionLicense will be resolved in favor of the Attribution License solely as it relates to your use of the GeoNamesdata.

ICU Notices

Copyright © 1995-2011 International Business Machines Corporation and others.

All rights reserved.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software andassociated documentation files (the "Software"), to deal in the Software without restriction, includingwithout limitation the rights to use, copy, modify, merge, publish, distribute, and/or sell copies of the

Spectrum™ Technology Platform 9.0 SP364

Page 65: Spectrum Spatial Getting Started Guide - Pitney Bowessupport.pb.com/.../pdf/en/Spectrum_9.0.SP3_SpatialGettingStarted.pdfTolearnaboutthetypesoflayersthatSpectrum™ TechnologyPlatformsupports,seetheResources

Software, and to permit persons to whom the Software is furnished to do so, provided that the abovecopyright notice(s) and this permission notice appear in all copies of the Software and that both theabove copyright notice(s) and this permission notice appear in supporting documentation.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS ORIMPLIED, INCLUDING BUT NOT LIMITED TO THEWARRANTIES OF MERCHANTABILITY, FITNESSFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN NOEVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE BE LIABLEFORANYCLAIM,ORANYSPECIAL INDIRECTORCONSEQUENTIALDAMAGES,ORANYDAMAGESWHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTIONOF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR INCONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

Except as contained in this notice, the name of a copyright holder shall not be used in advertising orotherwise to promote the sale, use or other dealings in this Software without prior written authorizationof the copyright holder.

65Spectrum Spatial Getting Started Guide

Copyright

Page 66: Spectrum Spatial Getting Started Guide - Pitney Bowessupport.pb.com/.../pdf/en/Spectrum_9.0.SP3_SpatialGettingStarted.pdfTolearnaboutthetypesoflayersthatSpectrum™ TechnologyPlatformsupports,seetheResources