Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update postcode docs for new single-resource style.

  • Loading branch information...
commit 783d99a23c86d095ffe10ff2a5221b4fd0eee7ef 1 parent e811fba
@rhymeswithcycle rhymeswithcycle authored
Showing with 2 additions and 12 deletions.
  1. +2 −12 finder/templates/api.html
View
14 finder/templates/api.html
@@ -102,22 +102,12 @@ <h1 id="postcode">Postal codes</h1>
<pre class="loadjson" data-url="/postcodes/L5G4L3/"></pre>
-<h2>Boundaries for a postcode</h2>
-
-<p></p>
-
-<pre class="loadjson" data-url="/postcodes/L5G4L3/boundaries/"></pre>
-
<p>The <code>boundaries_centroid</code> field is a list of boundaries that contain the postcal code&rsquo;s center point, or <code>centroid</code>. (That point comes from geocoder.ca data.) Because a centroid is a single point,
whereas a postal code is a shape (or a collection of points), the list of boundaries based on the centroid <strong>will in some cases be inaccurate</strong>.</p>
-<p>When a government has made available a file linking postal codes to boundaries, there will be a <code>boundaries_concordance</code> field, which will be a list of boundaries linked to that postal code according to the government file.</p>
-
-<h2>Representatives for a postcode</h2>
-
-<p>URL: <code>/postcodes/A0A0A0/representatives/</code></p>
+<p>When a government has made available a file linking postal codes to boundaries, there will be a <code>boundaries_concordance</code> field, which will be a list of boundaries linked to that postal code according to the government file. Note that sometimes postal codes cross political boundaries, and so sometimes this call will return, for example, multiple provincial ridings for a single postcode.</p>
-<p>Divided into <code>representatives_centroid</code> and <code>representatives_concordance</code> lists, as with boundaries.</p>
+<p>This resource also provides <code>representatives_centroid</code> and <code>representatives_concordance</code> lists.</p>
<h1 id="representativeset">Representative sets</h1>
Please sign in to comment.
Something went wrong with that request. Please try again.