Find the 3D coordinates of the top of the Empire State Building. Find the coordinates of the tops of other buildings, like the Washington Monument or the Burj Khalifa:
Get the geographic coordinates of the Empire State Building:
\!\(\*
NamespaceBox["LinguisticAssistant",
DynamicModuleBox[{Typeset`query$$ = "empire state building",
Typeset`boxes$$ = TemplateBox[{"\"Empire State Building\"",
RowBox[{"Entity", "[",
RowBox[{"\"Building\"", ",", "\"EmpireStateBuilding::h583b\""}],
"]"}], "\"Entity[\\\"Building\\\", \
\\\"EmpireStateBuilding::h583b\\\"]\"", "\"building\""}, "Entity"],
Typeset`allassumptions$$ = {}, Typeset`assumptions$$ = {},
Typeset`open$$ = {1}, Typeset`querystate$$ = {
"Online" -> True, "Allowed" -> True,
"mparse.jsp" -> 0.563303`6.2022870576728755, "Messages" -> {}}},
DynamicBox[ToBoxes[
AlphaIntegration`LinguisticAssistantBoxes["", 4, Automatic,
Dynamic[Typeset`query$$],
Dynamic[Typeset`boxes$$],
Dynamic[Typeset`allassumptions$$],
Dynamic[Typeset`assumptions$$],
Dynamic[Typeset`open$$],
Dynamic[Typeset`querystate$$]], StandardForm],
ImageSizeCache->{131., {7., 16.}},
TrackedSymbols:>{
Typeset`query$$, Typeset`boxes$$, Typeset`allassumptions$$,
Typeset`assumptions$$, Typeset`open$$, Typeset`querystate$$}],
DynamicModuleValues:>{},
UndoTrackedVariables:>{Typeset`open$$}],
BaseStyle->{"Deploy"},
DeleteWithContents->True,
Editable->False,
SelectWithContents->True]\)["Coordinates"]
Get the height of the Empire State Building:
\!\(\*
NamespaceBox["LinguisticAssistant",
DynamicModuleBox[{Typeset`query$$ = "empire state building",
Typeset`boxes$$ = TemplateBox[{"\"Empire State Building\"",
RowBox[{"Entity", "[",
RowBox[{"\"Building\"", ",", "\"EmpireStateBuilding::h583b\""}],
"]"}], "\"Entity[\\\"Building\\\", \
\\\"EmpireStateBuilding::h583b\\\"]\"", "\"building\""}, "Entity"],
Typeset`allassumptions$$ = {}, Typeset`assumptions$$ = {},
Typeset`open$$ = {1}, Typeset`querystate$$ = {
"Online" -> True, "Allowed" -> True,
"mparse.jsp" -> 0.563303`6.2022870576728755, "Messages" -> {}}},
DynamicBox[ToBoxes[
AlphaIntegration`LinguisticAssistantBoxes["", 4, Automatic,
Dynamic[Typeset`query$$],
Dynamic[Typeset`boxes$$],
Dynamic[Typeset`allassumptions$$],
Dynamic[Typeset`assumptions$$],
Dynamic[Typeset`open$$],
Dynamic[Typeset`querystate$$]], StandardForm],
ImageSizeCache->{131., {7., 16.}},
TrackedSymbols:>{
Typeset`query$$, Typeset`boxes$$, Typeset`allassumptions$$,
Typeset`assumptions$$, Typeset`open$$, Typeset`querystate$$}],
DynamicModuleValues:>{},
UndoTrackedVariables:>{Typeset`open$$}],
BaseStyle->{"Deploy"},
DeleteWithContents->True,
Editable->False,
SelectWithContents->True]\)["Height"]
Combine the 2D geographic coordinates with the height to get the 3D coordinates of the top of the building. First extract the {latitude,longitude} coordinates from GeoPosition:
\!\(\*
NamespaceBox["LinguisticAssistant",
DynamicModuleBox[{Typeset`query$$ = "empire state building",
Typeset`boxes$$ = TemplateBox[{"\"Empire State Building\"",
RowBox[{"Entity", "[",
RowBox[{"\"Building\"", ",", "\"EmpireStateBuilding::h583b\""}],
"]"}], "\"Entity[\\\"Building\\\", \
\\\"EmpireStateBuilding::h583b\\\"]\"", "\"building\""}, "Entity"],
Typeset`allassumptions$$ = {}, Typeset`assumptions$$ = {},
Typeset`open$$ = {1}, Typeset`querystate$$ = {
"Online" -> True, "Allowed" -> True,
"mparse.jsp" -> 0.563303`6.2022870576728755, "Messages" -> {}}},
DynamicBox[ToBoxes[
AlphaIntegration`LinguisticAssistantBoxes["", 4, Automatic,
Dynamic[Typeset`query$$],
Dynamic[Typeset`boxes$$],
Dynamic[Typeset`allassumptions$$],
Dynamic[Typeset`assumptions$$],
Dynamic[Typeset`open$$],
Dynamic[Typeset`querystate$$]], StandardForm],
ImageSizeCache->{131., {7., 16.}},
TrackedSymbols:>{
Typeset`query$$, Typeset`boxes$$, Typeset`allassumptions$$,
Typeset`assumptions$$, Typeset`open$$, Typeset`querystate$$}],
DynamicModuleValues:>{},
UndoTrackedVariables:>{Typeset`open$$}],
BaseStyle->{"Deploy"},
DeleteWithContents->True,
Editable->False,
SelectWithContents->True]\)["Coordinates"]
Then append the height to get a 3D {latitude,longitude,height} coordinate:
Append[
\!\(\*
NamespaceBox["LinguisticAssistant",
DynamicModuleBox[{Typeset`query$$ = "empire state building",
Typeset`boxes$$ = TemplateBox[{"\"Empire State Building\"",
RowBox[{"Entity", "[",
RowBox[{"\"Building\"", ",", "\"EmpireStateBuilding::h583b\""}],
"]"}], "\"Entity[\\\"Building\\\", \
\\\"EmpireStateBuilding::h583b\\\"]\"", "\"building\""}, "Entity"],
Typeset`allassumptions$$ = {}, Typeset`assumptions$$ = {},
Typeset`open$$ = {1}, Typeset`querystate$$ = {
"Online" -> True, "Allowed" -> True,
"mparse.jsp" -> 0.563303`6.2022870576728755,
"Messages" -> {}}},
DynamicBox[ToBoxes[
AlphaIntegration`LinguisticAssistantBoxes["", 4, Automatic,
Dynamic[Typeset`query$$],
Dynamic[Typeset`boxes$$],
Dynamic[Typeset`allassumptions$$],
Dynamic[Typeset`assumptions$$],
Dynamic[Typeset`open$$],
Dynamic[Typeset`querystate$$]], StandardForm],
ImageSizeCache->{131., {7., 16.}},
TrackedSymbols:>{
Typeset`query$$, Typeset`boxes$$, Typeset`allassumptions$$,
Typeset`assumptions$$, Typeset`open$$, Typeset`querystate$$}],
DynamicModuleValues:>{},
UndoTrackedVariables:>{Typeset`open$$}],
BaseStyle->{"Deploy"},
DeleteWithContents->True,
Editable->False,
SelectWithContents->True]\)["Coordinates"],
\!\(\*
NamespaceBox["LinguisticAssistant",
DynamicModuleBox[{Typeset`query$$ = "empire state building",
Typeset`boxes$$ = TemplateBox[{"\"Empire State Building\"",
RowBox[{"Entity", "[",
RowBox[{"\"Building\"", ",", "\"EmpireStateBuilding::h583b\""}],
"]"}], "\"Entity[\\\"Building\\\", \
\\\"EmpireStateBuilding::h583b\\\"]\"", "\"building\""}, "Entity"],
Typeset`allassumptions$$ = {}, Typeset`assumptions$$ = {},
Typeset`open$$ = {1}, Typeset`querystate$$ = {
"Online" -> True, "Allowed" -> True,
"mparse.jsp" -> 0.751256`6.3273329470678155,
"Messages" -> {}}},
DynamicBox[ToBoxes[
AlphaIntegration`LinguisticAssistantBoxes["", 4, Automatic,
Dynamic[Typeset`query$$],
Dynamic[Typeset`boxes$$],
Dynamic[Typeset`allassumptions$$],
Dynamic[Typeset`assumptions$$],
Dynamic[Typeset`open$$],
Dynamic[Typeset`querystate$$]], StandardForm],
ImageSizeCache->{131., {7., 16.}},
TrackedSymbols:>{
Typeset`query$$, Typeset`boxes$$, Typeset`allassumptions$$,
Typeset`assumptions$$, Typeset`open$$, Typeset`querystate$$}],
DynamicModuleValues:>{},
UndoTrackedVariables:>{Typeset`open$$}],
BaseStyle->{"Deploy"},
DeleteWithContents->True,
Editable->False,
SelectWithContents->True]\)["Height"]
]
Append[
\!\(\*
NamespaceBox["LinguisticAssistant",
DynamicModuleBox[{Typeset`query$$ = "empire state building",
Typeset`boxes$$ = TemplateBox[{"\"Empire State Building\"",
RowBox[{"Entity", "[",
RowBox[{"\"Building\"", ",", "\"EmpireStateBuilding::h583b\""}],
"]"}], "\"Entity[\\\"Building\\\", \
\\\"EmpireStateBuilding::h583b\\\"]\"", "\"building\""}, "Entity"],
Typeset`allassumptions$$ = {}, Typeset`assumptions$$ = {},
Typeset`open$$ = {1}, Typeset`querystate$$ = {
"Online" -> True, "Allowed" -> True,
"mparse.jsp" -> 0.563303`6.2022870576728755,
"Messages" -> {}}},
DynamicBox[ToBoxes[
AlphaIntegration`LinguisticAssistantBoxes["", 4, Automatic,
Dynamic[Typeset`query$$],
Dynamic[Typeset`boxes$$],
Dynamic[Typeset`allassumptions$$],
Dynamic[Typeset`assumptions$$],
Dynamic[Typeset`open$$],
Dynamic[Typeset`querystate$$]], StandardForm],
ImageSizeCache->{142., {7., 16.}},
TrackedSymbols:>{
Typeset`query$$, Typeset`boxes$$, Typeset`allassumptions$$,
Typeset`assumptions$$, Typeset`open$$, Typeset`querystate$$}],
DynamicModuleValues:>{},
UndoTrackedVariables:>{Typeset`open$$}],
BaseStyle->{"Deploy"},
DeleteWithContents->True,
Editable->False,
SelectWithContents->True]\)["Coordinates"],
\!\(\*
NamespaceBox["LinguisticAssistant",
DynamicModuleBox[{Typeset`query$$ = "empire state building",
Typeset`boxes$$ = TemplateBox[{"\"Empire State Building\"",
RowBox[{"Entity", "[",
RowBox[{"\"Building\"", ",", "\"EmpireStateBuilding::h583b\""}],
"]"}], "\"Entity[\\\"Building\\\", \
\\\"EmpireStateBuilding::h583b\\\"]\"", "\"building\""}, "Entity"],
Typeset`allassumptions$$ = {}, Typeset`assumptions$$ = {},
Typeset`open$$ = {1}, Typeset`querystate$$ = {
"Online" -> True, "Allowed" -> True,
"mparse.jsp" -> 0.563303`6.2022870576728755,
"Messages" -> {}}},
DynamicBox[ToBoxes[
AlphaIntegration`LinguisticAssistantBoxes["", 4, Automatic,
Dynamic[Typeset`query$$],
Dynamic[Typeset`boxes$$],
Dynamic[Typeset`allassumptions$$],
Dynamic[Typeset`assumptions$$],
Dynamic[Typeset`open$$],
Dynamic[Typeset`querystate$$]], StandardForm],
ImageSizeCache->{142., {7., 16.}},
TrackedSymbols:>{
Typeset`query$$, Typeset`boxes$$, Typeset`allassumptions$$,
Typeset`assumptions$$, Typeset`open$$, Typeset`querystate$$}],
DynamicModuleValues:>{},
UndoTrackedVariables:>{Typeset`open$$}],
BaseStyle->{"Deploy"},
DeleteWithContents->True,
Editable->False,
SelectWithContents->True]\)["Height"]
]