I'm using 3D Importer/Export to import a .gml
file to a Postgres 3D CityDB.
Now I want to visualize the buildings on the map and list their characteristics. I've managed to visualize them, but as far as the characteristics go, I'm having some trouble. I'm using PostgREST for serving the thematic data. The issue I've encountered and can't seem to find a solution to is that the 3D CityDB has information about a building spanning multiple tables but 3DWMC queries only one table. When clicking a table, 3DWMC executes a request to the URL
that I've specified + ?gmlid={the id of the building I've clicked}
. The only table that seems to have a gmlid
field is cityobject
.
Here is the configuration of 3DWMP I have:
The URL is http://localhost:8000/exports/export7/export.kml and the cityobjectsJsonUrl
is http://localhost:8000/exports/export7/export.json.
And here is the information that is displayed when clicked:
In a nutshell, I want to display the address of a building (for example) when clicked.