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?
2) Will these still be supported in the next version of Exhibit?
3) Can points, lines, and polygons be included on the same map, in the
same MapView? 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.
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.
- John
--
**************************************************
John Callahan
Geospatial Application Developer
Delaware Geological Survey, University of Delaware
227 Academy St, Newark DE 19716-7501
Tel: (302) 831-3584
Email: john.c...@udel.edu
http://www.dgs.udel.edu
**************************************************
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
Examples, test code, wiki pages--that'd be great!
By the way, Stefano and I are thinking of setting up a media wiki on
simile-widgets.org because we both don't like the Google Code wiki. It'd
also be easier to move old wiki materials from simile.mit.edu/wiki/
over. And anyone can sign up for an account on that new wiki without
having to be added as a code contributor on the Google Code project. Any
opinion on that?
> 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.)
That feature is one that some of us have been wanting forever... It's a
bit tricky how to implement, though. What you probably want is to dim
out map markers outside the selected rectangle, but not to hide them
completely. There's also a conflict with how Exhibit has been
conceptually designed so far: there are facets (filters: list facet,
range facet, text search facet, etc.) and there are views (tile,
thumbnail, timeline, map, scatterplot, etc.). Facets do the filtering
while views do the presenting. The user interface might get conceptually
confusing if views also filter.
> 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.
Is this different from the presidents example in which their photos are
rendered in their map markers?
David
> There are so many ways to store geospatial, many of which are resource
> and storage hogs. Imagine having 100 items, each with a URL-style
> field pointing to WMS services and Image and KML overlays to be
> displayed on the same map. Performance would definitely be
> sacrificed. Technically, this doesn't seem to be very hard as Google
> Maps supports these natively. Even if you integrated OpenLayers (or
> similar FOSS Geo map clients), these types of overlays can be easily
> done. Performance and variety of standards jump out at me as the
> biggest obstacles.
>
> On a separate note, what about having a map extension that is similar
> to Timeplot? For example, you can bring in one CSV file or
> spreadsheet that contains dozens or hundreds of data points w.
> location. It could be a 2D array for different types of markers (like
> separate lines on Timeplot) or maybe separate maps (like different
> bands in Timeline.)
That would be a good way to go. You will also probably want Babel to be
able to convert KML files from another domain into Exhibit JSONP. Note
that Timeplot can only load files (except for JSONP) from the same web
domain.
By the way, one of the type of geospatial data that I think will be very
useful is state and county boundaries, starting with those of the U.S.
For example,
http://elections.nytimes.com/2008/results/president/map.html
(switch to "County leaders") is quite an interesting visualization, and
the NY Times has produced a lot of U.S. maps broken down into counties.
If you click on a state on that map, it zooms in and you can then select
each county. I think that kind of map should become a reusable widget,
for anyone to plot any sort of per county data. Do you know where to
obtain the boundaries for the counties and states?
David
It really depends on what you want from the site. You could go with a
standard wiki, like MediaWiki (http://www.mediawiki.org/wiki/MediaWiki)
or some others. They're relatively easy to setup and users are familar
with their functionality. However, from what I can tell of all the
things you might want to do in the near future, a Content Management
System seems to be the way to go.
Personally, I do a lot of my work in Drupal (http://drupal.org/). You
can set it up with wiki functionality, or with blogs/comments, forums,
RSS feeds, tagging, email notification, etc.., just about any way you
like. You can use it for project management (Exhibit, Timeline) with
issue tracking, releases, etc... If you don't mind installing the
server software (apache, php, mysql) and working in a module-based
system (there's a Drupal module that can do anything!), I believe it
offers the most flexibility, in both function and design, as compared to
the other major players in this arena (FOSS CMS) like Joomla, Wordpress,
and Plone.
We can talk offline if you want to know more about Drupal.
- John
David
************************************************** John Callahan Geospatial Application Developer Delaware Geological Survey, University of Delaware 227 Academy St, Newark DE 19716-7501 Tel: (302) 831-3584 Email: john.c...@udel.edu http://www.dgs.udel.edu **************************************************