GEOLOCATION.URI_GPS_SCHEME CODES

GEOLOCATION.URI_GPS_SCHEME CODES

GEOLOCATION URI CODES are used to define the scheme based on GPS coordinates for building a valid URI to access the map display service of each available provider 

Property

Value

Comments

Property

Value

Comments

ID_STANDARD_CODE

#GEOLOCATION.URI_GPS_SCHEME

Constant value to identify GEOLOCATION URI SCHEME codes

ID_CODE

Code of the geolocation provider (e.g. GOOGLE)

Must be one of the GEOLOCATION.PROVIDER CODES

ID_LANGUAGE

2 letter ISO language code

It is not necessary nor recommended to define different language for the GEOLOCATION.URI_GPS_SCHEME CODES since they are only a template for generating an URI, which is language independent.

CODE_DESCRIPTION

 Scheme of the URI to display a map.

E.g.: https://www.google.com/maps/search/?api=1&query={LAT},{LNG}

The schema of the URL must include at least the following place holders:

  • {LAT} : To be replaced by the latitude value

  • {LNG}: To be replaced by the longitude value



AVAILABLE CODE VALUES

Codes stored under the “#GEOLOCATION.URI_GPS_SCHEME” standard code:

ID_CODE

CODE_DESCRIPTION

ID_CODE

CODE_DESCRIPTION

GOOGLE

https://www.google.com/maps/search/?api=1&query={LAT},{LNG}

APPLE

https://maps.apple.com/?sll={LAT},{LNG}&z=10&t=s

OPENSTREET

https://www.openstreetmap.org/?mlat={LAT}&mlon={LNG}&zoom=17&layers=M

BAIDU

https//:map.baidu.com/?latlng={LAT},{LNG}&title={TITLE}&content={CONTENTS}&autoOpen=true&l