DigitalCommons / owned-by-oxford-project

Owned by Oxford
0 stars 0 forks source link

[OBO MykoMap] Publish July 2024 Release of Map #33

Open ColmDC opened 4 months ago

ColmDC commented 4 months ago

Record time against OBO MykoMap Clockify Project

ColmDC commented 4 months ago

@wu-lee - OBO currenlty uses 3.0.8

Going to @3.1.6, https://dev.maps.solidarityeconomy.coop/obo-public/ we still have the markers coloured, but as we have the Nature of Organisation vocab in the directory, its not clear if the colour key is still working in the Directory panel.

Will we loose the marker colours if we upgrade to 3.1.18, to get the #co-ops filtered. (This is not an important fetaure for OBO at the moment.)

ColmDC commented 4 months ago

@wu-lee can you see any reason why there are 9 orgs with very different addresses clustered around the Tap Social

Tap Social, Unit 27 Curtis Industrial Estate North Hinksey Lane Oxford OX2 0LX

which is not positioned correctly either.

wu-lee commented 4 months ago

Will we loose the marker colours if we upgrade to 3.1.18,

The newest MM version (with counts) is 3.1.7 I think?

However, I think marker colours depend on initiatives having a primaryActivity field. which they will still have. (This needs to be unhardwired, but I don't believe that has been yet)

A coloured directory depends on the directory being set to the primaryActivity field, which it currently isn't because they want natureOfOrganisation at the top of the filters. (See https://github.com/DigitalCommons/mykomap/issues/235)

Following the thread from that issue (via https://github.com/DigitalCommons/mykomap/issues/237) it seems that the issue for decoupling the choice of directory field from the choice of the first field is this: https://github.com/DigitalCommons/mykomap/issues/248 - and is still outstanding.

wu-lee commented 4 months ago

can you see any reason why there are 9 orgs with very different addresses clustered around the Tap Social

Looking at the contents of standard.csv, they all have the same geolocation, and they all have sketchy Geocoded Address fields, which I infer get mapped to a generic "Oxford" location.

Top Social's address is sketchy because it has "Tap Social" in it - organisation names confuse the geocoder. The others are all "Oxford, Great Britain, ". Looks like the postcode isn't being taken into account.

Identifier Name Latitude Longitude Geo Container Latitude Geo Container Longitude Geo Container Confidence Geocoded Address
KkO9rivAR55rm7 Mothers 4 Justice Ubuntu 51.746972 -1.228659 100 Oxford, Great Britain, OX1 1SS
N7r4MZoYLjDhtv Young Women's Music Project 51.746972 -1.228659 86 Oxford, Great Britain, OX2
NhZhv3IjvIsfwP Low Carbon West Oxford 51.746972 -1.228659 73 Oxford, Great Britain, OX2 0ET
St9YYJAsjO9iP4 Woodcraft Folk 51.746972 -1.228659 73 Oxford, Great Britain, OX4 1JA
fQLgIDodLAbr7L Red Learning Coop 51.746972 -1.228659 86 Oxford, Great Britain, OX1
mhPRVJqMXN1qv9 Oxford Community Action 51.746972 -1.228659 73 Oxford, Great Britain, OX4 3LN
oT1GG0G8wjSLhl Wellbeing Cooperative 51.746972 -1.228659 100 Oxford, Great Britain, OX4 3JR
vahghtpkk6Uzah Tandem Collective 51.746972 -1.228659 86 Oxford, Great Britain, OX4
xKT58EV0NLUsom Tap Social 51.746972 -1.228659 25 Tap Social, Unit 27 Curtis Industrial Estate;North Hinksey Lane, Oxford, Great Britain, OX2 0LX
ColmDC commented 4 months ago

Why would it ignore the postcode? Bizarre that they all ended up at that same address! And there is a co-op that is on that road. Navigate Cooperative.

ColmDC commented 4 months ago

The newest MM version (with counts) is 3.1.7 I think?

Yes. My typo. Sorry.

ColmDC commented 4 months ago

DigitalCommons/mykomap#248 - and is still outstanding.

So it is. Not sure why I thought it had been done.

wu-lee commented 4 months ago

Reordering the address fields so that the Geocoded Address has the postcode before the country improves things slightly - the list of ones mapped to the generic Oxford location is shorter:

Identifier Name Geo Container Latitude Geo Container Longitude Geocoded Address
N7r4MZoYLjDhtv Young Women's Music Project 51.746972 -1.228659 Oxford, OX2, Great Britain
fQLgIDodLAbr7L Red Learning Coop 51.746972 -1.228659 Oxford, OX1, Great Britain
vahghtpkk6Uzah Tandem Collective 51.746972 -1.228659 Oxford, OX4 , Great Britain
xKT58EV0NLUsom Tap Social 51.746972 -1.228659 Tap Social, Unit 27 Curtis Industrial Estate;North Hinksey Lane, Oxford, OX2 0LX, Great Britain

Tap Social isn't improved. Experimenting with the GeoAPIfy playground, the problem goes away if I tidy it, remove the organisation name, and "Oxford". Last point seems crucial as GeoAPIFy's result puts it in Vale of White Horse, not in Oxford. The result isn't very confident even then: 50%. There are two other candidates, which seem both to be for Curtis Industrial Estate (Amenity vs Suburb).

I've not actually pushed that change however, as I haven't checked what it does for the other locations - they might be worse. First option might just be to improve the addresses on these ones?

wu-lee commented 4 months ago

DigitalCommons/mykomap#248 - and is still outstanding.

So it is. Not sure why I thought it had been done.

I think it got closed - but not because it was done, it got superceded.

ColmDC commented 4 months ago

There are two other candidates, which seem both to be for Curtis Industrial Estate (Amenity vs Suburb).

It is in that estate. It's my local, would you believe it.

ColmDC commented 4 months ago

So

51.746972 -1.228659

is the heart of Oxford according to geoapifi!

ColmDC commented 4 months ago

DigitalCommons/mykomap#248 - and is still outstanding.

So it is. Not sure why I thought it had been done.

So let's drop that requirement. Let's see if the others are straight forward.

wu-lee commented 4 months ago
  • Check configurations in current live version to bring across (like logo)

I'm trying to establish what configurations these might be... can you point me somewhere? I don't see anything about a logo in any of the OBO issues, for instance.

wu-lee commented 4 months ago
  • Change load script so that if there is no postcode or street address provided, no address is created

Just checking that's definitely an "or" - not possibly an "and"?

ColmDC commented 4 months ago

I don't see anything about a logo in any of the OBO issues The map used to have an OBO logo in the top right hand corner, but it seems to have been lost in previous upgrade and no-one noticed. Might it be in a repository somehwere. If you can't find it easily I'd ask CAG about it. There are non translucent ones on their website. Can't see a translucent one.

ColmDC commented 4 months ago

I'm trying to establish what configurations these might be... can you point me somewhere? I

What I mean is, use the config settings like default open panels, zoom debt values etc, used in the current public one, unless it has been deliverately changed as a result of resent work.

ColmDC commented 4 months ago

Just checking that's definitely an "or" - not possibly an "and"?

Change load script so that if there is neither a postcode nor a street address provided, no address is created.

wu-lee commented 4 months ago

I don't see anything about a logo in any of the OBO issues The map used to have an OBO logo in the top right hand corner, but it seems to have been lost in previous upgrade and no-one noticed.

I can't find a logo in the OBO map repository at all, at any point. There aren't any other Owned by Oxford map repositories, so I think that means there hasn't ever been one?

Is the one you mean this one? (I don't recognise it, which also makes me think it's never been added.) It has transparency.

Obo Logo

There's also this one (no transparency):

ObO Logo

And this, which has transparency:

ObO Logo - transparent

As I don't expect you know what CAG prefer, going to use the first one until someone tells me otherwise.

wu-lee commented 4 months ago
ColmDC commented 4 months ago

Looking good. I think whenever a user sees something badly geocoded where there is not a very obvious fix to be made to the address, we recommend going straight for adding explicit lon/lat. This is what I'd recommend for the latest ones that want to appear in the US.

wu-lee commented 4 months ago

I've added addresses for Woodcraft Folk and Tap Social, and lat/lng for Tap Social and Damascus Rose.

The weird thing about these points is that all but one (Damascus Rose) geocode fine when I run the converter locally. On dev-1, it keeps putting them in the US, even if I clear the entries out of the geocoder cache... they just come back wrong.

Another weird thing is that Blackford Leys Community Larder has what looks like a correct lat/lng put into the spreadsheet, but it's not overriding the geocoding?

And now that I've cleared the cache and corrected some data, there are more pins in North America (were 5, now 7).

Another weird thing, is that some of those manual longitudes in airtable use 1.2 something instead of -1.2 something (which I think are mistakes). I've corrected those identical Blackbird Leys addresses which have identical by negative longitudes. Wary about correcting more of the entries just yet considering the last two points...

It's all super fiddly. Also - just heard from you you're also editing Airtable!

wu-lee commented 4 months ago

Ok, one video call later...

wu-lee commented 4 months ago

Note, the prod-1 server's data factory has been hot-fixed not to build the owned-by-oxford dataset until we get a sign-off from CAG that the map/data currently in development can go live.

We need to check with Oli S-B if deploying this data to the production Murmurations servers is ok, as the development data set is.

In the mean time, we don't want this holding up other datasets.

https://github.com/DigitalCommons/coopsuk/issues/22#issuecomment-2211499112