D 2017-06-18T00:11:17.255 L tuscany U sandro W 6244 Back to main Wiki page
| This one is a pure SQL task, and we'll assume that you should be already well accustomed to this. | |
| Now a Spatial View will be created and properly registered. | |
|
The tuscany.sqlite sample contains a meainingless mixed Geometry Types Spatial Table just intended for testing purposes. You can easily create by yourself something similar, so just very skeletical directions will be supplied here. Please check the SQL Snippets on the side. |
| Spatial Tables declaring a GEOMETRYCOLLECTION or GEOMETRY Type aren't considered at all exceptional in SpatiaLite. You just have to create a Vector Coverages as you've already seen in the previous tutorial about natural_earth.sqlite. |
![]() |
| Just select a Spatial Table from the list, then fill all dialog fields and finally confirm. | ![]() |
| Registering a Vector Coverage based on some Spatial View is more or less the same: you just have to select a different tool from the menu. | ![]() |
| Just select a Spatial Table from the list, then fill all dialog fields and finally confirm. | ![]() |
| SpatiaLite possess the capability to reproject on-the-fly a Vector Coverage, but you have to declare in advance all the supported SRIDs. When you have to configure several strictly related Vector Coverages it could be simpler and easier configuring all Coverages in a single final pass. |
![]() |
| You can add just a single SRID at each time, but you can easily recicle on the same step until all SRIDs have been added. | ![]()
|
| Alternatively you can add or delete the associated SRIDs just for a single Vector Coverage. | ![]() |
| Just use the dialog shown on the side in order to add or remove SRID definitions. | ![]() |
| Remember: you always have to update the Extents every time that you'll add a new Vector Coverare or that you'll change its associated SRIDs. | ![]() |