GeoExt BaseLayerContainer and OverlayLayerContainer together
July 2, 2009 at 11:55 am | In Mapping, geo, gis | Leave a CommentTags: ext, ext js, geoext, javascript
If you want to use GeoExt widgets BaseLayerContainer and OverlayLayerContainer in the same tree, like this:
var layerRoot = new Ext.tree.TreeNode({
text: "All Layers",
expanded: true
});
layerRoot.appendChild(new GeoExt.tree.BaseLayerContainer({
text: "Base Layers",
map: map,
expanded: true
}));
layerRoot.appendChild(new GeoExt.tree.OverlayLayerContainer({
text: "Overlays",
map: map,
expanded: true
}));
var layerTree = new Ext.tree.TreePanel({
title: "Map Layers",
root: layerRoot,
enableDD: true,
collapsible: true,
height: 200,
expanded: true
});
GeoExt is now at 0.5RC1 and it is rather good!
Where 2.0 & Free our old maps!
July 1, 2009 at 12:50 pm | In Mapping, geo, geodata, openstreetmap | Leave a CommentTags: georefernce, map warper, mapwarper, osm, rectify, where2, where2.0
Well over a month ago I went over to the Bay area for Where2.0 and Wherecamp 2009.
Presented at the Ignite Where on the Thursday evening, after the workshops, about Map Warper.
Map Warper Ignite Slides on slideshare.
I’m near the end at 34:15 minutes in.
In fact, http://where.blip.tv is where to go for all the presentations.
Ignite format was fun, the lights were quite bright on stage so it appeared that I was scowling!
Scowling, and not from slagging off the Ordnance Survey too. Rather I think the OS deserves the love that it’s maps generate – it’s the people who use them that deserve the criticism.
I gave the example of an anti-pattern used in local governments in the UK:
- Councils have old map archives.
- Councils have Ordnance Survey mapping.
- Councils have statutory obligation to look at contaminated land, and the history of land for planning and development etc.
- Councils use OS mapping to georeference and rectify old maps using OS mapping. Often at great expense, sometimes outsourcing to other countries.
- Resulting rectified maps are derivative works from the OS, and cannot be shared, or given away for free because of this.
As a response to this, and knowing that all the councils probably had digital collections of (unrectified) out of copyright maps, I am proposing “Free our Old Maps” project.
Lets use crowd sourcing techiques to free these old maps get layers and layers of old historical maps for the UK.
–
The rest of the conference was good.
Michal Migurski had a nice slot entitled “Flea Market Mapping” where he showed off his own attempts at a map warper, but was mainly highlighting the love of old maps. He was unaware of and didn’t see Map Warper or my talk before at the very same conference! (But liked it when he did see it later)
Wearabale Haptics talk captured my imagination.
The horizonless map from Autodesk was v. cool too. Can’t find the relevant link though…
Ugotrade writes up a nice review: http://www.ugotrade.com/2009/06/02/location-becomes-oxygen-at-where-20-wherecamp/
OpenStreetMap was a given, no longer a new thing that people didnt know about, it was pretty much mentioned casually throughout. The Stamen fellas did a nice workshop with mapnik, cascadenik and OSM data, which was very well attended.
Also over from Leeds was my buddy Mohsin, fresh out of Leeds Met, and presenting at Wherefaire his Snapture project. Using Leodis images, location on a mobile app, we can view Leeds through time. V. cool project.
pre update update
June 23, 2009 at 3:52 pm | In geo | Leave a Comment
Just a quick note to say that I’ve been to and will be blogging about:
- O’Reilly’s Where2.0 in San Jose, USA
- Wherecamp 2009 in Palo Alto, USA
- Humanitarian & geo coworking, San Francisco, USA
- Maker Faire in San Mateo, USA
- Alertnet’s Mapping Workshop / Webinar, in London, UK
- Pateley Bridge OpenStreetMap Mapping Party, North Yorkshire, UK
- Unsheffield (Barcamp), in Sheffield, UK
- First UK Open Source GIS Conference in Nottingham, UK.
So that’s quite a lot of stuff for my brain to digest… expect to see a stream of posts starting shortly.
MapWarper at Where2.0, with Layers!
May 19, 2009 at 12:03 am | In geodata, gis, gps, neogeography | Leave a CommentTags: map warper, Mapping, mapwarper
Adding a primary key id to table in rails
May 9, 2009 at 7:00 pm | In gis | Leave a CommentTags: id, primary key, rails, rubyonrails
Just a quick little tip in case someone searches for it.
I have a table that was used for a has_and_belongs_to_many (habtm) relationship – which was great earlier on. As the application grew, needed to change to a has_many :through (hmt) relationship – using this table as a model etc. Now. initially, I used “:id => false” when creating the habtm join table (Mahmoud tells you why).
But one needs an primary key id on hmt join tables. So created a migration:
def self.up
add_column :table_name, :id, :primary_key
end
def self.down
remove_column :table_name, :id
end
And it added an id column to the table in the correct data type (integer) and gave id values to the existing records. sweet.
Also note that you don’t have to give the :id column a datatype, as to rails :primary_key is a datatype.
VGI and Openstreetmap presentation at AGI Northern Group
April 23, 2009 at 11:47 pm | In Mapping, geo, geodata, gis, neogeography, openstreetmap | 2 CommentsTags: agi, openstreetmap, osm, vgi
Here’s a (rather lengthy) presentation by me at the AGI Northern Group meeting this month on the subject of Volunteered Geographic Information and OpenStreetMap.
Private Maps Now Available in the Warper
April 17, 2009 at 4:30 pm | In Mapping, geo, gis, neogeography, openstreetmap | Leave a CommentTags: map, Mapping, maps, mapwarper, openstreetmap, rectify, warper
Added the ability to make your uploaded maps private in the Map Warper – only you will be able to see and edit these maps, they won’t show up on the lists.
You can also delete maps too.
Access to both these features are via the map’s edit tab.

Other bit of news is that I’ve disabled anonymous uploads, so sign up if you haven’t already.
Benefits Census Tiger
April 14, 2009 at 5:36 pm | In geo, openstreetmap | Leave a CommentTags: census, line, openstreetmap, osm, tiger
Sean writes: from http://www.usaservices.gov/events_news/documents/Transparency.pdf (page 10)
When OpenStreetMap came to the United States, the Census Bureau’s TIGER line street data were already available in the public domain. This provided a huge jump-start for OpenStreetMap and the team quickly began updating and correcting errors in the data. Now there is a resource with updated and more accurate TIGER data available for the public. This cost Census no additional resources and no additional budget. In addition, the data made available by OpenStreetMap has provided the foundation for several technology start-ups creating new jobs and innovation in the marketplace.
nice quote.
times atlas, osm and mapmaker
April 7, 2009 at 6:03 pm | In Mapping, geo, geodata, gis, gps, neogeography, openstreetmap | 1 CommentTags: google, osm, streetview, times, times atlas
News in brief style post… I really should do these as a podcast….
The Times Atlas, a wonderful coffee table sized book, has a section about OpenStreetMap. Nice!
![]()
Google MapMaker is releasing the data made by people using their Map Maker service, only for non-commercial and private use. Could be very useful for humanitarian work. Currently for Kenya. Mikel does a great comparison of OSM vs Map Maker.

Google StreetView has launched in the UK for a few areas….highlights include half the photo covered with chestnut leaves, and in Bradford, the car being pulled over by the police. Ed writes a funny post about publicity, spectacle and the press, after the story about a village chasing the G car out of their roads.
Blog at WordPress.com. | Theme: Pool by Borja Fernandez.
Entries and comments feeds.



