erm getpointdata - spectrum_platform - Latest

Spectrum Spatial Guide

Product type
Software
Portfolio
Locate
Product family
Spectrumâ„¢ software
Product
Spectrumâ„¢ software > Spatial > Spectrum Spatial
Version
Latest
ft:locale
en-US
Product name
Spectrum Technology Platform
ft:title
Spectrum Spatial Guide
Copyright
2025
First publish date
2007
ft:lastEdition
2025-03-07
ft:lastPublication
2025-03-07T10:28:48.112000
Note: For instructions on installing and running the Administration Utility, see Getting Started with the Administration Utility.
The erm getpointdata command returns segments information for a point. The closest segments are returned to the specified point. Types of information returned are; segment ID, road type, length, speed, direction, time, road name. You must have Spectrum Spatial installed to use this command.

Usage

erm getpointdata --datasource db_resource --point "x,y,coordsys"
Note: To see a list of parameters, type help erm getpointdata.
Required Argument Description
Yes --datasource db_resource

Specifies the name of the database resource to return data. For a list of existing routing database resources, use the ermdb list command.

Yes --point "x,y,coordsys"

Indicates the point to return the closest segment information. The point is specified in the format "x,y,coordsys", where coordsys is the coordinate system of the point.

Example

This example returns the closest segment data to the specified point from the US_NE database resources configured on the server.

erm getpointdata --datasource US_NE --point "-72,40,epsg:4326"