NAME

SemanticWeb::Schema::GeoShape - The geographic shape of a place

VERSION

version v6.0.1

DESCRIPTION

The geographic shape of a place. A GeoShape can be described using several properties whose values are based on latitude/longitude pairs. Either whitespace or commas can be used to separate latitude and longitude; whitespace should be used when writing a list of several such points.

ATTRIBUTES

address

Physical address of the item.

A address should be one of the following types:

InstanceOf['SemanticWeb::Schema::PostalAddress']
Str

_has_address

A predicate for the "address" attribute.

address_country

addressCountry

The country. For example, USA. You can also provide the two-letter ISO 3166-1 alpha-2 country code.

A address_country should be one of the following types:

InstanceOf['SemanticWeb::Schema::Country']
Str

_has_address_country

A predicate for the "address_country" attribute.

box

A box is the area enclosed by the rectangle formed by two points. The first point is the lower corner, the second point is the upper corner. A box is expressed as two points separated by a space character.

A box should be one of the following types:

Str

_has_box

A predicate for the "box" attribute.

circle

A circle is the circular region of a specified radius centered at a specified latitude and longitude. A circle is expressed as a pair followed by a radius in meters.

A circle should be one of the following types:

Str

_has_circle

A predicate for the "circle" attribute.

elevation

The elevation of a location (WGS 84). Values may be of the form 'NUMBER UNITOFMEASUREMENT' (e.g., '1,000 m', '3,200 ft') while numbers alone should be assumed to be a value in meters.

A elevation should be one of the following types:

Num
Str

_has_elevation

A predicate for the "elevation" attribute.

line

A line is a point-to-point path consisting of two or more points. A line is expressed as a series of two or more point objects separated by space.

A line should be one of the following types:

Str

_has_line

A predicate for the "line" attribute.

polygon

A polygon is the area enclosed by a point-to-point path for which the starting and ending points are the same. A polygon is expressed as a series of four or more space delimited points where the first and final points are identical.

A polygon should be one of the following types:

Str

_has_polygon

A predicate for the "polygon" attribute.

postal_code

postalCode

The postal code. For example, 94043.

A postal_code should be one of the following types:

Str

_has_postal_code

A predicate for the "postal_code" attribute.

SEE ALSO

SemanticWeb::Schema::StructuredValue

SOURCE

The development version is on github at https://github.com/robrwo/SemanticWeb-Schema and may be cloned from git://github.com/robrwo/SemanticWeb-Schema.git

BUGS

Please report any bugs or feature requests on the bugtracker website https://github.com/robrwo/SemanticWeb-Schema/issues

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

AUTHOR

Robert Rothenberg <rrwo@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2018-2020 by Robert Rothenberg.

This is free software, licensed under:

  The Artistic License 2.0 (GPL Compatible)