<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>waigani</author_name>
  <author_url>https://blog.hatena.ne.jp/waigani/</author_url>
  <blog_title>waigani's diary</blog_title>
  <blog_url>https://waigani.hatenablog.jp/</blog_url>
  <categories>
    <anon>QGIS</anon>
  </categories>
  <description>ラベルを付けてみます。 単純にラベルをONにするのは簡単。レイヤーを持ってきて、ラベル表示のフラグをたててあげるだけです。 l = qgis.utils.iface.activeLayer() l.enableLabels(True) qgis.utils.iface.mapCanvas().refresh() &quot;ラベル&quot;と表示されます。 レイヤーのプロパティを開いてみると、&quot;デフォルトラベル&quot;の項目に&quot;ラベル&quot;と入っています。これが表示されている状態です。 QgsLabelクラス、QgsLabelAttributesクラスを使って他の項目を設定できます。featureのどの属性値を表示するか…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwaigani.hatenablog.jp%2Fentry%2F20101126%2F1290772685&quot; title=&quot;QGISでベクトルデータを表示してみる　その8 - waigani&amp;#39;s diary&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>http://cdn-ak.f.st-hatena.com/images/fotolife/w/waigani/20101126/20101126204258.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2010-11-26 20:58:05</published>
  <title>QGISでベクトルデータを表示してみる　その8</title>
  <type>rich</type>
  <url>https://waigani.hatenablog.jp/entry/20101126/1290772685</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
