koopjs / koop-provider-agol

ArcGIS Online provider for Koop (public services only).
Other
12 stars 10 forks source link

Connection with Socrata and AGOL #115

Open ShaneHunter459 opened 4 years ago

ShaneHunter459 commented 4 years ago

How do I connect to a Socrata data set via AGOL using Koop? Can't I do this without downloading and installing Koop? Just looking to pass through Koop by using an end point to hit then the conversion spits out an AGOL web service.

rgwozdz commented 4 years ago

Hello @ShaneHunter459 . Sorry, I'm not sure I understand your question. Koop is not a hosted service - it is just opensource code. You have to download, install it on a server, and configure it for your data source. Then it's available for use in clients like AGOL.

ShaneHunter459 commented 4 years ago

Maybe I misread this discussion but I was under the impression that I could just pass the Socrata data to Koop and it spits out a ESRI service for me to consume. See the following: https://community.esri.com/message/657017-re-is-there-a-way-to-view-socrata-data-on-an-arcgis-online-map?commentID=657017#comment-657017

rgwozdz commented 4 years ago

I think you have misread. Esri just supports the development of the Koop code base as a freely available opensource project. Esri does not host any Koop services. You are welcome to download, install on a server and use. FYI, we are in the middle of upgrading the Socrata provider to work with Koop 3.x.

ShaneHunter459 commented 4 years ago

So Koop is still alive and a viable tool for my purpose?

rgwozdz commented 4 years ago

Absolutely, with the caveat that the existing Socrata data adapter/provider is out-of-date, but being updated as part of the Koop road map for 2020.

ShaneHunter459 commented 4 years ago

But right now it wouldn't work?

rgwozdz commented 4 years ago

No. There is an existing Socrata provider, but it will only work with Koop 2.x.

ShaneHunter459 commented 4 years ago

Can i still download V2?

rgwozdz commented 4 years ago

You can. You would have author your Koop project from scratch and npm install Koop 2.x. Honestly, I don't recommend this though. We've put a lot of work into 3.x that fix bugs and make it more fully compatible with ArcGIS clients.

What is your timeline? I have a rudimentary Socrata adapter for 3.x I could release; it may work if your datasets are not that large.

ShaneHunter459 commented 4 years ago

Right now I'm exploring just to see if this is even possible on my dataset. The dataset is not huge

rgwozdz commented 4 years ago

Ok, if you can give me a couple of days, I can try to get it out the door. I assume your data has geometry; if so, what type? i.e Point, Line, etc.

ShaneHunter459 commented 4 years ago

Ok sounds good. It is of type polygon

Thanks!

rgwozdz commented 4 years ago

@ShaneHunter459 - check out https://github.com/koopjs/koop-provider-socrata.