<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Gdal on Datengraben</title>
    <link>https://datengraben.com/tags/gdal/</link>
    <description>Recent content in Gdal on Datengraben</description>
    <generator>Hugoo -- gohugo.io</generator>
    <language>de-DE</language><atom:link href="https://datengraben.com/tags/gdal/rss.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>In-memory reading of GML-format data with geopandas</title>
      <link>https://datengraben.com/til/geopandas-inmemory-gml-format/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      
      <guid>https://datengraben.com/til/geopandas-inmemory-gml-format/</guid>
      <description>&lt;p&gt;Today I learned another way of parsing geo data formats in-memory, using &lt;a href=&#34;&#34;&gt;geopandas&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;As part of a running django web service, I wanted to request and parse a &lt;a href=&#34;https://www.ogc.org/standard/wfs/&#34;&gt;WFS&lt;/a&gt; respose, which comes back in &lt;a href=&#34;https://en.wikipedia.org/wiki/Geography_Markup_Language&#34;&gt;GML&lt;/a&gt; format.&lt;/p&gt;
&lt;p&gt;The solution to this is:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f0f0f0;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-python&#34; data-lang=&#34;python&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;gpd&lt;span style=&#34;color:#666&#34;&gt;.&lt;/span&gt;GeoDataFrame&lt;span style=&#34;color:#666&#34;&gt;.&lt;/span&gt;from_features(fiona&lt;span style=&#34;color:#666&#34;&gt;.&lt;/span&gt;BytesCollection(bytes_str))
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;This was pointed out by &lt;a href=&#34;https://gis.stackexchange.com/a/416126/243170&#34;&gt;sal in this stackoverflow answer&lt;/a&gt;. Since I could not find it in the documentation, either in fiona and not in &lt;a href=&#34;https://geopandas.org/en/stable/docs/user_guide/io.html&#34;&gt;geopandas&lt;/a&gt;.
I want to try now to add this there.&lt;/p&gt;</description>
    </item>
    
  </channel>
</rss>
