<div dir="ltr"><br><br>On Thu, Aug 8, 2019 at 2:59 PM "Peter Löwe" <<a href="mailto:peter.loewe@gmx.de">peter.loewe@gmx.de</a>> wrote:<br>><br>> Hello Markus, Stefan, all,<br>><br>> thanks for all your advice. New challenges have emerged, as the dataset is defined as a polyhedral surface:<br>><br>> I upgraded to GRASS 7.6.1 which comes with GDAL 2.3.1.<br>><br>> The data sources are official CityGML files provided by the German Federal Agency for Cartographyand Geodesy (Bundesamt für Kartographie), which have an ".xml"-extension.<br>><br>> v.in.ogr -2 -o --o input=TEST.xml output=TEST01<br>> throws several warnings and creates an empty vector without an points/lines in it:<br>><br>>  Warning 1: Unrecognized geometry type : 1015                            [<=== note this!]<br>> No projection information available for layer <Building><br>> Übersteuere die Überprüfung der Projektion.<br>> Check if OGR layer <Building> contains polygons...<br>>  100%<br>> WARNUNG: Vektorkarte <SMALL01> existiert bereits und wird überschrieben.<br>> Creating attribute table for layer <Building>...<br>> Importing 1 features (OGR layer <Building>)...<br>> WARNUNG: Skipping unsupported geometry type 'POLYHEDRALSURFACE'           [<=== note this!]<br><div><br></div><div>v.in.ogr could force-convert these polyhedral surfaces to multipolygons, at the risk of getting garbage.</div><div><br></div><div>The required change to v.in.ogr would be small, but it would be safer to skip these unsupported feature types in order to avoid garbage output.</div><div><br></div><div>Markus M<br></div><div><br></div><div>>  100%</div>> -----------------------------------------------------<br>> Erstelle Topologie für die Vektorkarte <SMALL01@PERMANENT>...<br>> Registriere Primitive...<br>> WARNUNG: Input data contains 3D features. Created vector is 2D only,<br>>          disable -2 flag to import 3D vector.<br>><br>><br>> This problem seems to be ogr/gdal related:<br>><br>> ogrinfo -al TEST.xml<br>> describes the geometry as a POLYHEDRALSURFACE Z (((412033.466 5812969.869 ...))).<br>><br>> ogr2ogr -f "GML" TEST.gml TEST.xml  fails (some effect when trying other target formats like CSV or ESRI shape:<br>> Warning 1: Unrecognized geometry type : 1015<br>> ERROR 6: Unsupported geometry type 3D PolyhedralSurface<br>> ERROR 1: Export of geometry to GML failed<br>> ERROR 1: Terminating translation prematurely after failed<br>> translation of layer Building (use -skipfailures to skip errors)<br>><br>> There is GDAL documentation about surfaces (<a href="https://gdal.org/development/rfc/rfc64_triangle_polyhedralsurface_tin.html">https://gdal.org/development/rfc/rfc64_triangle_polyhedralsurface_tin.html</a>), but I couldn't find anything about transformations/pruning from 3D to 2D.<br>><br>> The CGAL library appears to be capable to handle such surfaces, but GIS-integration seems to be limited (<a href="https://www.cgal.org/">https://www.cgal.org/</a>).<br>><br>> Ideas on how to proceed, anyone ?<br>><br>> best,<br>> Peter<br>><br>><br>><br>><br>><br>> <<a href="mailto:peter.loewe@gmx.de">peter.loewe@gmx.de</a>><br>><br>><br>> > Gesendet: Dienstag, 06. August 2019 um 14:46 Uhr<br>> > Von: <a href="mailto:grass-user-request@lists.osgeo.org">grass-user-request@lists.osgeo.org</a><br>> > An: <a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>> > Betreff: grass-user Digest, Vol 160, Issue 5<br>> ><br>> > Send grass-user mailing list submissions to<br>> >       <a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>> ><br>> > To subscribe or unsubscribe via the World Wide Web, visit<br>> >       <a href="https://lists.osgeo.org/mailman/listinfo/grass-user">https://lists.osgeo.org/mailman/listinfo/grass-user</a><br>> > or, via email, send a message with subject or body 'help' to<br>> >       <a href="mailto:grass-user-request@lists.osgeo.org">grass-user-request@lists.osgeo.org</a><br>> ><br>> > You can reach the person managing the list at<br>> >       <a href="mailto:grass-user-owner@lists.osgeo.org">grass-user-owner@lists.osgeo.org</a><br>> ><br>> > When replying, please edit your Subject line so it is more specific<br>> > than "Re: Contents of grass-user digest..."<br>> ><br>> ><br>> > Today's Topics:<br>> ><br>> >    1. Re: Problems starting grass 7.4.1 in ubuntu (Markus Metz)<br>> >    2. Re: wms google (Micha Silver)<br>> >    3. Re: Wrangling CityGML with GRASS ? (Stefan Blumentrath)<br>> >    4. Re: Wrangling CityGML with GRASS ? (Peter Löwe)<br>> >    5. Re: Wrangling CityGML with GRASS ? (Markus Metz)<br>> ><br>> ><br>> > ----------------------------------------------------------------------<br>> ><br>> > Message: 1<br>> > Date: Mon, 5 Aug 2019 22:32:12 +0200<br>> > From: Markus Metz <<a href="mailto:markus.metz.giswork@gmail.com">markus.metz.giswork@gmail.com</a>><br>> > To: Sebastián Dietrich <<a href="mailto:sebadietrich@gmail.com">sebadietrich@gmail.com</a>><br>> > Cc: grass-user <<a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a>><br>> > Subject: Re: [GRASS-user] Problems starting grass 7.4.1 in ubuntu<br>> > Message-ID:<br>> >       <CAG+h=<a href="mailto:FGejQGA8neHu3Sf_hSA6YNSNkOZVDUL1zck8Fk8uM2Gzw@mail.gmail.com">FGejQGA8neHu3Sf_hSA6YNSNkOZVDUL1zck8Fk8uM2Gzw@mail.gmail.com</a>><br>> > Content-Type: text/plain; charset="utf-8"<br>> ><br>> > On Mon, Aug 5, 2019 at 5:35 PM Sebastián Dietrich <<a href="mailto:sebadietrich@gmail.com">sebadietrich@gmail.com</a>><br>> > wrote:<br>> > ><br>> > > Hi everyone, when i try to launch g.gui i get the following message:<br>> > ><br>> > > GRASS 7.4.1 (EPSG5344):~/Documentos/grassdata > g.gui<br>> > > Lanzando GUI <wxpython> en el fondo, por favor espere...<br>> > > Traceback (most recent call last):<br>> > >   File "/usr/lib/grass74/gui/wxpython/wxgui.py", line 25, in <module><br>> > >     from core import globalvar<br>> > >   File "/usr/lib/grass74/gui/wxpython/core/globalvar.py", line 39, in<br>> > <module><br>> > >     'locale')).ugettext<br>> > > AttributeError: 'GNUTranslations' object has no attribute 'ugettext'<br>> > > [MÁSCARA ráster presente]<br>> > > GRASS 7.4.1 (EPSG5344):~/Documentos/grassdata ><br>> > ><br>> > > Can someone help with this issue?<br>> ><br>> > GNUTranslations has an attribute ugettext only in Python2, not in Python3.<br>> > Make sure that the link "python" points to "python2", test with "python<br>> > --version"<br>> ><br>> > Markus M<br>> > -------------- next part --------------<br>> > An HTML attachment was scrubbed...<br>> > URL: <<a href="http://lists.osgeo.org/pipermail/grass-user/attachments/20190805/c9190edf/attachment-0001.html">http://lists.osgeo.org/pipermail/grass-user/attachments/20190805/c9190edf/attachment-0001.html</a>><br>> ><br>> > ------------------------------<br>> ><br>> > Message: 2<br>> > Date: Tue, 6 Aug 2019 09:19:31 +0300<br>> > From: Micha Silver <<a href="mailto:tsvibar@gmail.com">tsvibar@gmail.com</a>><br>> > To: Sebastián Dietrich <<a href="mailto:sebadietrich@gmail.com">sebadietrich@gmail.com</a>><br>> > Cc: Ken Mankoff <<a href="mailto:mankoff@gmail.com">mankoff@gmail.com</a>>, <a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>> > Subject: Re: [GRASS-user] wms google<br>> > Message-ID: <<a href="mailto:73c1d605-3729-ab98-2f81-096d4a8d20b7@gmail.com">73c1d605-3729-ab98-2f81-096d4a8d20b7@gmail.com</a>><br>> > Content-Type: text/plain; charset="utf-8"<br>> ><br>> > An HTML attachment was scrubbed...<br>> > URL: <<a href="http://lists.osgeo.org/pipermail/grass-user/attachments/20190806/002e1069/attachment-0001.html">http://lists.osgeo.org/pipermail/grass-user/attachments/20190806/002e1069/attachment-0001.html</a>><br>> ><br>> > ------------------------------<br>> ><br>> > Message: 3<br>> > Date: Tue, 6 Aug 2019 09:13:57 +0000<br>> > From: Stefan Blumentrath <<a href="mailto:Stefan.Blumentrath@nina.no">Stefan.Blumentrath@nina.no</a>><br>> > To: "Peter Löwe" <<a href="mailto:peter.loewe@gmx.de">peter.loewe@gmx.de</a>>, "<a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a>"<br>> >       <<a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a>><br>> > Subject: Re: [GRASS-user] Wrangling CityGML with GRASS ?<br>> > Message-ID:<br>> >       <<a href="mailto:HE1PR0201MB21405732C039676E8A785D9C9ED50@HE1PR0201MB2140.eurprd02.prod.outlook.com">HE1PR0201MB21405732C039676E8A785D9C9ED50@HE1PR0201MB2140.eurprd02.prod.outlook.com</a>><br>> >       <br>> > Content-Type: text/plain; charset="utf-8"<br>> ><br>> > Hi Peter,<br>> ><br>> > Not personally...<br>> > I would guess you would import CityGML through GDAL:<br>> > <a href="https://3d.bk.tudelft.nl/svitalis/citygml/gdal/2017/07/24/messing-around-with-citygml-on-gdal-2.2.html">https://3d.bk.tudelft.nl/svitalis/citygml/gdal/2017/07/24/messing-around-with-citygml-on-gdal-2.2.html</a><br>> > There you can create subsets and the like...<br>> ><br>> > What are you planning to do with it, roughly?<br>> ><br>> > Cheers<br>> > Stefan<br>> ><br>> ><br>> > -----Original Message-----<br>> > From: grass-user <<a href="mailto:grass-user-bounces@lists.osgeo.org">grass-user-bounces@lists.osgeo.org</a>> On Behalf Of "Peter Löwe"<br>> > Sent: torsdag 1. august 2019 11:10<br>> > To: <a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>> > Subject: [GRASS-user] Wrangling CityGML with GRASS ?<br>> ><br>> > Hi list,<br>> ><br>> > I'm looking for information/howtos/etc. about how to deal with large CityGML data sets using GRASS.<br>> ><br>> > Has anybody already explored this ?<br>> ><br>> > Best,<br>> > Peter<br>> ><br>> > <<a href="mailto:peter.loewe@gmx.de">peter.loewe@gmx.de</a>><br>> ><br>> > _______________________________________________<br>> > grass-user mailing list<br>> > <a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>> > <a href="https://lists.osgeo.org/mailman/listinfo/grass-user">https://lists.osgeo.org/mailman/listinfo/grass-user</a><br>> ><br>> > ------------------------------<br>> ><br>> > Message: 4<br>> > Date: Tue, 6 Aug 2019 12:23:29 +0200<br>> > From: "Peter Löwe" <<a href="mailto:peter.loewe@gmx.de">peter.loewe@gmx.de</a>><br>> > To: "Stefan Blumentrath" <<a href="mailto:Stefan.Blumentrath@nina.no">Stefan.Blumentrath@nina.no</a>><br>> > Cc: "<a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a>" <<a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a>><br>> > Subject: Re: [GRASS-user] Wrangling CityGML with GRASS ?<br>> > Message-ID:<br>> >       <trinity-c2c845f5-697c-4269-afaf-8be6360d44d9-1565087009741@3c-app-gmx-bs34><br>> >       <br>> > Content-Type: text/plain; charset=UTF-8<br>> ><br>> > Hi Stefan,<br>> ><br>> > thanks for the link: That's also the latest information we found so far, except for several OSGeo conference recordings (e.g. <a href="https://doi.org/10.5446/40913">https://doi.org/10.5446/40913</a> <a href="https://doi.org/10.5446/40694">https://doi.org/10.5446/40694</a>).<br>> > My colleagues have ingested CityGML datasets into R, which caused issues with the vector-topology for individual buildings. Also, we have to cope with significant amounts of CityGML datasets, which would require very large amounts of RAM, if the processing is done in R. Since GRASS locations are storage-effective AND GRASS handles vector topologies well, I had hoped that someone already explored this approach further :-)<br>> ><br>> > If this should be not the case (yet) we'll gladly report at one of next years FOSS4G events.<br>> ><br>> > Best,<br>> > peter   <br>> ><br>> > <<a href="mailto:peter.loewe@gmx.de">peter.loewe@gmx.de</a>><br>> ><br>> ><br>> > > Gesendet: Dienstag, 06. August 2019 um 11:13 Uhr<br>> > > Von: "Stefan Blumentrath" <<a href="mailto:Stefan.Blumentrath@nina.no">Stefan.Blumentrath@nina.no</a>><br>> > > An: "Peter Löwe" <<a href="mailto:peter.loewe@gmx.de">peter.loewe@gmx.de</a>>, "<a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a>" <<a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a>><br>> > > Betreff: RE: [GRASS-user] Wrangling CityGML with GRASS ?<br>> > ><br>> > > Hi Peter,<br>> > ><br>> > > Not personally...<br>> > > I would guess you would import CityGML through GDAL:<br>> > > <a href="https://3d.bk.tudelft.nl/svitalis/citygml/gdal/2017/07/24/messing-around-with-citygml-on-gdal-2.2.html">https://3d.bk.tudelft.nl/svitalis/citygml/gdal/2017/07/24/messing-around-with-citygml-on-gdal-2.2.html</a><br>> > > There you can create subsets and the like...<br>> > ><br>> > > What are you planning to do with it, roughly?<br>> > ><br>> > > Cheers<br>> > > Stefan<br>> > ><br>> > ><br>> > > -----Original Message-----<br>> > > From: grass-user <<a href="mailto:grass-user-bounces@lists.osgeo.org">grass-user-bounces@lists.osgeo.org</a>> On Behalf Of "Peter Löwe"<br>> > > Sent: torsdag 1. august 2019 11:10<br>> > > To: <a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>> > > Subject: [GRASS-user] Wrangling CityGML with GRASS ?<br>> > ><br>> > > Hi list,<br>> > ><br>> > > I'm looking for information/howtos/etc. about how to deal with large CityGML data sets using GRASS.<br>> > ><br>> > > Has anybody already explored this ?<br>> > ><br>> > > Best,<br>> > > Peter<br>> > ><br>> > > <<a href="mailto:peter.loewe@gmx.de">peter.loewe@gmx.de</a>><br>> > ><br>> > > _______________________________________________<br>> > > grass-user mailing list<br>> > > <a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>> > > <a href="https://lists.osgeo.org/mailman/listinfo/grass-user">https://lists.osgeo.org/mailman/listinfo/grass-user</a><br>> > ><br>> ><br>> ><br>> > ------------------------------<br>> ><br>> > Message: 5<br>> > Date: Tue, 6 Aug 2019 14:45:50 +0200<br>> > From: Markus Metz <<a href="mailto:markus.metz.giswork@gmail.com">markus.metz.giswork@gmail.com</a>><br>> > To: Peter Löwe <<a href="mailto:peter.loewe@gmx.de">peter.loewe@gmx.de</a>><br>> > Cc: Stefan Blumentrath <<a href="mailto:Stefan.Blumentrath@nina.no">Stefan.Blumentrath@nina.no</a>>,<br>> >       "<a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a>" <<a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a>><br>> > Subject: Re: [GRASS-user] Wrangling CityGML with GRASS ?<br>> > Message-ID:<br>> >       <CAG+h=<a href="mailto:FEkahTTz_DCBcgM8%2B0GBaqmQ7P_eGLMaEndZigbTdAZ4Q@mail.gmail.com">FEkahTTz_DCBcgM8+0GBaqmQ7P_eGLMaEndZigbTdAZ4Q@mail.gmail.com</a>><br>> > Content-Type: text/plain; charset="utf-8"<br>> ><br>> > Hi Peter,<br>> ><br>> > On Tue, Aug 6, 2019 at 12:23 PM "Peter Löwe" <<a href="mailto:peter.loewe@gmx.de">peter.loewe@gmx.de</a>> wrote:<br>> > ><br>> > > Hi Stefan,<br>> > ><br>> > > thanks for the link: That's also the latest information we found so far,<br>> > except for several OSGeo conference recordings (e.g.<br>> > <a href="https://doi.org/10.5446/40913">https://doi.org/10.5446/40913</a> <a href="https://doi.org/10.5446/40694">https://doi.org/10.5446/40694</a>).<br>> ><br>> > GML and GMLAS are supported by GDAL 2.2+. However, in order to import GMLAS<br>> > properly, some tricks are needed (interleaved reading for non-sequential<br>> > layers, see<br>> > <a href="https://gdal.org/drivers/vector/gmlas.html#performance-issues-with-large-multi-layer-gml-files">https://gdal.org/drivers/vector/gmlas.html#performance-issues-with-large-multi-layer-gml-files</a>)<br>> > which are built into GRASS 7.6+.<br>> ><br>> > > My colleagues have ingested CityGML datasets into R, which caused issues<br>> > with the vector-topology for individual buildings.<br>> ><br>> > That's not related to the data format, but to the content: 3D polygons.<br>> > These are not supported in GRASS, when importing you need to convert the<br>> > data to 2D with v.in.ogr -2, otherwise you get corrupt topology. Maybe this<br>> > is also needed for R.<br>> ><br>> > Markus M<br>> ><br>> > > Also, we have to cope with significant amounts of CityGML datasets, which<br>> > would require very large amounts of RAM, if the processing is done in R.<br>> > Since GRASS locations are storage-effective AND GRASS handles vector<br>> > topologies well, I had hoped that someone already explored this approach<br>> > further :-)<br>> > ><br>> > > If this should be not the case (yet) we'll gladly report at one of next<br>> > years FOSS4G events.<br>> > ><br>> > > Best,<br>> > > peter<br>> > ><br>> > > <<a href="mailto:peter.loewe@gmx.de">peter.loewe@gmx.de</a>><br>> > ><br>> > ><br>> > > > Gesendet: Dienstag, 06. August 2019 um 11:13 Uhr<br>> > > > Von: "Stefan Blumentrath" <<a href="mailto:Stefan.Blumentrath@nina.no">Stefan.Blumentrath@nina.no</a>><br>> > > > An: "Peter Löwe" <<a href="mailto:peter.loewe@gmx.de">peter.loewe@gmx.de</a>>, "<a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a>" <<br>> > <a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a>><br>> > > > Betreff: RE: [GRASS-user] Wrangling CityGML with GRASS ?<br>> > > ><br>> > > > Hi Peter,<br>> > > ><br>> > > > Not personally...<br>> > > > I would guess you would import CityGML through GDAL:<br>> > > ><br>> > <a href="https://3d.bk.tudelft.nl/svitalis/citygml/gdal/2017/07/24/messing-around-with-citygml-on-gdal-2.2.html">https://3d.bk.tudelft.nl/svitalis/citygml/gdal/2017/07/24/messing-around-with-citygml-on-gdal-2.2.html</a><br>> > > > There you can create subsets and the like...<br>> > > ><br>> > > > What are you planning to do with it, roughly?<br>> > > ><br>> > > > Cheers<br>> > > > Stefan<br>> > > ><br>> > > ><br>> > > > -----Original Message-----<br>> > > > From: grass-user <<a href="mailto:grass-user-bounces@lists.osgeo.org">grass-user-bounces@lists.osgeo.org</a>> On Behalf Of<br>> > "Peter Löwe"<br>> > > > Sent: torsdag 1. august 2019 11:10<br>> > > > To: <a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>> > > > Subject: [GRASS-user] Wrangling CityGML with GRASS ?<br>> > > ><br>> > > > Hi list,<br>> > > ><br>> > > > I'm looking for information/howtos/etc. about how to deal with large<br>> > CityGML data sets using GRASS.<br>> > > ><br>> > > > Has anybody already explored this ?<br>> > > ><br>> > > > Best,<br>> > > > Peter<br>> > > ><br>> > > > <<a href="mailto:peter.loewe@gmx.de">peter.loewe@gmx.de</a>><br>> > > ><br>> > > > _______________________________________________<br>> > > > grass-user mailing list<br>> > > > <a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>> > > > <a href="https://lists.osgeo.org/mailman/listinfo/grass-user">https://lists.osgeo.org/mailman/listinfo/grass-user</a><br>> > > ><br>> > > _______________________________________________<br>> > > grass-user mailing list<br>> > > <a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>> > > <a href="https://lists.osgeo.org/mailman/listinfo/grass-user">https://lists.osgeo.org/mailman/listinfo/grass-user</a><br>> > -------------- next part --------------<br>> > An HTML attachment was scrubbed...<br>> > URL: <<a href="http://lists.osgeo.org/pipermail/grass-user/attachments/20190806/2dc10111/attachment.html">http://lists.osgeo.org/pipermail/grass-user/attachments/20190806/2dc10111/attachment.html</a>><br>> ><br>> > ------------------------------<br>> ><br>> > Subject: Digest Footer<br>> ><br>> > _______________________________________________<br>> > grass-user mailing list<br>> > <a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>> > <a href="https://lists.osgeo.org/mailman/listinfo/grass-user">https://lists.osgeo.org/mailman/listinfo/grass-user</a><br>> ><br>> > ------------------------------<br>> ><br>> > End of grass-user Digest, Vol 160, Issue 5<br>> > ******************************************<br>> ><br>> _______________________________________________<br>> grass-user mailing list<br>> <a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>> <a href="https://lists.osgeo.org/mailman/listinfo/grass-user">https://lists.osgeo.org/mailman/listinfo/grass-user</a></div>