Debian Codegraph @

README

raw
1 NAME
2 RDF::KML::Exporter - export RDF geo data to KML (Google Earth)
3
4 SYNOPSIS
5 use RDF::KML::Exporter;
6
7 my $exporter = RDF::KML::Exporter->new;
8 my $input = 'http://dbpedia.org/resource/Lewes';
9
10 print $exporter->export_kml($input)->render;
11
12 DESCRIPTION
13 Constructor
14 * "new(%options)"
15
16 Returns a new RDF::KML::Exporter object.
17
18 There are no valid options at the moment - the hash is reserved for
19 future use.
20
21 Methods
22 * "export_kml($input, %options)"
23
24 Returns a KML document including all the locations in the input, in
25 no particular order.
26
27 The input may be a URI, file name, RDF::Trine::Model or anything
28 else that can be handled by the "parse" function of
29 RDF::TrineX::Functions.
30
31 The returned object is an Geo::GoogleEarth::Pluggable instance,
32 which can be output as XML using its "render" method.
33
34 RDF Input
35 Input is expected to use the W3C's WGS84 Geo Positioning vocabulary
36 <http://www.w3.org/2003/01/geo/wgs84_pos#>. Place names should use
37 rdfs:label.
38
39 SEE ALSO
40 HTML::Microformats, RDF::TrineX::Functions, Geo::GoogleEarth::Pluggable.
41
42 <http://www.w3.org/2003/01/geo/wgs84_pos#>.
43
44 <http://www.perlrdf.org/>.
45
46 COPYRIGHT AND LICENCE
47 This software is copyright (c) 2011-2012 by Toby Inkster.
48
49 This is free software; you can redistribute it and/or modify it under
50 the same terms as the Perl 5 programming language system itself.
51
52 DISCLAIMER OF WARRANTIES
53 THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
54 WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
55 MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
56