Better Know a GeoCommons Feature - OpenSearch

January 5th, 2010by Kate Chapman

OpenSearch specifies rules for sending and receiving data from websites. GeoCommons supports OpenSearch for querying of both maps and overlays.  For non-programmers the most common use of OpenSearch is adding search providers to your browser. Google Chrome, Internet Explorer and Firefox all support OpenSearch.

Here is the dropdown of my search providers in Firefox. In order to add an Finder! As an OpenSearch provider you navigate to http://finder.geocommons.com and open the Search Engine dropdown. Select Add "GeoCommons Finder Data" to add overlay search support to Firefox.

Adding Finder! as Search Provider to Firefox

Now when you select Finder! as your active Search Engine in Firefox you can search overlays.  To add the ability to search Maker! maps go to http://maker.geocommons.com and perform the same steps. Now you can search Maker! as well.  To search overlays and maps at the same time you can go to http://www.geocommons.com and add GeoCommons as a search provider.

Searching Maker Maps

To add GeoCommons as a Search Provider in Google Chrome navigate your browser to both Finder! and Maker! respectively and it will be added.

Finder Open Search in Chrome

Chrome additionally allows you to create keywords to various search providers to edit the keyword go to your preferences in Chrome and click the "Manage" button.  Double click on the provider you want to edit and you can then edit the keyword.  I made my keyword for Finder "F!" so I can quickly search for datasets in Finder by typing "F!" and then my search terms.

Searching for Finder data from Google Chrome

Adding OpenSearch to Internet Explorer 8 is straight forward as well.  When you navigate to Maker or Finder click arrow in the IE search box and select "Add Search Providers" and select to add Finder Data or Maker Maps as a Search Provider.

Adding Finder! as Search Provider to Internet Explorer

Windows 7 supports OpenSearch from within Windows Explorer.  To add Finder download the Finder OpenSearch Specification File and rename the ".xml" file extension to ".osdx."  Next right click on the file and select "Create Search Connector."  To search Finder now open "Searches" and select Finder as your Search Connector.

Windows 7 Finder Open Search Result

OpenSearch is not only awesome for end users of applications though, it is also great for developers.  FortiusOne's own Map of the News is built using the GeoCommons OpenSearch API and JavaScript API.  For example in the Afghanistan Election Dashboard the menu where which map to display is chosen a tag is added for each group of maps.  "2009 Afghanistan Election Results" is all of the maps tagged "afghanresults" on the http://news.geocommons.com GeoIQ server.  The results are returned in json and then displayed in the menu.

Afghanistan Election Dashboard Menu

For more information on Geocommons Search API please see our documentation and our OpenSearch description document.  More information on OpenSearch is available at OpenSearch.org.

Popularity: 8% [?]

Better Know a GeoCommons Feature - SpatiaLite

December 15th, 2009by Kate Chapman

For Colbert fans the "Better Know a District" series is a familiar part of the Colbert Report. Today I'm kicking off my own series "Better Know a GeoCommons Feature." I'd like you to meet one of our lesser known export formats Spatialite. For those not familiar with SpatiaLite it is SQLite with spatial function goodness added. GeoCommons exports the geometries from your overlay into Well-known text. To download your Finder overlay as SpatiaLite you can go to a you overlay details page and click the Spatialite Download link or you the URI to access it from the API is http://finder.geocommons.com/overlays/#your_overlay_id#.sqlite. Once downloaded you have functions such as Overlaps(), Touches(), Union() and Buffer().

File Export

Is SpatiaLite a GeoCommons' feature you'd like to get to know better? Download SpatiaLite from here.
For those not familiar with the "Better Know a District" series here is my favorite episode with Eleanor Holmes Norton.

Popularity: 8% [?]

Add Your Foursquare Check-ins to Geocommons

September 21st, 2009by Kate Chapman

At the GeoCommons Office some of us are into Foursquare.  Foursquare is a location based game with social networking aspects.  Essentially when you go somewhere you “check-in” and you can get points for that.  Whoever has the most check-ins at a location becomes the “Mayor” of that location.  Here is the page for FortiusOne/GeoCommons, as you can see I’m currently the Mayor.

You can get your check-in feed as RSS, KML and ICS from the feeds page.

From the Finder! API you can register URLs.  Below is a sample curl command to register a KML feed of your Foursquare check-ins.

curl -i -X POST -u “yourusername:yourpassword” -d “overlay[wild_url]=http://feeds.foursquare.com/history/yourkmlfeed.kml” http://finder.geocommons.com/overlays.xml

Replace “yourusername:yourpassword” with your GeoCommons username and password and “http://feeds.foursquare.com/history/yourkmlfeed.kml” with your Foursquare KML feed.

By default your layer is not shared in Finder!, if you want to make a map though you have to share it.  In order to share it go to Finder and login.  Once logged in press “My Layers” and share your layer there.  If you ever decide you no longer want to share your check-in feed you can mark it “not shared” here as well.

My Finder Layers

Once your layer is uploaded and shared you can create a map.

My Foursquare Map
I embedded the map I made in my personal blog’s about page.  To embed your map click on the “Details” button while viewing the map and then click on “Do you want to embed this map in your website?”  Copy the code that appears and paste it into the HTML of your blog or other website.

Embed Map

If you enjoy playing Foursquare and want to share your feed try this out.  For more information on the Finder! API checkout it out here. Also if you ever happen to visit us in the GeoCommons’ office, check-in it is an order from the Mayor.

Popularity: 17% [?]

Links List 11.14.08

November 14th, 2008by Sean Gorman

The Google GEO APIs team developed a KML Interactive Sampler page. Now people, who want to learn KML, can learn by examples. The Sampler page uses the Google Earth Plugin to demonstrate various features while displaying KML code.

Next week, George Mason University and the University of Virginia are celebrating GIS Day(s). They invite the general public to their GIS festivities. GMU’s featured speakers include Carmel Menzel, ESRI and Justin Procopio, National Geographic Society. David Rumsey, an expert on historical maps, will speak at UVA’s GIS Day.

The Google Maps API terms of service is causing the Ordnance Survey grief. The OS was unhappy with local authorities signing up to the Google Maps API terms of service as it required a “broad” re-licensing of the data to Google and the users of Google maps based sites. According to the OS, Show Us a Better Way broke copyright regulations by embedding info on Google Maps that was “derived” from OS data. Yesterday, Google released an updated Terms of Service for both Google Maps and Earth. For OS’ sake, the new published terms should help solve this issue.

Google announced the Google Geo Challenge Grants. The challenge encourages organizations, especially non-profits, to use maps as mediums to communicate issues and implement plans. The grants range from US$5,000 and US$100,000. For more the challenge guidelines, visit the Geo Challenge page.

Yesterday was “Make Slashgeo Known to the Community Day!” We encourage our readers to also show their support for our fellow GeoFriend!

Popularity: 16% [?]