koop icon indicating copy to clipboard operation
koop copied to clipboard

Koop Adapter: GeoRSS provider

Open ajturner opened this issue 10 years ago • 12 comments

It would be useful to have a Koop adapter for GeoRSS feeds.

For example: http://maps.cmpd.org/datafeeds/accidentsgeorss.ashx

ajturner avatar Dec 14 '14 19:12 ajturner

@ajturner this is superseded by a newer issue with more detail/discussion, close?

slibby avatar Jun 10 '15 13:06 slibby

@slibby Yeah it was brought up yesterday - https://github.com/Esri/koop/issues/185

@ajturner replied in an email that it might make more sense to create a custom layer in the JSAPI that could render GeoRSS (if the motivation is purely just to render a georss layer on a map)

chelm avatar Jun 10 '15 13:06 chelm

FYI... @ajturner you can add GeoRSS to a web map now, and I believe change the render.

astauffer avatar Jun 10 '15 14:06 astauffer

@astauffer and it's all client side?

I saw that upcoming WFS layer is client side - very similar XML, so hopefully that's the case.

ajturner avatar Jun 11 '15 12:06 ajturner

@ajturner http://doc.arcgis.com/en/arcgis-online/reference/georss.htm

astauffer avatar Jun 11 '15 12:06 astauffer

Thanks @astauffer that confirms what I was saying. The current GeoRSS implementation requires reflecting to a Server-side query to convert the XML into a feature collection. I think this was the instigation for @mhogeweg question

If you watch the network log of the example

http://utility.arcgis.com/sharing/rss?url=http%3A%2F%2Fmaps.cmpd.org%2Fdatafeeds%2Faccidentsgeorss.ashx%2F&outSR=%7B%22wkid%22%3A102100%2C%22latestWkid%22%3A3857%7D&callback=dojo.io.script.jsonp_dojoIoScript1._jsonpCallback

arcgis_-_georss_layer

/cc @jbartley

ajturner avatar Jun 11 '15 12:06 ajturner

If the georss needs to hit utlity as a proxy, wouldn't a georss provider for koop essentially do the exact same thing?

astauffer avatar Jun 11 '15 13:06 astauffer

Indeed - we are mixing streams of conversation and that's confusing.

This particular issue was a suggestion 6-months ago that was referenced from a request by Marten.

If it's in Koop then we can do all our standard format export, geohash, etc server side in Open data.

ajturner avatar Jun 11 '15 13:06 ajturner

Server-side processing is ok. Just not the dependency on ArcGIS online. When using portal for ArcGIS there is no reason to not have the utility service also be part of portal for ArcGIS

mhogeweg avatar Jun 11 '15 13:06 mhogeweg

The GeoRSS reflector service works with online and portal for arcgis. Portal comes installed with the reflector service.

jbartley avatar Jun 11 '15 16:06 jbartley

@jbartley we run into situations at customer sites who want to display GeoRSS in a JS API application, but cannot use the online utility service that's in play. Portal for ArcGIS is not necessarily part of the solution, and the RSS feeds are not necessarily public. This is where a possible koop-based solution could help, unless there are ways to configure the JS API with a local utility service outside of the Portal context.

mhogeweg avatar Jun 11 '15 22:06 mhogeweg

small update. I've created a simple JS API layer for GeoRSS that displays (points only currently) items as clusters of points. it is based on a pre-existing cluster layer sample and handles both RSS and ATOM with GeoRSS elements.

mhogeweg avatar Jun 30 '15 14:06 mhogeweg