# MapSourceTXT を SVG に変換

> MapSourceTXT(Garmin MapSource Text)を SVG(Scalable Vector Graphics (with GeoItems tags))に変換するには、MapSourceTXT データを MyGeodata Cloud Converter にアップロードし、出力形式として SVG を選択して結果をダウンロードします。GIS ソフトウェアのインストールは不要で、オンラインで完結します。

- ページ: https://beta.mygeodata.cloud/ja/converter/mapsourcetxt-to-svg
- コンバーターを開く: https://beta.mygeodata.cloud/tools/converter/?format=svg_geo
- 入力: Garmin MapSource Text (MapSourceTXT, .txt)
- 出力: Scalable Vector Graphics (with GeoItems tags) (SVG, .svg)

## MapSourceTXTからSVGに変換するときの処理内容

- **WGS 84のまま、または再投影** — MapSourceTXT データは常に WGS 84 (EPSG:4326) です。SVG の出力でもそのまま維持するか、UTMや各国のグリッドなどの投影座標系へ再投影できます。
- **レイヤーは保持されます** — どちらの形式も複数のレイヤーを保存できるため、MapSourceTXT データのレイヤー構造は SVG でも維持されます。
- **属性は引き継がれます** — MapSourceTXT データの属性列は SVG に書き込まれます。オプションで、保持する属性を選択できます。

## 4ステップでMapSourceTXTをSVGに変換

1. **MapSourceTXT データをアップロード** — MapSourceTXT ファイルをコンバーターにドラッグ&ドロップしてください。複数のファイルを同時に追加することもできます。
2. **入力内容を確認** — コンバーターがレイヤー、属性、座標系を検出し、概要を表示します。座標系が見つからない場合は、手動で割り当てることができます。
3. **SVG とオプションを選択** — 出力形式として SVG を選択します。座標系をそのまま使用するか、別の座標系を選択できます。 オプション設定では、レイヤー、属性、SVG 固有のオプションを選択できます。
4. **結果をダウンロード** — 開始前にクレジットでの料金を確認し、変換を実行して、SVG の結果をダウンロードします。

## MapSourceTXTとSVGの技術比較

| | MapSourceTXT | SVG |
|---|---|---|
| 正式名称 | Garmin MapSource Text | Scalable Vector Graphics (with GeoItems tags) | 
| データタイプ | ベクター · GPS・ナビゲーション | ベクター · ドキュメント | 
| ファイル拡張子 | .txt | .svg | 
| ファイル | 単一ファイル | 単一ファイル | 
| メディアタイプ | text/plain | image/svg+xml | 
| ジオメトリタイプ | Point, LineString | Point, LineString, Polygon, MultiPoint, MultiLineString, MultiPolygon, GeometryCollection | 
| 複数レイヤー | はい | はい | 
| レイヤー内の混在ジオメトリ | いいえ | はい | 
| 属性名 | — | — | 
| 座標系 | 常にWGS 84 (EPSG:4326) | 任意（EPSG、ESRI、カスタム） | 
| コンバーターの対応状況 | 読み取り専用 | 読み取り・書き込み | 
| 代表的なソフトウェア | Garmin MapSource, GPSBabel, LibreOffice Calc | Inkscape, Adobe Illustrator, QGIS, FME, Global Mapper | 
| 仕様 | https://www.gpsbabel.org/htmldoc-development/fmt_garmin_txt.html | https://www.w3.org/TR/SVG2/ | 

## MapSourceTXTとは

Garmin MapSource Textは、Garmin MapSourceのプレーンテキスト書き出し形式です。MapSourceは、GPSデータや地図を管理するGarminの旧デスクトップアプリケーションです。MapSourceドキュメントに含まれるウェイポイント、ルート、トラックを読みやすい一覧として出力します。主に内容の確認、簡単な編集、スプレッドシートでの処理、またはプログラム間の中継手段として利用されます。

ファイルはタブ区切りです。先頭の行には、書き出しに使用された座標グリッドや測地系などの設定が記録されます。続いて、レコードタイプごとの列を定義するヘッダー行があり、その後にウェイポイント、ルート、トラックのレコードが続き、トラックポイントは各トラックの下に列挙されます。座標表記、単位、測地系は書き出し時のMapSourceの設定に従うため、設定が異なると、ファイルのレイアウトも異なる場合があります。そのため、GPXなどのXMLベースの形式に比べて予測しにくい形式です。正式な標準として文書化されていないため、MapSource以外でのサポートは、主にGPSBabelなどのリバースエンジニアリングに依存しています。

## SVGとは

Scalable Vector Graphics (SVG) is an XML-based vector image format maintained by the World Wide Web Consortium (W3C). It describes shapes such as paths, polylines, polygons, circles and text together with styling, and it is rendered natively by web browsers. In geospatial use, map features are written as SVG elements whose coordinates are projected into the drawing's user coordinate space, with identifiers or attribute values carried in element attributes, custom namespaced attributes or metadata blocks.

SVG is mainly used for publishing maps on the web and for cartographic finishing in illustration software. It has no built-in coordinate reference system, so georeferencing depends on embedded metadata or application-specific conventions, and recovering real-world coordinates requires knowing the transformation that was applied. There is no standard attribute schema, curves and styles do not map directly to GIS geometry types, and coordinate precision may be reduced on export, making it better suited to visualisation than to authoritative storage.

## 無料のMapSourceTXTサンプルファイル

