The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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.17, built on June 29, 2017. 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 https://list.hut.fi/mailman/listinfo/geo-perl|the Geo-Perl mailinglist

COPYRIGHTS

License of the CODE

Copyrights of the perl code and the related documentation by 2008-2017 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/

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.