|Welcome to the Monastery|
Creating a kml fileby RFMonk (Acolyte)
|on Dec 19, 2012 at 14:23 UTC||Need Help??|
RFMonk has asked for the
wisdom of the Perl Monks concerning the following question:
First of all, I am new to Perl but not so new to programming. Anyway I am loving Perl more than Java or Pascal... Is fun.
Well, to the point:
I wanna do the following script for my job:
I analyze metrics,KPIs and all that telecom stuff.
So, I want to convert all the data into a KML file to be able to see it in Google earth.
For example, I got in Melbourne 3 Base station and around them I have 50% of drops calls. so this data I have it in Excel but I am trying to make a script to be able to see it from google earth in a Choropleth Map (http://en.wikipedia.org/wiki/Choropleth_map)
So, I am trying to use Geo::KML::PolyMap but when I am running my code the following error comes up:
"Not an ARRAY reference at C:\Myperl\perl\site\lib\Geo\KML\PolyMap.pm"
So it can be a bug or I am doing something wrong.
Finnaly, the fact is that I am basically copying and pasting the code from CPAN and Testing/running to see if it works.
The code is the following: