new method /lookup.php - Reverse search by multiple osm ids

This commit is contained in:
Marc Tobias Metten
2015-06-16 21:11:21 +02:00
parent 1fcb712f00
commit 7c8c206818
8 changed files with 125 additions and 4 deletions

View File

@@ -5,7 +5,8 @@
echo "?xml version=\"1.0\" encoding=\"UTF-8\" ?";
echo ">\n";
echo "<searchresults";
echo "<";
echo (isset($sXmlRootTag)?$sXmlRootTag:'searchresults');
echo " timestamp='".date(DATE_RFC822)."'";
echo " attribution='Data © OpenStreetMap contributors, ODbL 1.0. http://www.openstreetmap.org/copyright'";
echo " querystring='".htmlspecialchars($sQuery, ENT_QUOTES)."'";
@@ -121,4 +122,4 @@
}
}
echo "</searchresults>";
echo "</" . (isset($sXmlRootTag)?$sXmlRootTag:'searchresults') . ">";