Skip to content

Commit 9b28317

Browse files
authored
Merge pull request #384 from bcgov/siteloaderfix
fixed SiteLoaderPrep to output Y instead of true for is_primary
2 parents 96ebe1d + 77ff9d4 commit 9b28317

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ols-geocoder-process/src/main/java/ca/bc/gov/ols/siteloaderprep/SiteLoaderPrep.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -840,7 +840,7 @@ private void writeSiteOutput(RowWriter siteOutputWriter, InputSite site) {
840840
}
841841
}
842842
row.put("AP_TYPE", site.apType);
843-
row.put("IS_PRIMARY_IND", site.isPrimary);
843+
row.put("IS_PRIMARY_IND", site.isPrimary ? "Y" : "N");
844844
row.put("NARRATIVE_LOCATION", site.narrativeLocation);
845845
row.put("ACCESS_POSITIONAL_ACCURACY", site.accessPositionalAccuracy == null ? "" : site.accessPositionalAccuracy.toString());
846846
row.put("CIVIC_NUMBER", site.civicNumber);

0 commit comments

Comments
 (0)