using.rst 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. .. _extensions_importer_using:
  2. Using the Importer extension
  3. ============================
  4. Here are step-by-step instructions to import multiple shapefiles in one operation. For more details on different types of operations, please see :ref:`extensions_importer_guireference`.
  5. #. Find a directory of shapefiles and copy into your :ref:`datadir`.
  6. .. note:: You can always use the `Natural Earth Quickstart <http://www.naturalearthdata.com/downloads/>`_ data for this task.
  7. #. Log in as an administrator and navigate to the :guilabel:`Data --> Import Data` page.
  8. #. For select :guilabel:`Spatial Files` as the data source.
  9. .. figure:: images/using_datasource.png
  10. Data source
  11. #. Click :guilabel:`Browse` to navigate to the directory of shapefiles to be imported.
  12. #. The web-based file browser will show as options your home directory, data directory, and the root of your file system (or drive). In this case, select :guilabel:`Data directory`
  13. .. figure:: images/using_directory.png
  14. Directory
  15. #. Back on the main form, select :guilabel:`Create new` next to :guilabel:`Workspace`, and enter :kbd:`ne` to denote the workspace.
  16. .. note:: Make sure the :guilabel:`Store` field reads :guilabel:`Create new` as well.
  17. .. figure:: images/using_workspace.png
  18. Import target workspace
  19. #. Click :guilabel:`Next` to start the import process.
  20. #. On the next screen, any layers available for import will be shown.
  21. .. note:: Non-spatial files will be ignored.
  22. .. figure:: images/using_layerlist.png
  23. Import layer list
  24. #. In most cases, all files will be ready for import, but if the spatial reference system (SRS) is not recognized, you will need to manually input this but clicking :guilabel:`Advanced`
  25. .. note:: You will need to manually input the SRS if you used the Natural Earth data above. For each layer click on :guilabel:`Advanced` and set reprojection to :kbd:`EPSG:4326`.
  26. .. figure:: images/using_advanced.png
  27. Advanced import settings
  28. #. Check the box next to each layer you wish to import.
  29. .. figure:: images/using_layerlistchecked.png
  30. Setting the layers to import
  31. #. When ready, click :guilabel:`Import`.
  32. .. warning:: Don't click :guilabel:`Done` at this point, otherwise the import will be canceled.
  33. #. The results of the import process will be shown next to each layer.
  34. #. When finished, click :guilabel:`Done`.
  35. .. note:: Recent import processes are listed at the bottom of the page. You may wish to visit these pages to check if any difficulties were encountered during the import process or import additional layers.
  36. .. figure:: images/using_recent.png
  37. Recent imports