[Talk-GB] Documenting prow_ref formats (Was: MapthePaths & Lancashire)

2018-07-14 Thread Robert Whittaker (OSM lists)
On 13 July 2018 at 19:26, Andrew Black  wrote:
> I am pondering a similar but simpler question. I would like to add a table
> listing each authority at https://wiki.openstreetmap.org/wiki/Key:prow_ref
> describing the conventions used.

I've been working on something like this already as part of my PRoW
Progress/Comparison tool at
http://robert.mathmos.net/osm/prow/progress/ . The tool needs to know
the format that's used in each area in order to correctly parse the
prow_ref values use in OSM, and to generate Right of Way numbers to
display. The formats are stored in my database as a regular expression
for parsing and a sprinf format string for generating the output. I've
been displaying the formats on the county and parish pages for some
time, but I've now added a page showing the formats for each county
where one is defined:

http://robert.mathmos.net/osm/prow/ref-formats/

These are the formats currently used by my tool. They may not always
be the best one, as sometimes there didn't seem to be a consistent
format in use (either by the Council or in OSM), and so sometimes I've
just opted for my default "[Parish Name] [Type] [Number]" style. I can
add other counties on request. I'm also more than happy to amend any
of the formats already there if there's a consensus amongst local
mappers to use something different.

One thing to be aware of though, is that the GIS data provided by the
councils is usually not the official Definitive Map, but just a
working representation of it. Often the council will assign reference
numbers to parishes, and segment numbers to the ways that are just for
internal convenience, and don't form part of the official PRoW number
as defined in the Definitive Map and Statement. My philosophy in the
above is to try to stick to the official numbering as used in the
Definitive Map and Statement.

I plan to add a download of the data at
http://robert.mathmos.net/osm/prow/ref-formats/ (probably in JSON
format) at some point so anyone else who wants to can make us of this
data more easily. I also have CSV files containing parish IDs and
names for the counties where it's necessary to do this translation,
which I can make available. For those using rowmaps data, sometimes
you'll find the parish name in the INFO field, but the presence and
format of this varies from county to county.

Robert.

-- 
Robert Whittaker

___
Talk-GB mailing list
Talk-GB@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-gb


Re: [Talk-GB] MapthePaths & Lancashire

2018-07-14 Thread Nick Whitelegg

Hello Tony,


Glad you like MapThePaths!


The parish names are taken verbatim from Barry's data. I'll look at some of 
Barry's files to see if I can pull out a field which is consistently the actual 
parish name; the one I use is the one that translates to the parish in several 
councils in this area, e.g. Hampshire, Surrey and West Sussex, though I note 
that Wiltshire also uses an abbreviation e.g. WHIT for Whiteparish.


Nick



From: Tony Shield 
Sent: 11 July 2018 18:38:02
To: talk-gb@openstreetmap.org
Subject: [Talk-GB] MapthePaths & Lancashire

Hi

Love MapthePaths; in Lancashire the path is presented as "Public
footpath, ref 9-8 18", I have manually translated this to the prow_ref
of "Charnock Richard FP 18". I have performed this conversion by looking
at Barry Cornelius's data file and extracting District and Parish ID's
and matched them to the 9-8 element of the ID. I have a spreadsheet of
the DIstrict and Parish combinations - is there somewhere I can place it
to help others? Alternatively could MapthePaths be modified to use the
parish name instead of the District/Parish ID numbers.

I noted there are 231 parishes and unparished towns, some with only one
footpath. Some of the parish names are mis-spelt eg BYRNING-WITH-WARTON
should be Bryning . . .


Regards

Tony Shield


___
Talk-GB mailing list
Talk-GB@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-gb
___
Talk-GB mailing list
Talk-GB@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-gb


Re: [Talk-GB] MapThePaths update: live edit of designation and prow_ref

2018-07-14 Thread Nick Whitelegg

Hello Rob,


OK - that's great - thanks for that.


One or two minor updates today, previously it was having difficulty with very 
short, 2-node ways (e.g. bridges) but that's now fixed.


I'm also hoping to add in the parish boundaries, hopefully tomorrow.


Nick



Disclaimer

