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.

GeoRSS can be used to show vector data (point, line, polygon, etc). Can it be used to show raster image, say GeoTIFF? Is it part of the specification?

Any idea? Thanks.

Cheers, Alex

share|improve this question
add comment

1 Answer

Well, it's not technically part of the specification, either of GeoRSS simple or GeoRSS GML. However the specification does supply a specification for a bounding box, for example (in GeoRSS simple):

<georss:box>42.943 -71.032 43.039 -69.856</georss:box>

You could pass the bounding box and then pass the tiff image in the body of the message. Might require some massaging at the receiving end, but it should work. One example (for Atom feeds) might be:

<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" 
  xmlns:georss="http://www.georss.org/georss">
  <title>Example title</title>
  <subtitle>Example subtitle</subtitle>
  <link rel="self" href="http://example.org/"/>
  <updated>2012-09-20T10:10:00Z</updated>
  <author>
    <name>om_henners</name>
  </author>
  <id>urn:uuid:c0d52100-02b7-11e2-8cc0-1078d2a24ff8</id>
  <entry>
    <id>http://universally.unique/URI</id>
    <title>Some image title</title>
    <updated>2012-09-20T10:10:00Z</updated>
    <content src="http://link.to/image.tif" type="image/tiff" />
    <summary>Some summary</summary>
    <georss:box>42.943 -71.032 43.039 -69.856</georss:box>
  </entry>
</feed>
share|improve this answer
    
Sorry om_henners. Your code didn't work. Is icon a valid tag for rss? Sorry, i am new to RSS. –  alextc Sep 20 '12 at 6:10
    
Sorry about that - I've fixed the XML and validated it (note the geoRSS element comes up as invalid, but it should work with an approriate reader). Also, the example is for an Atom feed rather than RSS itself, but almost all readers can understand both. –  om_henners Sep 20 '12 at 6:40
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.