⚠️ Важно: данный сайт не имеет отношения к владельцам schema.org, это всего лишь любительский (неофициальный) перевод. Сайт сделан для тех кто плохо воспринимает технический английский. Оригинальную и актуальную информацию на английском языке вы можете найти тут: schema.org/GeoCoordinates.

GeoCoordinates - Микроразметка Schema.org

GeoCoordinates - географические координаты места или события.

GeoCoordinates - Тип Schema.org
Описание: Географические координаты места или события.

GeoCoordinates - это тип микроразметки Schema.org, предназначенный для указания географических координат конкретного места или события. Это полезно для поисковых систем и карт, чтобы точно определить местоположение объекта. Для использования достаточно указать широту и долготу в соответствующих полях.

Совет: при добавлении GeoCoordinates в разметку своего сайта убедитесь, что координаты указаны верно и соответствуют реальному местоположению, чтобы не возникало путаницы для поисковых систем и пользователей.

СвойствоОжидаемый типОписание
Properties from GeoCoordinates
address PostalAddress или Text Физический адрес объекта.
addressCountry Country или Text The country. For example, USA. You can also provide the two-letter ISO 3166-1 alpha-2 country code.
elevation Number или Text The elevation of a location (WGS 84). Values may be of the form 'NUMBER UNIT_OF_MEASUREMENT' (e.g., '1,000 m', '3,200 ft') while numbers alone should be assumed to be a value in meters.
latitude Number или Text The latitude of a location. For example 37.42242 (WGS 84).
longitude Number или Text The longitude of a location. For example -122.08585 (WGS 84).
postalCode Text Почтовый индекс. Например, 94043.
Properties from Thing
additionalType Text или URL An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide.
alternateName Text Псевдоним для элемента.
description Text или TextObject Описание элемента.
disambiguatingDescription Text Подсвойство описания. Краткое описание элемента, используемое для различения от других, схожих элементов. Для того чтобы описание было полезным для разрешения неоднозначности, может потребоваться информация из других свойств (в частности, name).
identifier PropertyValue или Text или URL The identifier property represents any kind of identifier for any kind of Thing, such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See background notes for more details.
image ImageObject или URL An image of the item. This can be a URL or a fully described ImageObject.
mainEntityOfPage CreativeWork или URL Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See background notes for details. Обратное свойство: mainEntity
name Text Название элемента.
potentialAction Action Указывает на потенциальное действие, описывающее идеализированное действие, в котором этот объект мог бы выполнять роль 'объекта'.
sameAs URL URL страницы для ссылки, однозначно указывающей на идентичность объекта. Например, URL страницы объекта на Википедии, записи в Wikidata или официального веб-сайта.
subjectOf CreativeWork или Event Свойство Schema.org - subjectOf: A CreativeWork or Event about this Thing. Обратное свойство: about
url URL URL объекта.

Instances of GeoCoordinates may appear as a value for the following properties
СвойствоOn TypesОписание
geo Place Географические координаты места.
geoMidpoint GeoCircle Указывает географические координаты в центре GeoShape, например, GeoCircle.

Examples

Example 1
Copied
Example notes or example HTML without markup.
<h1>What is the latitude and longitude of the Empire State Building?</h1>
Answer:
Latitude: 40 deg 44 min 54.36 sec N
Longitude: 73 deg 59 min 8.5 sec W
Example encoded as Microdata embedded in HTML.
<div itemscope itemtype="https://schema.org/Place">
  <h1>What is the latitude and longitude of the <span itemprop="name">Empire State Building</span>?</h1>
  Answer:
  <div itemprop="geo" itemscope itemtype="https://schema.org/GeoCoordinates">
    Latitude: 40 deg 44 min 54.36 sec N
    Longitude: 73 deg 59 min 8.5 dec W
    <meta itemprop="latitude" content="40.75" />
    <meta itemprop="longitude" content="-73.98" />
  </div>
</div>
Example encoded as RDFa embedded in HTML.
<div vocab="https://schema.org/" typeof="Place">
  <h1>What is the latitude and longitude of the <span property="name">Empire State Building</span>?</h1>
  Answer:
  <div property="geo" typeof="GeoCoordinates">
    Latitude: 40 deg 44 min 54.36 sec N
    Longitude: 73 deg 59 min 8.5 dec W
    <meta property="latitude" content="40.75" />
    <meta property="longitude" content="-73.98" />
  </div>
</div>
Example encoded as JSON-LD in a HTML script tag.
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Place",
  "geo": {
    "@type": "GeoCoordinates",
    "latitude": "40.75",
    "longitude": "-73.98"
  },
  "name": "Empire State Building"
}
</script>
Structured representation of the JSON-LD example.
Example 2
Copied
Example notes or example HTML without markup.
This example is in microdata only.
Example encoded as Microdata embedded in HTML.
<div itemscope itemtype="https://schema.org/Hotel">
  <h1><span itemprop="name">ACME Hotel Innsbruck</span></h1>
  <span itemprop="description">A beautifully located business hotel right in the
heart of the alps. Watch the sun rise over the scenic Inn valley while
enjoying your morning coffee.</span>
  <div itemprop="address" itemscope itemtype="https://schema.org/PostalAddress">
    <span itemprop="streetAddress">Technikerstrasse 21</span>
    <span itemprop="postalCode">6020</span>
    <span itemprop="addressLocality">Innsbruck</span>
    <span itemprop="addressRegion">Tyrol</span>,
    <span itemprop="addressCountry">Austria</span>
  </div>
  <div itemprop="geo" itemscope itemtype="https://schema.org/GeoCoordinates">
    <meta itemprop="latitude" content="47.2649990" />
    <meta itemprop="longitude" content="11.3428720" />
  </div>
</div>

Обсуждение "GeoCoordinates"