]> granicus.if.org Git - postgis/commitdiff
some explanation of theoretical vs. actual
authorRegina Obe <lr@pcorp.us>
Sun, 8 May 2011 19:34:28 +0000 (19:34 +0000)
committerRegina Obe <lr@pcorp.us>
Sun, 8 May 2011 19:34:28 +0000 (19:34 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7114 b70326c6-7e19-0410-871a-916f4a2858ee

doc/extras_tigergeocoder.xml

index 6e5a396b9512f78391efbcf394d5c641ebc78fee..84df8768f7e2952e4b666ced0f110f3ef8f46cb8 100644 (file)
@@ -390,7 +390,7 @@ wget http://www2.census.gov/geo/pvs/tiger2010st/44_Rhode_Island/ --no-parent --r
       <refnamediv>
         <refname>Reverse_Geocode</refname>
     
-        <refpurpose>Takes a geometry point in a known spatial ref sys and returns a record containing an array of possible addresses and an array of cross streets.  If include_strnum_range = true, includes the street range in the cross streets.</refpurpose>
+        <refpurpose>Takes a geometry point in a known spatial ref sys and returns a record containing an array of theoretically possible addresses and an array of cross streets.  If include_strnum_range = true, includes the street range in the cross streets.</refpurpose>
       </refnamediv>
     
       <refsynopsisdiv>
@@ -418,8 +418,13 @@ wget http://www2.census.gov/geo/pvs/tiger2010st/44_Rhode_Island/ --no-parent --r
       <refsection>
         <title>Description</title>
     
-        <para>Takes a geometry point in a known spatial ref and returns a record containing an array of possible addresses and an array of cross streets.  If include_strnum_range = true, includes the street range in the cross streets.
+        <para>Takes a geometry point in a known spatial ref and returns a record containing an array of theoretically possible addresses and an array of cross streets.  If include_strnum_range = true, includes the street range in the cross streets.
         include_strnum_range defaults to false if not passed in. Addresses are sorted according to which road a point is closest to so first address is most likely the right one.</para>
+        
+        <para>Why do we say theoretical instead of actual addresses.  The Tiger data doesn't have real addresses, but just street ranges.  As such the theoretical address is an interpolated address based on the
+        street ranges. Like for example interpolating one of my addresses returns a 26 Court St. and 26 Court Sq., though there is no such place as 26 Court Sq.  This is because a point may be at a corner of 2
+        streets and thus the logic interpolates along both streets.  The logic also assumes addresses are equally spaced along a street, which of course is wrong since you can have a municipal building taking up
+            a good chunk of the street range and the rest of the buildings are clustered at the end.</para>
     
         <para>Note: Hmm this function relies on Tiger data.  If you have not loaded data covering the region of this point, then hmm you will get a record filled with NULLS.</para>
         <para> Returned elements of the record are as follows:</para>