Class: Services_OpenStreetMap_API_V06
Source Location: /Services_OpenStreetMap-1.0.0RC2/Services/OpenStreetMap/API/V06.php
Services_OpenStreetMap_API_V06
Author(s):
|
|
|
Inherited Variables
|
Inherited Methods
|
Class Details
Class Variables
Method Detail
createChangeset [line 189]
Create a changeset. Used to transmit changes (creation, updates, deletion) to the server. Username and password must be set. $config = array('user' => 'fred@example.net', 'password' => 'wilma4eva');
Parameters:
createNode [line 240]
Create and return a Services_OpenStreetMap_Node Latitude and longitude must be specified, array of tags optional. $node = $osm->createNode($lat, $lon, array ('building' => 'yes'));
Parameters:
getChangeset [line 165]
Get details of specified changeset. Optionally specify version of the changeset.
Parameters:
getConfig [line 79]
Get current Config object
getNode [line 462]
Get details of specified node. Optionally, version of the node can be specified also.
Parameters:
getNodes [line 492]
Return an array of specified nodes. If none can be retrieved, for example if they all have been deleted, then the boolean false value is returned.
Or
getNotesByBbox [line 516]
Services_OpenStreetMap_Notes getNotesByBbox(
string
$minLon, string
$minLat, string
$maxLon, string
$maxLat, [int
$limit = 100], [int
$closed = 7])
|
|
Retrieve bug data by bounding box.
Parameters:
getNotesBySearch [line 561]
Services_OpenStreetMap_Notes getNotesBySearch(
string
$searchTerm, [int
$limit = 100], [int
$closed = 7], [string
$displayName = ''], [int
$user = 0], [string
$from = ''], [string
$to = ''])
|
|
Retrieve bug data by search.
Parameters:
getPermissions [line 615]
array|false getPermissions(
)
|
|
Return array of granted permissions. The return array may be empty if authorisation failed. - allow_read_prefs (read user preferences)
- allow_write_prefs (modify user preferences)
- allow_write_diary (create diary entries, comments and make friends)
- allow_write_api (modify the map)
- allow_read_gpx (read private GPS traces)
- allow_write_gpx (upload GPS traces)
getRelation [line 124]
Get details of specified relation. Optionally specify which version of the relation to be retrieved.
Parameters:
getRelations [line 142]
Return an array of specified relations. Call with relation ids as parameters.
getTransport [line 103]
Services_OpenStreetMap_Transport. getTransport(
)
|
|
Retrieve the current Transport instance.
getUser [line 284]
Get a Services_OpenStreetMap_User object for the [current] user. May return false if the user could not be found for any reason.
getUserById [line 353]
Get a Services_OpenStreetMap_User object for the specified user. May return false if the user could not be found for any reason.
Parameters:
getWay [line 390]
Get details of specified way
Parameters:
getWayFull [line 412]
Get way plus full XML of all nodes referenced by it. API call retrieves a way or relation and all other elements referenced by it
Parameters:
getWays [line 438]
Return an array of specified ways. Any number of ways can be specified. $ways = $osm->getWays($wayId, $way2Id);
searchChangesets [line 206]
Search changesets for specified criteria.
Parameters:
setConfig [line 67]
Set Config object
Parameters:
setTransport [line 91]
Set the Transport instance.
Parameters:
Documentation generated on Tue, 28 May 2019 19:19:08 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|
|