# SVG를 TopoJSON로 변환

> SVG(Scalable Vector Graphics (with GeoItems tags))를 TopoJSON(TopoJSON (topological GeoJSON))로 변환하려면 SVG 데이터를 MyGeodata Cloud Converter에 업로드하고, 출력 형식으로 TopoJSON를 선택한 다음 결과를 다운로드하세요. GIS 소프트웨어를 설치할 필요 없이 온라인으로 가능합니다.

- 페이지: https://beta.mygeodata.cloud/ko/converter/svg-to-topojson
- 변환기 열기: https://beta.mygeodata.cloud/tools/converter/?format=topojson
- 입력: Scalable Vector Graphics (with GeoItems tags) (SVG, .svg)
- 출력: TopoJSON (topological GeoJSON) (TopoJSON, .topojson, .json)

## SVG를 TopoJSON로 변환하면 일어나는 일

- **기본값은 WGS 84 (EPSG:4326)이며 다른 좌표계도 사용할 수 있습니다** — TopoJSON는 기본적으로 WGS 84 (EPSG:4326)로 저장됩니다. D3.js, Leaflet 같은 웹 지도 라이브러리가 기대하는 좌표계입니다. SVG 데이터의 좌표계를 그대로 유지하거나 다른 좌표계를 선택할 수 있지만, TopoJSON에는 좌표계를 기록하는 표준 방식이 없으므로 파일을 읽는 애플리케이션에 어떤 좌표계인지 알려 주어야 합니다.
- **레이어 구조 유지** — 두 형식 모두 여러 레이어를 저장할 수 있으므로 SVG 데이터의 레이어 구조가 TopoJSON에서도 유지됩니다.
- **속성이 그대로 유지됩니다** — SVG 데이터의 속성 열이 TopoJSON(으)로 기록됩니다. 옵션에서 유지할 속성을 선택할 수 있습니다.

## 4단계로 SVG를 TopoJSON로 변환하기

1. **SVG 데이터 업로드** — SVG 파일을 Converter에 끌어다 놓으세요. 여러 파일을 한 번에 놓아도 됩니다.
2. **입력 데이터 확인** — Converter가 레이어, 속성, 좌표계를 감지하여 개요를 보여 줍니다. 좌표계가 없으면 직접 지정할 수 있습니다.
3. **TopoJSON 및 옵션 선택** — 출력 형식으로 TopoJSON을(를) 선택하세요. 좌표계를 그대로 유지하거나 다른 좌표계를 선택하세요. 선택 설정에서 레이어, 속성 및 TopoJSON 전용 옵션을 고를 수 있습니다.
4. **결과 다운로드** — 시작하기 전에 크레딧 단위의 가격을 확인하고, 변환을 실행한 후 TopoJSON 결과를 다운로드하세요.

## SVG와 TopoJSON 기술 비교

| | SVG | TopoJSON |
|---|---|---|
| 전체 이름 | Scalable Vector Graphics (with GeoItems tags) | TopoJSON (topological GeoJSON) | 
| 데이터 유형 | 벡터 · 문서 | 벡터 · 웹 및 JSON | 
| 파일 확장자 | .svg | .topojson, .json | 
| 파일 | 단일 파일 | 단일 파일 | 
| 미디어 유형 | image/svg+xml | application/json | 
| 지오메트리 유형 | Point, LineString, Polygon, MultiPoint, MultiLineString, MultiPolygon, GeometryCollection | Point, MultiPoint, LineString, MultiLineString, Polygon, MultiPolygon, GeometryCollection | 
| 다중 레이어 | 예 | 예 | 
| 레이어 내 혼합 지오메트리 | 예 | 예 | 
| 속성 이름 | — | — | 
| 좌표계 | 모두 (EPSG, ESRI, 사용자 정의) | 모든 좌표계 가능, 기본값은 WGS 84 (EPSG:4326) (파일에 기록되지 않음) | 
| Converter 지원 | 읽기 및 쓰기 | 읽기 및 쓰기 | 
| 주요 소프트웨어 | Inkscape, Adobe Illustrator, QGIS, FME, Global Mapper | Mapshaper, D3.js, GDAL/OGR, QGIS, Vega-Lite | 
| 사양 | https://www.w3.org/TR/SVG2/ | https://github.com/topojson/topojson-specification | 

## 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.

## TopoJSON란 무엇인가요?

TopoJSON은 토폴로지를 인코딩하는 GeoJSON의 확장 형식입니다. 모든 지오메트리의 전체 좌표를 저장하는 대신 공유 아크 목록을 보관하고, 각 선 또는 폴리곤은 이 아크에 대한 참조로 정의되므로 인접한 두 폴리곤이 공유하는 경계는 한 번만 저장됩니다. 좌표는 보통 정수로 양자화되고 델타 인코딩되며, 실제 위치를 복원하는 scale 및 translate 값의 변환 정보가 함께 제공됩니다. 이 형식은 Mike Bostock이 만들었으며 GitHub의 TopoJSON 프로젝트에서 공개 명세로 제공됩니다.

TopoJSON은 주로 웹 지도 제작에서 사용되며, 특히 파일 크기가 중요한 D3.js로 렌더링하는 행정 경계와 단계구분도에 많이 쓰입니다. 하나의 파일에 여러 개의 이름 있는 객체를 담을 수 있으며, 각 객체는 속성을 가진 지오메트리를 포함합니다. 좌표 참조 시스템은 따로 정해져 있지 않습니다. 데이터는 보통 WGS 84 경도/위도이지만 투영 좌표도 사용할 수 있습니다. 공유 아크를 단순화하면 인접한 폴리곤 사이에 틈이나 겹침이 생기지 않습니다.

