JOpenstreetmapElements::deleteElement
Method to delete an element [node|way|relation]
Signature
public function deleteElement(string
$element,
[integer
$id = null,
[integer
$version = null,
[integer
$changeset = null,
[float
$latitude = null,
[float
$longitude = null]]]]] )
Parameters
-
$element
- [node|way|relation]
-
$id
- Element identifier
-
$version
- Element version
-
$changeset
- Changeset identifier
-
$latitude
- Latitude of the element
-
$longitude
- Longitude of the element
Returns
- array
- The XML response
Errors/Exceptions
-
DomainException