-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implementation of the "Add New Spatialite Layer/Database" feature.
Squashed commit of the following: commit e6e01ec0b3955d1cf9cb2756dfcf1aac27a0725e Author: Gary Sherman <gsherman@geoapt.com> Date: Sun Apr 4 17:45:05 2010 -0800 Implementation of the add new spatialite layer dialog with ability to search for epsg srid commit c1d46e35715e4f8baa137800c88483f612ebcb89 Author: Gary Sherman <gsherman@geoapt.com> Date: Sun Apr 4 17:44:23 2010 -0800 Spatialite database template used when creating a new database commit 6d4fd8d80e610d6f0f6d22ed49815134292924c5 Author: Gary Sherman <gsherman@geoapt.com> Date: Sun Apr 4 17:43:31 2010 -0800 Context help for the Add New Spatialite Layer dialog commit 1a6398be174d62df1bf74428bcf898b8d1ea8455 Author: Gary Sherman <gsherman@geoapt.com> Date: Sun Apr 4 17:42:51 2010 -0800 Dialog for finding an SRID from the spatialite spatial_ref_sys table commit 197a65c134ed06b12fd6c8d96900dcf8197f802d Author: Gary Sherman <gsherman@geoapt.com> Date: Sat Apr 3 11:32:58 2010 -0800 Renamed the spatialite srids dialog selector to the proper form commit 66c7cafa78f71b7f06504fe3b7bd4577614bfe67 Author: Gary Sherman <gsherman@geoapt.com> Date: Fri Apr 2 22:25:09 2010 -0800 Implemented create new db. Can now create a new db and an empty layer in one pass. commit 088730293ad4722e7d6045e8661e6c28488b8cae Author: Gary Sherman <gsherman@geoapt.com> Date: Fri Apr 2 20:43:12 2010 -0800 Adjust new spatialite layer dialog. Add field for geometry column name commit d7c60012ddce6a70d0512bc9195524e6d672b372 Author: Gary Sherman <gsherman@geoapt.com> Date: Fri Apr 2 12:46:49 2010 -0800 New spatialite layer menu item does not show up if qgis is built with internal spatialite commit 1343dfe7ac7868c38e8b7bd17ef1dd5a4a04ebad Author: Gary Sherman <gsherman@geoapt.com> Date: Fri Apr 2 11:35:26 2010 -0800 Test of geometry column creation in the dialog commit c8785f4aaee9d5b08fe0c0dd6f6bbfcd9cf6c7a5 Author: Gary Sherman <gsherman@geoapt.com> Date: Wed Mar 31 21:39:03 2010 -0800 Added multi geometry types to the radio button group commit 06350192b9dfa6d6cc5c6ac9c4d0b1a65f260476 Author: Gary Sherman <gsherman@geoapt.com> Date: Wed Mar 31 21:13:20 2010 -0800 SQL for creating the new spatialite table complete---still needs the code to actually push it to the database commit 0e05d6ab9904d003d9c7c7704f53392fc478cee1 Author: Gary Sherman <gsherman@geoapt.com> Date: Wed Mar 31 21:12:25 2010 -0800 Added field for the layer name to be created commit 3c372b4da3097981d824c2dbb7a661c916d9cf7b Author: Gary Sherman <gsherman@Macintosh.local> Date: Tue Mar 30 21:39:10 2010 -0800 Removed unneeded fields from the spatialite dialog (width and precision). Added methods for getting the attributes commit 1871db18a5d87f22caf9a34001c879eaf7f58342 Author: Gary Sherman <gsherman@Macintosh.local> Date: Fri Mar 19 20:51:34 2010 -0800 Renamed ui file commit a42e578afac13d2a9e984faedc79d0d206b48c66 Author: Gary Sherman <gsherman@Macintosh.local> Date: Fri Mar 19 20:51:00 2010 -0800 Added dialog for displaying and selecting a spatialite srid commit d0c48bc2317d175fa13c4e52fb6d4f0b10a58518 Author: Gary Sherman <gsherman@Macintosh.local> Date: Fri Mar 19 19:41:07 2010 -0800 More work on the dialog to create a new spatialite layer commit cc6d8a4e48e42c865eec9da3d2ad1e900fbbe295 Author: Gary Sherman <gsherman@Macintosh.local> Date: Thu Mar 18 20:51:08 2010 -0800 Wire the new spatialite layer dialog into qgisapp commit c5a54601fd9b76e46aeb534f92a605cd744ae768 Author: Gary Sherman <gsherman@Macintosh.local> Date: Thu Mar 18 20:50:18 2010 -0800 Dialog implementation for creating a new spatialite layer git-svn-id: http://svn.osgeo.org/qgis/trunk@13240 c8812cc2-4d05-0410-92ff-de0c093fc19c
- Loading branch information
gsherman
committed
Apr 5, 2010
1 parent
868a157
commit f36bfa5
Showing
14 changed files
with
1,449 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
|
||
INSTALL(FILES srs.db qgis.db qgis_help.db symbology-ng-style.xml | ||
DESTINATION ${QGIS_DATA_DIR}/resources) | ||
|
||
SUBDIRS(context_help) | ||
|
||
INSTALL(FILES srs.db qgis.db qgis_help.db symbology-ng-style.xml spatialite.db | ||
DESTINATION ${QGIS_DATA_DIR}/resources) | ||
|
||
SUBDIRS(context_help) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<h3>Create a New Spatialite Layer</h3> | ||
You can use this dialog to create a new Spatialite database and/or an empty Spatialite layer for editing. See below for an explanation of the dialog inputs. | ||
<h4>Database</h4> | ||
Choose the database from the drop-down list. This list is created from your saved Spatialite connections. If you don't have a saved connection or want to create a new database, click on the button (<label>...</label>) to the right of the drop-down. If you create a new database you will have to add it to your Spatialite connections in the <i>Add Spatialite Table(s)</i> dialog. | ||
<h4>Layer name</h4> | ||
Enter a name for the layer you want to create. The name should be one word. You can use underscores in the name if you like. | ||
<h4>Geometry column</h4> | ||
Enter a name for the geometry column or accept the default. | ||
<h4>Type</h4> | ||
Choose the type of layer you want to create. | ||
<h4>EPSG SRID</h4> | ||
Enter the EPSG number for the spatial reference id (SRID). By default the SRID for WGS 84 is filled in for you. Click on <label>Find SRID</label> button to change the coordinate reference system of the layer if needed. The SRID must exist within the spatial_ref_sys in your Spatialite database. You can search for the SRID using partial matches on both name and SRID. | ||
<h4>New attribute</h4> | ||
Add the desired attributes by clicking on the <label>Add to attributes list</label> button after you have specified a name and type for the attribute. Only real, integer, and string attributes are supported.<br/> | ||
Width and precision are irrelevant in a Spatialite database so you do not have to specify these. | ||
<h4>Attributes list</h4> | ||
In this section you can see the list of attributes. To delete one of them, click on it and choose <label>Remove selected attribute</label> button. | ||
|
||
<p> | ||
To create the layer, click on <label>Apply</label>. The layer will be created and you will be returned to the dialog. From here you can click <label>Close</label> or change the parameters to create additional layers. |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.