Re: [OSM-talk-be] Informal meeting in Liege - Rencontre informelle à Liège - Informele bijeenkomst in Luik
Julien, Thanks for the effort you have put into this already! You have probably contemplated this, but the proposed date is of course reason for superstitious people to stay away from Liege :) I like the basic idea to do an informal meeting idea, anyways. For me, going to Liege from Antwerp poses some problems, but opens up some perspectives. I am thinking of staying the night over in Liege and doing some mapping on saturday, before returning. Are there more people interested into this? Please post remarks to this after-party idea at: http://wiki.openstreetmap.org/wiki/Talk:WikiProject_Belgium/Activities CU, Ivo On Thu, 7 Apr 2011, Julien Fastré wrote: Beste, Cher, Best, *Nederlands* Na de peiling (http://nuages.domainepublic.net/3833/) stellen we u voor een informele bijeenkomst om 13 meiin Liege, om 19u. Dit zal plaatsvinden bij de VZW Barricade (http://www.barricade.be), rue Pierre 19-21. Het dichtbijste station is Liege-Palais; het dichtbijste (betaling) parking staat bij de Place-Saint-Lambert. We zullen de bijkomende informatie om dit lijst en op het wiki mededelen : http://wiki.openstreetmap.org/wiki/WikiProject_Belgium/Activities#Upcoming_activities *Francais* Après le sondage, nous vous proposons une rencontre informelle ce 13 mai à Liège, à 19h. La gare la plus proche est celle de Liège-Palais, le parking (payant) le plus proche est celui de la place saint lambert. Les prochains informations seront sur le wiki (http://wiki.openstreetmap.org/wiki/WikiProject_Belgium/Activities#Upcoming_activities) et sur cette liste. *English* After the pool, we propose you an informal meeting in Liege, on the 13th Of May, at 7PM. The closest station is Liege-Palais, the closest parking is Place Saint Lambert. The following information will be posted on this list and on the wiki : http://wiki.openstreetmap.org/wiki/WikiProject_Belgium/Activities#Upcoming_activities. Julien Fastré, Polyglot, Benoît Coumont 2011/4/3 Julien Fastré TEXTE EN FRANCAIS : Voir plus bas TEXT IN ENGLISH : See Below Beste OpenStreetMapmedewerker, Als een mierenleger, leveren we allen individueel onze bijdrage aan het OSM-kaartproject. Het leek ons belangrijk, en ook wel leuk, om de verschillende vrijwilligers 's samen te brengen. We stellen dus een informele bijeenkomst voor in het begin van de maand mei. Om een datum vast te leggen die voor zoveel mogelijk mensen goed uitkomt, stellen we voor om de peiling in te vullen op het volgende adres: http://nuages.domainepublic.net/3833/ (Merk op dat het beginuur op de voorgestelde zaterdag 13u is). We wensen deze bijeenkomst te houden in Luik, bij de VZW Barricade, rue Pierreuse 19-21 (Dit plaats zal bevestigd worden zo vlug een datum besloten is.). Het dichtsbijzijnde station is dat van Liège-Palais. Dit staat er op het programma: * uitwisselen van tips voor het gebruik van JOSM (snel aanmaken gebouwen en adressen toewijzen, geavanceerd zoeken); * uitwisseling van de verschillende interacties met overheidsinstanties; * en gewoon een gezellige ontmoeting! U krijgt dit bericht omdat u verklaarde heeft een mapper te zijn in Luik en omgeving. Gelieve ons te verontschuldigen als u er geen interesse in hebt. Benoît Coumont, Polyglot et Julien Fastré Cher contributeur à OpenStreetMap, Comme des petites fourmis, il nous arrive de contribuer, individuellement, à la carte libre d'OSM. Il nous apparaissait important, et même amusant, de rencontrer les différents contributeurs au projet. Nous vous proposons donc un moment d'échange informel au début du mois de mai. Pour fixer une date qui conviendrait au plus grand nombre, nous vous proposons de remplir le sondage à l'adresse suivante : http://nuages.domainepublic.net/3833/ (Notez que le samedi, nous proposons un rendez-vous à 13h00). Cette rencontre aurait lieu à Liège, à l'ASBL Barricade, rue Pierreuse 19-21 (Cet endroit est encore à confirmer dès qu'une date est fixée.). La gare la plus proche est celle de Liège-Palais. Au programme : * échange de trucs et astuces de JOSM ; * échange sur les différents contacts établis avec les autorités ; * et rencontre tout court! Vous recevez ce courriel parce que vous êtes renseigné comme mappeur dans la région de Liège. S'il ne vous intéresse pas, veuillez-nous en excuser. Benoît Coumont, Polyglot et Julien Fastré Dear OSM contributor, We all help to create the map of the Openstreetmap.org project. It seemed important and fun as well to get together So we want to propose an informal meeting the start of the month of May. In order to set a dat which is convenient for all we invite you to add when you can attend at the following address: http://nuages.domainepublic.net/3833/ (On the Saturday the proposed time is 13h00). The meeting would be in Liège, at the non profit Barricade, rue Pierreuse 19-21 (This will be confirmed.). The nearest station is Liège-Palais. The programme : * exchange of tips and tricks for JOSM ; * exchange about th
Re: [OSM-talk-be] 4th meeting STUK on 06 april 2011
Hallo Ben, Het leuke aan het feit dat dit script nu in JOSM kan draaien, is dat het mogelijk is om een edit box weer te geven waarin de oude situatie staat en ook wat hij ervan wil maken. Als je op Cancel drukt, wordt er niks gewijzigd en anders is het nog mogelijk om de voorgestelde naam te wijzigen voordat er op OK gedrukt wordt. Soms zit het script er dus inderdaad naast, maar dan kan er nog ingegrepen worden. Jo 2011/4/7 Ben Laenen > Jo wrote: > > I was glad Jan-Willem showed up. The result is a python plugin which can > > correct spelling from within JOSM. I just corrected 264 street names > around > > Aarschot with it: > > Really great news, but I do want to warn about these automatic scripts. You > can make mistakes very easily with them. > > > > > corrections = [('Dr. ', 'Docteur '),('R. ', 'Rue '),('Av. ', 'Avenue > '), > > > ('Bd. ', 'Boulevard '),('Sq.', 'Square'), ('Pl.', 'Place'), > > These are obviously meant for French places, but since I don't see some way > to > make the distinction: never run this script on a Dutch place. I also wonder > how safe the "R." is in a French place, since it can easily be the > abbreviation of a first name. > > > >(' De ', ' de ') > > This is problematic. "De" can still be (and most of the times is) uppercase > in > Dutch. The only place to check this is the official street name list. > > > > >, (' La ', ' la '), (' Du ', ' du '), ('Des', ' des '), > > >(' Au ', ' au '),(' Aux ', ' aux '),('À', 'à'), > > > >(' Den ',' den '), > > Same here. > > > > >(" D'"," d'"), (" L'"," l'"), > > > >("' ","'"), > > Bad idea in Dutch. > > > >("Ecole ","École "), (" Voor ", " voor "), > > > >(" Op ", " op "), > > In Antwerp we have for example "Jos Op De Beecklaan": uppercase. > > > >(" Pour ", " pour ")] > > > You've probably thought about these things yourself already, but I did want > to > point it out before someone took the script and uses it. Also, always > manually > check the results from this script before uploading. > > Greetings > Ben > ___ Talk-be mailing list Talk-be@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-be
Re: [OSM-talk-be] 4th meeting STUK on 06 april 2011
Jo wrote: > I was glad Jan-Willem showed up. The result is a python plugin which can > correct spelling from within JOSM. I just corrected 264 street names around > Aarschot with it: Really great news, but I do want to warn about these automatic scripts. You can make mistakes very easily with them. > > corrections = [('Dr. ', 'Docteur '),('R. ', 'Rue '),('Av. ', 'Avenue '), > > ('Bd. ', 'Boulevard '),('Sq.', 'Square'), ('Pl.', 'Place'), These are obviously meant for French places, but since I don't see some way to make the distinction: never run this script on a Dutch place. I also wonder how safe the "R." is in a French place, since it can easily be the abbreviation of a first name. > >(' De ', ' de ') This is problematic. "De" can still be (and most of the times is) uppercase in Dutch. The only place to check this is the official street name list. > >, (' La ', ' la '), (' Du ', ' du '), ('Des', ' des '), > >(' Au ', ' au '),(' Aux ', ' aux '),('À', 'à'), > >(' Den ',' den '), Same here. > >(" D'"," d'"), (" L'"," l'"), > >("' ","'"), Bad idea in Dutch. > >("Ecole ","École "), (" Voor ", " voor "), > >(" Op ", " op "), In Antwerp we have for example "Jos Op De Beecklaan": uppercase. > >(" Pour ", " pour ")] You've probably thought about these things yourself already, but I did want to point it out before someone took the script and uses it. Also, always manually check the results from this script before uploading. Greetings Ben ___ Talk-be mailing list Talk-be@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-be
Re: [OSM-talk-be] 4th meeting STUK on 06 april 2011
I was glad Jan-Willem showed up. The result is a python plugin which can correct spelling from within JOSM. I just corrected 264 street names around Aarschot with it: http://www.openstreetmap.org/browse/changeset/7794020 Somebody had some trouble finding the Shift key on his/her keyboard. This spelling checker also works for French street names. It still needs some refinement. Now it asks the same question over and over again for each segment and it should be made aware of the language a correction applies for. For the moment it only checks name and not name:nl/name:fr. But the real message is that Jan-Willem helped me over the initial difficulties of scripting the JOSM API with Python. So I'm really glad we met yesterday evening! Here is the code: #!/bin/jython > # > # Helps to check spelling in 'name' fields. > # > from javax.swing import JOptionPane > from org.openstreetmap.josm import Main > import org.openstreetmap.josm.command as Command > import org.openstreetmap.josm.data.osm.Node as Node > import org.openstreetmap.josm.data.osm.Way as Way > import org.openstreetmap.josm.data.osm.TagCollection as TagCollection > import org.openstreetmap.josm.data.osm.DataSet as DataSet > > corrections = [('Dr. ', 'Docteur '),('R. ', 'Rue '), ('Av. ', 'Avenue '), > ('Bd. ', 'Boulevard '), >('Sq.', 'Square'), ('Pl.', 'Place'), >(' De ', ' de '), (' La ', ' la '), (' Du ', ' du '), (' Des > ', ' des '), >(' Au ', ' au '),(' Aux ', ' aux '),('À', 'à'),(' Den ',' > den '), >(" D'"," d'"), (" L'"," l'"), ("' ","'"), >("Ecole ","École "), >(" Voor ", " voor "), (" Op ", " op "), (" Pour ", " pour > ")] > > logger = open("c:\debug.log", "w") #, encoding="utf-8") > commandsList = [] > > def getMapView(): > if Main.main and Main.main.map: > return Main.main.map.mapView > else: > return None > > def myOwnCapitalize(word): > # JOptionPane.showMessageDialog(Main.parent, word.decode('utf-8')) > if word: > return word[0].uppper() + word[1:] > > mv = getMapView() > > if mv and mv.editLayer and mv.editLayer.data: > selectedNodes = mv.editLayer.data.getSelectedNodes() > selectedWays = mv.editLayer.data.getWays() > selectedRelations = mv.editLayer.data.getSelectedRelations() > logger.write("nodes: %s\n"%selectedNodes) > #logger.write("ways: %s\n"%selectedWays) > logger.write("relations: %s\n"%selectedRelations) > if not(selectedNodes or selectedWays or selectedRelations): > JOptionPane.showMessageDialog(Main.parent, "Please select > something") > else: > for way in selectedWays: > if way.hasKey('name'): > name=str(way.get("name").encode('utf-8')) > # JOptionPane.showMessageDialog(Main.parent, > name.decode('utf-8')) > correctedName = u'' > for word in name.split(u" "): > # JOptionPane.showMessageDialog(Main.parent, > word.decode('utf-8')) > if "-" in word: > dashes = word.split("-") > correctedName += dashes[0].capitalize() > print(dashes) > for dash in dashes[1:]: > correctedName += "-" + dash[0].upper() + > dash[1:] > elif "'" in word and not("." in word): > apo=word.split("'") > correctedName += apo[0].capitalize() + "'" + > apo[1].capitalize() > elif "." in word or len(word)>1 and > word[1]==word[1].capitalize() or len(word)>2 and > word[2]==word[2].capitalize(): > correctedName += word > else: > correctedName += word[0].upper() + word[1:] > correctedName += ' ' > for wrongspelling, correction in corrections: > correctedName = correctedName.replace(wrongspelling, > correction) > correctedName = correctedName.strip() > if name != correctedName: > result = JOptionPane.showInputDialog(Main.parent, > "Previous name: " + name.decode('utf-8'), > 'Change spelling?', > JOptionPane.QUESTION_MESSAGE, > None, > None, > correctedName.decode('utf-8')) > # JOptionPane.showMessageDialog(Main.parent, result) > if result: > # logger.write("output: %s\n"%type(name)) > newWay = Way(way) > newWay.put("name", result) # .decode('utf-8')) > commandsList.append(Command.ChangeCommand(way, > newWay)) > if commandsList: > Main.main
Re: [OSM-talk-be] Informal meeting in Liege - Rencontre informelle à Liège - Informele bijeenkomst in Luik
Beste, Cher, Best, *Nederlands* Na de peiling (http://nuages.domainepublic.net/3833/) stellen we u voor een informele bijeenkomst om 13 meiin Liege, om 19u. Dit zal plaatsvinden bij de VZW Barricade (http://www.barricade.be), rue Pierre 19-21. Het dichtbijste station is Liege-Palais; het dichtbijste (betaling) parking staat bij de Place-Saint-Lambert. We zullen de bijkomende informatie om dit lijst en op het wiki mededelen : http://wiki.openstreetmap.org/wiki/WikiProject_Belgium/Activities#Upcoming_activities *Francais* Après le sondage, nous vous proposons une rencontre informelle ce 13 mai à Liège, à 19h. La gare la plus proche est celle de Liège-Palais, le parking (payant) le plus proche est celui de la place saint lambert. Les prochains informations seront sur le wiki (http://wiki.openstreetmap.org/wiki/WikiProject_Belgium/Activities#Upcoming_activities) et sur cette liste. *English* After the pool, we propose you an informal meeting in Liege, on the 13th Of May, at 7PM. The closest station is Liege-Palais, the closest parking is Place Saint Lambert. The following information will be posted on this list and on the wiki : http://wiki.openstreetmap.org/wiki/WikiProject_Belgium/Activities#Upcoming_activities. Julien Fastré, Polyglot, Benoît Coumont 2011/4/3 Julien Fastré > > TEXTE EN FRANCAIS : Voir plus bas > TEXT IN ENGLISH : See Below > > > Beste OpenStreetMapmedewerker, > > Als een mierenleger, leveren we allen individueel onze bijdrage aan het > OSM-kaartproject. > > Het leek ons belangrijk, en ook wel leuk, om de verschillende vrijwilligers > 's samen te brengen. > > We stellen dus een informele bijeenkomst voor in het begin van de maand mei. > Om een datum vast te leggen die voor zoveel mogelijk mensen goed uitkomt, > stellen we voor om de peiling in te vullen op het volgende adres: > http://nuages.domainepublic.net/3833/ (Merk op dat het beginuur op de > voorgestelde zaterdag 13u is). > > We wensen deze bijeenkomst te houden in Luik, bij de VZW Barricade, rue > Pierreuse 19-21 (Dit plaats zal bevestigd worden zo vlug een datum besloten > is.). Het dichtsbijzijnde station is dat van Liège-Palais. > > Dit staat er op het programma: > > * uitwisselen van tips voor het gebruik van JOSM (snel aanmaken gebouwen en > adressen toewijzen, geavanceerd zoeken); > * uitwisseling van de verschillende interacties met overheidsinstanties; > * en gewoon een gezellige ontmoeting! > > U krijgt dit bericht omdat u verklaarde heeft een mapper te zijn in Luik en > omgeving. Gelieve ons te verontschuldigen als u er geen interesse in hebt. > > Benoît Coumont, Polyglot et Julien Fastré > > > > > > Cher contributeur à OpenStreetMap, > > Comme des petites fourmis, il nous arrive de contribuer, individuellement, à > la carte libre d'OSM. > > Il nous apparaissait important, et même amusant, de rencontrer les différents > contributeurs au projet. > > Nous vous proposons donc un moment d'échange informel au début du mois de > mai. Pour fixer une date qui conviendrait au plus grand nombre, nous vous > proposons de remplir le sondage à l'adresse suivante : > http://nuages.domainepublic.net/3833/ (Notez que le samedi, nous proposons > un rendez-vous à 13h00). > > Cette rencontre aurait lieu à Liège, à l'ASBL Barricade, rue Pierreuse 19-21 > (Cet endroit est encore à confirmer dès qu'une date est fixée.). La gare la > plus proche est celle de Liège-Palais. > > Au programme : > > * échange de trucs et astuces de JOSM ; > * échange sur les différents contacts établis avec les autorités ; > * et rencontre tout court! > > Vous recevez ce courriel parce que vous êtes renseigné comme mappeur dans la > région de Liège. S'il ne vous intéresse pas, veuillez-nous en excuser. > > Benoît Coumont, Polyglot et Julien Fastré > > > > > > > > Dear OSM contributor, > > We all help to create the map of the Openstreetmap.org project. > > It seemed important and fun as well to get together > > So we want to propose an informal meeting the start of the month of May. In > order to set a dat which is convenient for all we invite you to add when you > can attend at the following address: http://nuages.domainepublic.net/3833/ > (On the Saturday the proposed time is 13h00). > > The meeting would be in Liège, at the non profit Barricade, rue Pierreuse > 19-21 (This will be confirmed.). The nearest station is Liège-Palais. > > The programme : > > * exchange of tips and tricks for JOSM ; > * exchange about the contacts started with the authorities; > * and simply a nice meeting! > > You received this message because you seem to map around the city of > Liège.Please excuse us if it doesn't interest you. > > Benoît Coumont, Polyglot et Julien Fastré > > > ___ Talk-be mailing list Talk-be@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-be