来自 craigslist 的纬度经度

发布于 2024-12-08 10:36:46 字数 1961 浏览 5 评论 0原文

使用 YQL 和 craigslist 中的公寓搜索位置,我得到以下形式的结果。有什么方法可以从中获取纬度、经度信息吗?或者我必须对地址进行地理编码吗?除了 craigslist 之外,还有其他来源可用于获取房产详细信息以及地理位置吗?

{
      "about": "http://kolkata.craigslist.co.in/apa/2559284148.html",
      "title": [
       "Temporary Stay Rental (Kasba Area, Kolkata) 2bd 1100sqft",
       "Temporary Stay Rental (Kasba Area, Kolkata) 2bd 1100sqft"
      ],
      "link": "http://kolkata.craigslist.co.in/apa/2559284148.html",
      "description": "FURNISHED apartment for executives, professionals, NRIs and visitors for temporary stay in Kolkata (Calcutta).<br>\n<br>\nLOCATION: Kasba area near Delhi Public School - close to Gariahat and EM Bypass<br>\n<br>\n2 bedrooms, 2 bathrooms, a spacious living room, a separate dining room and a modular kitchen. Cooking facility - cooking gas burner, utensils, refrigerator etc. <br>\n<br>\nApartment located at the second floor of a four story building.  Elevator available.<br>\n<br>\nHot water, air conditioned bedrooms and one covered parking space available.<br>\n<br>\nRent is INR 2,000.00 (or USD 50.00) per day for a minimum stay of 15 days. Costs of electricity and cooking gas charged separately on actual usage.<br>\n<br>\nShorter stay possible at negotiable rates.<br>\n<br>\nAppropriate ID required for renting.<!-- START CLTAGS -->\n\n\n<br><br><ul class=\"blurbs\">\n<li> <!-- CLTAG GeographicArea=Kasba Area, Kolkata -->Location: Kasba Area, Kolkata\n<li>it's NOT ok to contact this poster with services or other commercial interests</ul>\n<!-- END CLTAGS -->",
      "date": "2011-08-22T10:05:43+05:30",
      "language": "en-us",
      "rights": "Copyright &copy; 2011 craigslist, inc.",
      "source": "http://kolkata.craigslist.co.in/apa/2559284148.html",
      "type": "text",
      "issued": "2011-08-22T10:05:43+05:30"
     }

Using YQL and apartment search location from craigslist, I get a result in the following form. Is there any way I can get latitude,longitude information from this ? or do i have to geocode the address ? are there any other source apart from craigslist that can be used to get property details along with geo-location?

{
      "about": "http://kolkata.craigslist.co.in/apa/2559284148.html",
      "title": [
       "Temporary Stay Rental (Kasba Area, Kolkata) 2bd 1100sqft",
       "Temporary Stay Rental (Kasba Area, Kolkata) 2bd 1100sqft"
      ],
      "link": "http://kolkata.craigslist.co.in/apa/2559284148.html",
      "description": "FURNISHED apartment for executives, professionals, NRIs and visitors for temporary stay in Kolkata (Calcutta).<br>\n<br>\nLOCATION: Kasba area near Delhi Public School - close to Gariahat and EM Bypass<br>\n<br>\n2 bedrooms, 2 bathrooms, a spacious living room, a separate dining room and a modular kitchen. Cooking facility - cooking gas burner, utensils, refrigerator etc. <br>\n<br>\nApartment located at the second floor of a four story building.  Elevator available.<br>\n<br>\nHot water, air conditioned bedrooms and one covered parking space available.<br>\n<br>\nRent is INR 2,000.00 (or USD 50.00) per day for a minimum stay of 15 days. Costs of electricity and cooking gas charged separately on actual usage.<br>\n<br>\nShorter stay possible at negotiable rates.<br>\n<br>\nAppropriate ID required for renting.<!-- START CLTAGS -->\n\n\n<br><br><ul class=\"blurbs\">\n<li> <!-- CLTAG GeographicArea=Kasba Area, Kolkata -->Location: Kasba Area, Kolkata\n<li>it's NOT ok to contact this poster with services or other commercial interests</ul>\n<!-- END CLTAGS -->",
      "date": "2011-08-22T10:05:43+05:30",
      "language": "en-us",
      "rights": "Copyright © 2011 craigslist, inc.",
      "source": "http://kolkata.craigslist.co.in/apa/2559284148.html",
      "type": "text",
      "issued": "2011-08-22T10:05:43+05:30"
     }

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

仅此而已 2024-12-15 10:36:46

不可以。您需要将regionId 映射到坐标或邮政编码。

No. You will need to map the regionId's to the coordinates or zipcode.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文