Skip to content
Browse files

remove code and mentions of server side geocoding

  • Loading branch information...
1 parent c10682d commit b248c5809626feca29dbe42721936f7c93366d60 straup committed Jun 13, 2011
Showing with 2 additions and 11 deletions.
  1. +2 −9 www/include/lib_dots_derive.php
  2. +0 −2 www/templates/page_faq.txt
View
11 www/include/lib_dots_derive.php
@@ -43,14 +43,7 @@ function dots_derive_location_data($data){
# pass
}
- else if (isset($data['address'])){
-
- $rsp = dots_derive_location_from_address($data);
-
- if (! isset($rsp['error'])){
- $rsp['error'] = 'failed to geocode address';
- }
- }
+ # parsing/geocoding addresses is done client side
else if (isset($data['geohash'])){
@@ -215,4 +208,4 @@ function dots_derive_location_from_geohash(&$data){
}
#################################################################
-?>
+?>
View
2 www/templates/page_faq.txt
@@ -50,8 +50,6 @@
<ul class="faq_csvfields">
- <li><code>address</code> &#8212; <span style="font-style:italic;">If a row is <span class="important">missing values for <code>latitude</code> and <code>longitude</code> but it has an <code>address</code> field</span> defined then, so long as geocoding is enabled, Dotspotting will try to fill in coordinate information by asking one or more geocoding services to resolve the address.</span></li>
-
<li><code>perms</code> &#8212; <span style="font-style:italic;">By default all dots are imported as public however if the value of this field is <code>private</code> then the dot will only be visible by the person who uploaded it.</li>
<li><code>created</code> &#8212; <span style="font-style:italic;">If present then Dotspotting will try to parse and assign this value as the creation date for the corresponding dot/row, otherwise the date the row was imported is assumed.</span></li>

0 comments on commit b248c58

Please sign in to comment.
Something went wrong with that request. Please try again.