Tag: OpenEcoMaps

OpenEcoMaps, eco-living maps using OpenStreetMap data, is now working again. Hooray! I decided to sit down and work out why the OpenLayers interface wasn’t working and it turned out to be quite simple to fix. You can now browse around maps of low carbon energy generators in London, veggie restaurants in Edinburgh, allotments in Exeter, recycling facilities in Glasgow and more! The data is updated every hour, direct from OpenStreetMap, and is available on maps and downloadable/reusable KML and GeoJSON files. The code is also in Github, so you could set-up your own version for another country if you like. There are still some of the layers that aren’t working because the underlying data isn’t being extracted from OpenStreetMap properly. But I’m very glad that, after well over six months with it completely broken, the web site basically works again!

Read More OpenEcoMaps is back!

For almost a year now, my pet project OpenEcoMaps has been broken. The vagaries of unreliable XAPI servers meant the system couldn’t download OpenStreetMap data to create all the KML files, and (I think) some changes to OpenLayers meant the web maps also stopped working. It has taken me a long time to work up the energy to fix these. Today I can happily say one half of the system is now working again, and the underlying code is much improved. OpenEcoMaps KML files, and now GeoJSON files, are being created again. Hooray! I switched from XAPI to the Overpass API; grabbed JSON which enabled me to write a more powerful function to turn this into usable objects (for example building a complete Python object for an allotment merging data from relevant nodes, ways and relations); wrote a new library to create GeoJSON files; refactored everything else to fit with…

Read More OpenEcoMaps halfway back

Andy Allan’s excellent post on cycle campaigning reminded me to blog about some mapping help I’ve given a campaign group called the Elephant Amenity Network. One of their long-running issues has been the clearance and demolition of the unfairly maligned Heygate Estate, over 1000 council homes that should have been refurbished for council tenants instead of being knocked down for aspiring home owners to move into the area. One of the best features of the Heygate Estate is the urban forest that has grown there in the past thirty or forty years. But the few remaining residents and local campaigners fear the “regeneration” will see many or even most of them cut down. Through a friend who is involved with the campaign, I came along to help them map the trees that are there now. Knowing what you have seems like a good first step to saving it. So I…

Read More Maps, open data and activism on the Heygate estate

I’m happy to announce that OpenEcoMaps is now stable and ready for use, albeit with a few wrinkles that I hope some more able hackers can help me iron out.¬†OpenEcoMaps takes data about “eco” (green / sustainable) features stored in OpenStreetMap and turns them into KML files that are shown as overlays on the map, making it easy for people to find out where they can get a vegetarian meal, forage some wild fruit, spot a solar panel, recycle a can, pick up a car club car, or spend some money in a cinema. You can use these KML files on your own map, or in Google Earth; you can embed the OpenEcoMaps map in your own web site; or you can just browse around the site. At the moment there are packs of overlays for London and Exeter, but I can quite easily add other local areas with any…

Read More Announcing OpenEcoMaps to geeks

One of the killer features of OpenStreetMap, which makes it completely different to Google Maps and the rest, is that we provide totally free geodata. In fact it’s really the primary purpose of OpenStreetMap – the various maps shown on the homepage are just a tasty preview. For those of us lacking the time, money and skills enjoyed by some of the cooler data users (i.e. unable to run a dedicated server with a PostgreSQL database and all the programs and storage space needed to maintain an up-to-date clone of the OpenStreetMap database) there are two main ways to grab OpenStreetMap data. One is to simply download a defined area using the API. The “export” tab on the web site and editors like JOSM make this easy. The disadvantage is that you get everything in that area.¬†If you wanted to get, say, all the power generators in the UK you…

Read More Growing pains & getting data out of OpenStreetMap