Geo::GML::GeoPoint - convert Geo::Point objects into GML
my $geopoint = Geo::Surface->new(...); my $gml = Geo::GML->new('WRITER', version => '3.2.1'); my $data; $data->{..somewhere..} = $gml->GPtoGML($geopoint);
Convert Geo::Point objects into GML data structures. The implementation is partial: please help with providing me with examples.
-Option--Default srs <from OBJECT>
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');
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 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/
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.
To install Geo::GML, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Geo::GML
CPAN shell
perl -MCPAN -e shell install Geo::GML
For more information on module installation, please visit the detailed CPAN module installation guide.