How do I Import a New Layer
Overview:
Through AgStudio, we can upload shapefiles, CSV's, or TXT files exported from another service.
Requirements:
- Access to AgStudio is required.
- Active Grower In AgStudio
- Shapefiles, CSV's, or TXT files exported from another service.
Process:
- In the Grower window, Select the Grower and Crop Year.
- Select the Layers drop-down menu.
- Select Layer Import.
-
In the Layer Import window
- Select Layer Type.
-
Select Spatial Linking.
-
- All Grower Fields - Imports the layer to All the fields for the Operation.
- Selected Fields - Imports the layer to the domain selected within the domain tree.
- All Grower Cropzones - Imports the layer to all cropzones for the Operation.
- Selected Cropzones - Imports the layer to the cropzone selected in the domain tree.
-
-
Select Add File or Add Folder to search for boundary files.
- Select Layer Type.
-
At the lower right, Select the file type from the drop-down menu.
- Search the window that pops up for the file or folder that contains the files.
- Select the file or folder.
- Select Open.
- The Layer Import window will populate all data from the files at the right under the Template window. NOTE: If importing multiple files at the same time, only the attributes that each file has in common will show under the Template window
- Leave Template at 'none.'
- Layer Name: Type in the name of what you want the layer to be called in AgStudio.
- At the right, under the Map To column, Select <Do Not Copy> in the row that contains one of the attributes you want to include and map it to <Copy> from the list of options. NOTE: If bringing in a layer/shapefile from a 3rd party source, "Copy" MAY NOT work correctly and data use will not be correct. Use Step #13 to create Map To attributes.
- To change the attribute name to something specific (for use in a calculator for example):
- Select "Add Map To Attribute". This will bring up the attribute editor.
- Change the Name, Data Use, and Unit of Measure to the desired settings for that particular attribute and click OK. (If it's a Group or Nominal Data Use, unit of measure won't be required).
- Select the attribute you are "renaming", and follow Step #11, but instead of Copy, select the Attribute you just created.
- Repeat for other desired attributes.
14. If you are using this layer setup for future Imports, click "Save As", type in a name for this template and the domain for it to be used and click OK. If it's an existing template and you want to Save changes, click "Save."
15. Select Upload.
16. Once the green status bar stops moving and files disappear form the boundary import window, the layer will list in the Domain tree.