Tutorials – EAST® GeoTalk / Geospatial discussion for facilitators and students Tue, 19 Oct 2021 16:58:51 +0000 en-US hourly 1 https://wordpress.org/?v=7.0.1 /wp-content/uploads/2019/11/cropped-EAST_Logo_2c_Horz-32x32.png Tutorials – EAST® GeoTalk / 32 32 Need to Move or Copy ArcGIS Online Content? /need-to-move-or-copy-your-arcgis-content-heres-one-way-to-do-so/ Fri, 12 Mar 2021 16:19:00 +0000 /?p=288

The ArcGIS Online Assistant – An ArcGIS online tool for managing ArcGIS content created by ArcGIS Online users.   Copy, Move, or Manage ArcGIS Online Items using a web browser.  – use this ArcGIS Swiss Army knife.

The ArcGIS Online Assistant – An ESRI web browser tool for managing AGOL content for all ArcGIS Online users.   Copy, Move, Manage ArcGIS Online Items using a web browser.  *Make sure you have the content owners’ username and passwords (for each organization) so that you can MOVE or COPY ArcGIS online content (maps/apps/surveys/feature services) from one organization to another. You can transfer content ownership, too!

  1. Navigate to the ArcGIS Online Assistant website (use a Chrome or Firefox web browser.)

https://ago-assistant.esri.com

Inspect, Update or Copy ArcGIS Content
  • Log in using the content owner’s username/password for each AGOL organization. *Don’t forget to specify your organization, it’s required for portal/enterprise accounts not managed by ArcGIS.com.
ArcGIS Online Assistant will enable users to copy content between two ArcGIS Online Organization‘s, if needed.

Click to download the step-by-step ArcGIS Online Assistant tutorial created by Brian Culpepper for EAST facilitators and students.

]]>
A Blast from the Past /a-blast-from-the-past/ Tue, 30 Jun 2020 19:25:59 +0000 /?p=143

Ever wanted to get a glimpse of what your town or school looked like some years ago? If you search for something like “historic imagery” in ArcGIS Online, you won’t find many useful results. Sure, they were taking aerial photos as far back as World War I – 100 years ago! – but all these photos were on film, not digital media. Scanning these photos and then aligning them properly on the Earth was a lot of work, and therefore expensive.

In the last few years, computing power has vastly increased, and software has been created that can automate much of this process. Because of this, your friends at CAST have been able to collaborate with the U.S. Department of Agriculture’s Natural Resources Conservation Service and the Arkansas GIS Office to convert 4500 scanned photos, flown over Arkansas in the early 1980s, into a seamless set of georeferenced digital images. Through the Arkansas GIS Office, anyone can now access these images directly in their GIS project.

Using these images couldn’t be easier. Simply copy the link below, and then use the Add > Add Layer from Web option to add it to the Map Viewer of ArcGIS Online.

https://gis.arkansas.gov/arcgis/rest/services/ImageServices/IMAGERY_NHAP_1980_1986/ImageServer

]]>
Make a Time-Aware App to Analyze the Spread of COVID-19 Across Arkansas /make-a-time-aware-app-to-analyze-the-spread-of-covid-19-across-arkansas/ Tue, 30 Jun 2020 16:39:48 +0000 /?p=137 You’ve probably seen maps and dashboards, like the one from the Arkansas Department of Health, showing current information about the COVID-19 outbreak in Arkansas and the U.S., but you may not be aware how easy it is to access and work with these data. ArcGIS Online gives you all kinds of options for making maps, mobile apps, dashboards, and Story Maps. One of my favorite tricks is to take advantage of the temporal (“relating to time”) nature of these data and turn it into a time-enabled map:

I’ve put together a detailed handout that walks you through the process of downloading free data from The New York Times, filtering it for your state, uploading it to ArcGIS Online, and creating a Time-Aware app, like the one above, that you can share with your class or the entire world!

