This API has been deprecated. Please use the data download apis instead.
/?Action=GetReferenceSchemaInGeography
GETRetrieves segments for a specified region.
Parameters
= required
Name
Located In
Type
Description
Token
Query
String
A valid authorization token returned in response to a GetSecurityToken request.
GeoId
Query
String
The ID of the specified geography. For more information on how to obtain the ID, see GetGeography. When using a custom GeoId (previously created with CreateGeography), the first call will create cached files. Once these have been created the call will return the correct information.
LOCRefMethod
Query
String
This parameter specifies which location referencing method is to be used in the Reference Schema to describe the geography of the elements.
Value
Description
OPENLR
Returns OpenLR location referencing. This is the default.
Notes
If the geography is too large, this call will fail with a statusId of 459 and a statusText of “Data too large”.
The length values are returned in meters.
Most segments include a standard OpenLR, tisaOpenLR and location reference info including Functional Road Class, Form of Way and bearing. There are some segments where an OpenLR string cannot be created or might be decoded incorrectly due to map data inconsistancies and in these cases, the lat/lon values for the start and end points are provided instead of the LocationReference info.