/styles/osm/standard-relief/base

Click to copy

OSM Standard Relief Base as a style.

Returns the JSON for OSM Standard Relief Base as a style.

OSM Standard Relief Base

Place labels are, by default, localized. To display place labels in other languages, use the language parameter.

OpenStreetMap (OSM) is a collaborative project to create a free editable map of the world. This vector basemap is based on the Daylight map distribution of OSM data and is hosted by Esri. The vector layer is styled using OSM cartography. It is designed to be used with World Hillshade.

For more information about the style, data providers, attribution, and terms of use, go to the item page in ArcGIS.

Note:

This endpoint does not support worldviews. Making a request to this endpoint with a worldview query parameter will result in a bad request.

Query parameters

NameTypeRequiredDefault valueDescription

string

local

Optional, case-sensitive parameter to specify the preferred language to use for OSM basemap labels.

string

The authentication token, used to access the Basemap styles service.

string

json

Optional, case-sensitive parameter to specify the format in which responses are given. Can either be json or pjson.

language

Optional, case-sensitive parameter to specify the preferred language to use for OSM basemap labels.

This query parameter makes use of language codes to specify the preferred language. If not set, the default behavior is to use the Local Language code, which uses the default place names provided by the style.

If an unsupported language code is used, then the service will attempt to fall-back to the closest available language. This is done by stripping regional and extension subtags to find a known language code. For example, American English (en-US) or Canadian French (fr-CA) will be interpreted as English and French respectively. Should this fail, then the service will use the default label language (Local).

LanguageLanguage CodeISO 639-2:1998ISO 639-1Notes
GlobalglobalUses English place names.
LocallocalUses the default place names.
ArabicararaUses the Unicode font.
BosnianbsbosUses the Unicode font.
BulgarianbgbulUses the Unicode font.
Catalancacat
Chinese (Hong Kong)zh-HKzh-hkUses the Unicode font.
Chinese (Simplified)zh-CNzh-cnUses the Unicode font.
Chinese (Taiwan)zh-TWzh-twUses the Unicode font.
CroatianhrhrvUses the Unicode font.
CzechcsczeUses the Unicode font.
Danishdadan
DutchnldutUses the Unicode font.
Englisheneng
Estonianetest
Finnishfifin
Frenchfrfre
Germandeger
GreekelgreUses the Unicode font.
HebrewhehebUses the Unicode font.
Hungarianhuhun
Indonesianidind
Italianitita
JapanesejajpnUses the Unicode font.
KoreankokorUses the Unicode font.
Latvianlvlav
Lithuanianltlit
Norwegiannbnor
Polishplpol
Portuguese (Brazil)pt-BRpt-br
Portuguese (Portugal)pt-PTpt
RomanianrorumUses the Unicode font.
RussianrurusUses the Unicode font.
SerbiansrsrpUses the Unicode font.
SlovakskslkUses the Unicode font.
SlovenianslslvUses the Unicode font.
Spanishesspa
Swedishsvswe
ThaiththaUses the Unicode font.
Turkishtrtur
UkrainianukukrUses the Unicode font.
Vietnamesevivie
Default
local
Enumerated values
global
Click to copy
local
Click to copy
ar
Click to copy
bs
Click to copy
bg
Click to copy
ca
Click to copy
zh-HK
Click to copy
zh-CN
Click to copy
zh-TW
Click to copy
hr
Click to copy
cs
Click to copy
da
Click to copy
nl
Click to copy
en
Click to copy
et
Click to copy
fi
Click to copy
fr
Click to copy
de
Click to copy
el
Click to copy
he
Click to copy
hu
Click to copy
id
Click to copy
it
Click to copy
ja
Click to copy
ko
Click to copy
lv
Click to copy
lt
Click to copy
nb
Click to copy
pl
Click to copy
pt-BR
Click to copy
pt-PT
Click to copy
ro
Click to copy
ru
Click to copy
sr
Click to copy
sk
Click to copy
sl
Click to copy
es
Click to copy
sv
Click to copy
th
Click to copy
tr
Click to copy
uk
Click to copy
vi
Click to copy

token

The authentication token, used to access the Basemap styles service.

The token parameter can be either an API Key or short-lived token.

Alternatively, you can supply a token in the request header with one of the following keys using the "Bearer" scheme:

  • Authorization: Bearer <YOUR_TOKEN>
  • X-Esri-Authorization: Bearer <YOUR_TOKEN>

The provided token must have the necessary premium:user:basemaps privilege to use the basemap style service.

Developer guide: To learn more, go to Security and authentication.

f

Optional, case-sensitive parameter to specify the format in which responses are given. Can either be json or pjson.

Default
json
Enumerated values
json
Click to copy
pjson
Click to copy

Examples

Request

Use dark colors for code blocksCopy
1
2
3
# You can also use wget
curl -X GET https://basemapstyles-api.arcgis.com/arcgis/rest/services/styles/v2/styles/osm/standard-relief/base \
  -H 'Accept: application/json'

Response

200 Response

Use dark colors for code blocksCopy
1
{}
StatusMeaningDescriptionSchema

200

OK

A successful response to a style request.

Style

400

Bad Request

Invalid query parameters / Incorrect portal item type.

Error

401

Unauthorized

Authentication Error. The API key or token is missing, invalid or expired.

Error

403

Forbidden

The requested resource cannot be accesed because of incorrent sharing permissions.

Error

5XX

Unknown

An error occurred on the server.

Error

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.