Re: [OSM-talk] Auto whitespace removal?
On 2017-03-11 16:50, James wrote: Honestly, I'm not sure why this wasnt built into JOSM or P2 or ID for that matter as strip functions are readily available if not, very easy to code Maybe you should open a bug report to request the feature. I think JOSM warns you about it but still would be nice to have strip() auto applied to all strings If you make a new tag, JOSM strips the whitespaces front and back. I assume it will do the same when you edit a tag. Maarten On Mar 11, 2017 10:39 AM, "Dave F"wrote: P2 Do other editors have the ability to strip? Is there any server-side data verification? On 11/03/2017 15:11, Andy Mabbett wrote: On 11 March 2017 at 14:47, Dave F wrote: As I'm repeatedly guilty of leaving leading & trailing whitespace in tags, I'm mildly embarrassed when others come & mop up after me. Even if it's done with a bot. Is there not a way to automatically strip these tags on upload? What editing tool are you using. --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus [1] ___ talk mailing list talk@openstreetmap.org https://lists.openstreetmap.org/listinfo/talk [2] Links: -- [1] https://www.avast.com/antivirus [2] https://lists.openstreetmap.org/listinfo/talk ___ talk mailing list talk@openstreetmap.org https://lists.openstreetmap.org/listinfo/talk ___ talk mailing list talk@openstreetmap.org https://lists.openstreetmap.org/listinfo/talk
Re: [OSM-talk] Auto whitespace removal?
Honestly, I'm not sure why this wasnt built into JOSM or P2 or ID for that matter as strip functions are readily available if not, very easy to code Maybe you should open a bug report to request the feature. I think JOSM warns you about it but still would be nice to have strip() auto applied to all strings On Mar 11, 2017 10:39 AM, "Dave F"wrote: > P2 > > Do other editors have the ability to strip? > Is there any server-side data verification? > > On 11/03/2017 15:11, Andy Mabbett wrote: > >> On 11 March 2017 at 14:47, Dave F wrote: >> >> As I'm repeatedly guilty of leaving leading & trailing whitespace in tags, >>> I'm mildly embarrassed when others come & mop up after me. Even if it's >>> done >>> with a bot. Is there not a way to automatically strip these tags on >>> upload? >>> >> What editing tool are you using. >> >> > > --- > This email has been checked for viruses by Avast antivirus software. > https://www.avast.com/antivirus > > > ___ > talk mailing list > talk@openstreetmap.org > https://lists.openstreetmap.org/listinfo/talk > ___ talk mailing list talk@openstreetmap.org https://lists.openstreetmap.org/listinfo/talk
Re: [OSM-talk] Auto whitespace removal?
P2 Do other editors have the ability to strip? Is there any server-side data verification? On 11/03/2017 15:11, Andy Mabbett wrote: On 11 March 2017 at 14:47, Dave Fwrote: As I'm repeatedly guilty of leaving leading & trailing whitespace in tags, I'm mildly embarrassed when others come & mop up after me. Even if it's done with a bot. Is there not a way to automatically strip these tags on upload? What editing tool are you using. --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus ___ talk mailing list talk@openstreetmap.org https://lists.openstreetmap.org/listinfo/talk
Re: [OSM-talk] Auto whitespace removal?
On 11 March 2017 at 14:47, Dave Fwrote: > As I'm repeatedly guilty of leaving leading & trailing whitespace in tags, > I'm mildly embarrassed when others come & mop up after me. Even if it's done > with a bot. Is there not a way to automatically strip these tags on upload? What editing tool are you using. -- Andy Mabbett @pigsonthewing http://pigsonthewing.org.uk ___ talk mailing list talk@openstreetmap.org https://lists.openstreetmap.org/listinfo/talk