-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unsupported geometry type MULTI_GEOMETRY, Data is int CityGML format LOD3 level #28
Comments
This is a known limitation of the Importer/Exporter. Usually, you can fix it yourself by changing all MultiGeometry properties into MultiSurface ones. See also #27. |
Thanks, now I am getting the error but, still the Multi data is not getting displayed. |
Like in #27 it helps if you can provide sample data . Objects modelled with |
Okay I have upladed the sample data. |
Yes, it should look like that. My mail-id: [email protected] Thanks for your time. |
You are working with FME, right? Maybe you can change the CityGML write process, that it does not write these MultiGeometry properties. I simply removed the corresponding tags (incl. geometry member) from the XML file within a text editor. Got some XLink errors during the import, but the export looks ok. Try it out. Have to catch my plane, now :) |
Thanks for your time. It will be very helpful for me, if you please share the modified CityGML file. |
Alright. I've send the file to your address. |
Thanks, it's working. |
Closing issue. Feel free to re-open if new questions arose regarding MultiGeometry properties. |
Hello everybody, I tried to edit the file in Notepad++ to remove the MultiGeometry properties but didn’t achieve to output a valid CityGML file. I tried contacting the support mentioned in the link of the template to ask about this issue but didn't get a response. I uploaded the CityGML file to: https://1drv.ms/u/s!AgkAhopG56qAhmM-H2r3JZeAnS4q and would be thankful for support regarding this issue. |
The next release will support CityGML with MultiGeometry properties - at least if it consists out of polygons, regarding to b70b656. Thanks @clausnagel ! Close, when you think it's done. |
@lsdanger I took a look at your dataset. Your implicit geometry not only uses a Nevertheless, I wrote some lines of code to let the importer support Hope this helps. You have to build the Importer/Exporter from the master branch in order to test this new behaviour. @SurajitChowbey Hope this fixes your issue as well. |
@clausnagel Thank you for your response and great effort at improving the 3DCityDB. I was able to fix my FME Workspace and change the GeometryType to MultiSurface by adding a GeometryRefiner Transformer right after the tree model input. But I still have trouble with the export. The file validates and after importing this is the log: [12:30:41 INFO] Resolving XLink references. Which looks OK to me. The file is also getting correctly displayed in FME Data Inspector. The export writes no errors as far as I can see but the output looks like this: [13:24:01 INFO] Exported CityGML features: I don't know why six features get exported but it could be due my Postgis Database being jumbled. Could also only be one exported solitary vegetation object in a fresh database (I'll try and report back asap). EDIT: This the case. Only one solitary vegetation object gets exported. My guess is that there is an issue with the xlink refernces or how i build the implicit geometry. But I don't know how to tackle the issue as there are no error messages. EDIT2: The issue was not with my data but in the database. I found this hint in the documentation to solve my export issue. The calculation of the bounding box is based on the values stored in the ENVELOPE column of the CITYOBJECT table. If this column is NULL or contains an incorrect value (e.g., in case the value could not correctly filled during import or the geometry representation of a city object has been changed), then the resulting bounding box will be wrong and subsequent operations might not provide the expected result. To fix the ENVELOPE values in the database, simply let the Importer/Exporter create missing values (i.e., replace NULL values) or recreate all values by clicking on the corresponding buttons [5]. This update process either affects only the city objects of a given feature type or all city objects based on the selection made in [1]. |
Ok, I think we can close this issue now. @lsdanger glad you were able to change your FME workbench to produce better CityGML :) |
Unable to import CityGML format data which is in LOD3 level.
I have uploaded the error log data with this issue.
error.txt
The text was updated successfully, but these errors were encountered: