RDF::KML::Exporter(3pm)

RDF::KML::Exporter3pm

Export rdf geo data to kml (google earth)

Usage

 use RDF::KML::Exporter;
 
 my $exporter = RDF::KML::Exporter->new;
 my $input    = 'http://dbpedia.org/resource/Lewes';
 
 print $exporter->export_kml($input)->render;

Overview

Constructor

•

"new(%options)"

Returns a new RDF::KML::Exporter object.

There are no valid options at the moment - the hash is reserved for future use.

Methods

•

"export_kml($input, %options)"

Returns a KML document including all the locations in the input, in no particular order.

The input may be a URI, file name, RDF::Trine::Model or anything else that can be handled by the "parse" function of RDF::TrineX::Functions.

The returned object is an Geo::GoogleEarth::Pluggable instance, which can be output as XML using its "render" method.

RDF Input

Input is expected to use the W3C's WGS84 Geo Positioning vocabulary <http://www.w3.org/2003/01/geo/wgs84_pos#>. Place names should use rdfs:label.

Disclaimer of warranties

THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.

Releases

6 releases since Debian 7 (Wheezy); the text changed 1 time.

  1. 7–10
  2. 12–13

From librdf-kml-exporter-perl 0.003-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.