You’ll find the tutorial right here. If you have any questions or problems, please contact me at mdw05@uark.edu . I hope you find it useful!

]]>
Date field (attribute) reformatting within Excel – a common Data Clean-up task /date-field-attribute-reformatting-within-excel-data-clean-up-task/ Tue, 30 Jun 2020 12:45:00 +0000 /?p=186 ArcGIS Online managers can bulk export their Organizations Named Users into a comma separated file (.csv) using the new Reporting Tool ( ESRI officially released it June 30, 2020)

The issue is the exported (text) format of their Last login Date attribute field within the exported user table. Importing the .csv into another Google Sheet or Office365 Excel file disables the sort by Date option that can help determine which accounts maybe dormant within the ArcGIS Online organization. Date field formatting issues are a common within Time-Enabled Data Analysis too, so I’ve provided one possible solution it this common issue. I’ll demonstrate using a ‘go to’ product for non-programmers, Microsoft Excel software has many powerful features. Although, it’s not a true database it has a lot of useful data formatting capabilities and is often used in small businesses around the world.

Goal: Use Office365 (Excel) to convert the text field (column) into a correctly formatted Date column within the Excel worksheet.

  • This tutorial walks you through Excel’s Import Text to Columns tool (within the Data Tab) to import the text formatted Date column values into three (new/empty) columns within the same Excel worksheet. 
  • Then, I demonstrate using a DATE function to convert those three columns (Month, Day, Year (txt)) into a proper Date format using the DATE function within an Excel formula.
  • In this example, I’ve already exported the ArcGIS Online Users Report into a .csv from within an AGOL Organization I administer. I then imported it into Excel (Office365) and used File> Save As to create a new copy of the data in a proper, Excel Worksheet file (.xlsx)

Below, you can see the originally formatted (Last Login Date) column within the imported Excel file. btw- It works perfectly well within ArcGIS Online, but once its exported, the sorting by Date/Time is often lost, and this DATE formatting issue is a very common data problem for scientists/data developers everyday so I thought I’d share this solution with my EAST peers.

The DATE column is formatted as text so once it’s transferred into another software via .csv, it’ll be imported as TEXT and not a true DATE format.
  • Once Imported into Excel and saved as an .xlsx format, Insert three empty columns between the Last Login Date and the Date Created columns.
Right-click on a column heading (N) and choose Insert from the context menu within Excel.
  • Switch to the Data Tab within the Excel menu and look for the Text to Columns wizard.
  • Next, Left-click to select the Last Login Date column within the Excel worksheet
Left-clicking on the column header (J) will select it.
  • Then, the Text to Columns Wizards (3-steps) opens; choose the Fixed Width option within the first step.
  • Move to the (3 of 3) Step within the Wizard, and then Select each COLUMN within the “Preview of selected data:” and ignore the unwanted  Weekday, TIMESTAMP and UTC  columns within the preview; those are not needed so they’re not imported.  Import ONLY the Month, Day(number), and Year as TEXT format.
  • Make sure to DEFINE the Destination of these parsed values by “click-n-dragging to select those 3 empty columns you created earlier”.   (review the image below to see what I mean)
  • Make sure to select the TOP ROW of the worksheet too, so that the partial header/ text gets written into that row!  you can rename those column headings, anyway.
  • You can rename the column headings for those three new/imported columns and it should look something like this after you’ve clicked Finish on the Import Text to Columns wizard.
The Last Login Date is parsed and imported into three new columns now.
  • Next Step use the FIND/REPLACE tool to update all of the 3 character MONTH abbreviations (LastLoginMonth) into the number for each month.  There is likely a better way to do this(! via python), but I’ll use the Excel Find & Select tool to accomplish that column value conversion.  It is on the Home tab of Excel 365 under the Find & Select tool.
  • Now, we can use these three columns to calculate an actual Date value for the Last Login by using the DATE function within Excel.   Review your ribbon view within Excel to the Formula tab, then SELECT the first row within a new column you insert after these three newly imported text values. (like below)

** Format the NEW excel worksheet column into the DATE format, prior to performing the next calculation using the DATE formula.    (yes, I misspelled formatted too, sorry about that typographical error.)

