Author: kake Date: 2007-06-09 22:54:06 +0100 (Sat, 09 Jun 2007) New Revision: 1052
Modified: trunk/lib/OpenGuides/RDF.pm Log: Fix bug introduced in my last commit (forgot to run tests, sorry).
Modified: trunk/lib/OpenGuides/RDF.pm =================================================================== --- trunk/lib/OpenGuides/RDF.pm 2007-06-09 21:33:04 UTC (rev 1051) +++ trunk/lib/OpenGuides/RDF.pm 2007-06-09 21:54:06 UTC (rev 1052) @@ -113,6 +113,15 @@ : "rdf:Description"; $tt_vars{is_geospatial} = $is_geospatial;
+ # Fix up lat and long. + eval { + @tt_vars{ qw( wgs84_long wgs84_lat ) } = + OpenGuides::Utils->get_wgs84_coords( + longitude => $tt_vars{longitude}, + latitude => $tt_vars{latitude}, + config => $config ); + }; + # Timestamp of last edited. my $timestamp = $node_data{last_modified}; if ( $timestamp ) {