<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>緯度経度 アーカイブ - parallel-surface</title>
	<atom:link href="https://parallel-surface.site/tag/%e7%b7%af%e5%ba%a6%e7%b5%8c%e5%ba%a6/feed/" rel="self" type="application/rss+xml" />
	<link>https://parallel-surface.site/tag/緯度経度/</link>
	<description></description>
	<lastBuildDate>Tue, 23 Sep 2025 04:54:16 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://i0.wp.com/parallel-surface.site/wp-content/uploads/2025/09/cropped-u7414146579_Monogram_PS_built_from_two_parallel_lines_bold_fu_10b598ed-91d0-45f6-ab5a-0e26a9a2a039_3-1.png?fit=32%2C32&#038;ssl=1</url>
	<title>緯度経度 アーカイブ - parallel-surface</title>
	<link>https://parallel-surface.site/tag/緯度経度/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>緯度経度をまとめて取得：無料ツールと精度の違い</title>
		<link>https://parallel-surface.site/idokeido/</link>
		
		<dc:creator><![CDATA[平川　静修]]></dc:creator>
		<pubDate>Mon, 25 Aug 2025 08:23:24 +0000</pubDate>
				<category><![CDATA[地図]]></category>
		<category><![CDATA[精度]]></category>
		<category><![CDATA[緯度経度]]></category>
		<guid isPermaLink="false">https://parallel-surface.site/?p=6892</guid>

					<description><![CDATA[<p><img src="https://i0.wp.com/parallel-surface.site/wp-content/uploads/2025/09/u7414146579_Stylized_city_map_with_several_clusters_of_pins_g_352be6f9-be3d-4e6b-9562-754191072904_0.png?fit=1024%2C574&ssl=1" class="webfeedsFeaturedVisual" /></p>
<p>先に結論 いま困ってるあなたへ住所リストから一括で緯度経度を付けたい。でもAPIや料金、精度の違いが不安——よくある悩みです。 最短3手 下のレシピから自分の条件（件数／コスト／精度）に合うものをそのままコピペで。 無料 [&#8230;]</p>
<p>投稿 <a href="https://parallel-surface.site/idokeido/">緯度経度をまとめて取得：無料ツールと精度の違い</a> は <a href="https://parallel-surface.site">parallel-surface</a> に最初に表示されました。</p>
]]></description>
										<content:encoded><![CDATA[<p><img src="https://i0.wp.com/parallel-surface.site/wp-content/uploads/2025/09/u7414146579_Stylized_city_map_with_several_clusters_of_pins_g_352be6f9-be3d-4e6b-9562-754191072904_0.png?fit=1024%2C574&ssl=1" class="webfeedsFeaturedVisual" /></p>
<h2 class="wp-block-heading">先に結論</h2>



<p><strong>いま困ってるあなたへ</strong><br>住所リストから<strong>一括で緯度経度</strong>を付けたい。でもAPIや料金、精度の違いが不安——よくある悩みです。</p>



<p><strong>最短3手</strong></p>



<ol class="wp-block-list">
<li>少量～中量なら：<strong>国土地理院・住所検索API</strong>で無料ジオコーディング。<a href="https://plugins.qgis.org/plugins/GSI-AddressSearch/?utm_source=chatgpt.com" target="_blank" rel="noreferrer noopener">plugins.qgis.org</a></li>



<li>大量・安定なら：<strong>位置参照情報（MLITの住所→座標表）にJOIN</strong>。<a href="https://nlftp.mlit.go.jp/cgi-bin/isj/dls/_choose_method.cgi?utm_source=chatgpt.com" target="_blank" rel="noreferrer noopener">国土数値情報+1</a></li>



<li>海外混在や屋根精度が欲しいなら：<strong>Google Geocoding API</strong>（精度ラベルで品質判定）。<a href="https://developers.google.com/maps/documentation/geocoding/requests-geocoding?utm_source=chatgpt.com" target="_blank" rel="noreferrer noopener">Google for Developers</a></li>
</ol>



<ul class="wp-block-list">
<li>Googleの<code>location_type</code>は<strong>ROOFTOP/範囲内補間/幾何中心/概略</strong>の区別あり。<a href="https://developers.google.com/maps/documentation/geocoding/requests-geocoding?utm_source=chatgpt.com" target="_blank" rel="noreferrer noopener">Google for Developers+1</a></li>



<li>Nominatim（OSM）は<strong>公的インスタンスでの大量一括は非推奨</strong>・スロットリング必須。<a href="https://operations.osmfoundation.org/policies/nominatim/?utm_source=chatgpt.com" target="_blank" rel="noreferrer noopener">operations.osmfoundation.org</a></li>



<li>日本の<strong>位置参照情報</strong>は<strong>大字・町丁目/街区の代表点</strong>を提供。<a href="https://nlftp.mlit.go.jp/cgi-bin/isj/dls/_choose_method.cgi?utm_source=chatgpt.com" target="_blank" rel="noreferrer noopener">国土数値情報+1</a></li>
</ul>



<p>下のレシピから<strong>自分の条件（件数／コスト／精度</strong>）に合うものをそのままコピペで。</p>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h2 class="wp-block-heading">無料ツールと「精度」の違い（ざっくり比較）</h2>



<ul class="wp-block-list">
<li><strong>国土地理院 住所検索API</strong>（日本国内・無料）<br>住所→座標を返すエンドポイント。QGISプラグインでも採用。少量～中量の無料取得に向く。<a href="https://plugins.qgis.org/plugins/GSI-AddressSearch/?utm_source=chatgpt.com" target="_blank" rel="noreferrer noopener">plugins.qgis.org</a></li>



<li><strong>位置参照情報（ダウンロード）</strong>（日本全国・無料）<br><strong>住所と緯度経度の対応表</strong>。<strong>大字・町丁目代表点</strong>や<strong>街区レベル代表点</strong>を年1回更新で提供。大量一括は<strong>表JOIN</strong>で超安定。<a href="https://nlftp.mlit.go.jp/cgi-bin/isj/dls/_choose_method.cgi?utm_source=chatgpt.com" target="_blank" rel="noreferrer noopener">国土数値情報+1</a></li>



<li><strong>OpenStreetMap Nominatim（公共インスタンス）</strong>（世界対応・無料）<br>学術・小規模用途向け。<strong>大量一括は非推奨</strong>、<strong>1スレッド</strong>など厳格なポリシー。必要なら<strong>自前インスタンス</strong>を。<a href="https://operations.osmfoundation.org/policies/nominatim/?utm_source=chatgpt.com" target="_blank" rel="noreferrer noopener">operations.osmfoundation.org</a></li>



<li><strong>Google Geocoding API</strong>（世界対応・高精度）<br><strong><code>ROOFTOP</code>（屋根）/<code>RANGE_INTERPOLATED</code>（道路補間）/<code>GEOMETRIC_CENTER</code>（幾何中心）/<code>APPROXIMATE</code>で結果精度が判別</strong>可能。2025/03/01以降は**$200クレジットではなく“SKUごとの無料枠”**に変更。<a href="https://developers.google.com/maps/documentation/geocoding/requests-geocoding?utm_source=chatgpt.com" target="_blank" rel="noreferrer noopener">Google for Developers+1</a><a href="https://mapsplatform.google.com/pricing/?utm_source=chatgpt.com" target="_blank" rel="noreferrer noopener">Google Maps Platform</a></li>
</ul>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p>目安：<strong>番地レベルの真値に最も近いのは “ROOFTOP”</strong>。<code>RANGE_INTERPOLATED</code>は<strong>道路上の内挿</strong>なので数十mズレが出ます。<a href="https://developers.google.com/maps/documentation/geocoding/requests-geocoding?utm_source=chatgpt.com" target="_blank" rel="noreferrer noopener">Google for Developers</a></p>
</blockquote>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h2 class="wp-block-heading">レシピ①（無料・即席）国土地理院APIをGoogleスプレッドシートで一括化</h2>



<p><strong>用途</strong>：数十～数千件の国内住所。追加費用ゼロで共有しやすい。</p>



<ol class="wp-block-list">
<li>シートAに住所一覧（列A）を用意。</li>



<li>拡張機能 → Apps Script を開き、下記を貼付→保存→再読み込み。</li>
</ol>



<pre class="wp-block-code"><code>function GEOCODE_GSI(addr){
  if(!addr) return "";
  var url = "https://msearch.gsi.go.jp/address-search/AddressSearch?q=" + encodeURIComponent(addr);
  var res = UrlFetchApp.fetch(url, {muteHttpExceptions:true});
  var json = JSON.parse(res.getContentText());
  if(!json || !json.length) return "";
  // GSIは &#91;lon, lat] の順。スプレッドシートでは lat,lon で返します
  var lon = json&#91;0].geometry.coordinates&#91;0];
  var lat = json&#91;0].geometry.coordinates&#91;1];
  return lat + "," + lon;
}
</code></pre>



<ol start="3" class="wp-block-list">
<li>シートのB列に <code>=GEOCODE_GSI(A2)</code> を入力し下までコピー。</li>
</ol>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p>この関数は<strong>国土地理院の住所検索API</strong>を叩いて座標を返します（[QGIS公式プラグインの参照APIと同じエンドポイント]）。大量実行は<strong>間隔を空ける</strong>のがマナーです。<a href="https://plugins.qgis.org/plugins/GSI-AddressSearch/?utm_source=chatgpt.com" target="_blank" rel="noreferrer noopener">plugins.qgis.org</a></p>
</blockquote>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h2 class="wp-block-heading">レシピ②（無料・大量安定）位置参照情報をExcelでJOIN</h2>



<p><strong>用途</strong>：数万～数百万件の一括付与。<strong>API呼び出し不要</strong>、再現性が高い。</p>



<ol class="wp-block-list">
<li><strong>位置参照情報</strong>をダウンロード（<strong>大字・町丁目</strong> or <strong>街区レベル</strong>）。<a href="https://nlftp.mlit.go.jp/cgi-bin/isj/dls/_choose_method.cgi?utm_source=chatgpt.com" target="_blank" rel="noreferrer noopener">国土数値情報+1</a></li>



<li>Excel → データ → <strong>テキスト/CSVから</strong> → 参照データを読み込み。</li>



<li>住所リスト側で<strong>都道府県＋市区町村＋町丁目（＋街区）</strong>のキー列を作る。</li>



<li>Power Query → <strong>クエリのマージ</strong>でキー結合 → <strong>緯度・経度列を展開</strong>して完成。
<ul class="wp-block-list">
<li>住所の表記揺れは<strong>正規化</strong>（GeoloniaのOSSが便利）でヒット率UP。<a href="https://geolonia.github.io/normalize-japanese-addresses/?utm_source=chatgpt.com" target="_blank" rel="noreferrer noopener">geolonia.github.io</a></li>
</ul>
</li>
</ol>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p><strong>精度の考え方</strong>：位置参照情報は<strong>代表点</strong>。<strong>屋根ピン</strong>が必要なら③へ。<a href="https://nlftp.mlit.go.jp/isj/?utm_source=chatgpt.com" target="_blank" rel="noreferrer noopener">国土数値情報</a></p>
</blockquote>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h2 class="wp-block-heading">レシピ③（世界対応・精度判定つき）Google GeocodingをPythonで</h2>



<p><strong>用途</strong>：世界混在や<strong>屋根判定（ROOFTOP）</strong>を使い分けたい時。</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p>2025/03/01から<strong>月次$200クレジットは廃止</strong>され、<strong>SKUごとの無料枠</strong>に変更。最新の無料枠・料金は公式の<strong>Pricing/FAQ</strong>を確認してください。<a href="https://developers.google.com/maps/billing-and-pricing/overview?utm_source=chatgpt.com" target="_blank" rel="noreferrer noopener">Google for Developers+1</a><a href="https://mapsplatform.google.com/pricing/?utm_source=chatgpt.com" target="_blank" rel="noreferrer noopener">Google Maps Platform</a></p>
</blockquote>



<pre class="wp-block-code"><code># pip install pandas requests
import time, requests, pandas as pd

API_KEY = "YOUR_KEY"
def geocode(addr):
    url = "https://maps.googleapis.com/maps/api/geocode/json"
    r = requests.get(url, params={"address": addr, "key": API_KEY})
    js = r.json()
    if js.get("status") != "OK": return "", "", "", ""
    res = js&#91;"results"]&#91;0]
    loc = res&#91;"geometry"]&#91;"location"]
    ltype = res&#91;"geometry"].get("location_type","")
    return loc&#91;"lat"], loc&#91;"lng"], ltype, res.get("partial_match", False)

df = pd.read_csv("addresses.csv")  # address列
rows = &#91;]
for a in df&#91;"address"]:
    lat, lon, ltype, partial = geocode(a)
    rows.append((a, lat, lon, ltype, partial))
    time.sleep(0.05)  # レート制御
out = pd.DataFrame(rows, columns=&#91;"address","lat","lon","location_type","partial_match"])
out.to_csv("geocoded.csv", index=False)
</code></pre>



<ul class="wp-block-list">
<li><code>location_type</code>が<strong>ROOFTOP</strong>なら「屋根相当」、<strong>RANGE_INTERPOLATED</strong>なら「道路補間」、<strong>GEOMETRIC_CENTER/APPROXIMATE</strong>は精度が落ちる、と<strong>公式が定義</strong>。<a href="https://developers.google.com/maps/documentation/geocoding/requests-geocoding?utm_source=chatgpt.com" target="_blank" rel="noreferrer noopener">Google for Developers+1</a></li>



<li>**<code>partial_match</code>**が<code>true</code>でも要件を満たす場合あり、とGoogleが明記。<a href="https://developers.google.com/maps/architecture/geocoding-address-validation?utm_source=chatgpt.com" target="_blank" rel="noreferrer noopener">Google for Developers</a></li>
</ul>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h2 class="wp-block-heading">Nominatim（OSM）を使うときの注意</h2>



<ul class="wp-block-list">
<li><strong>公共Nominatim</strong>は<strong>大量一括非推奨</strong>。やるなら<strong>1スレッド・1台</strong>・結果キャッシュ・適正レートが必須（ポリシー）。<a href="https://operations.osmfoundation.org/policies/nominatim/?utm_source=chatgpt.com" target="_blank" rel="noreferrer noopener">operations.osmfoundation.org</a></li>



<li>ビジネスで継続的に使う場合は<strong>自前インスタンス</strong>や別サービスを検討。<a href="https://help.openstreetmap.org/questions/51487/nominatim-mass-geocoding/?utm_source=chatgpt.com" target="_blank" rel="noreferrer noopener">OpenStreetMapヘルプ</a></li>
</ul>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h2 class="wp-block-heading">どれを選ぶ？（判断フローチャート）</h2>



<ul class="wp-block-list">
<li><strong>日本国内・大量・無料・安定重視</strong> → <strong>位置参照情報JOIN</strong>（代表点OKなら最速）。<a href="https://nlftp.mlit.go.jp/isj/?utm_source=chatgpt.com" target="_blank" rel="noreferrer noopener">国土数値情報</a></li>



<li><strong>日本国内・中量・無料・API駆動</strong> → <strong>国土地理院API</strong>。<a href="https://plugins.qgis.org/plugins/GSI-AddressSearch/?utm_source=chatgpt.com" target="_blank" rel="noreferrer noopener">plugins.qgis.org</a></li>



<li><strong>世界対応・屋根精度が要る</strong> → <strong>Google Geocoding</strong>（<code>location_type</code>で判定、無料枠は最新版を確認）。<a href="https://developers.google.com/maps/documentation/geocoding/requests-geocoding?utm_source=chatgpt.com" target="_blank" rel="noreferrer noopener">Google for Developers+1</a></li>
</ul>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h2 class="wp-block-heading">再現性UPの実務Tips</h2>



<ul class="wp-block-list">
<li><strong>住所正規化→キー結合</strong>が命（<code>都道府県+市区町村+町丁目</code>）。OSSで前処理。<a href="https://geolonia.github.io/normalize-japanese-addresses/?utm_source=chatgpt.com" target="_blank" rel="noreferrer noopener">geolonia.github.io</a></li>



<li><strong>検証列</strong>を持つ：Googleなら<code>location_type</code>、Nominatimなら<code>class/type</code>を見る。<a href="https://nominatim.org/release-docs/latest/api/Search/?utm_source=chatgpt.com" target="_blank" rel="noreferrer noopener">nominatim.org</a></li>



<li><strong>バルク時のエラー処理</strong>：未一致は手がかり（郵便番号／ランドマーク）で再試行。</li>



<li><strong>測地系/座標系の変換</strong>は国土地理院のAPIで担保（必要に応じて）。<a href="https://vldb.gsi.go.jp/sokuchi/surveycalc/api_help.html?utm_source=chatgpt.com" target="_blank" rel="noreferrer noopener">vldb.gsi.go.jp</a></li>
</ul>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h2 class="wp-block-heading">まとめ</h2>



<ul class="wp-block-list">
<li><strong>無料で一括取得</strong>は、国内なら<strong>GSI API</strong> or <strong>位置参照情報JOIN</strong>が鉄板。<a href="https://plugins.qgis.org/plugins/GSI-AddressSearch/?utm_source=chatgpt.com" target="_blank" rel="noreferrer noopener">plugins.qgis.org</a><a href="https://nlftp.mlit.go.jp/isj/?utm_source=chatgpt.com" target="_blank" rel="noreferrer noopener">国土数値情報</a></li>



<li><strong>精度はラベルで見極め</strong>：<code>ROOFTOP</code>最良、補間・中心・概略は用途に合わせて。<a href="https://developers.google.com/maps/documentation/geocoding/requests-geocoding?utm_source=chatgpt.com" target="_blank" rel="noreferrer noopener">Google for Developers</a></li>



<li><strong>大量・継続</strong>はAPIより<strong>ローカルJOIN</strong>が安定、世界対応や屋根精度は<strong>Google</strong>。料金は<strong>2025年の新制度</strong>を必ず確認。<a href="https://developers.google.com/maps/billing-and-pricing/overview?utm_source=chatgpt.com" target="_blank" rel="noreferrer noopener">Google for Developers</a></li>
</ul>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h2 class="wp-block-heading">一次情報（公式）</h2>



<ul class="wp-block-list">
<li><strong>Google Geocoding API｜<code>location_type</code>の定義</strong>（ROOFTOP/INTERPOLATED/GEOMETRIC_CENTER/APPROXIMATE）。<a href="https://developers.google.com/maps/documentation/geocoding/requests-geocoding?utm_source=chatgpt.com" target="_blank" rel="noreferrer noopener">Google for Developers+1</a></li>



<li><strong>Google｜Address/Geocodingの検証指針（<code>partial_match</code>等）</strong>。<a href="https://developers.google.com/maps/architecture/geocoding-address-validation?utm_source=chatgpt.com" target="_blank" rel="noreferrer noopener">Google for Developers</a></li>



<li><strong>Google Maps Platform｜2025年の料金制度変更（SKU別の無料枠）</strong>。<a href="https://developers.google.com/maps/billing-and-pricing/overview?utm_source=chatgpt.com" target="_blank" rel="noreferrer noopener">Google for Developers</a><a href="https://mapsplatform.google.com/pricing/?utm_source=chatgpt.com" target="_blank" rel="noreferrer noopener">Google Maps Platform</a></li>



<li><strong>OpenStreetMap Nominatim｜利用ポリシー（バルク非推奨、1スレッド等）</strong>。<a href="https://operations.osmfoundation.org/policies/nominatim/?utm_source=chatgpt.com" target="_blank" rel="noreferrer noopener">operations.osmfoundation.org</a></li>



<li><strong>国土数値情報｜位置参照情報（住所↔座標の対応表）</strong>。<a href="https://nlftp.mlit.go.jp/cgi-bin/isj/dls/_choose_method.cgi?utm_source=chatgpt.com" target="_blank" rel="noreferrer noopener">国土数値情報+1</a></li>



<li><strong>国土地理院 住所検索API（QGIS公式プラグインが利用するエンドポイント）</strong>。<a href="https://plugins.qgis.org/plugins/GSI-AddressSearch/?utm_source=chatgpt.com" target="_blank" rel="noreferrer noopener">plugins.qgis.org</a></li>



<li><strong>住所正規化OSS（Geolonia）</strong>。<a href="https://geolonia.github.io/normalize-japanese-addresses/?utm_source=chatgpt.com" target="_blank" rel="noreferrer noopener">geolonia.github.io</a></li>
</ul>
<p>投稿 <a href="https://parallel-surface.site/idokeido/">緯度経度をまとめて取得：無料ツールと精度の違い</a> は <a href="https://parallel-surface.site">parallel-surface</a> に最初に表示されました。</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
