GeoCircle
GeoCircle - географическая микроразметка для круглых областей
GeoCircle - это географическая микроразметка, представляющая собой круглую географическую область. Как GeoShape, она предоставляет простое текстовое свойство 'circle', а также позволяет комбинировать почтовый индекс вместе с географическим радиусом. Центр круга можно указать с помощью свойства 'geoMidpoint', или более приблизительно с использованием 'address', 'postalCode'.
GeoCircle может использоваться для обозначения географических областей, таких как зоны обслуживания предприятий, географические области доставки товаров или местоположения для мероприятий. При использовании GeoCircle рекомендуется точно указывать центр круга и сочетать почтовый индекс с радиусом для более точного определения области.
Свойство | Ожидаемый тип | Описание |
---|---|---|
Properties from GeoCircle | ||
geoMidpoint |
GeoCoordinates | Указывает географические координаты в центре GeoShape, например, GeoCircle. |
geoRadius |
Distance или Number или Text | Указывает на приблизительный радиус GeoCircle (метры, если иное не указано через запись Distance). |
Properties from GeoShape | ||
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. |
box |
Text | Бокс - это область, ограниченная прямоугольником, образованным двумя точками. Первая точка - нижний угол, вторая точка - верхний угол. Бокс выражается двумя точками, разделенными пробелом. |
circle |
Text | Круг – это круговая область заданного радиуса с центром в указанной широте и долготе. Круг выражается как пара, за которой следует радиус в метрах. |
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. |
line |
Text | Линия - это путь от точки к точке, состоящий из двух или более точек. Линия выражается как серия из двух или более объектов точек, разделенных пробелом. |
polygon |
Text | Многоугольник - это область, ограниченная путь-от-точки-до-точки, в которой начальная и конечная точки совпадают. Многоугольник выражается в виде серии из четырех или более точек, разделенных пробелами, где первая и последняя точки идентичны. |
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 объекта. |
Examples
Joes' Pizza 123 Main Street Cambridge, MA 02142 delivers within 5 km of its store with a minimum order of $20.
<div itemscope itemtype="https://schema.org/FoodEstablishment"> <span itemprop="name">Joe's Pizza</span> <div itemprop="location" itemscope itemtype="https://schema.org/PostalAddress"> <span itemprop="streetAddress">123 Main Street</span> <span itemprop="addressLocality">Cambridge</span> <span itemprop="addressRegion">MA</span> <span itemprop="postalCode">02142</span> </div> delivers within 5 km of its store <div itemprop="makesOffer" itemscope itemtype="https://schema.org/Offer"> <div itemprop="eligibleRegion" itemscope itemtype="https://schema.org/GeoCircle"> <div itemprop="address" itemscope itemtype="https://schema.org/PostalAddress"> <meta itemprop="streetAddress" content="123 Main Street" /> <meta itemprop="addressLocality" content="Cambridge" /> <meta itemprop="addressRegion" content="MA" /> <meta itemprop="postalCode" content="02142" /> </div> <meta itemprop="geoRadius" content="5000" /> </div> with a minium order of $20. <div itemprop="priceSpecification" itemscope itemtype="https://schema.org/DeliveryChargeSpecification"> <meta itemprop="appliesToDeliveryMethod" link="http://purl.org/goodrelations/v1#DeliveryModeOwnFleet"> <div itemprop="eligibleTransactionVolume" itemscope itemtype="https://schema.org/PriceSpecification"> <meta itemprop="price" content="20.00" /> <meta itemprop="priceCurrency" content="USD" /> </div> </div> </div> </div>
<div vocab="https://schema.org/" typeof="FoodEstablishment"> <span property="name">Joe's Pizza</span> <div property="location" typeof="PostalAddress"> <span property="streetAddress">123 Main Street</span> <span property="addressLocality">Cambridge</span> <span property="addressRegion">MA</span> <span property="postalCode">02142</span> </div> delivers within 5 km of its store with a minium order of $20. <div property="makesOffer" typeof="Offer"> <div property="priceSpecification" typeof="DeliveryChargeSpecification"> <meta property="appliesToDeliveryMethod" link="http://purl.org/goodrelations/v1#DeliveryModeOwnFleet"> <div property="eligibleTransactionVolume" typeof="PriceSpecification"> <meta property="price" content="20.00" /> <meta property="priceCurrency" content="USD" /> </div> <div property="eligibleRegion" typeof="GeoCircle"> <div property="address" typeof="PostalAddress"> <meta property="streetAddress" content="123 Main Street" /> <meta property="addressLocality" content="Cambridge" /> <meta property="addressRegion" content="MA" /> <meta property="postalCode" content="02142" /> </div> <meta property="geoRadius" content="5000" /> </div> </div> </div> </div>
<script type="application/ld+json"> { "@context": "https://schema.org/", "@type": "FoodEstablishment", "name": "Joe's Pizza", "location": { "@type": "PostalAddress", "@id": "http://example.com/address", "streetAddress": "123 Main Street", "addressLocality": "Cambridge", "addressRegion": "MA", "postalCode": "02142" }, "makesOffer": { "@type": "Offer", "priceSpecification": { "@type": "DeliveryChargeSpecification", "appliesToDeliveryMethod": "http://purl.org/goodrelations/v1#DeliveryModeOwnFleet", "eligibleTransactionVolume": { "@type": "PriceSpecification", "price": "20.00", "priceCurrency": "USD" }, "eligibleRegion": { "@type": "GeoCircle", "address": { "@id": "http://www.example.com/address" }, "geoRadius": "5000" } } } } </script>
Car for hire driver #123 is within 50 meters of a given location, but is moving.
<div itemscope itemtype="https://schema.org/TaxiService"> <div itemprop="provider" itemscope itemtype="https://schema.org/LocalBusiness"> <span itemprop="name">driver #123</span> <div itemprop="location" itemscope itemtype="https://schema.org/Place"> <div itemprop="geo" itemscope itemtype="https://schema.org/GeoCircle"> <div itemprop="geoMidpoint" itemscope itemtype="https://schema.org/GeoCoordinates"> <meta itemprop="latitude" content="42.362757" /> <meta itemprop="longitude" content="-71.087109" /> </div> <meta itemprop="geoRadius" content="50" /> </div> </div> </div> <meta itemprop="providerMobility" content="dynamic" /> </div>
<div vocab="https://schema.org/" typeof="TaxiService"> <div property="provider" typeof="LocalBusiness"> <span property="name">driver #123</span> <div property="location" typeof="Place"> <div property="geo" typeof="GeoCircle"> <div property="geoMidpoint" typeof="GeoCoordinates"> <meta property="latitude" content="42.362757" /> <meta property="longitude" content="-71.087109" /> </div> <meta property="geoRadius" content="50" /> </div> </div> </div> <meta property="providerMobility" content="dynamic" /> </div>
<script type="application/ld+json"> { "@context": "https://schema.org/", "@type": "TaxiService", "provider": { "@type": "LocalBusiness", "name": "driver #123", "location": { "@type": "Place", "geo": { "@type": "GeoCircle", "geoMidpoint": { "@type": "GeoCoordinates", "latitude": "42.362757", "longitude": "-71.087109" }, "geoRadius": "50" } } }, "providerMobility": "dynamic" } </script>