GeoCoordinates

Канонический URL: http://schema.org/GeoCoordinates

Thing > Intangible > StructuredValue > GeoCoordinates

Географические координаты места или события
Свойство Ожидаемый тип Описание
Свойства от GeoCoordinates
address PostalAddress
или Text
Физический адрес.
addressCountry Text
или Country
Страна. Например, США. Так же можно предстваить в виде двухбуквенного кода по стандарту ISO 3166-1 alpha-2
elevation Number
или Text
Высота местоположения.
latitude Number
или Text
Широта месторасположения, например 37.42242
longitude Number
или Text
Долгота месторасположения, например -122.08585
postalCode Text Почтовый код, например, 94043
Свойства от Thing
additionalType URL Дополнительный тип для элемента, который обычно используется для добавления более конкретных типов от внешних словарей в синтаксис микроданных. Это отношения между чем-то и классом к которому он принадлежит. В синтаксисе RDFa, лучше использовать родной синтаксис RDF - аттрибут "TypeOf" для множественных типов. Инстументы Schema.org могут слабо понимать дополнительные типы, особенно те, которые определены извне.
alternateName Text Любое альтернативное название медицинской сущности.
description Text Короткое описание записи.
image URL
или ImageObject
URL изображения записи.
name Text Имя записи.
sameAs URL Адрес веб-страницы, которая недвусмысленно указывает на идентичность элемента. Например, ссылка на страницу элемента на Википедии, Freebase страницу или на официальный сайт.
url URL URL записи.
potentialAction Action Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.
mainEntityOfPage CreativeWork
или URL
Указывает на страницу (или другую "CreativeWork"), для которой эта вещь является основной описываемой сущностью. Подробнее см. В [справочных материалах] (/docs/datamodel.html#mainEntityBackground).
disambiguatingDescription Text A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.
identifier URL
или Text
или PropertyValue
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](/docs/datamodel.html#identifierBg) for more details.


Объекты класса GeoCoordinates могут являтся значениями следующих свойств
Свойство В типах Описание
geo Place Географические координаты этого места.
geoMidpoint GeoShape Indicates the GeoCoordinates at the centre of a GeoShape e.g. GeoCircle.

Примеры

This example is in microdata only.
<div itemscope itemtype="http://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="http://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="http://schema.org/GeoCoordinates">
    <meta itemprop="latitude" content="47.2649990" />
    <meta itemprop="longitude" content="11.3428720" />
  </div>
</div>
This example is in microdata only.
This example is in microdata only.
<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
<div itemscope itemtype="http://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="http://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>
<div vocab="http://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>
<script type="application/ld+json">
{
  "@context": "http://schema.org",
  "@type": "Place",
  "geo": {
    "@type": "GeoCoordinates",
    "latitude": "40.75",
    "longitude": "73.98"
  },
  "name": "Empire State Building"
}
</script>

Schema Version 3.3