CSV(中心点)をインポートして、5kmの円を描く

Yes, you can easily import point data (such as coordinates for a center point) from a CSV (Comma Separated Values) file into QGIS.

The specific tool in QGIS for this task is the “Add Delimited Text Layer” function.

Importing Point Data from CSV

The process requires your CSV file to have at least two columns containing the coordinates (Longitude/X and Latitude/Y).

Step 1: Prepare Your CSV File

Ensure your CSV file is correctly formatted. The headers must clearly distinguish the coordinate fields.

IDLongitude (X)Latitude (Y)
1139.75277835.684444
2139.69170035.689500

Step 2: Use the “Add Delimited Text Layer” Tool

  1. Go to the Layer menu $\rightarrow$ Add Layer $\rightarrow$ Add Delimited Text Layer…
  2. In the dialog box that appears:
    • File Name: Browse to and select your .csv file.
    • Record and Fields Options: Ensure the correct delimiter (usually Comma) is detected.
    • Geometry Definition: Select Point coordinates.
      • X field: Select the column header that contains the Longitude or Eastings value (e.g., Longitude (X)).
      • Y field: Select the column header that contains the Latitude or Northings value (e.g., Latitude (Y)).
    • Geometry CRS (Coordinate Reference System):
      • If your coordinates are standard Latitude and Longitude, set this to EPSG:4326 - WGS 84.
      • If your coordinates are in a projected system (meters/feet), select the appropriate CRS.
  3. Click Add.

円(5km (5000m))を描く

一旦、座標系(CRS)を変更(4326->3857)してから、円を描いた。degree単位をkmに変更するため。

Drawing 5km Circles (Buffers) Around Imported Points

Step 1: Open the Buffer Tool

  1. Go to the Processing menu $\rightarrow$ Toolbox.
  2. In the search bar of the Processing Toolbox, type “Buffer“.
  3. Double-click on the Buffer tool (found under Vector Geometry).

Step 2: Configure the Buffer Parameters

In the Buffer dialog box, set the parameters as follows to ensure accurate 5km circles:

ParameterSettingNotes
Input layerSelect the name of the layer you imported from the CSV file (e.g., center_point).This is the layer containing all your center points.
DistanceEnter the number: 5This is the radius value.
Distance unitSelect: KilometersCrucial: Setting the unit here tells QGIS exactly how far to calculate the buffer.
Segments5 (Default) or a higher number (e.g., 10 or 15)This controls the smoothness of the circle’s edge. A higher number yields a smoother circle.
Dissolve resultDo not dissolve buffers (Uncheck/Default)Unless you want overlapping 5km circles to merge into one single area, keep this unchecked.
BufferedClick the button and choose Save to File...Give the new layer a meaningful name (e.g., 5km_service_areas.gpkg).

Step 3: Run the Tool and View Results

  1. Click the Run button.
  2. QGIS will process the input layer, internally use an appropriate distance-preserving Coordinate Reference System (CRS) for accurate calculation, and generate a new polygon layer containing all the 5km circles.

The new layer will appear on your map canvas, showing a perfect 5km radius circle around every point you imported from the CSV file.

円が描けた!

フィーチャーに都市名と面積のラベルを表示する

🧭 Steps

  1. Open Layer Properties
    • Right-click your layer → PropertiesLabels tab.
  2. Enable Labeling
    • Select “Single labels”.
  3. Open Expression Builder
    • Click the Expression (ε) button next to the “Value” box.
  4. Enter this expression:

平方メートルの場合: ”<name>” || ‘\n’ || format_number( $area , 0 ) || ‘ m²’

平方キロメートルの場合: ”<name>” || ‘\n’ || format_number( $area / 1000000 , 2 ) || ‘ km²’

表示された!

ベースマップを配置する

🟢 Option 1: Using the Built-in “XYZ Tiles” (Recommended)

This is the simplest and most reliable method — no plugin needed.

🔹 Steps:

  1. In QGIS, open the Browser Panel (View → Panels → Browser Panels).
  2. Find “XYZ Tiles” in the list.
  3. Right-click “XYZ Tiles” → New Connection.
  4. In the dialog, enter:
    • Name: (anything, e.g. “OpenStreetMap”)
    • URL: https://tile.openstreetmap.org/{z}/{x}/{y}.png
  5. Click OK, then double-click your new entry to add it to the map.
