[OSM-dev-fr] Système d'information géographique
Bonjour, je suis entrain de concevoir un programme en Java sous Eclipse. Une partie de ce programme peut être considérer comme système d'information géographique. En effet, je récupère des coordonnées GPS et je souhaiterai les afficher sur une carte dans mon programme. Ce que je voudrai c'est que dès que je clique sur un certain bouton, une nouvelle fenêtre s'ouvre en affichant une carte et en affichant mes points grâce à leur coordonnées GPS. J'ai pensé à OpenStreetMap mais je n'ai rien trouvé sur internet qui me convienne pour faire ceci. Pourriez-vous me conseiller ? Je crois qu'il y a d'autres outils comme GeoTools, QGIS, GDAL qui doivent pouvoir être utilisés mais je ne sais pas lesquels sont adaptés et comment les utiliser. Merci. Cordialement, Yann NIVIERE mail : y.nivi...@net.estia.fr ___ dev-fr mailing list dev-fr@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev-fr
[OSM-dev-fr] Re : Système d'information géographique
De : Gilles Bassière gbassi...@gmail.com Une autre piste est JOSM. C'est un éditeur pour OSM et la fenêtre de téléchargement utilise la carte tuilée pour se repérer. Là aussi, il y a peut-être du code à réutiliser. http://josm.openstreetmap.de/ JOSM sait afficher la carte ? j avais dit a Yann que JOSM n etait pas adapte car il est plus dedie a l utilisation de donnees mais je m apercois que c etait peut etre un peu reducteur comme reponse... Julien___ dev-fr mailing list dev-fr@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev-fr
Re: [OSM-dev-fr] Re : Système d'information géographique
On 26/04/2012 20:03, THEVENON Julien wrote: * De :* Gilles Bassière gbassi...@gmail.com * *Une autre piste est JOSM. C'est un éditeur pour OSM et la fenêtre de * *téléchargement utilise la carte tuilée pour se repérer. Là aussi, il y a * *peut-être du code à réutiliser. * *http://josm.openstreetmap.de/ JOSM sait afficher la carte ? JOSM sait afficher des tuiles bing, yahoo!, etc... sur un calque ;) j avais dit a Yann que JOSM n etait pas adapte car il est plus dedie a l utilisation de donnees mais je m apercois que c etait peut etre un peu reducteur comme reponse... Julien JonathanMM ___ dev-fr mailing list dev-fr@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev-fr -- Élève en 1ère année de l'ENSSAT, filière Logiciel et Système Informatique Responsable Technique de l'association Eurêka ! J'ai Réussi ! Membre de l'association SaDur Contributeur OpenStreetMap ___ dev-fr mailing list dev-fr@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev-fr
[OSM-dev-fr] Re : Re : Système d'information géographique
De : JonathanMM jonatha...@nocle.fr JOSM sait afficher des tuiles bing, yahoo!, etc… sur un calque ;) JOSM sait afficher des tuiles bing, yahoo!, etc… sur un calque ;) Oui l imagerie aerienne je sais ;-) mais je savais pas si ca peut marcher avec les tuiles de www.openstreemap.org ou mapquest comme le fait viking Julien___ dev-fr mailing list dev-fr@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev-fr
Re: [OSM-dev-fr] Re : Système d'information géographique
En survolant le sujet j'ai trouvé quelque pistes : Du code réutilisable qui vient de JOSM : http://wiki.openstreetmap.org/wiki/JMapViewer Toute la catégorie java a fouiller : http://wiki.openstreetmap.org/wiki/Category:Java Une API par cloudmade : http://developers.cloudmade.com/projects/show/java-lib Frédéric. Le 26/04/2012 20:08, JonathanMM a écrit : On 26/04/2012 20:03, THEVENON Julien wrote: * De :* Gilles Bassière gbassi...@gmail.com * *Une autre piste est JOSM. C'est un éditeur pour OSM et la fenêtre de * *téléchargement utilise la carte tuilée pour se repérer. Là aussi, il y a * *peut-être du code à réutiliser. * *http://josm.openstreetmap.de/ JOSM sait afficher la carte ? JOSM sait afficher des tuiles bing, yahoo!, etc… sur un calque ;) j avais dit a Yann que JOSM n etait pas adapte car il est plus dedie a l utilisation de donnees mais je m apercois que c etait peut etre un peu reducteur comme reponse... Julien JonathanMM ___ dev-fr mailing list dev-fr@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev-fr
Re: [Potlatch-dev] [OpenStreetMap] #4375: Potlatch 2: join nodes function creates duplicate nodes in ways
Good to know - I'll take a look next week. Pretty sure I wrote that code, and it sounds like I missed a special case or two. Steve On Tue, Apr 24, 2012 at 5:44 PM, OpenStreetMap t...@openstreetmap.org wrote: #4375: Potlatch 2: join nodes function creates duplicate nodes in ways ---+ Reporter: Firefly! | Owner: potlatch-dev@… Type: defect | Status: new Priority: minor | Milestone: Component: potlatch2 | Version: 2.0 Keywords: | ---+ It seems to be a bug inside the Potlatch function join nodes (key J). When I stick together two (or more) areas by joining nodes, sometimes the OSM inspector tool tells me, I have created duplicate nodes in one of the resulting ways. f.e. http://www.openstreetmap.org/browse/node/1728680163 http://www.openstreetmap.org/browse/node/1706551424 I can reproduce it as follow: Way 1 contains node 1a and node 1b. Way 2 contains node 2. I join node 2 with node 1a. Later I join the resulting node with 1b. After uploading I will get the duplicate node in way. Normally this situation will not happen so often, but at edges of three or more areas you can have a lot of nodes and it is almost impossible to take care for all ... Best regards -- Ticket URL: https://trac.openstreetmap.org/ticket/4375 OpenStreetMap http://www.openstreetmap.org/ OpenStreetMap is a free editable map of the whole world ___ Potlatch-dev mailing list Potlatch-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/potlatch-dev ___ Potlatch-dev mailing list Potlatch-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/potlatch-dev
Re: [Potlatch-dev] [OpenStreetMap] #4370: Provide easy way to copy object IDs to clipboard (was: There appears to be no easy way to copy data to clipboard)
#4370: Provide easy way to copy object IDs to clipboard -+-- Reporter: SomeoneElse | Owner: potlatch-dev@… Type: enhancement | Status: new Priority: trivial | Milestone: Component: potlatch2| Version: Keywords: copy | -+-- -- Ticket URL: https://trac.openstreetmap.org/ticket/4370#comment:1 OpenStreetMap http://www.openstreetmap.org/ OpenStreetMap is a free editable map of the whole world ___ Potlatch-dev mailing list Potlatch-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/potlatch-dev
Re: [Potlatch-dev] [OpenStreetMap] #4371: Potlatch2 doesn't show a relation that you've just created in the add to list
#4371: Potlatch2 doesn't show a relation that you've just created in the add to list -+-- Reporter: SomeoneElse | Owner: potlatch-dev@… Type: defect | Status: new Priority: minor| Milestone: Component: potlatch2| Version: Keywords: relations| -+-- Changes (by stevage): * keywords: = relations * type: enhancement = defect Comment: What you're describing would be a bug. I can't reproduce this the way I understand it. 1. Start with ways A and B 2. With A selected, use Add To [relation] button to create multipolygon relation X (simple editor) 3. Now, select B 4. Press Add To 5. X fails to display in list? Works for me. I'm confused by your +44/0 though. It would have a negative number, like -1, no? What are the exact steps to reproduce? -- Ticket URL: https://trac.openstreetmap.org/ticket/4371#comment:1 OpenStreetMap http://www.openstreetmap.org/ OpenStreetMap is a free editable map of the whole world ___ Potlatch-dev mailing list Potlatch-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/potlatch-dev
Re: [Potlatch-dev] [OpenStreetMap] #4371: Potlatch2 doesn't show a relation that you've just created in the add to list
#4371: Potlatch2 doesn't show a relation that you've just created in the add to list -+-- Reporter: SomeoneElse | Owner: potlatch-dev@… Type: defect | Status: new Priority: minor| Milestone: Component: potlatch2| Version: Keywords: relations| -+-- Comment(by SomeoneElse): What are the exact steps to reproduce? They're on #4372 , which I logged once I realised it was a bit more of a widespread problem. -- Ticket URL: https://trac.openstreetmap.org/ticket/4371#comment:2 OpenStreetMap http://www.openstreetmap.org/ OpenStreetMap is a free editable map of the whole world ___ Potlatch-dev mailing list Potlatch-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/potlatch-dev
Re: [Potlatch-dev] [OpenStreetMap] #4371: Potlatch2 doesn't show a relation that you've just created in the add to list
#4371: Potlatch2 doesn't show a relation that you've just created in the add to list --+- Reporter: SomeoneElse | Owner: potlatch-dev@… Type: defect | Status: closed Priority: minor| Milestone: Component: potlatch2| Version: Resolution: duplicate|Keywords: relations --+- Changes (by stevage): * status: new = closed * resolution: = duplicate -- Ticket URL: https://trac.openstreetmap.org/ticket/4371#comment:3 OpenStreetMap http://www.openstreetmap.org/ OpenStreetMap is a free editable map of the whole world ___ Potlatch-dev mailing list Potlatch-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/potlatch-dev
Re: [OSM-dev] Test Api URL Site Issues
2012/4/25 David Serenity debuk...@gmail.com: Hi all, I have the following code to create a changeset which works okay with the production URL http://api.openstreetmap.org/ . The code however returns an error when i use the test api url of http://api06.dev.openstreetmap.org/. Is the test api down now or is there any thing wrong with my code. Thanks. function createChangeset() { var d = $.Deferred(); $.ajax({ url: 'http://api.openstreetmap.org/api/0.6/changeset/create', type: 'POST', data: osmchangesettag k='created_by' v='Easymappr' /tag k='comment' v='OSM edited with EasyMappr' //changeset/osm, beforeSend: makeBeforeSend(PUT), success: function(resp) { d.resolve(resp); alert(resp); }, error: function(err){ d.reject(err); alert(Error: +err); }, timeout: 30 * 1000 }); return d; } Hello David, U don't tell anything about the error. Could you give the http answer ? The code should be exactly the same on the two APIs, just the url and user credentials are differents. Idea: are you using an user account which exists at api06.dev.openstreetmap.org ? Cheers -- Cyrille. ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Querying OAuth access token permissions
Am 20.04.2012 um 13:31 schrieb Tom Hughes: On 20/04/12 12:13, Christoph Bünte wrote: But is there a way to find out if the user which permissions the user actually granted? In particular, we would like to know whether the access token can change the map. We know the recommended way is to just try an API call which requires the specific permission. Our infrastructure queues all changes to the osm data and works it off later to be independent from OSM API status. But when the job is worked off it is too late to tell the user, that permissions are missing. Not at the moment, but it would be easy enough to add it to the user details API call (/api/0.6/user/details). We implemented the suggested feature including tests and created a pull request on github: https://github.com/openstreetmap/openstreetmap-website/pull/45 Could you have a look at it? Enno and Christoph ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
[OSM-dev] Overpass API questions
I have 2 questions about how to use the Overpass API. This is given as the equivalent of the map API calls: ( node(35.40,-120.80,35.50,-120.00); rel(bn)-.x; way(bn); rel(bw); ); out meta; 1. I want to add a filter to eliminate certain _ways_ that I am not interested in*. I was able to add [key!=value] to the end of the bbox element to filter out _nodes_ with a certain tag: node(35.40,-120.80,35.50,-120.00)[key!=value]; Assuming that way(bn) adds the ways for all the nodes, I tried moving the filter there: way(bn)[key!=value]; This _almost_ works. It, indeed, removes ways where key=value. However, it still includes all the (now orphaned) nodes that made up those ways. It therefore seemed that what I wanted to do is, instead of starting with nodes, get ways (filtering out ones I don't want), then get their nodes. Ignoring the relations: ( way(35.40,-120.80,35.50,-120.00)[key!=value]; node(w); ); out meta; Now, the problem is how do I add standalone nodes (points of interest, etc.), since I only have ways? Another problem appears to be that [key!=value] filters out any way that does not have a key tag at all, in addition to those that have key=value, which is not what I need. I need to filter out only those ways with key=value, and leave in any that have key=something_else or no key= tag at all. So - I want the normal results, without ways that have a certain key=value, and without those ways' nodes. *The point of this is to be able to eliminate ways and their nodes that account for up to 90% of the data being downloaded (i.e. inflating the data by 1000%) when they are unnecessary for a particular editing session. 2. The example given at the top almost implements the normal API map call. However, the API map call returns the entire extent of ways that intersect the bbox, not just the nodes that fall within the bbox. It seems that the example needs to add all nodes for all ways, once all ways are added: ( node(35.40,-120.80,35.50,-120.00); rel(bn)-.x; way(bn); node(w); rel(bw); ); out meta; This seems to yield the same result as a download from JOSM as far as count of nodes and ways, except that the relations are missing. What happened? -- Alan Mintz alan_mintz+...@earthlink.net ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
[OSM-dev] [GSoC] Improvements to Vespucci
Hi, my name is Jan Schejbal and I would like to thank OSM for accepting my GSoC project proposal. This means that during this summer, I will be making some improvements to Vespucci, the OSM editor for Android. My primary goals are: a) creating an easy editing mode in which tags are set using a menu structure (based on the JOSM presets) and which does not require mode switching for most actions b) allowing the user to select the API URL to use. You can find details about my project on the wiki page: http://wiki.openstreetmap.org/wiki/Google_Summer_of_Code/2012/Improvements_to_Vespucci Please have a look at subpage describing the proposed easy editing mode. I would appreciate any feedback and suggestions you can provide about it - if you have any wishes, please voice them. Please focus on the user side; the implementation plans will be updated as I look deeper into the code. Kind regards, Jan ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
[OSM-dev] Ayuda
Quiero instalar un servidor que contenga los mapas, bases de datos de OPENSTREETMAP y necesito ayuda para realizarlo, si tiene algún tutorial paso a paso, alguna guia de las herramientas y aplicaciones que se deben instalar para tenerlo en excelente estado. ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Ayuda
RAUL BARRANTES wrote: Quiero instalar un servidor que contenga los mapas, bases de datos de OPENSTREETMAP y necesito ayuda para realizarlo, si tiene algún tutorial paso a paso, alguna guia de las herramientas y aplicaciones que se deben instalar para tenerlo en excelente estado. http://switch2osm.org/serving-tiles/ is probably the best place to start. It offers three alternatives - a package-based solution, installing the software manually, and getting someone else to do it for you. It's in English, but the bits to type in are nicely highlighted in blue, so even if you don't understand English you can work out which bits to fee through Google Translate and which not. Cheers, Andy ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
[josm-dev] Seeking comments on patch for making merge/download undoable
I created this ticket a while ago, and have had a patch up for a little over a week, but haven't had any comments regarding if this functionality is even desired by anyone, is implemented in a decent manner, etc. I'll be using this functionality in the conflation plugin, though I'll probably just copy DataSetMerger to the plugin until the patch has been thoroughly reviewed and tested. https://josm.openstreetmap.de/ticket/7489 Thanks, -Josh ___ josm-dev mailing list josm-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/josm-dev