Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I'm trying to consume a georss feed from a C# project. Can I have queries against a #georss feed? For example 'nearest item to Lon/Lat' or 'items contained in bounding box X' .?

Thanks

share|improve this question
add comment

2 Answers

up vote 3 down vote accepted

GeoRSS is purely a push service. It has no processing functions associated with it.

If you're using ArcObjects for instance, you could push the GeoRSS datq into a FeatureClass and then perform the operations you require through their tool box. Alternatively, there are third party API's that may be of use to you (Search this forum for open source tools).

Finally, without knowing what you're third party tools you may or may not be using, or where it is to fit in your work flow (i.e, is it a web service?, are you processing user queries from a GUI?, is it web/ASP.NET?), then my answer would be to write your own. If your using a mercator projection, then this is easy...others are a little more complicated, but you can Google the maths and even get an API that may suit your needs.

Not a great answer, but with a little more information this forum will produce the goods.

share|improve this answer
    
Thank you for your answer, OptimizePrime. I'm using this geoRSS feed in a WCF service. I'm not using any geo-library yet. I prefer to keep it simple and I think I will do some filtering in my own. –  Víctor Velarde May 3 '11 at 7:17
add comment

Think you need additional module like XQuery or JQuery

Here is a good example (MarkLogic API 4.2) using XQuery

http://api.xqueryhacker.com/#georss:circle

If using Google Maps to display then GeoXML is using JQuery to do spatial queries

http://code.google.com/p/geoxml/

share|improve this answer
    
I'm consuming the feed at the server side, so I think I'll go Linq to XML this time, but I'm gonna have a look at GeoXML, because I didn't know it. Thank you Mapperz. –  Víctor Velarde May 3 '11 at 7:24
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.