Re: [Talk-us] Proposal to change ref format for county roads in Florida from "(x)" to "CR x"
On Wed, 04 Aug 2010 08:17:43 -0400, Nathan Edgars II wrote: > Presently numbered county roads in Florida (and New Jersey) are tagged > using parentheses, for example ref=(535) for County Road 535. The > reasons for this are essentially a historical accident. I'm proposing a > semi-automated change from this to ref=CR 535. The present format is > likely confusing to most users, while the new format would be easier to > understand and no harder for a renderer to convert to a shield. I don't see a problem with this. Be careful, I've noticed some areas where the numbers are in () for state routes as well (since most maps render state routes with the MUTCD generic state route oval). ___ Talk-us mailing list Talk-us@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-us
Re: [Talk-us] Proposal to change ref format for county roads in Florida from "(x)" to "CR x"
On Wed, Aug 4, 2010 at 1:46 PM, Alan Mintz wrote: > I've written perl scripts in the past, but these ad-hoc changes I've done as > follows: [snip] Thanks - this worked perfectly. I've uploaded http://www.openstreetmap.org/browse/changeset/5406539. ___ Talk-us mailing list Talk-us@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-us
Re: [Talk-us] Proposal to change ref format for county roads in Florida from "(x)" to "CR x"
At 2010-08-04 05:17, Nathan Edgars II wrote: ... The steps would be to download a XAPI query of ref=* for Florida and then to use regular expressions to change the refs. I'm not quite sure how to do the latter; JOSM doesn't seem to have a find-replace function. Does anyone have experience with this sort of replacement and can offer advice? Yes, a find/replace in JOSM would be cool. I've written perl scripts in the past, but these ad-hoc changes I've done as follows: 1. As you said, download to a file using XAPI. Save a backup copy of the file, too. 2. Open the file in JOSM and search for the regex that identifies the objects that you will change. Add some tag to them (e.g. foo=bar). This is done to add the action=modify descriptor to them. Save the file and close it. 3. Open the file in a text editor capable of regex replacements (e.g. TextPad). Search/replace your desired change. The count should match that in step 2. Save and close the file. 4. Open the file again in JOSM. Search for foo=bar. You should get the same number as in step 2. Look at your tag changes in those objects one last time. Remove the foo=bar tag from them. Upload (note the number of changes, which should again match step 2) with a meaningful changeset comment. Save the file and close. -- Alan Mintz ___ Talk-us mailing list Talk-us@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-us
Re: [Talk-us] Proposal to change ref format for county roads in Florida from "(x)" to "CR x"
On 8/4/10 8:49 AM, Nathan Edgars II wrote: On Wed, Aug 4, 2010 at 8:31 AM, Serge Wroclawski wrote: We have a long history in the US of well-intentioned bots which end up causing problems[1]. My question is "Have you run your changes across the data to see what it actually does and then reviewed the results?" Yes, I would review the results; what I need however is a way to run the changes. i concur with Nathan's proposed change, i think it is warranted. the review step is important, anyone running bots should have a quality control plan which includes a timely review and a plan to rollback the changeset promptly if things go awry. lack of QC planning has led to some significant damage to the map in parts of the US (particularly with some of the ill advised dup removal bots.) i don't know enough about bot operation to actually answer Nathan's question, though. richard ___ Talk-us mailing list Talk-us@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-us
Re: [Talk-us] Proposal to change ref format for county roads in Florida from "(x)" to "CR x"
On Wed, Aug 4, 2010 at 8:31 AM, Serge Wroclawski wrote: > We have a long history in the US of well-intentioned bots which end up > causing problems[1]. > > My question is "Have you run your changes across the data to see what it > actually does and then reviewed the results?" Yes, I would review the results; what I need however is a way to run the changes. ___ Talk-us mailing list Talk-us@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-us
Re: [Talk-us] Proposal to change ref format for county roads in Florida from "(x)" to "CR x"
We have a long history in the US of well-intentioned bots which end up causing problems[1]. My question is "Have you run your changes across the data to see what it actually does and then reviewed the results?" - Serge [1] Including my own. ___ Talk-us mailing list Talk-us@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-us
[Talk-us] Proposal to change ref format for county roads in Florida from "(x)" to "CR x"
Presently numbered county roads in Florida (and New Jersey) are tagged using parentheses, for example ref=(535) for County Road 535. The reasons for this are essentially a historical accident. I'm proposing a semi-automated change from this to ref=CR 535. The present format is likely confusing to most users, while the new format would be easier to understand and no harder for a renderer to convert to a shield. The steps would be to download a XAPI query of ref=* for Florida and then to use regular expressions to change the refs. I'm not quite sure how to do the latter; JOSM doesn't seem to have a find-replace function. Does anyone have experience with this sort of replacement and can offer advice? I'm sending this proposal to the talk-us mailing list as well as to individual mappers who have edited recently in Florida. Please discuss it either on the list or through the OSM messaging system. ___ Talk-us mailing list Talk-us@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-us