## 자주 묻는 질문

### SVG을(를) TopoJSON(으)로 어떻게 변환하나요?

Converter를 열고 SVG 파일을 끌어다 놓은 후 감지된 레이어와 좌표계를 확인하세요. 출력 형식으로 TopoJSON을(를) 선택하고 결과를 다운로드하면 됩니다. 모든 작업은 브라우저에서 실행되므로 설치할 소프트웨어가 없습니다.

### SVG에서 TopoJSON(으)로의 변환은 무료인가요?

모든 사용자에게 30일마다 3 무료 크레딧이 제공되며 소규모 변환은 1 크레딧부터 시작하므로, 가끔 하는 변환은 무료로 이용할 수 있습니다. 대용량 또는 잦은 작업은 크레딧 팩($2.00부터) 또는 월간 요금제($10.00부터)로 결제할 수 있습니다.

### 변환 중에 좌표계를 변경할 수 있나요?

네. 원래 좌표계를 유지하거나 다른 좌표계를 선택할 수 있습니다. Converter는 S-JTSK, British National Grid, RD New 같은 국가 격자 좌표계를 포함하여 11,000+개의 좌표계를 지원합니다.

### SVG 파일은 최대 얼마나 큰 크기까지 가능한가요?

계정이 없으면 파일당 최대 2 GB까지 업로드할 수 있습니다. 이메일을 인증한 로그인 사용자는 훨씬 더 큰 데이터셋을 업로드할 수 있으며, 대용량 작업은 확장 가능한 클라우드 워커에서 실행됩니다.

### 내 데이터는 안전한가요?

파일은 HTTPS를 통해 전송되며 격리된 클라우드 환경에서 처리됩니다. 계정이 없으면 파일이 임시로만 저장되고 자동으로 삭제되며, 계정이 있으면 삭제하기 전까지 비공개 Data workspace에 보관됩니다.

### SVG에서 TopoJSON로의 변환을 자동화할 수 있나요?

네. 동일한 변환을 GeoCzech API로 사용할 수 있습니다. 출력 형식 "topojson"와 함께 SVG 파일을 전송하고, 스크립트나 ETL 파이프라인에서 TopoJSON 결과를 다운로드하세요. API 접근은 Basic, Standard 및 Premium 요금제에 포함되어 있습니다.

## 관련 변환

- [SVG를 DXF로](https://beta.mygeodata.cloud/ko/converter/svg-to-dxf)
- [SVG를 GeoJSON로](https://beta.mygeodata.cloud/ko/converter/svg-to-geojson)
- [SVG를 XLSX로](https://beta.mygeodata.cloud/ko/converter/svg-to-xlsx)
- [SVG를 SHP로](https://beta.mygeodata.cloud/ko/converter/svg-to-shp)
- [SVG를 CSV로](https://beta.mygeodata.cloud/ko/converter/svg-to-csv)
- [SVG를 KML로](https://beta.mygeodata.cloud/ko/converter/svg-to-kml)
- [SVG를 GPX로](https://beta.mygeodata.cloud/ko/converter/svg-to-gpx)
- [SVG를 DGN로](https://beta.mygeodata.cloud/ko/converter/svg-to-dgn)
- [SVG를 GeoPDF로](https://beta.mygeodata.cloud/ko/converter/svg-to-geopdf)
- [SVG를 KMZ로](https://beta.mygeodata.cloud/ko/converter/svg-to-kmz)
- [SVG를 MIF로](https://beta.mygeodata.cloud/ko/converter/svg-to-mif)
- [SVG를 GPKG로](https://beta.mygeodata.cloud/ko/converter/svg-to-gpkg)
- [GeoJSON를 TopoJSON로](https://beta.mygeodata.cloud/ko/converter/geojson-to-topojson)
- [SHP를 TopoJSON로](https://beta.mygeodata.cloud/ko/converter/shp-to-topojson)
- [KML를 TopoJSON로](https://beta.mygeodata.cloud/ko/converter/kml-to-topojson)
- [GeoPDF를 TopoJSON로](https://beta.mygeodata.cloud/ko/converter/geopdf-to-topojson)
- [GPKG를 TopoJSON로](https://beta.mygeodata.cloud/ko/converter/gpkg-to-topojson)
- [KMZ를 TopoJSON로](https://beta.mygeodata.cloud/ko/converter/kmz-to-topojson)
- [CSV를 TopoJSON로](https://beta.mygeodata.cloud/ko/converter/csv-to-topojson)
- [DWG를 TopoJSON로](https://beta.mygeodata.cloud/ko/converter/dwg-to-topojson)
- [DXF를 TopoJSON로](https://beta.mygeodata.cloud/ko/converter/dxf-to-topojson)
- [GPX를 TopoJSON로](https://beta.mygeodata.cloud/ko/converter/gpx-to-topojson)
- [XLSX를 TopoJSON로](https://beta.mygeodata.cloud/ko/converter/xlsx-to-topojson)
- [MapInfo를 TopoJSON로](https://beta.mygeodata.cloud/ko/converter/mapinfo-to-topojson)

