From 4fb2e271f6b6669f31b0458ad0a3d91c24c3bf58 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Wed, 7 Aug 2013 18:39:25 -0400 Subject: [PATCH] Revert "as discussed with @artemp - there should be no need or benefit to trying to handle F type in dbf since it is a foxpro extension that shapefiles do not commonly use" This reverts commit 53acae94be4f5888f4f3d338fcc8fab7cc3b2041. --- plugins/input/shape/dbfile.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/input/shape/dbfile.cpp b/plugins/input/shape/dbfile.cpp index 2c34c76ff..230320c76 100644 --- a/plugins/input/shape/dbfile.cpp +++ b/plugins/input/shape/dbfile.cpp @@ -167,7 +167,9 @@ void dbf_file::add_attribute(int col, mapnik::transcoder const& tr, mapnik::feat break; } case 'N': + case 'F': { + if (record_[fields_[col].offset_] == '*') { // NOTE: we intentionally do not store null here