/usr/share/gtk-doc/html/geocode-glib-1.0/GeocodeReverse.html is in libgeocode-glib-doc 3.10.0-1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>geocode-glib Reference Manual: GeocodeReverse</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="geocode-glib Reference Manual">
<link rel="up" href="ch01.html" title="Geocode-glib">
<link rel="prev" href="GeocodePlace.html" title="GeocodePlace">
<link rel="next" href="geocode-glib-geocode-enum-types.html" title="geocode-enum-types">
<meta name="generator" content="GTK-Doc V1.19.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
<td width="100%" align="left">
<a href="#" class="shortcut">Top</a>
|
<a href="#GeocodeReverse.description" class="shortcut">Description</a>
|
<a href="#GeocodeReverse.object-hierarchy" class="shortcut">Object Hierarchy</a>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="GeocodePlace.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="geocode-glib-geocode-enum-types.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="GeocodeReverse"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GeocodeReverse.top_of_page"></a>GeocodeReverse</span></h2>
<p>GeocodeReverse — Geocode reverse geocoding object</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="GeocodeReverse.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include <geocode-glib/geocode-glib.h>
struct <a class="link" href="GeocodeReverse.html#GeocodeReverse-struct" title="struct GeocodeReverse">GeocodeReverse</a>;
struct <a class="link" href="GeocodeReverse.html#GeocodeReverseClass" title="struct GeocodeReverseClass">GeocodeReverseClass</a>;
<a class="link" href="GeocodeReverse.html" title="GeocodeReverse"><span class="returnvalue">GeocodeReverse</span></a> * <a class="link" href="GeocodeReverse.html#geocode-reverse-new-for-location" title="geocode_reverse_new_for_location ()">geocode_reverse_new_for_location</a> (<em class="parameter"><code><a class="link" href="GeocodeLocation.html" title="GeocodeLocation"><span class="type">GeocodeLocation</span></a> *location</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GeocodeReverse.html#geocode-reverse-resolve-async" title="geocode_reverse_resolve_async ()">geocode_reverse_resolve_async</a> (<em class="parameter"><code><a class="link" href="GeocodeReverse.html" title="GeocodeReverse"><span class="type">GeocodeReverse</span></a> *object</code></em>,
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
<em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);
<a class="link" href="GeocodePlace.html" title="GeocodePlace"><span class="returnvalue">GeocodePlace</span></a> * <a class="link" href="GeocodeReverse.html#geocode-reverse-resolve-finish" title="geocode_reverse_resolve_finish ()">geocode_reverse_resolve_finish</a> (<em class="parameter"><code><a class="link" href="GeocodeReverse.html" title="GeocodeReverse"><span class="type">GeocodeReverse</span></a> *object</code></em>,
<em class="parameter"><code><span class="type">GAsyncResult</span> *res</code></em>,
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
<a class="link" href="GeocodePlace.html" title="GeocodePlace"><span class="returnvalue">GeocodePlace</span></a> * <a class="link" href="GeocodeReverse.html#geocode-reverse-resolve" title="geocode_reverse_resolve ()">geocode_reverse_resolve</a> (<em class="parameter"><code><a class="link" href="GeocodeReverse.html" title="GeocodeReverse"><span class="type">GeocodeReverse</span></a> *object</code></em>,
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="GeocodeReverse.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GeocodeReverse
</pre>
</div>
<div class="refsect1">
<a name="GeocodeReverse.description"></a><h2>Description</h2>
<p>
Contains functions for reverse geocoding using the
<a class="ulink" href="http://wiki.openstreetmap.org/wiki/Nominatim" target="_top">OSM Nominatim APIs</a>
</p>
</div>
<div class="refsect1">
<a name="GeocodeReverse.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="GeocodeReverse-struct"></a><h3>struct GeocodeReverse</h3>
<pre class="programlisting">struct GeocodeReverse;</pre>
<p>
All the fields in the <a class="link" href="GeocodeReverse.html" title="GeocodeReverse"><span class="type">GeocodeReverse</span></a> structure are private and should never be accessed directly.
</p>
</div>
<hr>
<div class="refsect2">
<a name="GeocodeReverseClass"></a><h3>struct GeocodeReverseClass</h3>
<pre class="programlisting">struct GeocodeReverseClass {
};
</pre>
<p>
All the fields in the <a class="link" href="GeocodeReverse.html#GeocodeReverseClass" title="struct GeocodeReverseClass"><span class="type">GeocodeReverseClass</span></a> structure are private and should never be accessed directly.
</p>
</div>
<hr>
<div class="refsect2">
<a name="geocode-reverse-new-for-location"></a><h3>geocode_reverse_new_for_location ()</h3>
<pre class="programlisting"><a class="link" href="GeocodeReverse.html" title="GeocodeReverse"><span class="returnvalue">GeocodeReverse</span></a> * geocode_reverse_new_for_location (<em class="parameter"><code><a class="link" href="GeocodeLocation.html" title="GeocodeLocation"><span class="type">GeocodeLocation</span></a> *location</code></em>);</pre>
<p>
Creates a new <a class="link" href="GeocodeReverse.html" title="GeocodeReverse"><span class="type">GeocodeReverse</span></a> to perform reverse geocoding with.
Use <a class="link" href="GeocodeReverse.html#geocode-reverse-resolve-async" title="geocode_reverse_resolve_async ()"><code class="function">geocode_reverse_resolve_async()</code></a> to perform the resolution.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>location</code></em> :</span></p></td>
<td>a <a class="link" href="GeocodeLocation.html" title="GeocodeLocation"><span class="type">GeocodeLocation</span></a> object</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a new <a class="link" href="GeocodeReverse.html" title="GeocodeReverse"><span class="type">GeocodeReverse</span></a>. Use <code class="function">g_object_unref()</code> when done.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="geocode-reverse-resolve-async"></a><h3>geocode_reverse_resolve_async ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> geocode_reverse_resolve_async (<em class="parameter"><code><a class="link" href="GeocodeReverse.html" title="GeocodeReverse"><span class="type">GeocodeReverse</span></a> *object</code></em>,
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
<em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
<p>
Asynchronously gets the result of a reverse geocoding
query using a web service. Use <a class="link" href="GeocodeReverse.html#geocode-reverse-resolve" title="geocode_reverse_resolve ()"><code class="function">geocode_reverse_resolve()</code></a> to do the same
thing synchronously.
</p>
<p>
When the operation is finished, <em class="parameter"><code>callback</code></em> will be called. You can then call
<a class="link" href="GeocodeReverse.html#geocode-reverse-resolve-finish" title="geocode_reverse_resolve_finish ()"><code class="function">geocode_reverse_resolve_finish()</code></a> to get the result of the operation.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
<td>a <a class="link" href="GeocodeReverse.html" title="GeocodeReverse"><span class="type">GeocodeReverse</span></a> representing a query</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
<td>optional <span class="type">GCancellable</span> object, <code class="literal">NULL</code> to ignore.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
<td>a <span class="type">GAsyncReadyCallback</span> to call when the request is satisfied</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>the data to pass to callback function</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="geocode-reverse-resolve-finish"></a><h3>geocode_reverse_resolve_finish ()</h3>
<pre class="programlisting"><a class="link" href="GeocodePlace.html" title="GeocodePlace"><span class="returnvalue">GeocodePlace</span></a> * geocode_reverse_resolve_finish (<em class="parameter"><code><a class="link" href="GeocodeReverse.html" title="GeocodeReverse"><span class="type">GeocodeReverse</span></a> *object</code></em>,
<em class="parameter"><code><span class="type">GAsyncResult</span> *res</code></em>,
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
<p>
Finishes a reverse geocoding operation. See <a class="link" href="GeocodeReverse.html#geocode-reverse-resolve-async" title="geocode_reverse_resolve_async ()"><code class="function">geocode_reverse_resolve_async()</code></a>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
<td>a <a class="link" href="GeocodeReverse.html" title="GeocodeReverse"><span class="type">GeocodeReverse</span></a> representing a query</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>res</code></em> :</span></p></td>
<td>a <span class="type">GAsyncResult</span>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
<td>a <span class="type">GError</span>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="GeocodePlace.html" title="GeocodePlace"><span class="type">GeocodePlace</span></a> instance, or <code class="literal">NULL</code> in case of
errors. Free the returned instance with #<code class="function">g_object_unref()</code> when done. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="geocode-reverse-resolve"></a><h3>geocode_reverse_resolve ()</h3>
<pre class="programlisting"><a class="link" href="GeocodePlace.html" title="GeocodePlace"><span class="returnvalue">GeocodePlace</span></a> * geocode_reverse_resolve (<em class="parameter"><code><a class="link" href="GeocodeReverse.html" title="GeocodeReverse"><span class="type">GeocodeReverse</span></a> *object</code></em>,
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
<p>
Gets the result of a reverse geocoding
query using a web service.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
<td>a <a class="link" href="GeocodeReverse.html" title="GeocodeReverse"><span class="type">GeocodeReverse</span></a> representing a query</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
<td>a <span class="type">GError</span>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="GeocodePlace.html" title="GeocodePlace"><span class="type">GeocodePlace</span></a> instance, or <code class="literal">NULL</code> in case of
errors. Free the returned instance with #<code class="function">g_object_unref()</code> when done. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.19.1</div>
</body>
</html>
|