For example, K2C1N5 - ON45360757 - Ottawa.
For more information see Digital Canada 150
This data is also available for download as part of the Canadian Postal Code Dataset Product linking the 2016 StatsCan Census - Boundary files to postal codes.
For example, the Federal Electoral District version 2013 for K2C1N5.
This data is also available for download as part of the Canadian Postal Code Dataset Product.
while IFS='' read -r line || [[ -n "$line" ]]; do
echo $line,`curl -X POST -d locate="$line" -d geoit="csv" https://geocoder.ca`;
done < "$1"
Your input file might look something like:
20 WYPER SQ , Toronto, ON M1S0B3
415 LAKEWAY, Ding Dong, TX 76549
Yonge and Dundas, Toronto
20 WYPER SQ , Toronto, ON M1S0B3,200,1,43.790920,-79.245789
415 LAKEWAY, Ding Dong, TX 76549,200,0.8,30.976936,-97.817796
Yonge and Dundas, Toronto,200,0.9,43.655778,-79.380650
Click here for more information.
Click Here for more information.
Further Explanation - interpolation is the process of estimating where on the street a particular address location is. There are several upsides of the rooftop method, most importantly: The point will be properly placed on the middle of the roof of the given address as opposed to being placed in the middle of the road (which is often the case with interpolation.)
Another big advantage is better coverage. If a location belongs to a recently built house for instance, most current geocoders or gps devices will not find it, but the municipality has that data up to date because, well, everybody must pay the property tax.
Here is an example address that I was not able to find on other services 7636 GREEN VISTA GT , Niagara Falls, ON
The data for rooftop geocoding is provided by various open sources:
One last thing, you can also geocode locations directly on a map. Enjoy!
How it works: You upload a text only csv file -> We geocode and standardize the location information on each line -> You log in to download the processed file.
Batch geocoding is available for both USA locations, addresses and zip codes and for Canadian locations, addresses and postal codes.
Ambiguity in input. Several possible cities match your query.
While this is still an experimental feature, initial tests seem promissing. Give it a try. We are looking forward to your feedback. (Just enter an ip address in the location parameter. The API remains the same as in the reverse geocoding API) Web Example | XML Example | Jsonp Example
Note: The backup location will _only_ process queries in the event of the main service being off-line. Otherwise it will simply re-direct your query to geocoder.ca. This is only intended to give more "peace of mind" for those who wish to integrate their applications in real-time with our geocoding port, and are worried of the eventuality of a service outage. In case you want to use this backup service you need to code a few extra lines of code into your application to call the backup service in case your application receives a networking error from the main service. _DO NOT_ use the backup service in case the main service can not locate a particular address. Both the main service and the backup service are identical in that respect! Contact us if you need further explanation.