Skip to content

Commit

Permalink
Merge pull request #854 from WildMeOrg/shapefile-name-ref
Browse files Browse the repository at this point in the history
Shapefile includes individual name
  • Loading branch information
naknomum authored Nov 1, 2024
2 parents 7b79103 + 41f72c3 commit e855293
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ public void doPost(HttpServletRequest request, HttpServletResponse response)
("the_geom:Point:srid=4326," + // <- the geometry attribute: Point type
"Date:java.util.Date," + // <- a String attribute
"Encounter:String," + // a number attribute
"Individual:String," + // a number attribute
"Individual:String," + // a string attribute
"Name:String," + // a number attribute
"Sex:String," + // a number attribute
"Haplotype:String," + // a number attribute
"URL:String," + // a number attribute
Expand Down Expand Up @@ -140,6 +141,8 @@ public void doPost(HttpServletRequest request, HttpServletResponse response)
featureBuilder.set("Encounter", enc.getCatalogNumber());
featureBuilder.set("Individual",
ServletUtilities.handleNullString(enc.getIndividualID()));
featureBuilder.set("Name",
ServletUtilities.handleNullString(enc.getDisplayName()));
if (enc.getSex() != null) {
featureBuilder.set("Sex", enc.getSex());
}
Expand Down

0 comments on commit e855293

Please sign in to comment.