JOpenstreetmapChangesets
class JOpenstreetmapChangesets extends JOpenstreetmapObject
Openstreetmap API Changesets class for the Joomla Platform
Methods
__construct(
Registry $options = null,
JHttp $client = null,
JOpenstreetmapOauth $oauth = null)
Constructor
from JOpenstreetmapObject
mixed
getOption(
string $key)
Get an option from the JOpenstreetmapObject instance.
from JOpenstreetmapObject
setOption(
string $key,
mixed $value)
Set an option for the JOpenstreetmapObject instance.
from JOpenstreetmapObject
sendRequest(
string $path,
string $method = 'GET',
array $headers = array(),
mixed $data = '')
Method to send the request which does not require authentication.
from JOpenstreetmapObject
array
createChangeset(
array $changesets = array())
Method to create a changeset
array
readChangeset(
integer $id)
Method to read a changeset
array
updateChangeset(
integer $id,
array $tags = array())
Method to update a changeset
void
closeChangeset(
integer $id)
Method to close a changeset
array
downloadChangeset(
integer $id)
Method to download a changeset
array
expandBBoxChangeset(
integer $id,
array $nodes)
Method to expand the bounding box of a changeset
array
queryChangeset(
string $param)
Method to query on changesets
array
diffUploadChangeset(
string $xml,
integer $id)
Method to upload a diff to a changeset
Details
__construct(
Registry $options = null,
JHttp $client = null,
JOpenstreetmapOauth $oauth = null)
Constructor
JOpenstreetmapObject
setOption(
string $key,
mixed $value)
Set an option for the JOpenstreetmapObject instance.
SimpleXMLElement
sendRequest(
string $path,
string $method = 'GET',
array $headers = array(),
mixed $data = '')
Method to send the request which does not require authentication.