DigitalCommons / mykomap

A web application for mapping initiatives in the Solidarity Economy
3 stars 0 forks source link

Document how mykomap interprets address and location fields #150

Open wu-lee opened 2 years ago

wu-lee commented 2 years ago

Colm mentioned:

Re the German co-op with the Belgian headquarters, the data sheet specifies the country 3 times

The first, the first of the Country columns, is straight after the org name, so makes sense to interpret as the home/territory, so what is used to define filters

The second, after all the Main- addresses are listed, so makes sense to interpret it as the contact/headquarter address.

Finally they include the Country code, in this case DE.

I think we need to write down as clearly as possible the different ways that sea-map uses addresses and countries, long/lats.

Then a couple of examples of how the currently supplied csv fields get mapped to these sea-map behaviours. Can you start a wiki page for that?

ColmMassey commented 2 years ago

First, let's specify the behaviour based on the Standard CSV columns.

sea-map needs to interpret the following:

1 - Where to place the pin for the organisation 2 - What country group they appear under in the Directory list 3 - What to use for Country in the Countries Filter 4 - What country to list in the Contact section of the Dialog.

At the moment, this is how the data is interpreted.

1 - If a Latitude Longitude are specified, this is where the pin is placed. If not, our software estimates a Long/Lat based on the address provided and populates Geo Container Latitude/Longitude and uses it. If neither are provided no pin is created and the dialog will appear at the map center defined in ??? 2 - The ? is what is used to specify country group in the Directory 3 - The ? is what is used to specify what country is used in the filters 4 - The ? is what is used to specify country in the Contact section of the Dialog.

ColmMassey commented 2 years ago

I think this may sit between you both @wu-lee and @King-Mob