kopia lustrzana https://github.com/OpenDroneMap/docs
Update and fix boundary edit
Prior push was corrupted and incomplete.pull/125/head
rodzic
21bce25feb
commit
8b1ca24fb2
|
@ -8,15 +8,15 @@
|
|||
|
||||
----
|
||||
|
||||
======== ========
|
||||
========= =========
|
||||
Resource Impact
|
||||
======== ========
|
||||
========= =========
|
||||
CPU ●●○ | Medium
|
||||
GPU ○○○ | None
|
||||
HDD ○○○ | None
|
||||
RAM ●○○ | Low
|
||||
Time ●●○ | Medium
|
||||
======== ========
|
||||
========= =========
|
||||
|
||||
----
|
||||
|
||||
|
@ -41,6 +41,176 @@ As an example, you are tasked to survey a given property/lot. You decide to incl
|
|||
How would one create Boundary [GeoJSON]?
|
||||
-----------------------------------------
|
||||
|
||||
GeoJSON.io
|
||||
^^^^^^^^^^^
|
||||
`http://geojson.io <http://geojson.io>`_
|
||||
*A quick, simple webapp for creating GeoJSON files.*
|
||||
|
||||
New GeoJSON
|
||||
""""""""""""
|
||||
.. figure:: https://user-images.githubusercontent.com/19295950/145102197-b44fea3b-01df-4f2f-9cde-f1c94ba2e8d3.png
|
||||
:alt: GeoJSON.io interface with empty GeoJSON map and text.
|
||||
|
||||
After opening the above link to GeoJSON.io, one should pan and zoom the map preview to find their area of interest.
|
||||
|
||||
Creating A Polygon
|
||||
"""""""""""""""""""
|
||||
.. figure:: https://user-images.githubusercontent.com/19295950/145102194-7992ddf8-81ce-4ee9-bb81-b5d93cb05e25.png
|
||||
:alt: Choosing the "Draw Polygon" menu option in the Map View.
|
||||
|
||||
Selecting the "Draw Polygon" menu option will allow you to place verticies for your polygon by left-clicking on the map.
|
||||
|
||||
Placing Verticies
|
||||
""""""""""""""""""
|
||||
.. figure:: https://user-images.githubusercontent.com/19295950/145102186-38a4107f-4c93-46f9-b423-3ce40fddff4b.png
|
||||
:alt: Placing verticies in the Map View to create the boundary GeoJSON.
|
||||
|
||||
Choose the appropriate locations of the boundary of your polygon by left-clicking on the map to place a vertex. You can place as many vertices as you require.
|
||||
|
||||
Completing A Polygon
|
||||
"""""""""""""""""""""
|
||||
.. figure:: https://user-images.githubusercontent.com/19295950/145102193-4e619f4e-e95d-4c3d-8f89-29a38015bce0.png
|
||||
:alt: Completed polygon in the Map View and GeoJSON text view.
|
||||
|
||||
To close the polygon, you left-click on your first vertex. You will be able to close your polygon once you have placed at least three vertices on the map.
|
||||
A completed polygon will have a different representation than one that is in-progress. It will have a darker border and a fill, implying that it is now a "solid" polygon. If your polygon looks like this, you are ready to save it.
|
||||
|
||||
Saving A Polygon
|
||||
"""""""""""""""""
|
||||
.. figure:: https://user-images.githubusercontent.com/19295950/145102199-a5d37bbf-d057-46d8-8baf-91817c7e2f30.png
|
||||
:alt: Saving the polygon using the Save menu and choosing GeoJSON.
|
||||
|
||||
Select "Save" and then "GeoJSON" to save the completed GeoJSON boundary to disk. Your browser will prompt or otherwise alert you that the file is ready to download. Alternatively, you can copy and paste the text-only representation of the GeoJSON boundary from the right panel with the "JSON" header.
|
||||
|
||||
Example GeoJSON textual representation:
|
||||
.. code-block:: json
|
||||
|
||||
{
|
||||
"type": "FeatureCollection",
|
||||
"features": [
|
||||
{
|
||||
"type": "Feature",
|
||||
"properties": {},
|
||||
"geometry": {
|
||||
"type": "Polygon",
|
||||
"coordinates": [
|
||||
[
|
||||
[
|
||||
-77.04460859298706,
|
||||
38.88532071975074
|
||||
],
|
||||
[
|
||||
-77.04014539718628,
|
||||
38.8801593862463
|
||||
],
|
||||
[
|
||||
-77.03295707702637,
|
||||
38.88331636291941
|
||||
],
|
||||
[
|
||||
-77.03965187072754,
|
||||
38.887959703337145
|
||||
],
|
||||
[
|
||||
-77.04460859298706,
|
||||
38.88532071975074
|
||||
]
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Downloading A Polygon
|
||||
""""""""""""""""""""""
|
||||
.. figure:: https://user-images.githubusercontent.com/19295950/145103954-17ba7c31-fda6-4883-b7a6-3f0bacc266dd.png
|
||||
:alt: Browser Download/Save file prompt for the generated GeoJSON file.
|
||||
|
||||
Once the GeoJSON file has been chosen for saving, the browser will prompt you to save it to disk. Choose an appropriate location where you can access it at a later time to load into WebODM.
|
||||
|
||||
Setting Boundary [GeoJSON] In Task Options
|
||||
"""""""""""""""""""""""""""""""""""""""""""
|
||||
.. figure:: https://user-images.githubusercontent.com/19295950/145102200-02bd1c97-e0e8-4932-a77d-91562823b46e.png
|
||||
:alt: Task Options preview showing Boundary field and "Load" icon.
|
||||
|
||||
When you are editing the Task Options for your Task, you can choose to load the Boundary [GeoJSON] created above by clicking the "Load" icon. Alternatively, you can paste the textual representation of the boundary into the Boundary [GeoJSON] text box.
|
||||
|
||||
Boundary [GeoJSON] Loaded In Task Options
|
||||
""""""""""""""""""""""""""""""""""""""""""
|
||||
.. figure:: https://user-images.githubusercontent.com/19295950/145102196-8f87e4ac-197f-4ce0-ac6f-082772921ea0.png
|
||||
:alt: Task Options preview showing loaded Boundary with GeoJSON text.
|
||||
|
||||
Once the Boundary [GeoJSON] has been loaded from disk or pasted from the system clipboard, you can confirm its presence by seeing the text in the text box. You can now save the Task Options to enable the Boundary [GeoJSON] for the processing Task.
|
||||
|
||||
QGIS
|
||||
^^^^^
|
||||
`https://qgis.org/en/site/forusers/download.html <https://qgis.org/en/site/forusers/download.html>`_
|
||||
*A Free and Open Source Geographic Information System.*
|
||||
|
||||
Creating A New Temporary Scratch Layer
|
||||
"""""""""""""""""""""""""""""""""""""""
|
||||
.. figure:: https://user-images.githubusercontent.com/19295950/145109912-9176cd94-1140-43ac-a371-96de2b874ec3.png
|
||||
:alt: Choosing the "Create A Temporary Scratch Layer" tool to make an empty layer to create our Boundary [GeoJSON] within.
|
||||
|
||||
You will first need a layer to create your Boundary [GeoJSON] within, so creating a New Temporary Scratch layer is a way to do this without needing to setup a file on disk first.
|
||||
|
||||
New Temporary Scratch Layer Geometry Type
|
||||
""""""""""""""""""""""""""""""""""""""""""
|
||||
.. figure:: https://user-images.githubusercontent.com/19295950/145109915-ddbfed43-da5e-466b-a4b6-d6ff3b96a555.png
|
||||
:alt: Setting "Polygon" as the Geometry Type for the Temporary Scratch Layer.
|
||||
|
||||
There are numerous choices of geometry types that can be represented by a given layer. OpenDroneMap is designed to work with Single Polygon, so you will choose Polygon from the Geometry Type menu.
|
||||
|
||||
New Temporary Scratch Layer Settings
|
||||
"""""""""""""""""""""""""""""""""""""
|
||||
.. figure:: https://user-images.githubusercontent.com/19295950/145109917-58b6c147-bdae-45be-839d-5d56b1a22fe8.png
|
||||
:alt: Leaving the remaining settings in their Default state.
|
||||
|
||||
Similar to Geometry Types, there are a large number of settings and options you can adjust for a Temporary Scratch Layer. You should leave these at their pictured defaults for usage with OpenDroneMap.
|
||||
|
||||
Adding an Orthophoto Background
|
||||
""""""""""""""""""""""""""""""""
|
||||
.. figure:: https://user-images.githubusercontent.com/19295950/145109918-df591ce8-3df4-485d-a775-81813b7e61ef.png
|
||||
:alt: Browsing to a generated Orthophoto from WebODM that covers the Area Of Interest (AOI).
|
||||
|
||||
If you have run the task already without a Boundary [GeoJSON], you can load the generated Orthophoto from OpenDroneMap into QGIS to use as your basemap for creating your Boundary [GeoJSON]. This should ensure that your boundary polygon exactly matches the data in your Task, as different basemaps can have errors of 1-10m or more.
|
||||
If have not generated an Orthophoto for your Area Of Interest (AOI), you can use one of the various methods within QGIS to add a basemap. Just be mindful of possible differences in location, angle, skew, scale, and other registration changes that can occur between your data and a basemap provider's data.
|
||||
|
||||
Adding A Polyon Feature
|
||||
""""""""""""""""""""""""
|
||||
.. figure:: https://user-images.githubusercontent.com/19295950/145109907-b61afb3c-fdd2-4eef-872a-91f2ea97d887.png
|
||||
:alt: Selecting the "Add A Polygon Feature" tool to begin creating a boundary polygon.
|
||||
|
||||
After selecting the "Add A Polygon Feature" tool, you can begin placing vertices on the map to create your boundary. To finish your polygon, you will right-click on the canvas. Similar to GeoJSON.io, a finished polygon will have a darker outline and a darker fill to indicate that it is "solid".
|
||||
|
||||
Toggle Editing Off
|
||||
"""""""""""""""""""""""
|
||||
.. figure:: https://user-images.githubusercontent.com/19295950/145109924-42480f63-2cfa-427c-8414-f45d39f796f7.png
|
||||
:alt: Clicking the "Toggle Editing" tool will prompt you to save your changes to the Temporary Scratch Layer.
|
||||
|
||||
Once you are finished with your boundary polygon, you can click the "Toggle Editing" tool to accept your changes and write them out to the Temporary Scratch Layer and make the layer valid for saving/exporting to disk.
|
||||
|
||||
Save Changes To Temporary Scratch Layer
|
||||
""""""""""""""""""""""""""""""""""""""""
|
||||
.. figure:: https://user-images.githubusercontent.com/19295950/145109921-73ab273a-7180-40ea-ba3d-75ecb65c97f5.png
|
||||
:alt: QGIS Dialog asking you to Save your changes to the Temporary Scratch Layer.
|
||||
|
||||
Clicking Save on this dialog will write the changes to the Temporary Scratch Layer and enable export/save functionality.
|
||||
|
||||
Export Temporary Scratch Layer Features
|
||||
""""""""""""""""""""""""""""""""""""""""
|
||||
.. figure:: https://user-images.githubusercontent.com/19295950/145109911-45d7dae3-49ce-40fb-8df0-85a164763810.png
|
||||
:alt: A right-click on the Temporary Scratch Layer in the Layers panel will expose the Export menu item, with the Save Features As sub-menu item.
|
||||
|
||||
Right-click on the Temporary Scratch Layer in the Layers panel to bring up the Export menu and the Save Features As sub-menu item, selecting Save Features As. This will prompt you to choose the export format, location and file name, and settings for your layer.
|
||||
|
||||
Save Vector Layer As
|
||||
"""""""""""""""""""""
|
||||
.. figure:: https://user-images.githubusercontent.com/19295950/145109923-b55dfc1a-5c31-4382-8b1f-3bc6322b0f33.png
|
||||
:alt: The "Save Vector Layer As" dialog showing Format as GeoJSON, an example of a valid File Name and path, CRS of EPSG:4326 and other default options.
|
||||
|
||||
This dialog will require you to choose GeoJSON as the format, a valid filename and path for the GeoJSON to be written out to disk with, and a valid CRS. The safest CRS choice with GeoJSON is EPSG:4326, so choose that if it is not chosen by default. All other options should be left as default and do not apply for OpenDroneMap usage.
|
||||
|
||||
Example Images
|
||||
---------------
|
||||
|
|
Ładowanie…
Reference in New Issue