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.12, built on January 21, 2009. Website: http://perl.overmeer.net/geo/ All modules in this suite: "Geo::GML", "Geo::ISO19139", "Geo::EOP", "Geo::Point", "Geo::Proj4", "Geo::WKT", and "Math::Polygon".
Please post questions or ideas to http://geo-perl@list.hut.fi|the Geo-Perl mailinglist
COPYRIGHTS
License of the CODE
Copyrights of the perl code and the related documentation by 2008-2009 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://www.perl.com/perl/misc/Artistic.html
License of the SCHEMAS
The included schemas are copyrighted by the Open Geospatial Consortium, Inc. They are unmodified copied from the files at http://schemas.opengis.net. Read OGCs disclaimer and copyright statements on documentation and software at http://www.opengeospatial.org/ogc/legal. The license text is also included in this CPAN distribution.