Data Formatting and Coding Troubleshooting

304
2
01-09-2025 09:01 AM
Labels (3)
JohnnyFreudenrich
Emerging Contributor

Good afternoon. I am a returning user after some time away. I used ArcGIS Pro for 3 1/2 years in college, and have now purchased the subscription for myself.

Context:

I am pulling weather data using an API key, to eventually automate the data pull, conversion, and creation of ArcGIS Maps in one, seamless, automated process. However I am stuck on a current component of the process. The data I have been pulling has been within a json formatting. I have tried feeding json & geojson formatted files to Arc, and it will not accept them. However it is accepting Shape files. So I have been feeding that data that I have been collecting into ChatGPT to help me create python coding to convert the data. Merely to see if the data could work, I am now entering the stages of semi  automation. The problem is, there is now over 2700 lines of code of data, and ChatGPT cannot take that much raw data to recreate into code, so I now have to troubleshoot and find a way to solve this. 

 

My question:

  1. Is there other data formats besides json and shape files that ArcGIS can accept and display geographic data with values in the future form of polygons.
  2. Does anyone have any coding tips or recommendations on where to look or how to create the code needed to pull the data and convert it into a shapefile in one fell swoop?

 

Explanation: The final product of this is, pulling weather API data every 15 minutes of the day, the script pulls the data, converts the data, then delivers the data to ArcGIS, and Arc complies the 15 minute intervals into a visual map with a moving forecast for people to view and consume. Other websites of weather stations and satellites will be incorporated later for larger data downloads / displays. However for now, this specific goal is what I am aiming for.

 

Many thanks for reading this far, any help or advice is appreciated. I thank you for your time and consideration

0 Kudos
2 Replies
AlfredBaldenweck
MVP Regular Contributor

Try JSON to Features, for one thing. You already have the JSONs, so you may as well keep using them instead of looking for another format. 

It would be nice if Pro natively accepted GeoJSON. I'm not sure there's an Idea there for it, but there should be.

If you ask in the Python Community or the ArcGIS API for Python board, they ought to be able to help you puzzle it out better than ChatGPT if you give them something to work with. 

0 Kudos
AlfredBaldenweck
MVP Regular Contributor

Also, I posted an Idea to add native geoJSON support since I couldn't find one. Give it an upvote: https://community.esri.com/t5/arcgis-pro-ideas/native-support-read-write-of-geojson-without/idi-p/15...

0 Kudos