Re: [OSM-dev] How to check if a user has entered valid openstreetmap username/password pair using php?

2013-03-12 Thread Jonathan Bennett
On 12/03/2013 09:53, Derick Rethans wrote: You should *not* be asking for their username and password WHS in Spades. It's incredibly bad practice, isn't very robust and I for one wouldn't trust any application these days that asked me for plain credentials. J.

Re: [OSM-dev] Changesets API call (date interval)

2012-06-22 Thread Jonathan Bennett
On 22/06/2012 09:39, Fernando Ribeiro wrote: Reading thru API documentation, I did not check any mention to get changesets by date interval. You need to look at the diffs -- the changeset XML only contains metadata, not the actual changes to the map data. See:

Re: [josm-dev] Changed presets, contact

2011-12-18 Thread Jonathan Bennett
On 18/12/2011 13:46, Dirk Stöcker wrote: Working together with the autors of other editors also would be a good idea, but until today all such tries failed miserably. I suspect what this needs is for one person to just go ahead and implement something, and for the other editor coders to see

Re: [josm-dev] Changed presets, contact

2011-12-18 Thread Jonathan Bennett
On 18/12/2011 15:12, Frederik Ramm wrote: But I admit that this is a kind of romantic view because it assumes that everyone easily has a server available where they could publish their styles, Github FTW. ___ josm-dev mailing list

Re: [OSM-dev] ER Diagram of OSM Database

2011-12-12 Thread Jonathan Bennett
On 12/12/2011 18:50, Parveen Arora wrote: Hi All, I was searching for ER Diagram of OpenStreetMap's Database to understand completely, So I would like to know If there is any available or not? http://git.openstreetmap.org/?p=rails.git;a=tree;f=db/migrate -- Jonathan (Jonobennett)

Re: [OSM-dev] Where is the code that checks if the user is logged in before serving the request?

