<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>– Qgis</title><link>https://docs.tradingeconomics.com/tags/qgis/</link><description>Recent content in Qgis on</description><generator>Hugo -- gohugo.io</generator><language>en</language><atom:link href="https://docs.tradingeconomics.com/tags/qgis/index.xml" rel="self" type="application/rss+xml"/><item><title>Gis: TRADING ECONOMICS | GIS API</title><link>https://docs.tradingeconomics.com/gis/overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.tradingeconomics.com/gis/overview/</guid><description>
&lt;p&gt;Trading Economics exposes its entire dataset as geospatial layers through the &lt;strong&gt;OGC API – Features&lt;/strong&gt; standard. Every data point is delivered as a &lt;strong&gt;GeoJSON feature&lt;/strong&gt; anchored to a country polygon or centroid, so you can load it directly into &lt;a href="https://docs.tradingeconomics.com/gis/qgis/"&gt;QGIS&lt;/a&gt;, &lt;a href="https://docs.tradingeconomics.com/gis/arcgis/"&gt;ArcGIS Pro&lt;/a&gt;, or any OGC-compliant client — no conversion, no middleware. A single URL gives you live, queryable, styleable layers ready for choropleth mapping (see &lt;a href="https://docs.tradingeconomics.com/gis/qgis/#example-project"&gt;GDP Growth Map&lt;/a&gt;), labeling, or temporal animation alongside your existing spatial data.&lt;/p&gt;
&lt;div style="text-align:center"&gt;
&lt;p&gt;&lt;img src="https://docs.tradingeconomics.com/gis/images/qgis-mac.png" alt="QGIS"&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;Endpoints:&lt;/strong&gt; &lt;a href="https://docs.tradingeconomics.com/gis/indicators/"&gt;Indicators&lt;/a&gt;  |  &lt;a href="https://docs.tradingeconomics.com/gis/markets/"&gt;Markets&lt;/a&gt;  |  &lt;a href="https://docs.tradingeconomics.com/gis/fred/"&gt;FRED&lt;/a&gt;  |  &lt;a href="https://docs.tradingeconomics.com/gis/comtrade/"&gt;COMTRADE&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Clients:&lt;/strong&gt; &lt;a href="https://docs.tradingeconomics.com/gis/qgis/"&gt;QGIS&lt;/a&gt;  |  &lt;a href="https://docs.tradingeconomics.com/gis/arcgis/"&gt;ArcGIS&lt;/a&gt;  |  &lt;a href="https://docs.tradingeconomics.com/gis/proxy/"&gt;Proxy&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Gis: TRADING ECONOMICS | QGIS</title><link>https://docs.tradingeconomics.com/gis/qgis/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.tradingeconomics.com/gis/qgis/</guid><description>
&lt;p&gt;QGIS is a free, open-source desktop GIS application that lets you load, visualize, edit, and analyze spatial data from virtually any source — files, databases, web services, or live APIs.
Download the Long term Release &lt;a href="https://qgis.org/download/"&gt;QGIS Desktop 3.40 LTR&lt;/a&gt;&lt;/p&gt;
&lt;div class="alert alert-primary" role="alert"&gt;
&lt;strong&gt;Before you start:&lt;/strong&gt; Make sure to authenticate via &lt;a href="https://docs.tradingeconomics.com/gis/proxy/"&gt;Authentication Proxy&lt;/a&gt; .
&lt;/div&gt;
&lt;h2 id="accessing-data-in-qgis"&gt;Accessing Data In QGIS&lt;/h2&gt;
&lt;p&gt;Trading Economics exposes its data through the OGC API – Features standard, which QGIS supports natively. There are two ways to connect: browsing all available collections through an OGC connection, or loading a specific filtered dataset directly via URL. Use Method 1 to explore what&amp;rsquo;s available; use Method 2 when you already know the exact endpoint and filters you need.&lt;/p&gt;
&lt;h3 id="method-1--ogc-api-connection"&gt;Method 1 — OGC API Connection&lt;/h3&gt;
&lt;p&gt;This creates a persistent connection in QGIS that lists every Trading Economics collection. You can browse, preview, and add layers without memorising endpoint URLs.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Layer → Add Layer → Add WFS/OGC API – Features Layer…&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;New&lt;/strong&gt; and set:
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Name&lt;/strong&gt;: &lt;code&gt;Trading Economics GIS&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;URL&lt;/strong&gt;: &lt;code&gt;http://localhost:8080/gis&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;OK → Connect&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Select a collection from the list → &lt;strong&gt;Add&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id="method-2--vector-layer-direct-url-with-filters"&gt;Method 2 — Vector Layer (direct URL with filters)&lt;/h3&gt;
&lt;p&gt;Use this when you want to load a specific filtered dataset. You can append any query parameters from the &lt;a href="https://docs.tradingeconomics.com/gis/indicators/"&gt;Indicators&lt;/a&gt;, &lt;a href="https://docs.tradingeconomics.com/gis/markets/"&gt;Markets&lt;/a&gt;, &lt;a href="https://docs.tradingeconomics.com/gis/fred/"&gt;Federal Reserves&lt;/a&gt;, or &lt;a href="https://docs.tradingeconomics.com/gis/comtrade/"&gt;Comtrade&lt;/a&gt; endpoint pages directly in the URL.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Layer → Add Layer → Add Vector Layer…&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Source type: &lt;strong&gt;Protocol: HTTP(S), cloud, etc.&lt;/strong&gt; → Protocol: &lt;strong&gt;HTTP/HTTPS/FTP&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Paste the full URL → &lt;strong&gt;Add&lt;/strong&gt;:&lt;/li&gt;
&lt;/ol&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;http://localhost:8080/gis/collections/indicators/gdp/items?countries&lt;span style="color:#ce5c00;font-weight:bold"&gt;=&lt;/span&gt;China,Germany
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="styling-examples"&gt;Styling Examples&lt;/h2&gt;
&lt;p&gt;Once a Trading Economics layer is loaded, QGIS renders it with a default single-colour fill. The sections below show how to turn the raw data into meaningful visualisations&lt;/p&gt;
&lt;h3 id="1-choropleth-map"&gt;1. Choropleth Map&lt;/h3&gt;
&lt;p&gt;A choropleth map shades each country or region according to its indicator value, making it easy to spot patterns at a glance — for example, which countries have the highest GDP or the steepest inflation.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Right-click layer → &lt;strong&gt;Properties → Symbology → Graduated&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Set &lt;strong&gt;Value&lt;/strong&gt; to the indicator field (e.g. &lt;code&gt;gdp_value&lt;/code&gt;, &lt;code&gt;inflation_rate_value&lt;/code&gt;, &lt;code&gt;bond_yield&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;Choose a color ramp (e.g. yellow→red for intensity, green→red for good/bad)&lt;/li&gt;
&lt;li&gt;Set &lt;strong&gt;Mode&lt;/strong&gt; to &lt;strong&gt;Natural Breaks (Jenks)&lt;/strong&gt;, choose number of classes → &lt;strong&gt;Classify → OK&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id="example-project"&gt;Example Project&lt;/h3&gt;
&lt;p&gt;The map below was created by loading US state GDP data directly into ArcGIS Pro from the FRED States endpoint and applying a graduated color scheme.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;http://localhost:8080/gis/collections/fred/states/indicators/gdp/items
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div style="text-align:center"&gt;
&lt;a href="https://docs.tradingeconomics.com/gis/images/GDP_Map_Layout.png"&gt;
&lt;p&gt;&lt;img src="https://docs.tradingeconomics.com/gis/images/GDP_Map_Layout.png" alt="US State GDP Choropleth Map"&gt;&lt;/p&gt;
&lt;/a&gt;
&lt;/div&gt;
&lt;h3 id="2-trade-flow-line-width-data-driven"&gt;2. Trade Flow Line Width (data-driven)&lt;/h3&gt;
&lt;p&gt;Comtrade trade-flow layers are rendered as lines connecting exporter and importer countries. Scaling line width by trade value makes major trade corridors stand out immediately.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Symbology → click the &lt;strong&gt;Line&lt;/strong&gt; symbol → &lt;strong&gt;Data defined override&lt;/strong&gt; next to &lt;strong&gt;Stroke width&lt;/strong&gt; → &lt;strong&gt;Assistant…&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Configure:
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Source&lt;/strong&gt;: &lt;code&gt;trade_value&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Values from&lt;/strong&gt;: click &lt;strong&gt;Fetch value range from layer&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Size from&lt;/strong&gt;: &lt;code&gt;0.1&lt;/code&gt; to &lt;code&gt;1.5&lt;/code&gt; mm&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Scale method&lt;/strong&gt;: Exponential, &lt;strong&gt;Exponent&lt;/strong&gt;: &lt;code&gt;0.52&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;OK&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;hr&gt;
&lt;h3 id="3-temporal-animations"&gt;3. Temporal Animations&lt;/h3&gt;
&lt;p&gt;Several Trading Economics endpoints support historical ranges via &lt;code&gt;yearFrom&lt;/code&gt; and &lt;code&gt;yearTo&lt;/code&gt; query parameters. When you load multi-year data, each feature carries a &lt;code&gt;date&lt;/code&gt; field that QGIS can use to animate changes over time — watch GDP shift across continents, track rising unemployment, or see trade flows evolve year by year.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;http://localhost:8080/gis/collections/indicators/population/items?yearFrom&lt;span style="color:#ce5c00;font-weight:bold"&gt;=&lt;/span&gt;2015&lt;span style="color:#000;font-weight:bold"&gt;&amp;amp;&lt;/span&gt;&lt;span style="color:#000"&gt;yearTo&lt;/span&gt;&lt;span style="color:#ce5c00;font-weight:bold"&gt;=&lt;/span&gt;&lt;span style="color:#0000cf;font-weight:bold"&gt;2025&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;strong&gt;Set up temporal control:&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Right-click layer → &lt;strong&gt;Properties → Temporal&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Enable &lt;strong&gt;Dynamic Temporal Control&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Set configuration to &lt;strong&gt;Single field with Date/Time&lt;/strong&gt;, field: &lt;code&gt;date&lt;/code&gt;, duration: &lt;code&gt;1 Year&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;OK&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Animate:&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;View → Panels → Temporal Controller&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Set Start: &lt;code&gt;2015-01-01&lt;/code&gt;, End: &lt;code&gt;2025-12-31&lt;/code&gt;, Step: &lt;code&gt;1 Year&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Press &lt;strong&gt;Play&lt;/strong&gt; (optionally enable &lt;strong&gt;Loop&lt;/strong&gt;)&lt;/li&gt;
&lt;/ol&gt;</description></item><item><title>Gis: TRADING ECONOMICS | GIS Authentication</title><link>https://docs.tradingeconomics.com/gis/proxy/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.tradingeconomics.com/gis/proxy/</guid><description>
&lt;p&gt;To access the Trading Economics Geospatial API, you&amp;rsquo;ll need an API key. Subscribe to a plan at &lt;a href="https://tradingeconomics.com/api/pricing.aspx"&gt;tradingeconomics.com/api/pricing.aspx&lt;/a&gt; and retrieve your key at &lt;a href="https://developer.tradingeconomics.com"&gt;developer.tradingeconomics.com&lt;/a&gt;. Since some GIS applications have limitations in how they pass API credentials, we recommend running a lightweight local proxy.&lt;/p&gt;
&lt;h3 id="caddy-proxy"&gt;Caddy Proxy&lt;/h3&gt;
&lt;p&gt;Caddy is a free, open-source web server known for its simplicity — a single binary, no dependencies, and a minimal configuration file. For this use case it acts as a local reverse proxy, sitting between your GIS client and the Trading Economics API and forwarding your credentials automatically so you never have to configure authentication inside QGIS or ArcGIS.&lt;/p&gt;
&lt;h2 id="setup-caddy"&gt;Setup Caddy&lt;/h2&gt;
&lt;h3 id="1-install"&gt;1. Install&lt;/h3&gt;
&lt;ul class="nav nav-tabs" id="tabs-0" role="tablist"&gt;
&lt;li class="nav-item"&gt;
&lt;button class="nav-link active"
id="tabs-00-00-tab" data-bs-toggle="tab" data-bs-target="#tabs-00-00" role="tab"
aria-controls="tabs-00-00" aria-selected="true"&gt;
Windows
&lt;/button&gt;
&lt;/li&gt;&lt;li class="nav-item"&gt;
&lt;button class="nav-link"
id="tabs-00-01-tab" data-bs-toggle="tab" data-bs-target="#tabs-00-01" role="tab"
aria-controls="tabs-00-01" aria-selected="false"&gt;
macOS
&lt;/button&gt;
&lt;/li&gt;&lt;li class="nav-item"&gt;
&lt;button class="nav-link"
id="tabs-00-02-tab" data-bs-toggle="tab" data-bs-target="#tabs-00-02" role="tab"
aria-controls="tabs-00-02" aria-selected="false"&gt;
Linux
&lt;/button&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="tab-content" id="tabs-0-content"&gt;
&lt;div class="tab-body tab-pane fade show active"
id="tabs-00-00" role="tabpanel" aria-labelled-by="tabs-00-00-tab" tabindex="0"&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;curl.exe https://webi.ms/caddy &lt;span style="color:#000;font-weight:bold"&gt;|&lt;/span&gt; powershell
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="tab-body tab-pane fade"
id="tabs-00-01" role="tabpanel" aria-labelled-by="tabs-00-01-tab" tabindex="0"&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;brew install caddy
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="tab-body tab-pane fade"
id="tabs-00-02" role="tabpanel" aria-labelled-by="tabs-00-02-tab" tabindex="0"&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;curl -sS https://webi.sh/caddy &lt;span style="color:#000;font-weight:bold"&gt;|&lt;/span&gt; sh
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h3 id="2--run-caddy"&gt;2. Run Caddy&lt;/h3&gt;
&lt;p&gt;Replace &lt;code&gt;key:secret&lt;/code&gt; with your Trading Economics API credentials.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;caddy reverse-proxy --from :8080 --to https://api.tradingeconomics.com --header-up &lt;span style="color:#4e9a06"&gt;&amp;#34;Authorization: key:secret&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;div class="alert alert-primary" role="alert"&gt;
&lt;h4 class="alert-heading"&gt;Note&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;Do not point QGIS at &lt;code&gt;https://api.tradingeconomics.com&lt;/code&gt; directly.&lt;/li&gt;
&lt;li&gt;Always use &lt;code&gt;http://localhost:8080&lt;/code&gt; as the base URL in QGIS.&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;p&gt;&lt;a href="https://docs.tradingeconomics.com/gis/indicators/"&gt;Indicators&lt;/a&gt;  |  &lt;a href="https://docs.tradingeconomics.com/gis/markets/"&gt;Markets&lt;/a&gt;  |  &lt;a href="https://docs.tradingeconomics.com/gis/fred/"&gt;FRED&lt;/a&gt;  |  &lt;a href="https://docs.tradingeconomics.com/gis/comtrade/"&gt;COMTRADE&lt;/a&gt;  |  &lt;a href="https://docs.tradingeconomics.com/gis/qgis/"&gt;QGIS&lt;/a&gt;  |  &lt;a href="https://docs.tradingeconomics.com/gis/arcgis/"&gt;ArcGIS&lt;/a&gt;&lt;/p&gt;</description></item></channel></rss>