﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Manifold Community Site: building footprint : .parquet to manifold9</title><link>http://95.79.92.2:8080/forum/t164371</link><description>Manifold Community Site thread</description><image><url>http://95.79.92.2:8080/forum/images/img-logo.png</url><title>Manifold Community Site: building footprint : .parquet to manifold9</title><link>http://95.79.92.2:8080/forum/t164371</link></image><item><title>RE: building footprint : .parquet to manifold9</title><link>http://95.79.92.2:8080/forum/t164371#164372</link><description>&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;it is possible to download there https://beta.source.coop/vida/google-microsoft-osm-open-buildings/geoparquet/by_country/ building footprints for entire countries&lt;/P&gt;&lt;P&gt;for a small country like Benin 6millions shapes are available. according to https://medium.com/vida-engineering/updating-the-ultimate-cloud-native-building-footprints-dataset-6d4384cb93c4&lt;/P&gt;&lt;P&gt;several format are available. to my knowledge none of them can be read by M9 (pmtiles, .parquet, .flatgeobuf). &lt;/P&gt;&lt;P&gt;some month ago I tried to use a python package though M9 (I don&amp;#39;t remember which one) to be able to use those formats in M9, very complicated, not fully working, not fully supported. &lt;/P&gt;&lt;P&gt;My workflow is now the following : &lt;/P&gt;&lt;P&gt;1. download .parquet&lt;/P&gt;&lt;P&gt;2. open in QGIS&lt;/P&gt;&lt;P&gt;3. use qGIS to export to .Sqlite &lt;/P&gt;&lt;P&gt;4. import the .Sqlite in M9&lt;/P&gt;&lt;P&gt;first question =&amp;gt; is .sqlite the best format in term of performance to transform from .parquet to something M9 can read? &lt;/P&gt;&lt;P&gt;then I need to select a subset of these building (like all buildings in a 10km radius around 10 cities):&lt;/P&gt;&lt;P&gt;I did the following, but it seemed a bit non-optimal&lt;/P&gt;&lt;P&gt;&lt;OL&gt;&lt;LI&gt;I draw my buffers in M9,&lt;LI&gt;I did a spatial join to copy the mfd_id column of the buffers to the building drawing&lt;LI&gt;select entries where mfd_id_buffer was not null (I want to keep the whole dataset intact for later use!)&lt;LI&gt;copy selected items&lt;LI&gt;past as new table (~100 000 items)&lt;LI&gt;export to .shp for later import in Manifold8&lt;/OL&gt;&lt;P&gt;my second question is to know if there is a better way to extract these 100k items to open in M8 ?&lt;/P&gt;&lt;P&gt;Thank you for your help!&lt;/P&gt;&lt;/P&gt;</description><dc:creator>Corentin</dc:creator><comments>http://95.79.92.2:8080/forum/t164371#164372</comments><guid>http://95.79.92.2:8080/forum/t164371#164372</guid><pubDate>Wed, 09 Oct 2024 08:26:03 GMT</pubDate></item><item><title>RE: building footprint : .parquet to manifold9</title><link>http://95.79.92.2:8080/forum/t164371#164373</link><description>&lt;P&gt;Manifold should be able to use GDAL to link/import (Geo)Parquet directly. &lt;/P&gt;&lt;P&gt;Setting up GDAL for Manifold may be a bit tricky. I&amp;#39;m happy to help later. &lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;GDAL 3.7.x is the latest that Manifold supports, &lt;/SPAN&gt;&lt;SPAN&gt;(Geo)Parquet was added to GDAL 3.5.&lt;/SPAN&gt;&lt;/P&gt;</description><dc:creator>rk</dc:creator><comments>http://95.79.92.2:8080/forum/t164371#164373</comments><guid>http://95.79.92.2:8080/forum/t164371#164373</guid><pubDate>Wed, 09 Oct 2024 08:44:12 GMT</pubDate></item><item><title>RE: building footprint : .parquet to manifold9</title><link>http://95.79.92.2:8080/forum/t164371#164375</link><description>&lt;P&gt;exactly =&amp;gt; GDAL 3.7 =&amp;gt; didn&amp;#39;t work for me (I am stuck with an older version, I cannot remove the old versino to install the new one). I spent more time trying to install it than using it though qGIS. &lt;/P&gt;&lt;P&gt;I need to explain to colleagues how to use these building footprint database. They are not skilled in python and installing GDAL on their laptop will be too complicated... &lt;/P&gt;&lt;P&gt;It is much easier to tell them, &amp;quot;install qGIS, import in .parquet, export in [whatever M9 can read]&amp;quot; than to tell them to install GDAL.&lt;/P&gt;</description><dc:creator>Corentin</dc:creator><comments>http://95.79.92.2:8080/forum/t164371#164375</comments><guid>http://95.79.92.2:8080/forum/t164371#164375</guid><pubDate>Wed, 09 Oct 2024 08:57:21 GMT</pubDate></item><item><title>RE: building footprint : .parquet to manifold9</title><link>http://95.79.92.2:8080/forum/t164371#164376</link><description>&lt;P&gt;I had a nice success &lt;/P&gt;&lt;P&gt;2024-10-09 17:53:07  -- Load library: C:\Manifold-9-Edge\gdal\gdal307.dll&lt;/P&gt;&lt;P&gt;2024-10-09 17:53:08  -- (import) Driver: Parquet ((Geo)Parquet)&lt;/P&gt;&lt;P&gt;2024-10-09 17:53:29  -- Import: C:\Downloads\EST.parquet (22.825 sec)&lt;/P&gt;&lt;P&gt;148 MB  1134355 footprints&lt;/P&gt;&lt;P&gt;I will make a tutorial of how to set up GDAL in &amp;quot;portable&amp;quot; mode. Not depending on installed QGIS or such.&lt;/P&gt;</description><dc:creator>rk</dc:creator><comments>http://95.79.92.2:8080/forum/t164371#164376</comments><guid>http://95.79.92.2:8080/forum/t164371#164376</guid><pubDate>Wed, 09 Oct 2024 14:58:03 GMT</pubDate></item></channel></rss>