koopjs / koop

Transform, query, and download geospatial data on the web.
http://koopjs.github.io
Other
651 stars 125 forks source link

Koop Adapter: GeoRSS provider #106

Open ajturner opened 9 years ago

ajturner commented 9 years ago

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

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

slibby commented 9 years ago

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

chelm commented 9 years ago

@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)

astauffer commented 9 years ago

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

ajturner commented 9 years ago

@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.

astauffer commented 9 years ago

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

ajturner commented 9 years ago

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

astauffer commented 9 years ago

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

ajturner commented 9 years ago

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.

mhogeweg commented 9 years ago

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

jbartley commented 9 years ago

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

mhogeweg commented 9 years ago

@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 commented 9 years ago

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.