Skip to content

Commit

Permalink
Merge pull request #12 from R-ArcGIS/update-overview
Browse files Browse the repository at this point in the history
Update overview to custom listing
  • Loading branch information
JosiahParry authored Feb 20, 2024
2 parents ab81800 + 13363c5 commit a9b2d8b
Show file tree
Hide file tree
Showing 11 changed files with 104 additions and 3 deletions.
42 changes: 42 additions & 0 deletions location-services/gallery.ejs
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@

```{=html}

<% for (const item of items) { %>
<h2><%- item.category %></h2>
<p><%- item.description %></p>
<div class="list default" style="column-gap: 10px;">
<% for (const tile of item.tiles) { %>
<div class="card border-2 rounded-3 g-col-12 g-col-sm-6 g-col-md-4 mb-2" <%= metadataAttrs(tile) %>>
<div class="card-header py-1 px-2 border-bottom border-1 bg-light">
<h3 class="card-text inline-block">
<a href="<%- tile.href %>" class="listing-title"><%= tile.title %></a>
</h3>
<!-- <% if (tile.code) { %>
<a href="<%- tile.code %>" title="View source code"
class="source-code card-text float-end inline-block">
<i class="bi-code-slash"></i>
</a>
<% } %> -->
<span class="text-muted listing-subtitle"><%= tile.subtitle %></span>
</div>
<a href="<%- tile.href %>">
<img src="<%- tile.thumbnail %>" alt="<%- tile.description %>" class="card-img-top"/>
</a>
<% if (tile.publicationdate) { %>
<b class="listing-publicationdate"><%= tile.publicationdate %></b>
<% } %>
</div>
<% } %>
</div>
<% } %>

```
57 changes: 57 additions & 0 deletions location-services/gallery.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@

- category: Workflows
description: |
Explore the core functions.
tiles:
- title: Read hosted data
subtitle: Bring geometries and attributes into R
href: https://r.esri.com/r-bridge-site/location-services/read-data.html
code: read-data.qmd
thumbnail: images/gallery-read.png
- title: Authorize with your Portal
subtitle: Log in using your ArcGIS Online or Enterprise credentials
href: https://r.esri.com/r-bridge-site/location-services/connecting-to-a-portal.html
code: connecting-to-a-portal.qmd
thumbnail: images/gallery-authorize.png
- title: Publishing from R
subtitle: Make data services accessible online
href: https://r.esri.com/r-bridge-site/location-services/publishing.html
code: publishing.qmd
thumbnail: images/gallery-publish.png
- title: Editing Features
subtitle: Add, delete, and update features in a data service
href: https://r.esri.com/r-bridge-site/location-services/workflows/add-delete-update.html
code: workflows/add-delete-update.qmd
thumbnail: images/gallery-edit.png
- title: Overwrite Hosted Feature Layer
subtitle: Replace the features populating a data service
href: https://r.esri.com/r-bridge-site/location-services/workflows/overwrite-feature-service.html
code: workflows/overwrite-feature-service.qmd
thumbnail: images/gallery-overwrite.png


- category: Tutorials
description: |
Follow along to learn about advanced uses.
tiles:
- title: Dashboard using {arcgis}
subtitle: Build a dashboard using ArcGIS hosted data
href: https://r.esri.com/r-bridge-site/location-services/tutorials/shiny-dash/
code: tutorials/dash/index.qmd
thumbnail: images/gallery-dash.png


- category: From the Community
description: |
See how others are using the package!
tiles:
- title: NDVI Mapping with {arcgis}
subtitle: by Milos Popovic
href: https://www.youtube.com/watch?v=GzyYLA_0xcc
code: https://github.com/milos-agathon/arcgis-in-r
thumbnail: images/gallery-ndvi.png
- title: Integration Examples using {arcgis}
subtitle: by Diego Gabriel Miguel Vázquez
href: https://www.linkedin.com/posts/diego-gabriel-miguel-v%C3%A1zquez-462a41201_greetings-again-dear-community-recently-activity-7158941012063584257-vR8x?utm_source=share&utm_medium=member_desktop
code: https://www.linkedin.com/posts/diego-gabriel-miguel-v%C3%A1zquez-462a41201_greetings-again-dear-community-recently-activity-7158941012063584257-vR8x?utm_source=share&utm_medium=member_desktop
thumbnail: images/gallery-integration.png
Binary file added location-services/images/gallery-authorize.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added location-services/images/gallery-dash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added location-services/images/gallery-edit.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added location-services/images/gallery-integration.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added location-services/images/gallery-ndvi.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added location-services/images/gallery-overwrite.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added location-services/images/gallery-publish.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added location-services/images/gallery-read.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 5 additions & 3 deletions location-services/overview.qmd
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
---
title: "Overview"
subtitle: "Interact with ArcGIS Location Services directly from R"
listing:
max-description-length: 500
listing:
- id: gallery
template: gallery.ejs
contents: gallery.yml
---

The **`arcgis`** package for location services meets developers where they are at. At it's core, **`arcgis`** is a collection of R packages designed to interact with [ArcGIS Location Services](https://developers.arcgis.com/documentation/mapping-apis-and-services/) all from the comfort of R and your text editor.
The **`arcgis`** package for location services meets developers where they are at. At its core, **`arcgis`** is a collection of R packages designed to interact with [ArcGIS Location Services](https://developers.arcgis.com/documentation/mapping-apis-and-services/) from the comfort of R and your development environment of choice.

ArcGIS Location Services are provided as REST API endpoints and **`arcgis`** makes interacting with the services using R native objects seamless.

Expand Down

0 comments on commit a9b2d8b

Please sign in to comment.