TheocBase/TheocBase
-
Open or create a new project in QGIS.
Open or create a new project in QGIS.
เปิดหรือสร้างแผนที่ใหม่ใน QGIS -
Select the menu item <strong>Layer>Add Layer>Add Vector Layer...</strong>
Select the menu item
<strong>
Layer>Add Layer>Add Vector Layer...</strong>
เลือกที่ปุ่มเมนู<strong>
เพิ่มเส้นเลเออร์...</strong>
-
Click on the <strong>Browse</strong> button and select the "theocbase.sqlite" file.
Click on the
<strong>
Browse</strong>
button and select the "theocbase.sqlite" file.คลิกที่ปุ่ม<strong>
เปิดดู</strong>
และเลือกไฟล์ "theocbase.sqlite" -
Click on the <strong>Add</strong> button.
Click on the
<strong>
Add</strong>
button.คลิกที่ปุ่ม<strong>
เพิ่ม</strong>
-
Caution:
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.
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.
เมื่อทำการแก้ไขข้อมูลในโปรแกรมอื่นเช่น QGIS โปรแกรม TheocBase จะไม่ดำเนินการอะไรเกี่ยวกับการแก้ไขนั้นในช่วงที่มีการซิงค์ข้อมูล เพื่อจะทำการบันทึกข้อมูลที่แก้ไขคุณต้องทำเครื่องหมายแก้ไข e.g.เพิ่มเครื่องหมายช่องวาง หรือคุณสามารถส่งข้อมูลเขตไปเป็นไฟล์ KML และย้ายใช้ไฟล์นี้กลับเข้ามาใส่ในโปรแกรม TheocBase อีกครั้ง -
Add the layers by clicking on the <strong>OK</strong> button.
Add the layers by clicking on the
<strong>
OK</strong>
button.คลิที่ปุ่ม<strong>
ตกลง</strong>
เพื่อเพิ่มหัวเรื่อง -
Export into a KML File
Export into a KML File
ส่งเป็นไฟล์ KML -
Right click the layer you want to export and select <strong>Export>Save Features As...</strong>
Right click the layer you want to export and select
<strong>
Export>Save Features As...</strong>
คลิกขวาที่หัวเรื่องที่คุณต้องการส่งออกแล้วเลือก<strong>
ส่งออกโดย...</strong>
-
In the <strong>Format</strong> field choose <strong>Keyhole Markup Language [KML]</strong>.
In the
<strong>
Format</strong>
field choose<strong>
Keyhole Markup Language [KML]</strong>
.ในช่อง<strong>
รูปแบบ</strong>
เลือก<strong>
Keyhole Markup Language KML</strong>
-
Click on the <strong>Browse</strong> button and select a filename.
Click on the
<strong>
Browse</strong>
button and select a filename.คลิกที่ปุ่ม<strong>
เปิด</strong>
และเลือกชื่อไฟล์ -
Under <strong>Select fields to export and their export options</strong> check the following fields:
Under
<strong>
Select fields to export and their export options</strong>
check the following fields: -
Edit the <strong>Datasource Options</strong>
Edit the
<strong>
Datasource Options</strong>
-
Click <strong>OK</strong> to save the KML file.
Click
<strong>
OK</strong>
to save the KML file. -
Choose <strong>File</strong> as <strong>Vector Source Type</strong>.
Choose
<strong>
File</strong>
as<strong>
Vector Source Type</strong>
. -
Choose the <strong>CRS</strong> (Coordinate Reference System): <strong>EPSG:4326</strong>.
Choose the
<strong>
CRS</strong>
(Coordinate Reference System):<strong>
EPSG:4326</strong>
. -
Working with the Territory Data in a Geographic Information System (GIS)
Working with the Territory Data in a Geographic Information System (GIS)
-
The TheocBase SQLite database can be opened in a GIS software that allows users to analyze or combine the data with other sources e.g. create high quality maps for the Kingdom Hall. In the following instructions QGIS is used, a multi-platform GIS available for free, but other programs may be used similarly.
The TheocBase SQLite database can be opened in a GIS software that allows users to analyze or combine the data with other sources e.g. create high quality maps for the Kingdom Hall. In the following instructions QGIS is used, a multi-platform GIS available for free, but other programs may be used similarly.
-
<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>
<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>
-
<span><!-- Field name: -->territory_number<!-- Don't translate this. --></span><br><span><!-- Field name: -->locality<!-- Don't translate this. --></span>
<span><!-- Field name: -->
territory_number<!-- Don't translate this. --></span><br><span><!-- Field name: -->
locality<!-- Don't translate this. --></span>