fix census tract formatting from EZLocate, #13763 and #23425
authorMark Wells <mark@freeside.biz>
Wed, 12 Jun 2013 19:52:02 +0000 (12:52 -0700)
committerMark Wells <mark@freeside.biz>
Wed, 12 Jun 2013 19:52:02 +0000 (12:52 -0700)
FS/FS/Misc/Geo.pm

index 2ad8311..3ab1ea7 100644 (file)
@@ -393,7 +393,7 @@ sub standardize_ezlocate {
     latitude    => $match->{MAT_LAT},
     longitude   => $match->{MAT_LON},
     censustract => $match->{FIPS_ST}.$match->{FIPS_CTY}.
-                   sprintf('%04.2f',$match->{CEN_TRCT}),
+                   sprintf('%07.2f',$match->{CEN_TRCT}),
     addr_clean  => 'Y',
   };
 }