– the Author
  • From the Date & Time button on the Data Ribbon within Excel365, choose the first Function DATE so that it’s dialog opens.   Fill in the Function Arguments  by clicking within the argument setting within the dialog box and then selecting the corresponding column within the SAME ROW as your formula your creating for your new DATE value…
  • The resulting column properly formatted (and correctly spelled) with the Date each user Last Logged Into our ArcGIS Online organization.
  • Whew! That export format (and this DATE conversion methodology) will most likely need to be updated.
  • I hope this Excel tutorial on Date field reformatting may help you overcome this common data processing obstacle. 
  • I’ll be patiently waiting for you to provide a simple python script or new to me export/import option that illuminates this multi-step process.

Take care; be well and share what you know with others.

– Brian Culpepper

]]>
Latitude, Longitude labels with an Arcade expression (ArcGIS Online tips) /latitude-longitude-labels-with-an-arcade-expression-arcgis-online-tips/ Fri, 10 Apr 2020 12:56:00 +0000 /?p=164 Arcade is a new expression language that ESRI has created for use within the ArcGIS platform. It’s a portable, lightweight, and secure expression language written specifically for the ArcGIS platform. Like other expression languages, it can perform mathematical calculations, manipulate text, and evaluate logical statements. It also supports multi-statement expressions, variables, and flow control statements. Arcade was designed specifically for creating custom visualizations and labeling expressions. You can also use Arcade to customize labeling within ArcGIS Pro or ArcGIS online web maps. We’ll post more information related to how flexible Arcade is later but for now, if you need more info, look here.

I discovered this Arcade function within ESRI’s online forum back in May of 2019 and it’s helpful for converting the X, Y coordinates from the Web Mercator Projections that many of today’s world wide mapping services use (ie ArcGIS Online basemaps, Google Maps, Bing, Mapquest, etc).

Most of us are comfortable with geographic coordinates or commonly referred to as the Latitude and Longitude coordinate systems. They are also often displayed in a decimal degrees format such as: 35.2345566, -94.234456 It’s for this very reason that I needed an Arcade expression within my ArcMap web map. I simply wanted to display a pop-up or a map label with Geographic Coordinates because other map users are already familiar with it.

Open ArcGIS Online to get started.

  • Open a ArcGIS Online map with a point feature service you own or can edit.
  • Download the Arcade_ArcGIS_webMercator2LatLongLabel.txt file and then open it within Notepad or Notepad++ (for formatting purposes).
  • Within your AGOL Map Viewer, left-click the More Options (circled below in blue) to open the map layer context menu; then select Configure Pop-Up.
Map of Survey123 results from my Trash Tag public survey.
  • After selecting Configure Pop-up from the context menu, scroll down within the Configure Pop-up side panel until you see the ADD attribute expression dialog. Left-click the ADD button (blue circled).
  • Once the Arcade Expression dialog opens, you’ll want to Edit the name of this script (LatLongLabel) in the upper-left corner
  • Next, you will copy/paste the entire contents of the Arcade expression (.txt file) provided within this tutorial.
  • It should already be open within Notepad or Notepad++, so hopefully the copy/paste will be easy.
  • Paste the Arcade Expression into the Code Block section (left side/shaded blue in the screen shot below) and click the blue TEST button to confirm that there are no errors. A cleanly formatted lat/long coordinate pair is what you want to see.
  • After Testing your Arcade expression, and if it’s OK, then click OK in the lower right corner to close the Arcade dialog.
  • You should see your NEW custom arcade expression within the Attribute Expressions list of your Configure Pop-up dialog.
  • Now, You will put this new LatLongLabel expression to use within your map pop-up. And, as you can see below, it’s formatted as Latitude, Longitude within the Pop-Up of this Trash Tag Web Map.

And there you have it, that’s how the Arcade scripting language can help you customize maps with labels and pop-ups that contain geographic coordinates.

Those coordinate pairs can be used to pass a URL string to other web services too, such as Survey123 for ArcGIS or even outside of the ArcGIS platform to Google Map Driving Directions services. If needed…

Take care; let me know if you have questions. I tried to keep this short as possible, so let me know if I can help.

]]>