Skip to main content

Questions tagged [citygml]

An open data model and XML-based format for the storage and exchange of virtual 3D city model

Filter by
Sorted by
Tagged with
0 votes
1 answer
99 views

Convert multiple .xml files in one dir to geopackages into another dir with ogr2ogr

Update: I did find the referenced stack discussion but the difference here is: my question is referring to transform .XML to geopackage (not .shape to map info) I would like to include the ...
i.i.k.'s user avatar
  • 1,753
0 votes
0 answers
59 views

GML file data extraction

I'm completely new with QGIS and GML files. I managed to open one of GML file that can be downloaded here: https://geodaten.bayern.de/opengeodata/OpenDataDetail.html?pn=lod2 These files are LoD2 data, ...
Fernando García's user avatar
0 votes
1 answer
163 views

FME data conversion from CityGML to GeoJSON results in multiline not multipolygon

I am using FME to convert my CityGML data into GeoJSON format to import it my 3D mapbox application. Mapbox uses extrusions to visualize 2D GeoJSON objects in 3D with their height values. (https://...
sevvaldurmazbilek's user avatar
0 votes
0 answers
37 views

How to fix the error in GML: non-planar polygon distance

I have validated the GML data in the CityDoctor. It found the error "GE_P_NON_PLANAR_POLYGON_DISTANCE_PLANE" in nearly all of the buildings. Is there a short way to fix such an error?
Gülce's user avatar
  • 13
0 votes
0 answers
27 views

A single building is represented as several smaller buildings in GML file

A single building is divided into several different parts and expressed with different building identities in the GML file that I need to study. Is there any way to fix such an error?
Gülce's user avatar
  • 13
0 votes
0 answers
43 views

Trying to delete buildings selectively from a CityGML

I'm currently working on refining my cityGML file by selectively removing certain buildings. My objective is to include specific neighboring buildings within designated building blocks while deleting ...
Gülce's user avatar
  • 13
1 vote
1 answer
78 views

Trying to determine which CRS this GML uses

I am trying to locate an area that is currently in GML format. I know it is somewhere in Istanbul but I need to know which Coordinate Reference System (CRS) it uses to overlay it with other maps. ...
Gülce's user avatar
  • 13
3 votes
1 answer
1k views

Reading GML data in QGIS

Is there a specific reason, why QGIS can display some CityGML data from the Bavarian surveying agency right out of the box and other XML or GML files from that same source do not show anything? When ...
user avatar
1 vote
1 answer
560 views

Visualizing German ALKIS LoD2/cityGML data in 3D map view QGIS 3.22

I have a dataset containing all relevant information to build a 3D building (https://ldbv.bayern.de/produkte/3dprodukte/3d.html) with one layer containing roof information (incl. orientation and slope)...
luidwig's user avatar
  • 61
6 votes
1 answer
696 views

Read xml with CurvePolygon with Geopandas / Fiona

I am trying to use the Dutch BGT Api via https://api.pdok.nl/lv/bgt/download/v1_0/ui/ with the following code: # Native import requests from requests.structures import CaseInsensitiveDict import json ...
pzman's user avatar
  • 155
2 votes
0 answers
257 views

Adding CityGML as vector layer in QGIS

Is there a possibility to add CityGML data to my QGIS Project? If I want to add it as a vector layer. QGIS always freezes and doesn't work anymore. After googling I found the Plugin CityJSON but I don'...
Joel's user avatar
  • 29
0 votes
0 answers
166 views

Predicting volume of building from CITYJSON polygon using QGIS

I must predict a volume of any selected multipolygon which is from a CITYGML file that was converted to CITYJSON with citygmltools 1.4.2 and loaded with CITYJSON Loader Plugin in QGIS 3.20.0. I can ...
user188666's user avatar
3 votes
1 answer
307 views

PostGIS sfcgal ST_3DArea

I want to compute surface areas of a large CityGML data set. However, I ran into some issues, which I could not resolve or fully understand. The error message is the following: Polygon is invalid : ...
fx-9750G PLUS's user avatar
2 votes
0 answers
445 views

Combining DEM, GeoTiff and CityGML in QGIS

I'm trying to combine DEM, GeoTiff, and CityGML in QGIS to create a 3D representation like in this example. The problem I have is that:- The CityGML buildings are hovering above the 3D view and The ...
user106745's user avatar
5 votes
1 answer
1k views

How to convert CityGML (LoD2) to Digital Surface Model?

I'm very new to GIS and doing this for a university project. For evaluating Solar Potentials on Building Roofs I want to use QGIS 3 (the UMEP Plugin, with SEBE tool). Amongst other data I need a ...
dungu_byte's user avatar
1 vote
1 answer
416 views

How to use GDAL /vsizip/ to access GML file(s) from Sentinel-2 zip package

Which is the correct way to write the path through the *.Zip S2 imagery package to rich the *.GML vector file(s) ? Does someone knows how to correctly write the path to *.GML file for using it with /...
George's user avatar
  • 37
2 votes
1 answer
1k views

Build CityGML Buildings from OBJ files of OpenDroneMap

I have .obj 3D mesh files after running OpenDroneMap on Drone Images. I want to convert them to CityGML buildings so that I can put them on Cesium Globe. How can I do this?
Sifat Muhammad Abdullah's user avatar
6 votes
1 answer
3k views

Visualizing LOD2/citygml in QGIS

I`d like to find out if and how it is possible to visualize LoD2 data (source:https://www.opengeodata.nrw.de/produkte/geobasis/3d-gm/) in QGIS 3.4/Madeira. So far I managed to load them into the ...
Wintercloud's user avatar
1 vote
3 answers
424 views

Impossible to export a 3D city models as KML tiles

I want to display 3D city models, stored in a CityGML file, in a Cesium Virtual Globe. I used the software "3D City Database Importer/Exporter" to store this data in a PostGreSQL/PostGIS database. ...
e-Viegas's user avatar
-1 votes
1 answer
412 views

Seeking CityGML Viewer for big data? [closed]

Could you suggest a solution to view CityGML data which is about 1.36GB? I tried in fzk viewer and fme data inspector, it is very slow.
JAYAKUMAR's user avatar
-1 votes
1 answer
297 views

Free CityGML Editor for tag edit

I can view CityGML File in FZKViewer but is there any tool available that allow me to edit cityGML file? I can easily open cityGML in notepad or notepad++ but its code/tag syntax is not highlighting ...
Muhammad Faizan Khan's user avatar
1 vote
0 answers
120 views

Controlling CityGML performance?

I tried to convert single LOD3 building using FME. I am able to convert successfully from DGN to cityGML format.But when I tried to view the same in FZKViewer/FME data inspector the performance is ...
JAYAKUMAR's user avatar
3 votes
2 answers
1k views

Building footprint polygon from LoD1 CityGML 2.0 using R and sf?

I have LoD1 building data from a federal agency in Germany in the CityGML format. I would like to import and strip the data into R to get only the footprint of the buildings and an attribut about the ...
viktor_r's user avatar
  • 131
0 votes
1 answer
227 views

3DCityDB Export not working

I'm working with some CityGML models within 3DCityDB. For visualization purposes I now want to export some of my buildings to KML with the exporter tool. When I draw the bounding box over my area of ...
Tobino's user avatar
  • 31
0 votes
0 answers
384 views

Null geometries when importing CityGML data into ArcMap and QGis

I am looking to convert a CityGML file into a shapefile to perform some spatial analysis on it. I am completely new to the CityGML format and keep running into issues when trying to import them in ...
emily's user avatar
  • 97
4 votes
1 answer
2k views

Convert gml to raster in QGIS

I have a dataset of type citygml (*.gml). It includes information about buildings and their rooftypes. you can find a sample file here: https://www.opengeodata.nrw.de/produkte/geobasis/3d-gm/3d-...
user117408's user avatar
3 votes
1 answer
2k views

Load LoD2 files into QGIS

is it possible to load the geometry of LoD2 files in CityGML format (gml:LinearRing from bldg:GroundSurface) as GML layer in QGIS? Here is an example content of a citygml file: <?xml version="...
Stefan's user avatar
  • 31
0 votes
0 answers
1k views

Convert CityGML

I get CityGML Data from an OpenData Portal of a German Federal State. Unfortunately I only have a Basic ArcGIS License, so I can't work with the Data Interoperability Extension. I'm fine in working ...
Riker's user avatar
  • 391
0 votes
1 answer
442 views

Extract polygon-coordinates from citygml data using citygml4j

My question is closely related to Extract geometry from citygml data using citygml4j I have a citygml file with buildings and I need to extract the coordinates of each roof surface. I use the open ...
Zserk's user avatar
  • 3
-1 votes
1 answer
261 views

solar potential analysis of 3d city model [closed]

I am looking for a free application/tool/plug-in to conduct solar potential/irradiation analysis on a 3D city model. My intention is to know how much solar energy is delivered onto the rooftops and ...
diners's user avatar
  • 29
2 votes
0 answers
923 views

Import 3d buildings into Cesium

I have many buildings in CityGML format. Currently cesium does not parse citygml. I tried Geojson and KML formats as in Cesium official tutorials using Sandcastle. In geojson buildings can be seen ...
user51044's user avatar
  • 619
2 votes
1 answer
6k views

Viewing CityGML in QGIS

I'm using QGIS 2.18 (Las Palmas) I received Data from a client in citygml-Format. The only Programm I have is QGIS and i have tried everything to open it. It only shows me 13 of 72 Objects of the ...
rtaani's user avatar
  • 557
3 votes
1 answer
3k views

Parsing CityGML with PyXB

I'm trying to parse a CityGML file in python in order to generate python objects from the buildings. Optimally the objects would have attributes corresponding to the elements in the GML, more or less ...
Balazs Dukai's user avatar
4 votes
1 answer
402 views

Generating regular points on 3d polygon surface?

I have some CityGML buildings and I imported them into postgis database using 3d citydatabase. I want to generate points on buildings surfaces just like in the shown image. Building surfaces are ...
user51044's user avatar
  • 619
0 votes
1 answer
527 views

Generating CityGML file with number of storey attribute values from shp file?

I am trying to convert shp file to cityGML. In shapefile I have building footprints with attributes "storey" as number of storeys. I want to match this attribute to number of storeys attributes of ...
user51044's user avatar
  • 619
3 votes
1 answer
692 views

How to create points grid on a 3d surface with geometry polygonz in postgis?

I am using 3dCityDatabase that imports CityGML buildings to postgresql as polygonz surfaces. In order to carry out an analysis I need to create points on these building surfaces. How can I do that? ...
user51044's user avatar
  • 619
1 vote
1 answer
722 views

Building CityGMLs with OSM, OSM2World and FME

Here is my use-case, I am looking to write a singular FME workflow that takes XMLs from Overpass (full of building ways, parts and relations), runs them through OSM2World to get OBJs and then finally ...
stirringhalo's user avatar
4 votes
1 answer
1k views

CityGML: Calculate orientation and inclination angles from a polygon's LinearRing coordinates

I have multiple CityGML files of different cities. Only one of them is in such a good condition that it includes the orientation and inclination angles of every roof polygon (as a gen:stringAttribute)....
Achu Mani's user avatar
  • 261
0 votes
1 answer
164 views

3d city database set up problem

I am trying to set up 3d city database and I have some problems. I hope you can help me. I receive an error as you can see attaching file. What is wrong? The error message is: '"\psql"' is not ...
user51044's user avatar
  • 619
2 votes
1 answer
2k views

Converting multi-geometry GML with ogr2ogr not working

I am having difficulties with GML loading in PostGIS with ogr2ogr. It is a GML of buildingparts containing both polygons and (label)-points. In this example (below) I have a selection of 9 objects. ...
Stefan's user avatar
  • 2,152
1 vote
1 answer
183 views

Setting final orientation of polygons in CityGML model

I am converting shapefile model of buildings in LoD2 to CityGML. In CityGML really matter about poylgon orientation(Countercloskwise can be seen from outside, Clockwise from inside). I have problem ...
Michal Dolnik's user avatar
0 votes
0 answers
56 views

Enclosing building models from bottom (Missing GroundFeatures) using FME?

I have 3D building model of the city and I would like to export it to proper CityGML model. I am trying to find out, how to make an intersection of building and terrain in order to make "...
Michal Dolnik's user avatar
1 vote
1 answer
465 views

Editing coordinates of CityGML Building?

I'm looking for the most efficient method of editing coordinates for a building in a CityGML file. My setup: I have a base CityGML file with a set of buildings in a defined area of the community I'm ...
VancityPlanner's user avatar
1 vote
1 answer
152 views

Joining Excel file with CityGML file using FME?

I want to join a excel file with a CityGML file with FME. i want to join the excel file with the geometry of the CityGML file. all attributes should join this file which settings should i choose ...
HansDotter's user avatar
0 votes
1 answer
1k views

Converting citygml to KML?

I am trying to render citygml files. I am using NWW for rendering purpose. I have used citygml4j library to extract the GroundSurface, roof, and walls geometry, and was able to render them. But due to ...
zelta's user avatar
  • 65
0 votes
1 answer
1k views

Extract geometry from citygml data using citygml4j

I have a citygml file with some buildings. And I am trying to extract the geometry of the polygon in that building using the citygml4j library. I have looked at the FeatureWalker class but I am unable ...
zelta's user avatar
  • 65
4 votes
1 answer
502 views

RDF representation of 3D-geodata?

When it comes to 2D-data it seems there are a couple standards out there to represent it in a semantic way (GeoSPARQL, NeoGeo, ...). However I couldn't really find one to do that for 3D-data. I have ...
Simon Fromme's user avatar
2 votes
1 answer
244 views

Seeking a gvSIG plugin to go from shp to kml to cityGML

I'm looking for a gvSIG plugin to convert .shp to .kml and then to .cityGML. I'm working with gvSIG + 3D extension and I have .shp format data but I need it in .cityGML format.
user26993's user avatar
7 votes
3 answers
2k views

Linux Tool to visualize CityGML file

Can you recommend a Linux program that allows me to visualize CityGML models (3D)? I have tried a whole bunch so far (most of them via wine but also native ones) but I couldn't get a single one of ...
Simon Fromme's user avatar
26 votes
4 answers
12k views

Is there an open source GIS to view and edit CityGML models?

I'm looking for an open source GIS that supports viewing and editing of CityGML models. So far, I've found a list of open source applications that support CityGML, but they all seem to be stand-...
underdark's user avatar
  • 84.3k