Skip to content

Commit

Permalink
Update map tile parser
Browse files Browse the repository at this point in the history
Summary: Add support for change to building height property name

Reviewed By: jonahadkins

Differential Revision: D63710078

fbshipit-source-id: 8f02c654b7db8d938267f10ec6f46c30c4adce47
  • Loading branch information
thorntondr authored and facebook-github-bot committed Oct 1, 2024
1 parent c858a7a commit 0c8ac3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion impl/ocean/io/maps/Basemap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -743,7 +743,7 @@ Basemap::SharedObject Basemap::parseBuilding(vtzero::feature& vtzeroFeature, Pix
{
ocean_assert(vtzeroProperty.valid());

if (vtzeroProperty.key().compare("building_height") == 0)
if (vtzeroProperty.key().compare("building_height") == 0 || vtzeroProperty.key().compare("buildingHeight") == 0)
{
ocean_assert(buildingHeight == -1.0);

Expand Down

0 comments on commit 0c8ac3b

Please sign in to comment.