Services_Openstreetmap
[ class tree: Services_Openstreetmap ] [ index: Services_Openstreetmap ] [ all elements ]

Class: Services_Openstreetmap_Node

Source Location: /Openstreetmap/Node.php

Class Overview

Services_Openstreetmap_Object
   |
   --Services_Openstreetmap_Node

Services_Openstreetmap_Node


Author(s):

Variables

Methods


Inherited Variables

Inherited Methods

Class: Services_Openstreetmap_Object

Services_Openstreetmap_Object::delete()
Mark the object as deleted.
Services_Openstreetmap_Object::getAttributes()
Return the attributes set for this object in question.
Services_Openstreetmap_Object::getConfig()
Get current Config object
Services_Openstreetmap_Object::getId()
Retrieve the id of the object in question.
Services_Openstreetmap_Object::getOsmChangeXML()
Generate and return the OSM Change XML required to record the changes made to the object in question.
Services_Openstreetmap_Object::getRelations()
Get all relations referring to the object in question.
Services_Openstreetmap_Object::getTag()
Return value of specified tag as set against this object.
Services_Openstreetmap_Object::getTags()
Return the tags set for this object in question.
Services_Openstreetmap_Object::getTransport()
Retrieve the current Transport instance.
Services_Openstreetmap_Object::getType()
Return which type of object this is.
Services_Openstreetmap_Object::getUid()
Retrieve the uid of the object in question.
Services_Openstreetmap_Object::getUser()
Retrieve the user (creator/editor) of the object in question.
Services_Openstreetmap_Object::getVersion()
Retrieve the version of the object in question
Services_Openstreetmap_Object::getXml()
getXml
Services_Openstreetmap_Object::history()
Get each distinct version of an object.
Services_Openstreetmap_Object::osmChangeXML()
Amend changeXML with specific updates as appropriate.
Services_Openstreetmap_Object::setChangesetId()
Set the Changeset Id for this object.
Services_Openstreetmap_Object::setConfig()
Set Config object
Services_Openstreetmap_Object::setId()
Set the id value of the object in question.
Services_Openstreetmap_Object::setTag()
setTag
Services_Openstreetmap_Object::setTransport()
Set the Transport instance.
Services_Openstreetmap_Object::setVal()
Store a specified value.
Services_Openstreetmap_Object::setXml()
setXml
Services_Openstreetmap_Object::__toString()
If modified, return the changeXML for the object, otherwise the defining XML.

Class Details

[line 25]
Services_Openstreetmap_Node



Tags:

author:  Ken Guest <kguest@php.net>
link:  Node.php
license:  BSD


[ Top ]


Class Variables

$type =  'node'

[line 27]



Tags:

access:  protected

Type:   mixed
Overrides:   Array


[ Top ]



Class Methods


method getAddress [line 106]

array getAddress( )

Return address [tags], as an array, if set.



Tags:

access:  public


[ Top ]

method getLat [line 34]

float getLat( )

Latitude of node



Tags:

access:  public


[ Top ]

method getLon [line 44]

float getLon( )

Longitude of node



Tags:

access:  public


[ Top ]

method getWays [line 135]

Services_Openstreetmap_Ways getWays( )

Return a collection of Services_Openstreetmap_Way objects that use the node in question.



Tags:

access:  public


[ Top ]

method setLat [line 61]

Services_Openstreetmap_Node setLat( float $value)

set the Latitude of the node

 $node->setLat($lat)->setLon($lon);




Tags:

throws:  InvalidArgumentException
access:  public


Parameters:

float   $value   Latitude (-180 < y < 180)

[ Top ]

method setLon [line 87]

Services_Openstreetmap_Node setLon( float $value)

set the Longitude of the node

 $node->setLat($lat)->setLon($lon);




Tags:

throws:  InvalidArgumentException
access:  public


Parameters:

float   $value   Longitude (-90 < x < 90)

[ Top ]


Documentation generated on Wed, 11 Jan 2012 00:37:06 +0000 by phpDocumentor 1.4.4