TheocBase/Test
-
Add Territory Layers to a QGIS Project
-
Open or create a new project in QGIS.
-
Select the menu item
<strong>
Layer>Add Layer>Add Vector Layer...</strong>
-
Choose
<strong>
File</strong>
as<strong>
Vector Source Type</strong>
. -
Click on the
<strong>
Browse</strong>
button and select the "theocbase.sqlite" file. -
Click on the
<strong>
Add</strong>
button. -
<span>
Select the layers you want to use in QGIS:</span>
<br><span><strong><!-- Table name: -->
territory<!-- Don't translate this. --></strong>
: for editing boundaries</span>
<br><span><strong><!-- Table name: -->
territories<!-- Don't translate this. --></strong>
: for viewing and analyzing the territories</span>
<br><span><strong><!-- Table name: -->
territory_address<!-- Don't translate this. --></strong>
: for editing addresses</span>
<br><span><strong><!-- Table name: -->
territoryaddresses<!-- Don't translate this. --></strong>
: for viewing and analyzing the addresses</span>
<br><span><strong><!-- Table name: -->
territory_street<!-- Don't translate this. --></strong>
: for editing streets</span>
<br><span><strong><!-- Table name: -->
territorystreets<!-- Don't translate this. --></strong>
: for viewing and analyzing the streets</span>
-
Caution:
-
When editing the geometry in a third party tool like QGIS, TheocBase will not be aware of the changes during cloud syncing. In order to upload the changes you need to mark the territories as edited e.g. add a blank in the remark field. Alternatively you can also export the territories into a KML file and reimport this file in TheocBase.
-
Add the layers by clicking on the
<strong>
OK</strong>
button. -
Export into a KML File
-
Right click the layer you want to export and select
<strong>
Export>Save Features As...</strong>
-
In the
<strong>
Format</strong>
field choose<strong>
Keyhole Markup Language [KML]</strong>
. -
Click on the
<strong>
Browse</strong>
button and select a filename. -
Choose the
<strong>
CRS</strong>
(Coordinate Reference System):<strong>
EPSG:4326</strong>
. -
Under
<strong>
Select fields to export and their export options</strong>
check the following fields: -
<span><!-- Field name: -->
territory_number<!-- Don't translate this. --></span><br><span><!-- Field name: -->
locality<!-- Don't translate this. --></span>
-
Edit the
<strong>
Datasource Options</strong>
-
<span>
Enter "<!-- Field name: -->
locality<!-- Don't translate this. -->
" next to<strong>
DescriptionField</strong>
.</span><br><span>
Enter "<!-- Field name: -->
territory_number<!-- Don't translate this. -->
" next to<strong>
NameField</strong>
.</span>
-
Click
<strong>
OK</strong>
to save the KML file.
Il n’a plus de segments à afficher.
Chargement d’autres segments en cours…
© 2009-2024 WebTranslateIt Software S.L. Tous droits réservés.
Termes d’utilisation
·
Politique de confidentialité
·
Politique de sécurité