\JOpenstreetmapElements
Openstreetmap API Elements class for the Joomla Platform
Synopsis
class JOpenstreetmapElements
extends JOpenstreetmapObject
{
- // Inherited members from JOpenstreetmapObject
- protected JRegistry $options;
- protected JHttp $client;
- protected JOpenstreetmapOauth $oauth;
- // methods
- public array createNode()
- public array createWay()
- public array createRelation()
- public array readElement()
- public array updateElement()
- public array deleteElement()
- public array historyOfElement()
- public array versionOfElement()
- public array multiFetchElements()
- public array relationsForElement()
- public array waysForNode()
- public array fullElement()
- public array redaction()
- // Inherited methods from JOpenstreetmapObject
- public void __construct()
- public mixed getOption()
- public JOpenstreetmapObject setOption()
- public SimpleXMLElement sendRequest()
Hierarchy
Extends
Members
protected
- $client
—
JHttp
The HTTP client object to use in sending HTTP requests. - $oauth
—
JOpenstreetmapOauth
The OAuth client. - $options
—
JRegistry
Options for the Openstreetmap object.
Methods
public
- createNode() — Method to create a node
- createRelation() — Method to create a relation
- createWay() — Method to create a way
- deleteElement() — Method to delete an element [node|way|relation]
- fullElement() — Method to get full information about an element [way|relation]
- historyOfElement() — Method to get history of an element [node|way|relation]
- multiFetchElements() — Method to get data about multiple ids of an element [node|way|relation]
- readElement() — Method to read an element [node|way|relation]
- redaction() — Method used by the DWG to hide old versions of elements containing data privacy or copyright infringements
- relationsForElement() — Method to get relations for an Element [node|way|relation]
- updateElement() — Method to update an Element [node|way|relation]
- versionOfElement() — Method to get details about a version of an element [node|way|relation]
- waysForNode() — Method to get ways for a Node element
Inherited from JOpenstreetmapObject
public
- getOption() — Get an option from the JOpenstreetmapObject instance.
- sendRequest() — Method to send the request which does not require authentication.
- setOption() — Set an option for the JOpenstreetmapObject instance.