<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>FOSS4G 2022 | Geo-Infographics created dynamically from PostGIS using ST_AsSVG</title>
        <link>https://video.osgeo.org/videos/watch/4a59bc85-a7ec-4c39-9be9-3384e45f5eb9</link>
        <description>The ProblemLet's assume you have an attribute-focused table, but you would still like to see a thumbnail of the associated geometry. Or more generally: How to dynamically render polygon geometries in a HTML page without any mapping library. Enter ST_AsSVG (PostGIS function)! ContextLast year I showed how we display geo data in our webapps using vector tiles (ST_AsMVT) (https://www.youtube.com/watch?v=s_dWBOiuFiY&amp;t=139s). This year I will explain how we apply ST_AsSVG of PostGIS on database records to create beautiful geo-infographics in pure HTML. The result is a geo-visualization similar to this one: Comparison maps of Australian Cities (Size, Population) (https://imgur.com/OQClpbc). The trickiest part will be the sizing of the SVG objects (viewport vs. viewBox (https://webdesign.tutsplus.com/tutorials/svg-viewport-and-viewbox-for-beginners--cms-30844)). ContentThe talk will contain some theory on SVG. It will then show basic setups for FastAPI, SQLModel, Jinja2 and, of course, PostGIS. All code will be made available via GitHub. AimAfter the talk you will master sizing of SVG and be capable of creating your own dynamic geo-infographics directly from data stored in your PostGIS database. Stefan Brand https://talks.osgeo.org/foss4g-2022/talk/NBAABN/ #foss4g2022 #generaltrack #UsecasesAndapplications</description>
        <lastBuildDate>Wed, 27 May 2026 13:35:09 GMT</lastBuildDate>
        <docs>https://validator.w3.org/feed/docs/rss2.html</docs>
        <generator>PeerTube - https://video.osgeo.org</generator>
        <image>
            <title>FOSS4G 2022 | Geo-Infographics created dynamically from PostGIS using ST_AsSVG</title>
            <url>https://video.osgeo.org/lazy-static/avatars/de841c88-3a57-45ac-9eff-a00237356bfc.png</url>
            <link>https://video.osgeo.org/videos/watch/4a59bc85-a7ec-4c39-9be9-3384e45f5eb9</link>
        </image>
        <copyright>All rights reserved, unless otherwise specified in the terms specified at https://video.osgeo.org/about and potential licenses granted by each content's rightholder.</copyright>
        <atom:link href="https://video.osgeo.org/feeds/video-comments.xml?videoId=4a59bc85-a7ec-4c39-9be9-3384e45f5eb9" rel="self" type="application/rss+xml"/>
    </channel>
</rss>