|
User supplied material to help you with using geocoder.ca - send us a note if you wish to contribute to this pageNote: This code is supplied by various contributors and comes with no warranties on our part. There is probably much more client code in other programming languages on the web that you can find by doing a google search. If you find something you like and find useful in your favorite programming language, let us know. Geocoder.ca Autocomplete class in javascript
Begin forwarded message: Date: November 5, 2010 10:19:31 PM GMT+01:00 To: [email protected] Subject: GeoCoder PHP library Hi there, Last October, I wrote a PHP library for the GeoCoder.ca website (actually, I took code from a forum [1] and tidied it up). I haven't implemented a couple of functions since the project I worked on didn't need it at the time. Maybe you might be interested in forking it from GitHub? [2] [1] https://groups.google.com/group/Google-Maps-API/browse_thread/thread/6012540c29625bf2/f684d8edaf90b9f6 (didn't load for me just now) [2] https://github.com/sillygwailo/GeoCoder -- Richard Eriksson justagwailo.com
A Data definition file for geocoder.ca xml port output - received today on Jan 18, 2006. Hello, I wanted to drop you a line and thank you for the wonderful service. I used it yesterday to run a test data sample and it worked very smoothly. Also, as a part of my test integration, I created a DTD file and I thought it might be useful for other people too. I am attaching it to this e-mail -- Best regards, Anthony File: GEOCODER_CA_RESPONSE.dtd Hello! I have created a php4 script that retrieves geodata information from your site. Perhaps it would be a good idea to add this to your php examples as right now you only have php5. The only drawback with my script is you need DOMPHP installed (which should be installed on almost all servers, so this shouldn't be a problem - use phpinfo() to check!) Cheers! Patrick Hayes Script is below! |
For developers & applications
One HTTPS endpoint for forward, reverse, postal, geoparse and autocomplete. Returns XML, JSON, JSONP or CSV. Reading your first result in minutes.
✓ Forward, reverse & postal lookups
✓ Batch tools, polygons, census enrichment
✓ Pay-as-you-go or subscription
For teams who want the dataset
License the Canadian & U.S. address and postal database. Run it on your own servers with no per-call billing and no caching restrictions — the data is yours.
✓ Downloadable address & postal data
✓ Self-hosted, offline-capable
✓ Flat, predictable cost
What it does
Everything in the examples, grouped by what you'd actually reach for.
Address, postal/ZIP or intersection → coordinates.
Latitude, longitude → nearest address & corner.
Full 6-character Canadian postal & US ZIP+4 lookup.
As-you-type suggestions. Demo →
Pull locations out of free text. Try it →
batchpostal, showaddrs, postal-in-polygon, getpolygon.
Nearest points of interest with reverse lookups.
Enrich results with StatsCan census attributes.
Run it your way
The same geocoder, wherever your data needs to live.
License the dataset and run it entirely on your own infrastructure.
Data products →
More from Geolytica
Geocoder.ca covers North America. Its sister services go global.