 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
php|architect: Finding Exactly Where You Are
by Chris Cornutt November 11, 2011 @ 12:05:40
On the php|architect site today Chris Tankersley has a new tutorial about geocoding, Finding Exactly Where You Are - a guide to integrating the Yahoo! Placefinder service into your application.
Yahoo! PlaceFinder is a REST web service that will turn an address into the latitudinal and longitudinal coordinates in XML, JSON, or serialized PHP objects. It has a few other functions too, like finding the nearest airport, time zone, and even telephone area code. [...] PlaceFinder is a very simple REST service, so cURL is a quick and easy way to access it. There are no authentication tokens to deal with or logon procedures. Just send a GET request, and read the response.
He links you to the service to get an API key and includes a simple class (PlaceFinderAPI) that builds the GET query for you and makes the request via curl. Also included is an example showing how to find a given location (coincidentally, his location choice is the hotel where the php|tek conferences are held).
voice your opinion now!
geocode yahoo placefinder api tutorial rest webservice
Aaron McGowan' Blog: Geocoding search terms with Bing Maps
by Chris Cornutt November 17, 2010 @ 12:28:40
Aaron McGowan has a new post to his blog that looks at the work he's done interfacing with the Bing Maps API to do some geocoding for Emitter.ca.
One of the key features which was required for Emitter.ca, was the ability to geocode search terms like street addresses, cities, and postal codes, that a user enters so that Emitter.ca could easily return facilities that are nearby. To do this, we leveraged Bing Maps's API for performing the Geocode lookup. Microsoft offers a variety of APIs for allowing your application to interact with Bing Maps, however, for Geocoding search terms, we utilized Bing's SOAP API.
He shares the class he uses to pull the information out of the Bing Maps SOAP response and push the details into the properties of a class. The simpel class made interfacing with the API an easy task and allowed for string-based lookups on just about anywhere (like "Toronto, Ontario").
voice your opinion now!
geocode search bing maps soap api
PHPRiot.com: Geocoding with PHP and the Google Maps API
by Chris Cornutt February 11, 2008 @ 08:06:29
New from PHPRiot today, there's this new tutorial showing you how to combine a PHP interface with the Google Maps API to do some geocoding of your own.
Geocoding is the process of finding the longitude and latitude of a given address or location. The Google Maps service gives developers and web site owners free access to their geocoder, both using the Google Maps JavaScript API, as well as using the web service. In this article I will show you how to access the geocoder web service using PHP so that it can be used in your own applications.
The tutorial walks you through every step of the way - from getting your Google API ID to making a simple request all the way out to using placemarks to store locations to fetch later on.
This is a great, very detailed summary that anyone wanting to work with the Google API in PHP should definitely check out.
voice your opinion now!
tutorial google map api geocode placemark point
Community News: PHPGeocache 1.0 Released
by Chris Cornutt August 17, 2006 @ 07:44:45
The PHPGeocache library is a newly released (version 1.0 on July 30th) toolkit to help any web developer work with geocaching quickly and easily on their own site.
More and more people are learning about the fun sport Geocaching.
Why not integrate geocaching data into your own website, creating a mashup or simply creating your own geocaching website?
PHPGeocache is a free toolkit implemented in PHP which allows everyone to integrate geocaching information into his own website. And yes, it can also be used for commercial projects.
The library allows you to grab and store geocoded data in a local database and makes it easy to pull the information out and manipulate it as you need. There's also a built in system to create paths of wyapoints for a hunt in true geocaching fashion.
voice your opinion now!
geocachie geocode waypoint library toolkit google api geocachie geocode waypoint library toolkit google api
Developer.com: Performing HTTP Geocoding with the Google Maps API
by Chris Cornutt July 24, 2006 @ 12:09:22
Developer.com is continuing their series (on the Google Maps API, see here for a previous article) today with this new tutorial, a look at using the geocaching functionality the Google Maps API offers over a HTTP connection.
In this tutorial I showed you how to submit geocoding requests via JavaScript, which is convenient because it's easy to subsequently build a map using the retrieved coordinates. However, if you're interested in performing bulk geocoding for reason of storing a series of coordinates in a database, you might be interested in taking advantage of a second means for geocoding, accomplished by way of HTTP request.
Storing the coordinates locally will not only decrease the number of required daily geocoding requests (limited to 50,000 daily), but it will speed your application by cutting down on the total requests required to ultimately build a map.
They start off with a simple example, showing how to sed the request out to Google as well as the output. They show how to get the information you need out of the return XML. This basic example leads to something more complex - the server-side caching of the geocode results in a MySQL database.
voice your opinion now!
google maps api xml http geocode mysql database cache google maps api xml http geocode mysql database cache
Developer.com: Building a Geocoding Web Service
by Chris Cornutt November 29, 2005 @ 05:50:00
New from Developer.com today, there's this new tutorial (in the series) that aims to show you how, with the help of both Perl and PHP, to make a Geocoding web service.
In the previous installment of this four-part series regarding creating spatially enabled Web applications, you learned how to create a local datasource mapping mailing addresses to latitudinal and longitudinal coordinates using the Geo::Coder::US Perl package and the U.S Census Bureau's TIGER/Line data. In this final installment, you'll learn how to make this data available to the world through a Perl-based Web service.
To demonstrate the service's capabilities, a PHP-driven client will pass a mailing address to the Web service, retrieve the spatial data made available through this Web service, and finally feed it to the Google Maps API to produce a map marking the location of the mailing address.
If you don't really know Perl all that well, don't worry too much - they give you the code you'll need to get it set up, as well as the PHP code to make the web service connection...
voice your opinion now!
developer web service geocode developer web service geocode
|
Community Events
Don't see your event here? Let us know!
|