David, Yes, this is something I would definitely like. Having the ability to display points, lines, and polygons I think is a wonderful feature I would use quite often. And yes, I would be willing to come up with examples, test code, write some wiki pages, etc... My background is in GIS so I am actually more familar with geospatial data and display than javascript coding... but I'm learning!
Maybe we could also add the ability to filter by geography (lat and long bounding boxes) such as maybe having a area of interest that by default covers the entire area. You could adjust the size of the box to filter. (Just thinking that sounds very similar to having a date range filter in Timeline.) Adding the ability to display map markers as image icons would be nice as well (although I think I've seen some custom apps that have already done this.) I'll help wherever I can here with these. - John David Huynh wrote: > John Callahan wrote: > >> A few quick questions regarding the "geo" part of exhibit: >> >> >> 1) Are adding points, lines, and polygons be possible in Exhibit? >> Either in the stable or trunk versions? I see from >> (http://people.csail.mit.edu/dfhuynh/projects/election08/election08.html) >> that ex:polygon is possible. How about for lines? >> >> > John, > > I didn't get much enthusiasm from posting that example, so I didn't see > any benefit from continuing that line of development. Is it something > you really want? If so, then please help me test it and make more > examples for it. > > The polygon support is not in trunk/ or tags/ yet. But you can just copy > that example and see how it works. > > >> 2) Will these still be supported in the next version of Exhibit? >> >> > If there's enough interest and help... > > >> 3) Can points, lines, and polygons be included on the same map, in the same >> MapView? >> > Right now, no, but they should be. > > >> I have one feed with a "geocoords" field. This field may contain >> coordinates for points, lines, or polygons. It might be necessary to use >> another field to state which type of geometry that item is, then pass that >> to ex:latlng ,ex:polygon, or ex:line????? I may need to split that into >> different feeds for each geom type, not sure yet. >> >> > I'm thinking > > <div ex:role="view" ex:viewClass="Map" > ex:latlng="..." // for points > ex:polygon="..." > ex:polyline="..." > ></div> > > >> For the long run, I'd love to work on some other possibilities. For >> example, textual coordinates are cumbersome when dealing with 6 places past >> the decimal point for hundreds of records. It would be nice to support >> links to KML files, GeoRSS Simple feeds, WMS services, maybe CSV or text >> files with coordinates. These formats people can easily create >> using Geo-types of software and can upload to a server. Some of these >> return images to overlay, some return lists of coordinates. Thinking about >> it now, maybe it's an external application's job to parse out KML files or >> CSV/TXT files and pass coordinates into Exhibit. Something for the future. >> >> > That would be useful to a lot of other people. But because Exhibit can > be very useful to many different groups of people in different ways, > it's very hard for me to pursue any particular direction. So, if you > really want the geo aspect of Exhibit to grow more powerful, you'd have > to be the person spearheading that effort. > > David > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en -~----------~----~----~----~------~----~------~--~---