- [ハイキング(トラック+ウェイポイント)](https://beta.mygeodata.cloud/static/landing/samples/v1/garmin_txt/st-helena-hike.txt) — ジェームズタウンからジェイコブズ・ラダーを登りハイ・ノール砦へ向かうハイキング:3.0 km、標高と時刻付きのトラックポイント513点(10秒間隔)、ウェイポイント4点。Garmin MapSourceテキストエクスポート。 (49.5 kB)
- [ウェイポイントとしての地名](https://beta.mygeodata.cloud/static/landing/samples/v1/garmin_txt/st-helena-places.txt) — セントヘレナの58地点(集落20、山頂17、見どころ21)。名称、カテゴリ、Copernicus DEMの標高、OSM IDを含みます。Garmin MapSourceテキストエクスポート。 (7.5 kB)

## よくある質問

### MapSourceTXT を SVG に変換するには?

コンバーターを開き、MapSourceTXT ファイルをドロップして、検出されたレイヤーと座標系を確認し、出力形式として SVG を選択して結果をダウンロードします。すべてブラウザー上で動作するため、ソフトウェアのインストールは不要です。

### MapSourceTXT から SVG への変換は無料ですか?

どなたでも 30 日ごとに 3 クレジットを無料で受け取れます。小規模な変換は 1 クレジットからなので、たまに使う程度であれば無料で変換できます。大きなデータや頻繁な処理には、クレジットパック($2.00 から)または月額プラン($10.00 から)をご利用ください。

### 変換中に座標系を変更できますか?

はい。元の座標系をそのまま使用するか、別の座標系を選択できます。コンバーターは、S-JTSK、British National Grid、RD New などの各国のグリッドを含む 11,000+ の座標系に対応しています。

### MapSourceTXT ファイルのサイズはどのくらいまで対応していますか?

アカウントなしの場合、1ファイルあたり最大 2 GB までアップロードできます。メールアドレスを認証済みのログインユーザーは、はるかに大きなデータセットをアップロードでき、大規模な処理はスケーラブルなクラウドワーカーで実行されます。

### データは安全ですか?

ファイルは HTTPS で転送され、分離されたクラウド環境で処理されます。アカウントなしの場合、ファイルは一時的にのみ保存され、自動的に削除されます。アカウントをお持ちの場合は、削除するまで非公開のデータワークスペースに保存されます。

### MapSourceTXT から SVG への変換を自動化できますか?

はい。同じ変換を GeoCzech API でもご利用いただけます。MapSourceTXT ファイルを出力形式 "svg_geo" で送信し、スクリプトや ETL パイプラインから SVG の結果をダウンロードできます。API アクセスは Basic, Standard、Premium プランに含まれています。

## 関連する変換

- [MapSourceTXT から GPX へ](https://beta.mygeodata.cloud/ja/converter/mapsourcetxt-to-gpx)
- [MapSourceTXT から KML へ](https://beta.mygeodata.cloud/ja/converter/mapsourcetxt-to-kml)
- [MapSourceTXT から KMZ へ](https://beta.mygeodata.cloud/ja/converter/mapsourcetxt-to-kmz)
- [MapSourceTXT から GeoJSON へ](https://beta.mygeodata.cloud/ja/converter/mapsourcetxt-to-geojson)
- [MapSourceTXT から DXF へ](https://beta.mygeodata.cloud/ja/converter/mapsourcetxt-to-dxf)
- [MapSourceTXT から SHP へ](https://beta.mygeodata.cloud/ja/converter/mapsourcetxt-to-shp)
- [MapSourceTXT から GML へ](https://beta.mygeodata.cloud/ja/converter/mapsourcetxt-to-gml)
- [MapSourceTXT から GPKG へ](https://beta.mygeodata.cloud/ja/converter/mapsourcetxt-to-gpkg)
- [MapSourceTXT から WKT へ](https://beta.mygeodata.cloud/ja/converter/mapsourcetxt-to-wkt)
- [MapSourceTXT から XLSX へ](https://beta.mygeodata.cloud/ja/converter/mapsourcetxt-to-xlsx)
- [MapSourceTXT から CSV へ](https://beta.mygeodata.cloud/ja/converter/mapsourcetxt-to-csv)
- [MapSourceTXT から GeoPDF へ](https://beta.mygeodata.cloud/ja/converter/mapsourcetxt-to-geopdf)
- [DWG から SVG へ](https://beta.mygeodata.cloud/ja/converter/dwg-to-svg)
- [GPX から SVG へ](https://beta.mygeodata.cloud/ja/converter/gpx-to-svg)
- [KML から SVG へ](https://beta.mygeodata.cloud/ja/converter/kml-to-svg)
- [GeoJSON から SVG へ](https://beta.mygeodata.cloud/ja/converter/geojson-to-svg)
- [OSM から SVG へ](https://beta.mygeodata.cloud/ja/converter/osm-to-svg)
- [SHP から SVG へ](https://beta.mygeodata.cloud/ja/converter/shp-to-svg)
- [DXF から SVG へ](https://beta.mygeodata.cloud/ja/converter/dxf-to-svg)
- [KMZ から SVG へ](https://beta.mygeodata.cloud/ja/converter/kmz-to-svg)
- [GPKG から SVG へ](https://beta.mygeodata.cloud/ja/converter/gpkg-to-svg)
- [CSV から SVG へ](https://beta.mygeodata.cloud/ja/converter/csv-to-svg)
- [TopoJSON から SVG へ](https://beta.mygeodata.cloud/ja/converter/topojson-to-svg)
- [GeoPDF から SVG へ](https://beta.mygeodata.cloud/ja/converter/geopdf-to-svg)

