I'm looking for a special program that able to collect postal adresses from web pages, not only from one pages, all pages from specific area.
I mean I want to find&collect all the enterprises in london. For example i would like to find the all hairdressers postal adresses in London. I just type hairdresser London and the program will collect me the data in tables like this style: url, postal adress
www.hairdresserlondon1.com, 83 Berwick Street, London, United Kingdom
www.hairdresserlondon2.com, 12 Getwick Street, London, United Kingdom
and so on...
Is there any idea which program is good for this task? What's the name of this kind of method?
Related
I have added Northern Ireland as a country to WooCommerce for shipping reasons. For those unfamiliar, Northern Ireland, along with the Republic of Ireland, makeup the island of Ireland but Northern Ireland is a member of the United Kingdom (a province of the UK I think is the official designation).
WooCommerce groups England, Scotland, Wales and Northern Ireland under the ISO 3166-1 code of GB / United Kingdom. It is a pain for handling shipping between RoI, NI and the UK mainland
So... I added Northern Ireland as a country in my store with the custom ISO code of "GB-NIR". While GB-NIR is a valid ISO 3166-2 code, WooCommerce recognises only ISO 3166-1 codes so geolocation / geo-IP doesn't work for visitors from Northern Ireland - e.g. the country field isn't automatically set to "Northern Ireland" at checkout, etc... I assume IP addresses from Northern Ireland visitors will mostly identify as UK IP addresses with the ISO code of "GB" and I wouldn't expect any IP database to utilise GB-NIR.
Is there anywhere I can say write a rule so that all IP addresses identifying as GB / United Kingdom are mapped in WooCommerce to my custom country of GB-NIR / Northern Ireland? United Kingdom isn't in use in my store (shipping to RoI and NI only, not UK mainland) so there's no issue shoehorning all UK IP addresses into Northern Ireland
Any thoughts how I might approach this?
I am attempting to determine if a U.S. address is within city limits or not. (Another example is if an address resides within a particular county or not).
For example, we are creating a website allowing a city to sell its pet licenses. If, for example, the address is for W. Lafayette, Indiana, but the home is just outside of the established city limits, we want our website to be able to notify the user that they do not need to buy a pet license (otherwise when the city sees it, they need to refund that money to the pet owner).
Google Maps obviously knows city boundaries. For example, when you view W. Lafayette, IN, on the map you can see a red line and light red shading showing the city limits: (example)
My question: how do I determine if an address is contained within that bordered area? (I'm hoping for perhaps the ability to send lat/lng to an API to determine if it is contained within that region... or some other ideas as to how to do this?)
Side note: postal code is not enough. There are many instances where an address can have a city, state, zip that is the same whether the home is in or out of city limits.
Thank you.
Tom
I tried using 3 zone of UK country, but if do search a specific postcode, it only shows the Mainland UK shipping method.
Example if I search a postcode near in Northern Ireland, I expected to see Standard Delivery shipping method only but Mainland UK shipping method is showing as always.
I'm missing something in the setup? or I setup it wrong?
Thanks guys ..
Drag Mainland UK as your last zone (before rest of the world).
I'm looking for database with geo-data about city districts for all cities of the Europe.
I have plans to use it in my google-maps based appication.
For example, if you try to search with query "Paris, Paris 11" at Google Maps, you will see the highlighted area of Paris-11 district.
I've already found great database with country regions polygone: https://www.google.com/fusiontables/DataSource?dsrcid=420419
Can anybody help me with same database for city regions?
Or maybe google maps api has some method to receive polygonal coordinates of selected city district?
PS all national earth data-tables are stored here: https://www.google.com/fusiontables/DataSource?dsrcid=394713
I am building an application using google autocomplete Places API.
If I use the predictive suggestion for the address "Pongal, New York, NY, United States", I get following items in the return place object:
locality: Manhattan
administrative_area_level_2: New York
administrative_area_level_1: New York
As per documentation of google Places at: https://developers.google.com/maps/documentation/geocoding/ For US, locality can be used to fetch the city or town and *administrative_area_level_1* can be used for State.
So, I get New York as state and Manhattan as city which is wrong since Manhattan is not the city, the city for this address is New York
May be I am asking too much from Google. But, Really appreciate any help on this since it breaks my system in later stages or Please correct me if I am doing something wrong.
Google Maps address link under the scanner: http://maps.google.com/maps?q=Pongal,+New+York,+NY,+United+States&hl=en&ll=40.748492,-73.976612&spn=0.017947,0.042014&sll=37.0625,-95.677068&sspn=38.365962,86.044922&oq=pongal&hq=Pongal,+New+York,+NY,+United+States&t=m&z=15&iwloc=A