FME and ArcGIS Online Open Data - Give it a REST Already!
-
Upload
safe-software -
Category
Software
-
view
28 -
download
1
Transcript of FME and ArcGIS Online Open Data - Give it a REST Already!
![Page 1: FME and ArcGIS Online Open Data - Give it a REST Already!](https://reader031.fdocuments.net/reader031/viewer/2022022001/5aad99237f8b9a5b408b460f/html5/thumbnails/1.jpg)
FME and ArcGIS OnlineGive it a REST Already!
Scott McQuarrie
![Page 2: FME and ArcGIS Online Open Data - Give it a REST Already!](https://reader031.fdocuments.net/reader031/viewer/2022022001/5aad99237f8b9a5b408b460f/html5/thumbnails/2.jpg)
FLIGHT PLAN
● Disclaimer
● The Problem
● The Solution
● Q&(Maybe)A
![Page 3: FME and ArcGIS Online Open Data - Give it a REST Already!](https://reader031.fdocuments.net/reader031/viewer/2022022001/5aad99237f8b9a5b408b460f/html5/thumbnails/3.jpg)
DISCLAIMER
When it comes to FME…I, Scott McQuarrie, am not a guru, expert, especially
skilled individual or any other term that describes anything more than a barely
adequately equipped individual. The information portrayed in this presentation is
pretty much what I learned while cobbling together a solution that works and,
except by pure chance or coincidence, follows no best practices or most efficient
means. I cannot condone its use by any other organization and can barely
condone it’s use by my own.
Consider yourselves warned!
![Page 4: FME and ArcGIS Online Open Data - Give it a REST Already!](https://reader031.fdocuments.net/reader031/viewer/2022022001/5aad99237f8b9a5b408b460f/html5/thumbnails/4.jpg)
DISCLAIMER…cont’d
When it comes to the ArcGIS Online REST API…I, Scott McQuarrie, am not a
guru, expert, especially skilled individual or any other term that describes anything
more than a barely adequately equipped individual. The information portrayed in
this presentation is pretty much what I learned while cobbling together a solution
that works and, except by pure chance or coincidence, follows no best practices
or most efficient means. I cannot condone its use by any other organization and
can barely condone it’s use by my own.
Consider yourselves warned…again!
![Page 5: FME and ArcGIS Online Open Data - Give it a REST Already!](https://reader031.fdocuments.net/reader031/viewer/2022022001/5aad99237f8b9a5b408b460f/html5/thumbnails/5.jpg)
THE PROBLEM(S)
![Page 6: FME and ArcGIS Online Open Data - Give it a REST Already!](https://reader031.fdocuments.net/reader031/viewer/2022022001/5aad99237f8b9a5b408b460f/html5/thumbnails/6.jpg)
1
Update
Feature Services
GIS Data
Update Stand-Alone
Items
Zipped CAD Files
New Open Data Site
ArcGIS Online
2
Load Large Number
of Items
Zipped Aerial Photos
3
![Page 7: FME and ArcGIS Online Open Data - Give it a REST Already!](https://reader031.fdocuments.net/reader031/viewer/2022022001/5aad99237f8b9a5b408b460f/html5/thumbnails/7.jpg)
THE SOLUTION(S)
![Page 8: FME and ArcGIS Online Open Data - Give it a REST Already!](https://reader031.fdocuments.net/reader031/viewer/2022022001/5aad99237f8b9a5b408b460f/html5/thumbnails/8.jpg)
1 – Update Feature Services
• Use the ESRI ArcGIS Online (AGOL) Feature Service
Writer! Simple and Easy
• Publish to FME Server
![Page 9: FME and ArcGIS Online Open Data - Give it a REST Already!](https://reader031.fdocuments.net/reader031/viewer/2022022001/5aad99237f8b9a5b408b460f/html5/thumbnails/9.jpg)
![Page 10: FME and ArcGIS Online Open Data - Give it a REST Already!](https://reader031.fdocuments.net/reader031/viewer/2022022001/5aad99237f8b9a5b408b460f/html5/thumbnails/10.jpg)
LESSONS LEARNED:
- Create feature service in
AGOL first!
- Fast enough to just truncate
and load every time
![Page 11: FME and ArcGIS Online Open Data - Give it a REST Already!](https://reader031.fdocuments.net/reader031/viewer/2022022001/5aad99237f8b9a5b408b460f/html5/thumbnails/11.jpg)
2 – Update Stand-Alone Items
• Use the httpCaller
• Publish to FME Server
![Page 12: FME and ArcGIS Online Open Data - Give it a REST Already!](https://reader031.fdocuments.net/reader031/viewer/2022022001/5aad99237f8b9a5b408b460f/html5/thumbnails/12.jpg)
![Page 13: FME and ArcGIS Online Open Data - Give it a REST Already!](https://reader031.fdocuments.net/reader031/viewer/2022022001/5aad99237f8b9a5b408b460f/html5/thumbnails/13.jpg)
Your 3 Best Friends
![Page 14: FME and ArcGIS Online Open Data - Give it a REST Already!](https://reader031.fdocuments.net/reader031/viewer/2022022001/5aad99237f8b9a5b408b460f/html5/thumbnails/14.jpg)
![Page 15: FME and ArcGIS Online Open Data - Give it a REST Already!](https://reader031.fdocuments.net/reader031/viewer/2022022001/5aad99237f8b9a5b408b460f/html5/thumbnails/15.jpg)
LESSONS LEARNED:
- HTTP Method
- Query String Parameters:
need f & Token
- Headers: let me know
![Page 16: FME and ArcGIS Online Open Data - Give it a REST Already!](https://reader031.fdocuments.net/reader031/viewer/2022022001/5aad99237f8b9a5b408b460f/html5/thumbnails/16.jpg)
3 – Load Large Number of Items
• Use the httpCaller
• Keep track of returned unique URL’s for later use
• Loaded ~4200 zipped tiff images (180 Gb)
![Page 17: FME and ArcGIS Online Open Data - Give it a REST Already!](https://reader031.fdocuments.net/reader031/viewer/2022022001/5aad99237f8b9a5b408b460f/html5/thumbnails/17.jpg)
![Page 18: FME and ArcGIS Online Open Data - Give it a REST Already!](https://reader031.fdocuments.net/reader031/viewer/2022022001/5aad99237f8b9a5b408b460f/html5/thumbnails/18.jpg)
![Page 19: FME and ArcGIS Online Open Data - Give it a REST Already!](https://reader031.fdocuments.net/reader031/viewer/2022022001/5aad99237f8b9a5b408b460f/html5/thumbnails/19.jpg)
LESSONS LEARNED:
- Multipart / Form Data req’d
- Query String Parameters: f,
token, type (Image, etc.), title
req’d
- QSP: optionally add
description, tags, licenseinfo,
access
![Page 20: FME and ArcGIS Online Open Data - Give it a REST Already!](https://reader031.fdocuments.net/reader031/viewer/2022022001/5aad99237f8b9a5b408b460f/html5/thumbnails/20.jpg)
REST Easy…1. If I can do it…so can you!
2. OR…Be patient…FME will likely
come out with writers to make this
easier
3. This can be applied to other REST
API’s
![Page 21: FME and ArcGIS Online Open Data - Give it a REST Already!](https://reader031.fdocuments.net/reader031/viewer/2022022001/5aad99237f8b9a5b408b460f/html5/thumbnails/21.jpg)
SHARE IT
CREATE IT
SOMEONE WILL
MAKE IT BETTER
SHARE IT