From: Rob Nickerson 
Sent: 11 July 2018 23:25:42
To: Nick Whitelegg
Cc: andrewdbl...@googlemail.com; Talk-GB
Subject: Re: [Talk-GB] MapThePaths update: live edit of designation and prow_ref

And as promised, I tested it today and can confirm that it is working for me 
now :-)

P.s. View the changesets with a MapThePaths comment here 
http://resultmaps.neis-one.org/osm-changesets?comment=MapThePaths#7/52.626/-1.566

Rob


On Tue, 10 Jul 2018 at 11:54, Nick Whitelegg 
mailto:nick.whitel...@solent.ac.uk>> wrote:


Hi, the Chrome issue now seems to be fixed.

Technical info if you're interested: the fetch() API for sending AJAX requests 
does not send the session cookie by default in Chrome unless the 'credentials' 
option is set to 'include'.


See:


https://developers.google.com/web/updates/2015/03/introduction-to-fetch



If you want to try editing with Chrome, please use Ctrl+F5 to force a reload of 
the cache.


Nick


From: Nick Whitelegg 
mailto:nick.whitel...@solent.ac.uk>>
Sent: 09 July 2018 09:03:08
To: Andrew Black
Cc: Talk-GB
Subject: Re: [Talk-GB] MapThePaths update: live edit of designation and prow_ref



OK, sorry.. there appears to be an issue with Chrome. Not got time to 
investigate right now, but will reply when I've found the problem.


Just tested, I can edit in Firefox but getting the error in Chrome.


Nick



From: Andrew Black 
mailto:andrewdbl...@googlemail.com>>
Sent: 08 July 2018 21:09:29
To: Nick Whitelegg
Cc: Talk-GB
Subject: Re: [Talk-GB] MapThePaths update: live edit of designation and prow_ref

I am getting "your editing session has timed out, please log in again." despite 
having logged in less than a minute earlier.
Chrome if it is relevant

Thanks

On 7 July 2018 at 19:45, Nick Whitelegg 
mailto:nick.whitel...@solent.ac.uk>> wrote:


401 would mean you're not logged in.. when you login it stores your OAuth token 
in a session, which expires after a certain time (15 minutes I think, need to 
check the configuration).


I'll modify the code when I have a moment so that if it gives a 401 it comes up 
with a more friendly message to tell the user they need to log back in.


I have changed the code slightly to reduce the risk of caching old versions of 
the JavsScript.


Nick



From: Rob Nickerson 
mailto:rob.j.nicker...@gmail.com>>
Sent: 07 July 2018 18:20:15

To: Nick Whitelegg
Cc: Talk-GB
Subject: Re: [Talk-GB] MapThePaths update: live edit of designation and prow_ref

Still having issues.

I was getting the correct message box but now I just get "OpenStreetMap 
returned an error: code 401".

BTW: I am adding designation but no prow_ref. For now I will continue with JOSM.

Rob


On Sat, 7 Jul 2018 at 17:38, Nick Whitelegg 
mailto:nick.whitel...@solent.ac.uk>> wrote:


Hello Rob,


To add to Martin's comment, try using Ctrl+F5 on MapThePaths itself as you 
might be using a cached old version of the scripts.


When you add a designation and/or prow_ref, an alert box reading 'Way NNN 
successfully updated in OSM' should appear. Does this appear?


The way you mentioned doesn't seem to have any edits even after refreshing.


Nick



From: Rob Nickerson 
mailto:rob.j.nicker...@gmail.com>>
Sent: 07 July 2018 12:37:26
To: Nick Whitelegg
Cc: Talk-GB
Subject: Re: [Talk-GB] MapThePaths update: live edit of designation and prow_ref

In that case it is not working for me. Username is RobJN (with capitalisation). 
Tried to edit a few ways including this one:
https://www.openstreetmap.org/way/454674177

Anyone else having success? problems?

Thanks,
Rob


On Sat, 7 Jul 2018 at 11:10, Nick Whitelegg 
mailto:nick.whitel...@solent.ac.uk>> wrote:


Hello Rob,


Should be immediate: for example I've added a number of prow_ref tags in just 
the last few minutes. See:


https://www.openstreetmap.org/changeset/60485630


One update today BTW - formerly each edit had a separate changeset, which 
wasn't ideal. Now multiple edits in one session are grouped into a single 
changeset.


