- Importing KML into SpatiaLite
- To import a KML file into a SpatiaLite database, complete the following steps:
- Open DB Manager by clicking on DB Manager under Database. Expand SpatiaLite and select GiffordPinochet.sqlite on the Tree panel.
- Navigate to Table | Import layer/file to open the Import vector layer dialog.
- Click on the ellipsis button at the right-hand side of the Input drop-down box and select and open streams.kml from the sample dataset that is available for download on the Packt Publishing website.
- Click on the Update options button to load the remainder of the dialog box. The output table name will populate as streams, and it will match the base name of the input file.
- Set the following options as shown in the next screenshot:
- Select Source SRID and enter 4326. This is the EPSG code for all KML datasets.
- Select Target SRID and enter 26910. This is the EPSG code for NAD 83/UTM Zone 10 North.
- Select Create spatial index.
- Refer the following screenshot to make sure your settings match. If so, click on the OK button to import the file.
- Note


雷达卡




京公网安备 11010802022788号







