使用QField进行遗产影响评估¶
From QGIS to QField and Vice Versa: How the New Android Application Is Facilitating the Work of the Archaeologist in the Field.
Roberto Montagnetti1 和 Giuseppe Guarino2
† Presented at the ArcheoFOSS XIII Workshop—Open Software, Hardware, Processes, Data and Formats in Archaeological Research, Padova, Italy, 20–22 February 2019.
Abstract: The aim of this paper is to highlight the main benefits of using the QField app in archaeological jobs. In particular this article provides examples to use QField in open area excavation, Archaeological survey and impact assessment (HIA) projects.
关键词: QField、考古学、VIARCH、HIA、QGIS
1. 引言¶
The aim of this paper is to highlight the main benefits of using the QField app. An App that can be installed on an Android device for all archaeologists working in the field.
The main feature of this new application will allow the archaeologist to upload to his/her smartphone or tablet the .qgs project of the excavation based on the general information concerning the site that is already available to you. At this point, it is possible to implement the collection of data directly on site, maintaining constant updates to your system, thus allowing you to review the project throughout the excavation process.
带有QField的 “袖珍GIS” 终于成为现实!
Working with QField in the field allows us to significantly reduce registration and computerization time of inputting data into the database system, eliminating the digitisation of field registers and all related paperwork. The advantage of entrusting all of the information to the main GIS platform of the project (master), which is stored inside the PC, means this leaves only the task of checking the collected data, along with the bonus of in-depth topographical and geospatial analysis.
In this article, we will show a practical example of integrated use of QGIS and QField, which relates to an open area excavation.
The intervention methodology proposed in this article was constructed by the personal experience of the authors; this specifically refers to open area excavation works in commercial archaeology projects.
2. QField的主要特点¶
QField is an Android app that can be downloaded from Google Play. This application, although it presents itself with a very simple interface, is rich in functions such as:
- 外业数字化工具;
- 几何图形和属性的编辑;
- GPS;
- 可以上传自定义底图;
- 与智能手机/平板电脑摄像头集成;
- Many other functions
QField can be considered a “mobile” extension for QGIS. In fact, it allows us to view and manage a GIS project created with QGIS on an Android smartphone or tablet. Permitting the user to keep all set themes, labels and styles that are in the original project (Figure 1).
Furthermore, similar to QGIS, we can query each layer within QField by obtaining the respective information contained in its attribute table (however, there are also other GIS applications for mobile such as ArcGis, LiPAD, Bentley Map Mobile, GVSig Mobile, Geopaparazzi and others).
In order to work with a QGIS project within QField, the first step is to configure the properties of that project created in QGIS as “save relative paths”.
You will need to create a folder “folder_name” on your desktop and save in this path the .qgs file that you want to transfer to the smartphone or tablet; similarly, in the same folder, you have to enter all the data (vectors, raster and database) that make up this QGIS project.
这些数据还可以分为其他子文件夹。
Finally, you need to copy the entire folder ‘folder_name’ to the tablet, following two possible paths:
- 在内部存储器中: Android > data > ch.opengis.QField > files > share;
- 在外部SD中: Android > data > ch.opengis.QField > files.
3. 在考古调查和考古风险评估项目中与QField合作¶
Until recently, paper maps were the only way of recording archaeological features and the fields’ visibility in an archaeological survey work. Such data were digitised into a CAD or GIS software creating the individual site sheets separately on a simple digital document afterwards.
Today, QField, thanks to its compatibility with QGIS, allows you to skip the transition from paper to digital or from different software, reducing time and costs.
The archaeological survey (for a comprehensive account of methods of the Archaeological survey, see Cambi, Terrenato 1994, pp. 117–143, and Renfrew, Bahn 2016 [1,2]) must be preceded by the construction of a GIS platform that takes into consideration both the data acquired during the field survey phase and the bibliographic ones. For this reason, it will be necessary to work on two tables:
- One is spatial, which is useful in the field.
- The other is alphanumeric.
Both will be joined in a single spatial table, useful for consultation on the GIS desktop. This process is possible through the use of a relational geo-database such as SpatiaLite and PostGIS or, alternatively, through the creation of a join between the tables and the geometries.
However, the big advantage of using a geo-database is the ability to create queries capable of merging information from two or more tables into a single table (view) (for more in-depth information on the use of GIS and Geodatabases in archaeology, see Fronza, Nardini, Valenti 2009 [3]).
This process further speeds up field work by minimising the data to be stored during archaeological survey.
The data collected in the field during the survey will be recorded and digitised through three different layers (point, line and polygon). The attribute tables connected to the three layers record the following information: Project Name (String), Municipality (String), Location (String), Feature Number (Integer), Place Name (String), Location (String), Date (Date), Site Definition (String), Visibility (String) and Photos (String).
The attribute values, “Project name” and “Feature Number”, between the two tables must be Unique Constraint in order to identify only one unique “Project name” and only one “Feature Number”.
The GIS platform must also have base maps such as Google Satellite, Open Street Map, Orthophotos and so on. In this case, we used the following maps: Carta Tecnica Regionale (1:10.000), Open Street Map e Google Satellite. To make these maps lighter, we created first overviews (pyramids) in QGIS.
The positioning of the archaeological features identified can be recorded through the GPS internal device. However, for a greater accuracy, QField can be connected to a GNSS antenna.
In archaeological consultancy and archaeological risk assessment jobs, it is recommended to upload into the GIS project an infrastructure layer containing the infrastructure’s geometric information, measurements and others, besides a buffer of itself.
After setting the basics of our project on QGIS, we need to export the project through the use of the QFieldSync plugin within QField. Alternatively, we can carry this out by simply copying the folder containing the project file with the *. QGIS extension, the database and the rasters (or the GeoPackage containing our rasters: IGM, Basemap and so on) into our smartphone or tablet.
默认情况下,QField会创建一个文件夹,您可以在其中保存工程 (Android/data/ ch.opengis.QField/files),但最好将它们存储在外部SSD上,因为如果要从设备中卸载QField,其中包含的所有文件夹和文件都将被删除,从而有删除数据的风险。
在QGIS中建立GIS工程的基础之后,我们需要通过一个名为QField同步的插件将其导出到QField。
然而,我们甚至可以通过简单地将QGIS工程和相关数据集传输 (复制和粘贴) 到Android设备来执行该任务。QGIS工程必须另存为 .QGIS 。
4. 在考古调查和考古风险评估工作中使用QField的好处和缺点¶
QField与所有尖端工具类似,在设备的使用方面存在一些限制;其中的主要原因可能是带宽不足或缺乏互联网。在这种情况下,我们无法通过使用全球导航卫星系统对考古要素进行准确的登记。同时,我们将无法上传WMS服务,如 Google Satellite、Open Street Map 等。另一个缺点与电池寿命有关:保持屏幕、数据连接和GPS始终处于活动状态将大大缩短设备的电池寿命,即使我们可能会随身携带便携式充电宝。另一方面,使用QField的好处很多;事实上,如果我们在纸质地图上登记了调查过程中发现的考古要素,或者在纸质表格上手动填写了相关信息,这就可以减少我们要执行的许多程序。此外,另一个优点是使用QField集成设备摄像机或GNSS天线的可能性。所有这些都使数据收集更容易,提高了数据的准确性,同时减少了时间、成本和劳动力。
G.G.
5. 在露天挖掘区域中使用QField¶
在露天区域挖掘场景中,使用QField等应用程序的优势和便利数不胜数。这一点尤其适用于商业考古遗址,在那里开展工作的最后期限和考古调查的可用预算往往非常紧张。这迫使您最大限度地优化时间和资产,尽管现场的天气和能见度条件通常很差 (图 2)。
现在,让我们来看看为什么QField的使用有助于减少工作时间,同时保证节省考古调查所需的资源,为Android使用GIS应用程序提供了一个实际示例。
在这类工作中,第一步是使用机械剥离待调查区域,目的是清除表层土,然后最终清除底土。
随后的过程包括直接在现场识别考古要素,并在使用此类技术时通过比较航空遥感和地球物理分析的结果。
然后,通过GPS或全站仪对确定的考古要素进行数字检测。
最后,概述了调查区域 (槽) 中需要完成的所有挖掘干预措施,这在理解所确定的考古要素之间的地层关系方面更为相关。
这一阶段的工作被称为 “Pre-Ex”。
防爆前调查将作为在QGIS中创建工程GIS平台的地形基础,以及该区域的底图、TBM和现场的任何航空正射照片。在同一平台内,我们还将上传一个地理数据库,其中包含以下数字化所需的图层:
a. 现场发现的考古要素;
b 计划的插槽;
c. 调查的背景及其相关水平;
d. 用于手动绘图的平面线和剖面线;
e. 在现场考古调查期间,我们可能需要检测的所有元素。
然而,在同一数据库中,也会有与文书工作表相关的表格。
因此,它们可与数字版的纸质登记簿和其他相关文件相媲美,这些文件通常用于建筑工地的挖掘文件。
该数据库 (接下来是数据库结构的一个示例。根据现场的特点和必须进行的调查的拓扑结构,表格和几何结构可能有所不同。在任何情况下,表格和矢量必须相互关联,以便相互作用。QField认可QGIS中设置的工程关系)。由以下组成:
- 站点 (矢量):包含公司正在工作的所有站点的 列表和描述。
- Context_Layer (矢量): 该图层以图形方式表示开挖项目期间 确定和开挖的所有上下文。
- Slots (矢量): 该图层以图形方式表示所有挖掘的槽, 并包含纸槽寄存器的信息。
- Level_Layer (矢量): 该图层以图形方式 表示每个槽开挖期间的所有标高。
- Drawings_Vector (矢量): 该图层以图形方式 表示用于手动图形的平面线和剖面线。
- Drawing_Point (矢量): 该图层以图形方式 表示平面线和剖面线通过的点。
- Context_Register (无几何图形): 数字记录器,其中包含所有研究的 上下文。
- Drawings_Register (无几何图形): 所有图纸的数字记录器。
- Permatrace_Register (无几何图形): 永久表的数字记录器。
- Sample_Register (无几何图形): 采集样本的数字记录器。
- Photo_Register (无几何图形): 所有拍摄照片的数字登记簿。
- Small_Find_Register (无几何图形): 收集的所有发现的数字记录器。
- Finds_Bag_Register (无几何图形): 挖掘过程中收集的所有行李的 数字登记簿。
- Context_Sheets (无几何图形): 该图层是上下文表记录器的数字版本, 包含与所调查的每个上下文相关的所有信息。
此时,我们需要简单地将QGIS中创建的主工程与所有 “project relation” 和 “widgets” 转移到平板电脑或智能手机上,并使用QField直接在现场管理,以立即了解其优势和便利性 (图 3)。
事实上,主要通过使用该系统,在该领域工作的考古学家将能够在QField数据库中的适当 “context register” 表中直接注册QField内挖掘过程中识别的上下文编号。
这一方面已经加快了现场操作,节省了从现场到大院或从现场到汽车/货车来回的时间,反之亦然,用于编制纸质登记簿;特别是,如果我们考虑到这样一个事实,即汽车和大院通常位于离挖掘区域相当远的地方。
此外,由于现场通常只有一个设备,通常由现场经理或主管持有,这将使他们更容易检查现场考古学家是否为确定的环境分配了正确的编号。
通常情况下,在一个位置上会变得混乱,特别是当现场的挖掘区域由于恶劣的天气条件而很差时。除了上述问题之外,他们还可能遇到错误,例如用不同的切割编号注册相同的要素,或者将相同的上下文编号分配给不同的要素。
当现场团队由众多考古学家组成时,这种情况就更加频繁了,他们在不同的挖掘槽中工作。这些槽可以分布在挖掘区域周围,使它们之间的互动和交流更具挑战性。
这一问题还与另一个问题有关,这意味着,对于在该领域工作的人来说,不可能对调查区域和确定的考古要素进行持续的概述,这往往会在登记上下文编号时造成混淆和错误。
因此,从这个角度来看,QField代表了一个真正的突破,它为现场工作人员提供了以下可能:
i. 对开挖区域进行总体概述;
ii. 查询调查的考古要素;
iii. 检查 Pre-Ex 阶段确定的考古要素的形状和方向,即使现场条件较差,也必须进行挖掘。
QField有助于应对现场遇到的各种挑战:由于恶劣天气、潮湿天气以及不断进入现场的人员和车辆不断搅动的潮湿和泥泞土壤而浪费的时间。这些原因导致遗址被剥离几天后,已确定的考古要素变得无法辨认 (图 2)。
通过使用该设备的GPS,用户可以在挖掘区域内导航,并找到需要挖掘的考古要素,尽管存在一定的误差,即使在现场能见度较差的情况下也是如此。
同样,这样做,当能见度条件不好时,就更容易将考古要素中先前在前爆炸阶段确定的槽集中起来,这防止了对自然遗址挖掘的误判。
这方面的一个典型例子是,当田地里有犁沟时,用肉眼越来越难看到它们的整个长度。
通常,为了解决这类问题,考古学家在挖掘区域使用印刷地图;然而,尽管这当然是一种帮助,但在实践中,它们绝不能与数字地图的便利性相媲美,因此也无法与QField相媲美,原因如下:
- 印刷的地图由于风、湿度,尤其是用人手处理时, 会很快变质。
- 为了包含整个挖掘区域,它们通常必须以非常大的格式打印, 这需要特定的绘图仪,而这成本上升, 使其难以使用。
- 纸质地图不是交互式的,这意味着不能进行查询。
- 它们不能解决必须精确定位考古要素的问题, 当现场的能见度条件较差时, 需要利用槽对考古要素进行调查。
值得注意的是,现场QField的使用简化了管理人员和监理人员在规划挖掘干预措施时的工作量,使他们能够轻松地直接在挖掘区域指导现场考古学家。这样做,将能够有效地培训现场团队,提供有关他们必须挖掘要素的准确信息,并通过平板电脑的图形辅助来支持他们的解释,以及查询已经上传到工程数据库中相关内容的详细信息。
除了外业调查,QField使考古学家的工作更容易,甚至在记录阶段,简化了他们的文书工作。正如我们已经提到的,他们可以不断地查询平板电脑,获取需要包含在纸质文档表中的必要信息,例如他们挖掘背景的剖面图或平面图编号,以及相同背景的照片编号,或任何其他相关信息。
此外,他们将更容易绘制上下文表中通常需要的位置图,因为他们将有更多的可用信息来解释他们挖掘的内容。
使用QField时需要考虑的另一个非常重要的方面是,可以完全取消插槽编号、上下文编号、图纸编号、样本编号、照片编号等的手动注册过程。同时,通过使用此系统,我们还可以避免以下问题:
- 手动将纸质数据输入工程数据库;
- 破译无法理解的笔迹问题, 这大大增加了书写错误的可能性。
事实上,不清晰的书写是一个经常出现的问题,与人工记录挖掘文件,特别是登记册有关。这也将影响在计算机化过程中必须输入数据库信息的准确性。
此外,参与文书工作的考古学家必须在其文件中包括其他同事挖掘和记录的与考古要素相关的其他类型的信息、图纸编号和其他信息。在这种情况下,将一个数字与另一个数字混淆,可能是由于同事字迹不清,这是一个非常常见的错误。
最坏情况是指:
- 数据库的数字记录器和纸质记录器 之间不再匹配;
- 各种上下文表上的信息不可靠;
- 两种情况 (如上所述)。
因此,我们必须花费大量的时间和精力来跟踪错误并进行纠正。
相反,使用数字录音消除了这个问题,并有助于检查错误。
GIS工具的主要优点是,使我们能够通过交叉检查数据来查询要素,从而加快检查过程。
举一个实际的例子,如果您需要使用QGIS “字段计算器” 将数字记录器中的上下文、图形或其他任何内容的数字调整为数字,只需几秒钟即可完成这项简单的任务。
试想一下,使用登记簿和纸质文件执行相同的任务需要多长时间,尤其是在处理大量挖掘中收集的大量数据时。
在这种情况下,您必须首先跟踪包含要修改的数字序列的文件夹,然后逐个浏览所有记录器,直到找到需要修改并最终更正的数字以及所有后续数字。这不仅需要在登记册中进行纠正,还需要在上下文表的要素部分中进行纠正。
换言之,如果上下文、图纸或照片编号注册不正确,仅纠正登记册是不够的,还需要纠正与所述编号相关的所有文书工作。
因此,通过使用数字记录器 (表),操作只需几分钟;然而,如果您是手工编写纸质文档,可能需要数小时的艰苦工作。
最后一个需要考虑的重要方面是节省纸张,从而节省资金。QField和数字文档的使用使我们能够有效地管理挖掘数据。通过这种方式,就不再需要打印调查计划、登记册和文书工作表。
然而,如果主管当局 (县考古) 或客户明确要求现场制作的所有文件的纸质版本,在完成所有修改后,才能在项目结束时打印出所有内容。这有助于避免不必要的纸张浪费,以及前面提到的所有其他问题。
即使在这种情况下,QGIS “打印布局” 也允许我们开发可随时保存和使用的自定义布局。
6. 结论¶
在一个日益数字化的世界中,继续从事纸面文档工作是不可接受的,尤其是在流程结束时,所有纸面文档都必须数字化以满足归档需求。事实上,今天,博物馆和考古公司的仓库都没有足够的空间来存放文件夹。在这一点上,挖掘过程开始时以数字格式管理数据将是有益的,从而节省时间和资源。
扫描登记册的PDF文档、上下文表,以及一般而言现场制作的所有文档,并不是一个切实可行且可持续的解决方案。如前所述,在广泛的挖掘项目中,这些文件通常由数千份书面文件组成。这种工作迫使您不断地上下滚动PDF文档,以搜索各种上下文之间的关系,大大浪费时间和精力;这还不考虑扫描数千张纸张时所涉及的成本。
考古发掘不断受到严格和越来越短的截止日期的推动。不能再忽视利用GIS管理挖掘数据。目前,一个“开源”和“袖珍”GIS平台(如QField)确实代表了一个独特的机会,使考古学家在现场的工作更容易、更快、更准确。
如前所述,建立矩阵和编制考古要素的分阶段比较容易,在后期阶段使用数字系统识别考古要素。因此,只有像GIS这样的工具,使我们能够发起查询并持续交叉引用数据,才能让我们快速高效地完成这类工作。
同时,地理信息系统使我们能够对现场产生的数据进行持续的浏览,并通过使用地理空间分析进一步落实有关调查的信息,这有助于促进最终的解释性重建。
简言之,纸上谈兵不能再被接受了。首先,因为它不是真的。其次,会随着时间的推移而恶化,尤其是在大多数情况下,它被保存在档案馆、博物馆或考古公司的地下室。
此外,与易于共享的数字文档相比,纸质文档在共享和咨询数据方面存在巨大的后勤困难。
R.M.
Institutional Review Board Statement: Not applicable.
Informed Consent Statement: Not applicable.
参考
- Cambi, F.; Terrenato, N. Introduzione All’archeologia dei Paesaggi; Carocci Editore: Roma, Italy, 1994; pp. 117–143.
- Renfrew, C.; Bahn, P. Archaeology, Theories, Methods, and Practice. Archaeol. J. 2016, 148, 329–330.
- Fronza, V.; Nardini, A.; Valenti, M. Informatica e Archeologia Medievale: L’esperienza Senese; All’insegna del Giglio: Firenze, Italy, 2009.