Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sync Airtable with ArcGIS #19

Open
markdav-is opened this issue Sep 12, 2020 · 12 comments
Open

sync Airtable with ArcGIS #19

markdav-is opened this issue Sep 12, 2020 · 12 comments
Assignees

Comments

@markdav-is
Copy link
Member

As part of the build process read the AirTable and create a static CSV file.
Host that file as a static resource here http://FireRefuge.com/data/Shelter.csv
Then @thomasfiorelli can point to that for the his layer data.

@markdav-is
Copy link
Member Author

@markdav-is
Copy link
Member Author

markdav-is commented Sep 14, 2020

I'm looking into airtable apps https://airtable.com/marketplace

@markdav-is
Copy link
Member Author

@thomasfiorelli when you are setting up the URL for CSV download can you set the interval. like every X hours?

@thomasfiorelli
Copy link

yes, that is correct. Once I add the the CSV to the ESRI server on my end, I have the ability to change the refresh interval directly from the Web Map. Once changed, that setting will carry forward to the Web App we see in the online link.

@markdav-is
Copy link
Member Author

@thomasfiorelli I'll have a service up and running today. please verify that you can consume this style of csv (attached)
response.zip

@thomasfiorelli
Copy link

The .csv imports properly and the coordinates are displaying on the map.

@markdav-is
Copy link
Member Author

markdav-is commented Sep 17, 2020

here's a valid service link you can try hosted on the Open Eugene CfA Azure: https://cachetable.azurewebsites.net/csv/FireRefuge/Shelters

I'll move this to MVP studio soon. Please test that link and let me know if it works.
I'm guessing refreshing every few hours would be a fine interval.

@thomasfiorelli
Copy link

While the data imports, I am warned of the following:
image

@markdav-is
Copy link
Member Author

might be the blank row.

@thomasfiorelli
Copy link

This warning may be trivial. Looking through the attribute table on the GIS web map, I can see there are 8 attributes, which appears to match the number of records in the .csv. All fields appear to be showing.

@markdav-is
Copy link
Member Author

this is great news! I'll show you how to configure other tables and views. Here's some quick drawings:
image
image
image

@thomasfiorelli
Copy link

Thank you for the run down! The Airtable API and the ability to customize and dispaly different views for different purposes from the same dataset are incredilbly useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants