Added TODO as the name property get's not added to GeoJSON.
authorphilipp <philipp@7aebc617-e5e2-0310-91dc-80fb5f6d2477>
Sat, 10 Aug 2013 13:31:07 +0000 (13:31 +0000)
committerphilipp <philipp@7aebc617-e5e2-0310-91dc-80fb5f6d2477>
Sat, 10 Aug 2013 13:31:07 +0000 (13:31 +0000)
git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrmap/trunk@1506 7aebc617-e5e2-0310-91dc-80fb5f6d2477

wrmap.body.php

index 77d3f93e27c9fd3dc1d129f52ce3a6a863d18582..16faa49e268c0cd408ca41c56442d37c4a09be8e 100644 (file)
@@ -51,6 +51,7 @@ function sledruns_to_json_features() {
 // convert XML to geojson (http://www.geojson.org/geojson-spec.html)
 // Returns an array of features
 // TODO: Error reporting
+// TODO: name of points gets not added to properties
 function xml_to_json_features($input) {
        libxml_use_internal_errors(true); // without that, we get PHP Warnings if the $input is not well-formed
        $xml = new SimpleXMLElement($input); // input