The attempt to build a website allowing proximity search of organisations that offer help, support, advice and/or are doing projects. The project started in July 2012 - Drupal core 7.15.
Eventually you will figure out that there are several ways of doing this:
- Gmap + Location
I decided to stay in the middle and more by accident I worked with Openlayers. Though, it seems to turn out that this is the way ahead.
I guess I followed Openlayer because I wanted to do this without google. It has not happened yet – Google is still in there, but then not all will happen instantly.
The plan was to write up a more detailed tutorial helping me in the process to keep track of all those changes and tweaks.
Quite a few day and countless hours into the project I need to change track. - Don't worry – the tutorial is still here – further down – not finished – work in progress.
Looking back I should have written this more like the diary of a quest. Well, not too late for this – but the interesting start of the journey will be “lost” in this summary.
The starting point was to design this non-commercial, free website for people to find organisations, initiatives, projects etc. in their area that offer advice, help, support and/or are doing projects to develop alternatives for our creaking economy. Without going into the details, there are very good reasons, why our economic and closely integrated political system will fail as debt is mounting. There is no solution as money is shovelled from one hole into another with the banks in the middle taking their cut out every time in fees plus making the holes bigger by adding interest. Eventually the holes will join up and everyone will see there is nothing left. This is not the fault of the “banks” or any particular group – we all are at fault. The “banks” just follow the system. So, the system is at fault and we are in charge.
What ever the trigger will be – a sun storm taking out the internet and www communication or …. - there will be change, always has been. No idea what comes then, no particular idea what should come. Would be nice if we could work it out. As a lot of people are working on how to improve the future more and more may feel they should have at least a look. So, the idea is to run a website where people can locate initiatives near by and work out their own ideas about what should/could come next.
I joined the local time bank and support the local “gratiferia”, there are projects in and around my child’s school and so on. Along the way are lots of people supporting new ideas and lots of people wondering how it will all end. Well, it might be better to look at it as: “What is starting now!”
The www, opensource and many other initiatives are showing the way and are encouraging. Some big organisations are easier in dealing with all this – but are still stuck in the old system – like Google. Of course they cannot run their servers and services for free. They use opensource for free and here and there give something back, is it a fair deal? No idea, hard to work out.
Anyway, my initial idea was to just use opensoure, opendata etc. projects for a number of reasons:
- to prove the point that there are initiatives and ways forward that do not depend on the “old” system
- not to require any money to do this – just my time and that of others who might like to join in
- to promote new systems from the start.
Sure, my skills are limited and I wanted to get going – it didn't look too difficult.
Down the line I made progress and conceded to using Google for decoding the Addressfield into the map attached to the (Content Type) node = page for each organisation (project, initiative, etc.) and for the proximity search - so easy and simple.
But then I hit the ceiling of Google's limitations during testing - Error geocoding – OVER_QUERY_LIMIT.
So, back to the starting point to develop this idea without such limitations.
It is also a reminder that I should work on this with others. And help, advice and pointers are welcome.
I used this project to get my Linux “box” going in earnest, to work with Drupal 7 and to look more into the world of geocoding ….
So, I might as well start to put this out to the world now on Drupal.
Here is the tutorial - most should work - do point out problems and forgive the limitations in the formatting as it is not easy to tranfer a well-formated document to Drupal.org:
The version details of the modules shown below are the once available at the time of writing this.
The links will get you to the proper Drupal module sometimes they may be referred to as “projects” for example in the URL. You may feel it is an inconsistency in Drupal but it is not really – because “project” is the term for all themes, modules and distributions. So the proper way to refer to a module should be project “Openlayers module”:
- OpenLayers 7.x-2.0-beta1+54-dev (2012-Jul-31), (OpenLayers UI, OpenLayers Views)
- OpenLayers Proximity 7.x-2.x-dev (2012-Jun-26)
- Address Field 7.x-1.0-beta3
- Geofield 7.x-1.1+4-dev (2012-Jun-19) with all dependencies. Note: from Geofield V. 1.1 only geoPHP module is necessary – the GeoPHP library and the Library module are no longer required – but can be used
- geoPHP 7.x-1.4
- GeoPHP library – check the various sources and information on Drupal how to get and to install this library – see note above under Geofield
- Libraries API 7.x-2.0 – see note above under Geofield
- Geocoder 7.x-1.1
- Views 7.x-3.3,
- Chaos tool suite (ctools) 7.x-1.0
I now moved the rest of the tutorial to the Documentation section -
Site Building Guide
- Building the site functionality
-- Geographical data and maps
---- OpenLayers 2.x Documentation for D7
----- Getting Started with OpenLayers in Drupal 7
------ under http://drupal.org/node/1714680