This class is used to request to Open Street Map Overpass API.
You can create a new instance using OnlineMapsOSMAPIQuery.Find.
Open Street Map Overpass API documentation: http://wiki.openstreetmap.org/wiki/Overpass_API/Language_Guide
You can test your queries using: http://overpass-turbo.eu/.
More...
|
| class | OSMXMLNode |
| | Fast XML parser optimized for OSM response.
It has very limited support for XML and is not recommended for parsing any data except OSM response. More...
|
| |
|
| static OnlineMapsOSMAPIQuery | Find (string data) |
| | Query the Open Street Map Overpass API.
|
| |
| static void | ParseOSMResponse (string response, out List< OnlineMapsOSMNode > nodes, out List< OnlineMapsOSMWay > ways, out List< OnlineMapsOSMRelation > relations) |
| | Get data from the response Open Street Map Overpass API.
|
| |
| static void | ParseOSMResponse (string response, out List< OnlineMapsOSMNode > nodes, out List< OnlineMapsOSMWay > ways, out List< OnlineMapsOSMRelation > relations, out List< OnlineMapsOSMArea > areas) |
| | Get data from the response Open Street Map Overpass API.
|
| |
| static void | ParseOSMResponse (string response, out Dictionary< string, OnlineMapsOSMNode > nodes, out List< OnlineMapsOSMWay > ways, out List< OnlineMapsOSMRelation > relations) |
| | Get data from the response Open Street Map Overpass API.
|
| |
| static void | ParseOSMResponse (string response, out Dictionary< string, OnlineMapsOSMNode > nodes, out List< OnlineMapsOSMWay > ways, out List< OnlineMapsOSMRelation > relations, out List< OnlineMapsOSMArea > areas) |
| | Get data from the response Open Street Map Overpass API.
|
| |
| static void | ParseOSMResponseFast (string response, out Dictionary< string, OnlineMapsOSMNode > nodes, out Dictionary< string, OnlineMapsOSMWay > ways, out List< OnlineMapsOSMRelation > relations) |
| | Fast way to get data from the response Open Street Map Overpass API.
|
| |
|
|
void | Destroy () |
| | Destroys the current request to webservice.
|
| |
| OnlineMapsWWW | GetWWW () |
| | Get request instance.
|
| |
|
Action< string > | OnComplete |
| | Event that occurs when a response is received from webservice.
|
| |
|
new Action< OnlineMapsTextWebService > | OnFailed |
| | Event that occurs when an error response is received from webservice.
|
| |
|
new Action< OnlineMapsTextWebService > | OnFinish |
| | This event is occurs after other events, before disposing the request.
|
| |
|
new Action< OnlineMapsTextWebService > | OnSuccess |
| | Event that occurs when a success response is received from webservice.
|
| |
|
Action< OnlineMapsWebServiceAPI > | OnFailed |
| | Event that occurs when an error response is received from webservice.
|
| |
|
Action< OnlineMapsWebServiceAPI > | OnFinish |
| | Event that occurs after OnComplete, when the response from webservice processed.
|
| |
|
Action< OnlineMapsWebServiceAPI > | OnDispose |
| | Event that occurs when the current request instance is disposed.
|
| |
|
Action< OnlineMapsWebServiceAPI > | OnSuccess |
| | Event that occurs when a success response is received from webservice.
|
| |
|
object | customData |
| | In this variable you can put any data that you need to work with requests.
|
| |
|
void | OnRequestComplete (OnlineMapsWWW www) |
| | Checks whether the response from webservice.
|
| |
|
string | _response |
| | Response string.
|
| |
| string | response [get] |
| | Gets a response from webservice.
|
| |
| OnlineMapsQueryStatus | status [get] |
| | Gets the current status of the request to webservice.
|
| |
This class is used to request to Open Street Map Overpass API.
You can create a new instance using OnlineMapsOSMAPIQuery.Find.
Open Street Map Overpass API documentation: http://wiki.openstreetmap.org/wiki/Overpass_API/Language_Guide
You can test your queries using: http://overpass-turbo.eu/.
◆ Find()
Query the Open Street Map Overpass API.
- Parameters
-
- Returns
- Instance of the query
◆ ParseOSMResponse() [1/4]
Get data from the response Open Street Map Overpass API.
- Parameters
-
| response | Response from Overpass API |
| nodes | Dictionary of nodes |
| ways | List of ways |
| relations | List of relations |
◆ ParseOSMResponse() [2/4]
Get data from the response Open Street Map Overpass API.
- Parameters
-
| response | Response from Overpass API |
| nodes | Dictionary of nodes |
| ways | List of ways |
| relations | List of relations |
| areas | List of areas |
◆ ParseOSMResponse() [3/4]
Get data from the response Open Street Map Overpass API.
- Parameters
-
| response | Response from Overpass API |
| nodes | List of nodes |
| ways | List of ways |
| relations | List of relations |
◆ ParseOSMResponse() [4/4]
Get data from the response Open Street Map Overpass API.
- Parameters
-
| response | Response from Overpass API |
| nodes | List of nodes |
| ways | List of ways |
| relations | List of relations |
| areas | List of areas |
◆ ParseOSMResponseFast()
Fast way to get data from the response Open Street Map Overpass API.
- Parameters
-
| response | Response from Overpass API |
| nodes | Dictionary of nodes |
| ways | List of ways |
| relations | List of relations |