2011-11-18 Thread Jonathan Bennett
On 18/11/2011 10:42, Alexandru wrote: That's very helpful! Thanks. I looked over the code but couldn't find easily what i was looking for (i'm a java dev)... can you give me a hint on how to make any request filtered by authorization? pls As you've been told before, the OSM server stack is

Re: [OSM-dev] Where is the code that checks if the user is logged in before serving the request?

2011-11-18 Thread Jonathan Bennett
On 18/11/2011 12:34, Alexandru wrote: You mean there is no way to just tell the controller to ask for authorization on a specific request pattern, say like: /personal/* ; (because that's how i was thinking it would be.) Maybe if you bothered to follow the advice you've now been given several

Re: [Potlatch-dev] Potlatch2 can't contact my private osm server

2011-10-27 Thread Jonathan Bennett
On 27/10/2011 15:37, Alexandru wrote: Perhaps potlatch is not configured to contact my server, i don't know. And i don't know how to check that. http://wiki.openstreetmap.org/wiki/Potlatch_2/Deploying_Potlatch_2 tells you everything you need to know.

Re: [OSM-dev] open source mapping with polygons?

2011-02-17 Thread Jonathan Bennett
On 17/02/2011 15:54, nittyG wrote: What I am envisioning is something where a user can create and/or manipulate polygons to show everything from population density, to rainfall and climate change, to market flows, to historical maps that can be animated. A bit like GeoCommons, then?

Re: [OSM-dev] Can't login to https://trac.openstreetmap.org/login

2011-01-18 Thread Jonathan Bennett
On 17/01/2011 20:30, Martin Ždila wrote: Hello I can't login to https://trac.openstreetmap.org/login with my username mar...@zdila.sk mailto:mar...@zdila.sk and correct password. These credentials works on the http://www.openstreetmap.org site. Have you tried logging in with your display

Re: [OSM-dev] Minutely Mapnik

2010-11-18 Thread Jonathan Bennett
On 18/11/2010 21:24, Frederik Ramm wrote: I forgot what exactly it was, but there will be some cases where a node is moved from the inside to the outside or so where things foul up. The usual example is: * Way and all nodes fall outside initial bounding box of extract * One or more nodes of

Re: [OSM-dev] API 0.7+: Split node concept?

2010-10-12 Thread Jonathan Bennett
On 12/10/2010 20:45, Chris Browet wrote: I am wondering (I wonder a lot lately ;-)) if some have already given a thought to the fact that nodes actually represent 2 different concepts in the current api: - a node in the geometrical sense, i.e. used to define a linestring/way - a POI True, but

Re: [OSM-dev] Data source for robot

2010-10-12 Thread Jonathan Bennett
On 12/10/2010 20:54, Alan Millar wrote: You can't equate the need for improvement in the data with the method used to improve it. Well, apparently you can, but it is a specious argument. Saying that data needs some improvement doesn't prove that a particular method *will* improve it either.

Re: [OSM-dev] Getting the last Element-IDs

2010-10-11 Thread Jonathan Bennett
On 11/10/2010 10:50, Peter Körner wrote: Hi Is there an API to get the highest User (and possibly Node, Way and Relation) ID? No, because it would be useless. Seconds after you got your result (if not sooner), it would be invalid. Stuff would have been created and numbers you have would

Re: [OSM-dev] How to get non-technical users easily editing (offline)?

2010-09-22 Thread Jonathan Bennett
On 22/09/2010 06:52, Sam Wilson wrote: I'm currently thinking of changing this mud-map to use the relevant OSM tile as a starting point, and getting the users to sketch in their notes and modifications over the top, and then uploading these modified tiles to our server from where I can use

Re: [OSM-dev] How to get non-technical users easily editing (offline)?

2010-09-22 Thread Jonathan Bennett
On 22/09/2010 11:10, Sam Wilson wrote: Unfortunately, this all has to work offline, so Potlatch can't help me. But really, that idea of limiting an editor to a specific set of tags (etc.) seems great; anyone know if one of the offline editors would lend itself to that sort of thing? As

[OSM-dev] Fwd: Using OSM material for our online tool

2010-08-31 Thread Jonathan Bennett
Forwarding to the developer and legal-talk lists. Original Message Subject:Using OSM material for our online tool Date: Tue, 31 Aug 2010 11:54:38 +0200 From: Ole Brandenburg o...@stepmap.de To: annou...@openstreetmap.org CC: 'Thomas Gottfried'

Re: [OSM-dev] OSM on Mobile

2010-05-20 Thread Jonathan Bennett
On 20/05/2010 10:52, Aditya Vikram Thoomati wrote: Any thoughts on the dev of OSM for the mobile phones?? You should probably read: http://wiki.openstreetmap.org/wiki/Software/Mobile_phones -- Jonathan (Jonobennett) ___ dev mailing list

Re: [OSM-dev] XAPI compressed

2010-04-07 Thread Jonathan Bennett
On 07/04/2010 21:36, Christian H. Bruhn wrote: Is there a way to get compressed data (e.g. bz2) when I start a XAPI-query? My internet connection is not that fast, but the OSM-data can be easily compressed to 10% of the original size. As far as I'm aware, the data is output as soon as it's

Re: [OSM-dev] [Talk-GB] OSM shortlinks problem

2010-03-29 Thread Jonathan Bennett
On 29/03/2010 10:52, Gregory wrote: I understand avoiding the ending character from being non-alphanumeric(not letters or numbers) would mean a serious rewrite of how the shortlinks are made/decoded. How much longer would short links be if all digits were alphanumeric only? It's also allowed

Re: [josm-dev] self-intersecting ways

2010-03-26 Thread Jonathan Bennett
On 26/03/2010 11:57, Frederik Ramm wrote: 1. Draw areas using same nodes as road - wrong because it suggests the area is larger than it really is. Sometimes this is the only option. Not all ways are two-lane, asphalt roads; sometimes they're narrow footpaths. If you look here:

Re: [OSM-dev] Doing street names from aerial imagery

2010-03-24 Thread Jonathan Bennett
On 24/03/2010 10:52, John Smith wrote: This is a routing problem, hopefully someone has already solved it. If there is a suburb of streets mapped from aerial imagery and you have several volunteers how do you work out the most efficient path for all the voluneteers to take to grab street

Re: [OSM-dev] I converted the rails port to Git

2010-02-23 Thread Jonathan Bennett
On 22/02/2010 22:01, Andy Allan wrote: ... have a few of us throwing ideas around and mixing and merging between branches without pissing off TomH by doing it in trunk and without confusing anyone by having branches like gravitystorm-and-zere-and-shauns-new-thing that are only around for a

Re: [OSM-dev] I converted the rails port to Git

2010-02-22 Thread Jonathan Bennett
On 21/02/2010 22:30, Ævar Arnfjörð Bjarmason wrote: We were discussing maybe moving over to Git in #osm and I thought I'd do a quick conversion just to show how easy it is: Sorry I missed the original conversation. Can you, for the benefit of those of us not present, give a few bullet points of

Re: [josm-dev] shocking - unsecure password sending!

2009-10-07 Thread Jonathan Bennett
ste...@binaervarianz.de wrote: Could someone kindly recap why good old HTTPS is not an option? A certificate costs $400 per year, that's why. ___ josm-dev mailing list josm-...@openstreetmap.org http://lists.openstreetmap.org/listinfo/josm-dev

Re: [josm-dev] shocking - unsecure password sending!

2009-10-07 Thread Jonathan Bennett
ste...@binaervarianz.de wrote: HTTPS can be done with certificates free of charge, as well as self signed certificates as well as without certificates at all. The original question asked for encryption, not authentication. Of course. There wouldn't be any problem with non-technical people not

Re: [OSM-dev] Scale markings on maps

2009-10-06 Thread Jonathan Bennett
andrzej zaborowski wrote: Also it's one of those things that should be really easy to fix Great! When do you think you'll have it done? -- Jonathan (Jonobennett) ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev

Re: [OSM-dev] Excessive version count

2009-09-17 Thread Jonathan Bennett
Ian Dees wrote: Perhaps the API should ignore (i.e. not increase rev #'s) changes that don't actually change anything? The idea isn't a bad one, but the implementation would need to be slick as to avoid bogging down the server -- it would double the number of DB queries per upload. --

Re: [OSM-dev] Excessive version count

2009-09-17 Thread Jonathan Bennett
Shaun McDonald wrote: Both the old and new nodes/ways/relations are loaded before saving the changes. So the time is how long it would take to compare the old and new values. Cool. That's the answer I was looking for. -- Jonathan (Jonobennett) ___

Re: [OSM-dev] what server next?

2009-09-08 Thread Jonathan Bennett
Iván Sánchez Ortega wrote: Supposing that we get the rack space, what kind of machine and services would you like us to host here? Just a mapnik renderer to balance load and improve tile serving uptime? I'd suggest: * A localised front page * Cacheing proxy of the main Mapnik render * A

Re: [OSM-dev] Planet File Change Request

2009-09-04 Thread Jonathan Bennett
Matt Amos wrote: yup. but this doesn't change the fact that, if you find something that's broken and you fix it, it'll stay fixed. ;-) You've clearly never owned a Fiat. -- Jonathan (Jonobennett) ___ dev mailing list dev@openstreetmap.org

Re: [OSM-dev] how many api calls/time for an app allowed?

2009-07-03 Thread Jonathan Bennett
Gary68 wrote: - touch checks (nearly touching nodes/ways, improperly not connected) - cross checks (crossings of highways on same layer, without bridge, tunnel etc.) - roundabout check, direction - maybe more... Just checking, have you seen: http://keepright.ipax.at/ ? -- Jonathan

Re: [OSM-dev] building A openstreetmap server

2009-04-29 Thread Jonathan Bennett
Sam Mor wrote: I would to comment about I read: is it correct that everyone can build his openstreet map server? if yes , what are the needs of hardwares and softwares? Yes, you can set up your own OSM server -- the software is all open source. See

Re: [josm-dev] Combine and Merge

2009-04-24 Thread Jonathan Bennett
Ævar Arnfjörð Bjarmason wrote: If you're rewriting this perhaps you could also make it support merging two (or more) nodes two the location of a specific node, currently merge will merge to the oldest node, which isn't always what you want. +1 -- Jonathan (Jonobennett)

Re: [OSM-dev] [bug] direction of GPS traces

2009-04-14 Thread Jonathan Bennett
Johnny Rose Carlsen wrote: Does that mean that my non-public traces are still available to others?, I thought that they would only be shown to me. The individual points from private traces are shown when someone asks for an area download, but there's no way of telling which points in that area

Re: [josm-dev] JOSM version detect

2009-04-08 Thread Jonathan Bennett
Dirk Stöcker wrote: You should update. What do you think how I did compile the server stats? I generally do keep up with SVN, and that wasn't the problem. The problem was that I wasn't expecting to find the code to set the header in the file for the About box. I can see why it's been done that

Re: [josm-dev] JOSM version detect

2009-04-03 Thread Jonathan Bennett
Dirk Stöcker wrote: I think it should already be possible to display a special message inside the StartUp page when old versions are used. Writing a Trac-Plugin to analyze the HTTP headers would be required for this. I notice JOSM doesn't appear to send a custom User-Agent header at the

Re: [josm-dev] restrict mass-editing?

2009-03-31 Thread Jonathan Bennett
Frederik Ramm wrote: currently it is possible to select all and then set a tag for tens of thousands of objects at the same time. Do you think we should do an alert box saying you are editing 12.345 objects. are you sure you want this? - or maybe just disallow it altogether? Or remove

Re: [josm-dev] restrict mass-editing?

2009-03-31 Thread Jonathan Bennett
Matt Amos wrote: indeed. i don't think frederik was suggesting that features are removed, just warn the user that they might have selected more objects than they thought. Seriously though, can you think of a legitimate use for Select All in JOSM? If removing it would prevent some editing

Re: [josm-dev] [PATCH] Allow line drawing for local GPX files only

2009-03-30 Thread Jonathan Bennett
Dirk Stöcker wrote: Please attach it to a Trac ticket. Done - #2370 ___ josm-dev mailing list josm-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/josm-dev

[josm-dev] [PATCH] Allow line drawing for local GPX files only

2009-03-25 Thread Jonathan Bennett
The attached patch modifies the options for GPX line drawing to allow lines to be drawn only for files loaded from a local drive, and not for layers downloaded from the OSM server. Per-layer/file preferences still override this behaviour. -- Jonathan (Jonobennett) # This patch file was

Re: [josm-dev] [PATCH] Allow line drawing for local GPX files only

2009-03-25 Thread Jonathan Bennett
Jonathan Bennett wrote: The method used in this patch is based on the origin of the data, not what it happens to be named at the time. It's far more robust. ...plus it's better usability. With my patch, the user can see that this functionality is possible, explicitly. The other method requires

Re: [josm-dev] Difference between JOSM and JOSM-NG

2008-08-11 Thread Jonathan Bennett
Petr Nejedly wrote: When thinking of it now, I don't think starting josm-ng was a bad idea. It allowed me to prototype my ideas quickly and some of the ideas can still be taken from josm-ng and ported to josm. Petr, just out of interest, why didn't you base josm-ng on the NetBeans platform,