Group
Extension

Matches 2

Geo-GoogleEarth-Pluggable-Plugin-AsGeoJSON ( M/MR/MRDVT/Geo-GoogleEarth-Pluggable-Plugin-AsGeoJSON-0.05.tar.gz, MRDVT, 2021; MetaCPAN )
Geo-GoogleEarth-Pluggable-Plugin-AsGeoJSON/scripts/Geo-GoogleEarth-Pluggable-Plugin-AsGeoJSON-example.pl ( view source; MetaCPAN )
e 0.16; #Polygon

=head1 NAME

Geo-GoogleEarth-Pluggable-Plugin-AsGeoJSON-example.pl - Geo::GoogleEarth::Pluggable::Plugin:AsGeoJSON Examaple

=head2 Configuration

Update the PostgreSQL connetion inf
isdata  = $database->sqlarrayhash(&gis_data_sql);

foreach my $row (@gisdata) {
  $document->AsGeoJSON(%$row);
}

print $document->render;




sub gis_data_sql {
  return qq{
SELECT 'LineString'      
    ST_AsGeoJSON(ST_GeomFromText('LINESTRING(77.29 29.07,77.42 29.26,77.27 29.31,77.29 29.07)')) AS "json"  /* alias column for function here */

UNION ALL
SELECT 'LineString', ST_AsGeoJSON(ST_GeomFro
Geo-GoogleEarth-Pluggable-Plugin-AsGeoJSON ( M/MR/MRDVT/Geo-GoogleEarth-Pluggable-Plugin-AsGeoJSON-0.05.tar.gz, MRDVT, 2021; MetaCPAN )
Geo-GoogleEarth-Pluggable-Plugin-AsGeoJSON/lib/Geo/GoogleEarth/Pluggable/Plugin/AsGeoJSON.pm ( view source; MetaCPAN )
Geo::GoogleEarth::Pluggable::Plugin::AsGeoJSON;
use strict;
use warnings;
use Geo::GoogleEarth::Pluggable 0.16; #for Polygon and MultiPolygon support
use JSON::XS qw{};

our $VERSION = '0.05';
our $PA
Plugin::AsGeoJSON - PostgreSQL ST_AsGeoJSON plugin for Geo::GoogleEarth::Pluggable

=head1 SYNOPSIS

  use Geo::GoogleEarth::Pluggable;
  use Geo::GoogleEarth::Pluggable::Plugin::AsGeoJSON; #can be ru
$object   = $document->AsGeoJSON(name        => $text,
                                      description => $html,
                                      json        => $json_string,
                  

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.