News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Christopher Jones' Blog:
Location Awareness With Oracle Spatial in PHP
March 27, 2008 @ 07:50:11

Christopher Jones has posted a script to his blog today giving an example of how you can use the Spatial functionality of Oracle in a PHP application:

Oracle Spatial is a powerful library for adding location awareness to applications. This script uses the core subset of Spatial, called Oracle Locator, which is included in all Oracle Database editions.

His example connects to the database resource and makes a few example SQL queries: one that uses the sod_nn() function built in to the Spatial package to grab the store locations close to the customers, another that finds the latitude and longitude for a customer's information and a method for querying an object collection of locations in a given area.

2 comments voice your opinion now!
oracle database spatial locator example latitude longitude proximity


blog comments powered by Disqus

Similar Posts

Cody Caughlan's Blog: Database Migrations for PHP5

PHPEverywhere: New Improved Yummy ADOdb Session Handler

Matthias Noback: Inject a repository instead of an entity manager

ParanoidFerret.com: Using Flex, PHP, and JSON to Modify a MySQL Database

Ibuildings techPortal: Using MongoDb in PHP Applications


Community Events





Don't see your event here?
Let us know!


composer introduction opinion laravel podcast conference framework artisanfiles symfony language series list version release security community interview voicesoftheelephpant tool library

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework