Proposal: Multiple Locations<description> We went to visit downtown Cedarburg before the conference. Had some great sandwiches at Joe's. If you haven't been to Cedarburg, Wisconsin, then you haven't really experienced the MidWest... </description> <georss:collection> <georss:point excerpt="Went to visit downtown Cedarburg..." featurename="Downtown Cedarburg, Wis."> 43.296700 -87.987500 </georss:point> <georss:polygon rel="geometry" src="http://geonames.org/geometries/5867680" excerpt="..." featurename="Cedarburg, Wisconsin" type="application/vnd.google-earth.kml+xml"/> <georss:line featurename="Convention Center"> 43.296700 -87.987500 43.3 -88 -44, -89 </georss:point> </georss:collection> The first part to notice is that we wrapped the multiple geometries in a georss:collection. This allows current parsers to not be confused by encountering multiple georss elements unwrapped and being unclear if they are multiple representations of the same geometry, or different geometries. We also included a excerpt attribute that allows you to include some text referencing what this location is specifically about. This can be text from the article itself, or some other useful information. One concept we had considered was using some reference to the text wrapped in the article itself, but this seemed burdensome and prone to problems using an attribute of one element to embedded text in another element. The second element is a georss:polygon that includes a src reference to the geometry stored elsewhere. The rel tag specifies that it is the geometry of this element, and the type helps the tool know what the representation is of the stored geometry. This way a tool that is consuming the GeoRSS can go and fetch the geometry if it wants, or if it already has a cached version, say referenced elsewhere in this same feed, then it doesn't have to request it again. Of course, with a standards development, it is useful to consider how a user interface might provide for including multiple locations in an entry. Here is a mockup of how I imagine a simple interface would appear, and probably how we'd implement it in GeoPress: Article:We went to visit downtown Cedarburg before the conference. Had some great sandwiches at Joe's. If you haven't been to Cedarburg, Wisconsin, then you haven't really experienced the MidWest... Locations: |
SearchGeoRSS BlogGeoRSS Del.icio.us links
User login |