dorbel-tech / dorbel-app

Main dorbel node.js app
https://app.dorbel.com
0 stars 1 forks source link

Neighbourhoods auto detection for big cities #1591

Open virtser opened 7 years ago

virtser commented 7 years ago

What if we have city neighbourhood polygons for Tel-Aviv, Jerusalem and Haifa?

When landlord submits apartment, we don't have to ask for neighbourhood, we can detect its geo location by city + street name, and detect its neighbourhood by finding the right polygon for geo location.

The neighbourhoods information is mostly important for Search and Smart Search.

The question is where can we take that neighbourhood polygons information?

virtser commented 7 years ago

Madlan got it, can we steal it? https://www.madlan.co.il/local/%D7%AA%D7%9C%20%D7%90%D7%91%D7%99%D7%91%20%D7%99%D7%A4%D7%95#mdlnPriceIndexAnchor

virtser commented 7 years ago

As well as TA map with neighbourhoods layer: https://gisn.tel-aviv.gov.il/iview2js/index.aspx?extent=178127,666521,189311,672194&layers=511,923,925&back=0.00&year=2017&overview=1&opacity=0.9

virtser commented 7 years ago

We can get it from here for Tel-Aviv: https://gisn.tel-aviv.gov.il/wsgis/service.asmx?op=GetLayer 511 is layer code to get neighbourhoods

service_web_service

virtser commented 7 years ago

There is nothing like as good old XML web service. 👯‍♂️

avnersorek commented 7 years ago

There are not so many neighborhoods and geolocation data like this is not big, We should keep the polygon in the Neighborhoods DB table. It's possible to find a geolocation POINT in a geolocation POLYGON both in Javascript and in SQL.