Let me know if you're still having problems; let me know what edits you're 
trying to do and I'll try and reproduce them.


Nick



From: Rob Nickerson 
mailto:rob.j.nicker...@gmail.com>>
Sent: 06 July 2018 23:42:41
To: talk-gb@openstreetmap.org; Nick Whitelegg
Subject: Re: [Talk-GB] MapThePaths update: live edit of designation and prow_ref

Hi Nick,

How long does it take for 

Re: [Talk-GB] University of Northampton new campus - mapper required

2018-07-14 Thread Steve Doerr

Do they not have any architects' drawings they could share?


Steve



On 14/07/2018 12:11, talk...@manet-computer.co.uk wrote:


Is this something that could be done over a series of evenings and a 
couple of afternoons or is it a larger task?


Bing has some images, not sure how old they are.

*From:*David Earl [mailto:da...@frankieandshadow.com]
*Sent:* 13 July 2018 17:11
*To:* talk-gb@openstreetmap.org
*Subject:* [Talk-GB] University of Northampton new campus - mapper 
required


The University of Northampton is opening a new campus very soon 
between between Bedford Road and New South Bridge Road. They would 
like to get a detailed campus map onto OSM as soon as possible, 
ideally by August 1. I haven't looked but I'm assuming this would have 
to be a ground survey as it is all new buildings so won't be on 
satellite (though maybe some building footprints might be), and in any 
case that wouldn't get down to the level of access doors, or building 
occupiers. If copyright permission can be obtained, I'm guessing they 
may have plans that could serve part of the job.


They would be open to employing someone to do the surveying, 
especially as it has a short timescale. I can't really do it as it's 
too far from home to do repeated trips or fit it into my current 
schedule, otherwise I'd have jumped at it (I worked with the contact 
doing Cambridge University maps, and I'm sending this with her 
permission).


If anyone is interested, please contact Amy Moore in their estates 
services department: amy.mo...@northampton.ac.uk 



David



___
Talk-GB mailing list
Talk-GB@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-gb




---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
___
Talk-GB mailing list
Talk-GB@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-gb


Re: [Talk-GB] University of Northampton new campus - mapper required

2018-07-14 Thread talk-gb
Is this something that could be done over a series of evenings and a couple of 
afternoons or is it a larger task?

 

Bing has some images, not sure how old they are.

 

 

 

From: David Earl [mailto:da...@frankieandshadow.com] 
Sent: 13 July 2018 17:11
To: talk-gb@openstreetmap.org
Subject: [Talk-GB] University of Northampton new campus - mapper required

 

The University of Northampton is opening a new campus very soon between between 
Bedford Road and New South Bridge Road. They would like to get a detailed 
campus map onto OSM as soon as possible, ideally by August 1. I haven't looked 
but I'm assuming this would have to be a ground survey as it is all new 
buildings so won't be on satellite (though maybe some building footprints might 
be), and in any case that wouldn't get down to the level of access doors, or 
building occupiers. If copyright permission can be obtained, I'm guessing they 
may have plans that could serve part of the job.

 

They would be open to employing someone to do the surveying, especially as it 
has a short timescale. I can't really do it as it's too far from home to do 
repeated trips or fit it into my current schedule, otherwise I'd have jumped at 
it (I worked with the contact doing Cambridge University maps, and I'm sending 
this with her permission).

 

If anyone is interested, please contact Amy Moore in their estates services 
department: amy.mo...@northampton.ac.uk

 

David

 

___
Talk-GB mailing list
Talk-GB@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-gb


[Talk-GB] weeklyOSM #416 2018-07-03-2018-07-09

2018-07-14 Thread weeklyteam
The weekly round-up of OSM news, issue # 416,
is now available online in English, giving as always a summary of all things 
happening in the openstreetmap world:

http://www.weeklyosm.eu/en/archives/10507/

Enjoy!

weeklyOSM? 
who?: https://wiki.openstreetmap.org/wiki/WeeklyOSM#Available_Languages 
where?: 
https://umap.openstreetmap.fr/en/map/weeklyosm-is-currently-produced-in_56718#2/8.6/108.3
___
Talk-GB mailing list
Talk-GB@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-gb