30. GEO.PLACEMAKER
SELECT * FROM geo.placemaker WHERE documentContent =
"While Deepika is from Bangalore, Bipasha is from Kolkata
they predominantly act in movies made in Mumbai"
AND documentType="text/plain"
<matches>
<match>
<place xmlns="http://wherein.yahooapis.com/v1/schema">
<woeId>2295420</woeId>
<type>Town</type>
<name><![CDATA[Bangalore, Karnataka, IN]]></name>
<centroid>
<latitude>12.9558</latitude>
<longitude>77.621</longitude>
</centroid>
</place>
</match>
<match>
<place xmlns="http://wherein.yahooapis.com/v1/schema">
<woeId>2295386</woeId>
<type>Town</type>
<name><![CDATA[Kolkata, West Bengal, IN]]></name>
<centroid>
31. GEO.PLACEMAKER
SELECT * FROM geo.placemaker WHERE documentURL =
"www.telegraphindia.com/1120323/jsp/calcutta/index.jsp"
AND documentType="text/html"
<matches>
<match>
<place xmlns="http://wherein.yahooapis.com/v1/schema">
<woeId>29274615</woeId>
<type>POI</type>
<name><![CDATA[Hatibagan Market, Kolkata, West Bengal, IN]]></name>
<centroid>
<latitude>22.5944</latitude>
<longitude>88.3705</longitude>
</centroid>
</place>
</match>
<match>
<place xmlns="http://wherein.yahooapis.com/v1/schema">
<woeId>2295386</woeId>
<type>Town</type>
<name><![CDATA[Kolkata, West Bengal, IN]]></name>
<centroid>
<latitude>22.5499</latitude>
32. PUTTING IT TOGETHER
Demo: http://icant.co.uk/geomaker/index.php
Code: https://github.com/codepo8/GeoMaker