NAME

Geo::GML::GeoPoint - convert Geo::Point objects into GML

SYNOPSIS

my $geopoint = Geo::Surface->new(...);
my $gml  = Geo::GML->new('WRITER', version => '3.2.1');
my $data;
$data->{..somewhere..} = $gml->GPtoGML($geopoint);

DESCRIPTION

Convert Geo::Point objects into GML data structures. The implementation is partial: please help with providing me with examples.

METHODS

Helpers

$obj->GPtoGML($object, %options)
-Option--Default
 srs     <from OBJECT>
srs => SRS-name

Overrule the projection name as found in the Geo::Point object, which is just a simple label. Be sure that your $object is in the correct projection, for instance via

$gml->GPtoGML($gp->in('wgs84'), srs => 'EPGS:4326');

SEE ALSO

This module is part of Geo-GML distribution version 0.18, built on January 19, 2018. Website: http://perl.overmeer.net/CPAN/

LICENSE

Copyrights 2008-2018 by [Mark Overmeer]. For other contributors see ChangeLog.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See http://dev.perl.org/licenses/