NameURL
OpenStreetMap (Standard)https://tile.openstreetmap.org/{z}/{x}/{y}.png
Google Satellitehttps://mt1.google.com/vt/lyrs=s&x={x}&y={y}&z={z}
Google Hybridhttps://mt1.google.com/vt/lyrs=y&x={x}&y={y}&z={z}
Google Roadshttps://mt1.google.com/vt/lyrs=m&x={x}&y={y}&z={z}
Esri Satellitehttps://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}
Stamen Toner (B/W)https://stamen-tiles.a.ssl.fastly.net/toner/{z}/{x}/{y}.png
Stamen Terrainhttps://stamen-tiles.a.ssl.fastly.net/terrain/{z}/{x}/{y}.png

上でOpenStreetMapを選択した場合(↓)

グラデーション分類値を手動設定 -> 別のレイヤーで再利用

手動設定の手順

  1. レイヤーを右クリック → [プロパティ] → [シンボロジー]
  2. 上部の レンダリングタイプ を「グラデーション(Graduated)」に変更
  3. 値(Value) に対象フィールドを選択
  4. 分類方法(例:等間隔、自然分類など)を一度選択して「分類(Classify)」をクリック
    → 自動でクラスが生成されます。
  5. 下の 分類リスト(Classes) にある数値範囲(From / To)を手動で編集可能です。
    たとえば、最大値(To)を 1000 に変更したい場合は、そのセルをクリックして直接入力します。
  6. 編集が終わったら「OK」または「適用(Apply)」をクリック。

🟢 方法①:スタイル(Style)を保存・読み込みする方法(おすすめ)

🔹手順

  1. 設定済みのレイヤー(分類を作ったレイヤー)を右クリック →
    **[プロパティ] → [シンボロジー]**を開く
  2. ウィンドウの左下にある [スタイル → スタイルを保存…] をクリック
  3. 保存形式を選択
    • QGISレイヤースタイルファイル(.qml)
      → 最も一般的でおすすめ。
    • あるいは QGISスタイルデータベース(.db) に保存も可能。
  4. 保存後、別のレイヤーを右クリックして
    [プロパティ → シンボロジー → スタイル → スタイルを読み込み…]
  5. 先ほど保存した .qml ファイルを選択すると、色分け・範囲・ラベル設定が全て再現されます。

■保存時

■読み込む際

読み込めた! ※Valueも読み込んでしまっているので要修正!

ビューフレームを保存する

Steps:

  1. Open your preferred project and zoom to your desired frame.
  2. Go to View → New Bookmark… (or press Ctrl + B).
  3. In the Create Spatial Bookmark window:
    • Give it a name (e.g. Tokyo CBD frame).
    • Tick the box “Save as User Bookmark” (or in older versions, just save — it defaults to user scope).
  4. Click OK.

Now that bookmark will appear in:

  • Browser Panel → Spatial Bookmarks, and
  • View → Show Bookmarks, across all projects you open in QGIS.

📍 You can click it anytime to jump to exactly the same map extent — even if you’re working in a completely different dataset.

保存した後に、Show Spatial Bookmarksを選択する

先ほど保存したBookmarkのところにフレームが戻った

地理情報システム(GRS)を変更する

元ファイルを開く(今回はEPSG:4326(WGS84)をEPSG:4612(JGD2000)に変更する)

Right-click the layer in the Layers panel → select “Export” → “Save Features As…” (for vector data)
or “Export → Save As…” (for raster data).

  • Format: Choose your desired output format (e.g., GeoPackage, ESRI Shapefile, GeoJSON).
  • File name: Set where you want to save it.
  • CRS: Click the “Select CRS” button 🌐 to open the CRS selector.
  • Choose your target CRS (for example,
    • EPSG:4326 → WGS 84 (latitude/longitude)
    • EPSG:3857 → Web Mercator (used by Google Maps, Mapbox, etc.)
    • EPSG:6677 → JGD2011 / Japan Plane Rectangular CS Zone 9)

Click OK — QGIS will create a new file in the selected CRS.