The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

SemanticWeb::Schema::GeoCoordinates - The geographic coordinates of a place or event.

VERSION

version v7.0.0

DESCRIPTION

The geographic coordinates of a place or event.

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.

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.

latitude

The latitude of a location. For example 37.42242 (WGS 84).

A latitude should be one of the following types:

Num
Str

_has_latitude

A predicate for the "latitude" attribute.

longitude

The longitude of a location. For example -122.08585 (WGS 84).

A longitude should be one of the following types:

Num
Str

_has_longitude

A predicate for the "longitude" 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)