Re: [Potlatch-dev] Bug: Selection broken after save

2011-03-13 Thread Dave Stubbs
On Sat, Mar 12, 2011 at 11:47 PM, Richard Fairhurst rich...@systemed.net wrote: NopMap wrote: That is the number P2 displays in the help dialog. ...if you're using an old (svn) version. If you go to osm.org and click Edit, right now, it says: Version: 0.5. Build: 0.5-291-g0c68ba6.

Re: [Potlatch-dev] Introducing Magic Roundabout tool

2011-02-26 Thread Dave Stubbs
On Sat, Feb 26, 2011 at 2:08 AM, Steve Bennett stevag...@gmail.com wrote: On Sat, Feb 26, 2011 at 12:43 AM, Andy Allan gravityst...@gmail.com wrote: This is where I could be wrong, but I think that it's critical to the redo part. When undo'ing an action the action is added to the redo list, so

Re: [Potlatch-dev] Introducing Magic Roundabout tool

2011-02-26 Thread Dave Stubbs
On Sat, Feb 26, 2011 at 2:23 AM, Steve Bennett stevag...@gmail.com wrote: On Sat, Feb 26, 2011 at 2:52 AM, Dave Stubbs osm.l...@randomjunk.co.uk wrote: Yeah, what we have is a nested and OO implementation of a simple stack with markers. This allows you to do cool stuff like encapsulate

Re: [Potlatch-dev] Introducing Magic Roundabout tool

2011-02-25 Thread Dave Stubbs
On Fri, Feb 25, 2011 at 1:43 PM, Andy Allan gravityst...@gmail.com wrote: On Fri, Feb 25, 2011 at 1:17 PM, Steve Bennett stevag...@gmail.com wrote: Does this absolutely have to be the case? I can't quite understand, from a theoretical point of view, why this principle is necessary. Why not

Re: [OSM-dev] Potlatch history

2010-04-21 Thread Dave Stubbs
On Wed, Apr 21, 2010 at 10:20 AM, Maarten Deen md...@xs4all.nl wrote: It seems to me that the history function in Potlatch (shortcut key H) has a bug. Example: way 6313107, which is the southern part of the railway at http://www.openstreetmap.org/edit?lat=50.81lon=5.717638zoom=18. When

Re: [OSM-dev] Split osm line with perl

2009-11-29 Thread Dave Stubbs
On Sun, Nov 29, 2009 at 11:41 AM, Lennard l...@xs4all.nl wrote: Maarten Deen wrote: I've tried a few things, but I'm not fluent in perl. My problem at the moment is that splitting a line on the space character seems logical, but you run into problems if a value has a space in it. So

Re: [OSM-dev] potlatch breaking B38a

2009-11-19 Thread Dave Stubbs
On Thu, Nov 19, 2009 at 4:30 AM, Marcus Wolschon marcus.wolsc...@googlemail.com wrote: On Thu, Nov 19, 2009 at 4:01 AM, Richard Fairhurst rich...@systemed.net wrote: Marcus Wolschon wrote: ...no chance that users might actually read some documentation? No, of course not. Silly me. We`ve

Re: [OSM-dev] likenesses

2009-10-01 Thread Dave Stubbs
On Thu, Oct 1, 2009 at 3:25 AM, SteveC st...@asklater.com wrote: I want to revive a very old idea - tag equivalences. It might be solving a problem that doesn't exist or someone might have done it and I've missed it. Closest I got was the osmosis tagtransform plugin [1]. I made that because

Re: [OSM-dev] likenesses

2009-10-01 Thread Dave Stubbs
On Thu, Oct 1, 2009 at 1:33 PM, John Smith deltafoxtrot...@gmail.com wrote: 2009/10/1 Dave Stubbs osm.l...@randomjunk.co.uk: That argument is bogus. It's much easier to do the translations on a couple of servers rather than make the 100,000's editors more complicated so that they use more

Re: [OSM-dev] Deeplink for Potlatch Custom Background

2009-09-28 Thread Dave Stubbs
replace all the %26 with %2526 and it works. On Sun, Sep 27, 2009 at 9:10 PM, M. Emch nomorebigf...@gmx.ch wrote: Hi Dave Thanks for trying to help. Maybe it's a problem in my english skill or technical. %-|. Can you give me an example that works? Regards Martin Then i got this:

Re: [OSM-dev] Deeplink for Potlatch Custom Background

2009-09-27 Thread Dave Stubbs
On Sat, Sep 26, 2009 at 7:24 PM, M. Emch nomorebigf...@gmx.ch wrote: Hi Richard Thanks for fast answer! I have still some problems. I encoded this http://integrate.ch/app/tile.php?layer=ams250z=!x=!y=! here: http://www.whatsmyip.org/stringencoder/ Then i got this:

Re: [OSM-dev] Excessive version count

2009-09-17 Thread Dave Stubbs
On Thu, Sep 17, 2009 at 2:10 PM, Ian Dees ian.d...@gmail.com wrote: On Thu, Sep 17, 2009 at 5:16 AM, Jonathan Bennett openstreet...@jonno.cix.co.uk wrote: 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

[OSM-dev] what server next?

2009-09-09 Thread Dave Stubbs
On Tue, Sep 8, 2009 at 10:09 PM, Micha Ruhgnub...@gmail.com wrote: Hi 2009/9/8 Frederik Ramm frede...@remote.org Your idea suffers from the fundamental problem that it only counts those having last touched an object. No, it doesn't.  I thought of a mechanism to avoid that: Users adding 

Re: [OSM-dev] A better way to watch nodes and ways?

2009-08-13 Thread Dave Stubbs
On Wed, Aug 12, 2009 at 7:06 PM, Ian Deesian.d...@gmail.com wrote: On Wed, Aug 12, 2009 at 1:01 PM, John McKerrell j...@mckerrell.net wrote: Perhaps if you entered your username it could report all the elements that change away from your username? I seem to remember having a discussion ages

Re: [OSM-dev] Deleting TIGER node tags

2009-07-22 Thread Dave Stubbs
On Wed, Jul 22, 2009 at 10:46 AM, John Smith delta_foxt...@yahoo.comwrote: --- On Wed, 22/7/09, Marc Schütz schue...@gmx.net wrote: Should the editors be changed to automatically remove created_by? Or maybe just well-known values like /JOSM.*/, /Potlatch.*/? Right, wrong or indiff

Re: [OSM-dev] problem with changesets and bulk_upload.py

2009-07-07 Thread Dave Stubbs
2009/7/6 Mikel Maron mikel_ma...@yahoo.com: Recently uploaded the Arabic names for all countries. Rather than updating the existing nodes as expected, it created new nodes. http://www.openstreetmap.org/browse/changeset/1707270 http://www.openstreetmap.org/browse/changeset/1725949 I used

Re: [OSM-dev] Deleting TIGER node tags

2009-06-27 Thread Dave Stubbs
2009/6/27 Minh Nguyen m...@zoomtown.com: Ngày 6/26/09 12:59 PM, Andy Allan viết: Hello Devs, source = tiger_import_dch_v0.6_20070813 tiger:county = St. Louis, MO tiger:tlid = 100111260:100111261:10055:10059 tiger:upload_uuid = bulk_upload.pl-6143e1a9-589d-43a0-9248-e95658773ef4

Re: [OSM-dev] need help on bulk import of osmchange

2009-05-27 Thread Dave Stubbs
2009/5/27 Gleb Smirnoff gleb...@glebius.int.ru:  Hello,  we are working on fixing things after one automated import that covered a large part of Russia. The import created many nodes, that describe villages and hamlets. It had two problems: 1) Many nodes where imported twice. 2) All names

Re: [OSM-dev] need help on bulk import of osmchange

2009-05-27 Thread Dave Stubbs
2009/5/27 Dave Stubbs osm.l...@randomjunk.co.uk: 2009/5/27 Gleb Smirnoff gleb...@glebius.int.ru:  Hello,  we are working on fixing things after one automated import that covered a large part of Russia. The import created many nodes, that describe villages and hamlets. It had two problems

Re: [OSM-dev] hard drive size

2009-05-11 Thread Dave Stubbs
2009/5/11 Grant Slater openstreet...@firefishy.com: Iván Sánchez Ortega wrote: El Lunes, 11 de Mayo de 2009, Sam Mor escribió: is a Hard drive of  500 Gig enough for a planet map rendering? It should be. If you check the wiki and munin, you'll see that the mapnik tile server currently

Re: [OSM-dev] Grumble, grumble

2009-05-11 Thread Dave Stubbs
i don't understand what you're trying to say. changesets have bboxes, yes. they're calculated from the data, not exposed in the URI like XAPI does. I start editing Josm/Potlatch/Merkaartor says: for the next 15 minutes bbox lat/long is locked for editing. For properties highway=* etc. The

Re: [OSM-dev] Tagtransform

2009-05-04 Thread Dave Stubbs
of Osmosis. The plugin looks very useful to me, so if noone maintains it, I'll give refactoring it a try, but because I have no experience with coding Osmosis plugins, I would prefer if someone else could do this. Regards, Steven Dave Stubbs schreef: 2009/2/13 marcus.wolsc...@googlemail.com

Re: [OSM-dev] Tagtransform

2009-05-04 Thread Dave Stubbs
OK, now updated to work with osmosis 0.30 It has tasks for 0.5 and for 0.6, the default is now 0.6. Source is in SVN here: http://trac.openstreetmap.org/browser/applications/utils/osmosis/plugins/tagtransform 2009/5/4 Dave Stubbs osm.l...@randomjunk.co.uk: I'll get it working with latest

Re: [OSM-dev] User preference for editor

2009-05-01 Thread Dave Stubbs
2009/5/1 Frederik Ramm frede...@remote.org: Hi, Thomas Wood wrote: Others have stated before that the mime type option is really the only sane one for this sort of thing, rather than the awful localhost URIs the the JOSM remote control uses presently. Call me biased but I find a certain

Re: [OSM-dev] Cloudmade routing for OSM rails_port site.

2009-04-29 Thread Dave Stubbs
2009/4/29 Richard Fairhurst rich...@systemed.net: Nick Black wrote: To your point about integrating other people's services, I think its clear. Whatever the best service available is should be used. Best is in the eye of the beholder. Subject to minimum quality standards (no long outages,

Re: [OSM-dev] Please advise; I really don't get how this can corrupt so badly

2009-04-06 Thread Dave Stubbs
2009/4/6 Stefan de Konink ste...@konink.de: On Mon, 6 Apr 2009, Dave Stubbs wrote: Anyway, Shaun refactored the whole lot for API 0.6. It now atomically checks relation consistency within the rails models when doing an update rather than relying on the caller to do it. So this should

Re: [OSM-dev] Please advise; I really don't get how this can corrupt so badly

2009-04-06 Thread Dave Stubbs
2009/4/6 Richard Fairhurst rich...@systemed.net: Stefan de Konink wrote: Now how is it possible that there was no 415 on that update? I'm going to pass on this one as I didn't write the Potlatch relations code, Dave did - any thoughts? I'm guessing that's here:

Re: [OSM-dev] JOSM: Several tags with same key

2009-04-02 Thread Dave Stubbs
2009/4/2 Frederik Ramm frede...@remote.org: Hallo, Andreas Kalsch wrote: I'd like to add several tags with the same key. In the most cases this no good practice, but with urls it makes sense, e.g. to add several images to one feature. This was never supported by JOSM, and while it is

Re: [OSM-dev] EDIT-Button on osm-website

2009-03-29 Thread Dave Stubbs
2009/3/29 Martin Koppenhoefer dieterdre...@gmail.com: I wonder if it was possible to link the EDIT button on the main website to a page (or AJAX) with checkbox-choice for the editor: Potlatch, JOSM (and any other Editor offering a remote-call-function). This would underline the possibility of

Re: [OSM-dev] OSM Fixer [Sequal]

2009-03-26 Thread Dave Stubbs
2009/3/25 Stefan de Konink ste...@konink.de: Dave Stubbs wrote: Who needs SQL? http://api.openstreetmap.org/api/0.5/node/292984561/ways So yes. It is. Thanks very interesting; I didn't realise this could do the trick. The API's Way.to_xml_node method strips out invisible nodes

Re: [OSM-dev] OSM Fixer [Sequal]

2009-03-25 Thread Dave Stubbs
2009/3/25 Stefan de Konink ste...@konink.de: Richard Fairhurst wrote: Stefan de Konink wrote: The amount of 'potlatch' in the attached document As has been explained to you, you mean the amount of API ;) Yeah yeah... I knew this would trigger you to a response; My next mail includes the

Re: [OSM-dev] OSM Fixer [Sequal]

2009-03-25 Thread Dave Stubbs
2009/3/25 Stefan de Konink ste...@konink.de: Matt Amos wrote: yeah, the wiki page could probably do with some updating. but you remember this thread last month, right? http://lists.openstreetmap.org/pipermail/dev/2009-February/014024.html the issue with things referencing deleted items

Re: [OSM-dev] Improvement of tile rendering

2009-03-20 Thread Dave Stubbs
2009/3/20 Ceriel Jacobs cerieljac...@gmail.com: On Tue, 17 Mar 2009 18:35:18 +0100 Stefan de Konink wrote: I have set this up completely inside a webserver. Cherokee, no php, just the python script that renders the thing on demand. Runs in production for months now. snip

Re: [OSM-dev] Improvement of tile rendering

2009-03-17 Thread Dave Stubbs
2009/3/17 Udo Giacomozzi udo@nova-sys.net: I just set up my own Mapnik server that renders map tiles on demand and saves them on disk so that they are efficiently cached. Currently this is done using a PHP script (FastCGI handler with 5 instances) that handles 404 errors and invokes a

Re: [OSM-dev] osmarender patch - Better support for non-english/multi-lang areas

2009-03-12 Thread Dave Stubbs
2009/3/12 Eddy Petrișor eddy.petri...@gmail.com: Tal a scris: On Wed, Mar 11, 2009 at 7:37 PM, Andy Allan gravityst...@gmail.com wrote: On Wed, Mar 11, 2009 at 12:33 PM, Tal tal@gmail.com wrote: 2. Support making one tag be exactly the same as another tag using the following construct:  

Re: [OSM-dev] osmarender patch - Better support for non-english/multi-lang areas

2009-03-11 Thread Dave Stubbs
2009/3/11 Tal tal@gmail.com: 2. Support making one tag be exactly the same as another tag using the following construct:         name:he=hebrew text         name=$(name:he)   This is not full variable expansion, just the ability for tag A to say: i have exactly the same value as tag B.

Re: [OSM-dev] osmarender patch - Better support for non-english/multi-lang areas

2009-03-11 Thread Dave Stubbs
2009/3/11 Tal tal@gmail.com: On Wed, Mar 11, 2009 at 4:43 PM, Ævar Arnfjörð Bjarmason ava...@gmail.com wrote: This will result in the very commonly used name=* tag becoming useless for anyone that doesn't support this ad-hoc macro language once this starts being entered into the

Re: [OSM-dev] osmarender patch - Better support for non-english/multi-lang areas

2009-03-11 Thread Dave Stubbs
2009/3/11 Tal tal@gmail.com: On Wed, Mar 11, 2009 at 4:53 PM, Dave Stubbs osm.l...@randomjunk.co.uk wrote: Don't encourage people to try to insert random crap in free form tags such as name. It is no more crap than your answer ;) It is an attempt to offer a better solution to a serious

Re: [OSM-dev] Osmosis: Filter way/node *without* key x

2009-02-13 Thread Dave Stubbs
2009/2/13 marcus.wolsc...@googlemail.com: On Thu, 12 Feb 2009 21:34:21 +0100, Rolf Bode-Meyer rob...@gmail.com wrote: That indeed looks promissing. Unfortunatelly one seems to have be a programmer to use osmosis. Every problem is presented as a Java exception. Some of them contain at least

Re: [OSM-dev] Osmosis: Filter way/node *without* key x

2009-02-12 Thread Dave Stubbs
2009/2/7 Rolf Bode-Meyer rob...@gmail.com: Hi, is there a way (maybe not documented) to filter out ways/nodes without a specific key? You can try the TagTransform plugin: http://wiki.openstreetmap.org/wiki/Osmosis/TagTransform A translation along the lines of this should drop entities not

Re: [OSM-dev] One value per key? Why not one pair per object?

2009-02-03 Thread Dave Stubbs
2009/2/3 Matthias Julius li...@julius-net.net: Stefan de Konink ste...@konink.de writes: Frederik Ramm wrote: Stefan de Konink wrote: What is the motivation to go to the one value per key thing again. Opposed to unique(objectid - key - value)? As a client programmer, I say that unique keys

Re: [OSM-dev] [OSM-talk] Handling of towns with different or alternative names

2009-01-28 Thread Dave Stubbs
2009/1/28 Tom Hughes t...@compton.nu: Simon Ward wrote: On Wed, Jan 28, 2009 at 12:30:01AM +, Tom Hughes wrote: In practice keys are unique because although the API has never enforced uniqueness pretty much every client does because all the clients use a hash table of some sort to store

Re: [OSM-dev] [OSM-talk] Handling of towns with different or alternative names

2009-01-28 Thread Dave Stubbs
2009/1/28 Richard Fairhurst rich...@systemed.net: Stefan de Konink wrote: If you can agree that this tag/nds out of order thing could be the main reason for these strange inserts, I am happy to help you search for the source that reflects this. I have an open mind as to what it might be.

Re: [OSM-dev] 0.6 bulk uploader

2009-01-22 Thread Dave Stubbs
2009/1/22 Frederik Ramm frede...@remote.org: Hi, Shaun McDonald wrote: It would be best if the bulk_import.py script was updated for 0.6. As everything needs to be wrapped into a changeset, it makes the bulk upload more complex than before. Yes and no... if you're talking uploads that are

Re: [OSM-dev] Distributed Data Store

2009-01-22 Thread Dave Stubbs
2009/1/22 Scott Shawcroft scott.shawcr...@gmail.com: Stefan, My thoughts are below. Stefan de Konink wrote: Hey, Scott Shawcroft wrote: My friend Jason (cced) and I are seniors at the University of Washington in Computer Science and Engineering. On your FAQ you say people interested in

Re: [OSM-dev] osm2pgsql planet import time issues?

2009-01-20 Thread Dave Stubbs
2009/1/20 Ivo Brodien philo...@cs.tu-berlin.de: Hello list, I am trying to import the planet file into PostgreSQL/PostGIS. I was already in contact with Jon Burgess, the author of the tool because I had a Segmentation fault after some hours of processing. He suggested to try the --slim

Re: [OSM-dev] Limit on the number of tags on a node

2009-01-14 Thread Dave Stubbs
2009/1/13 Neil Penman ianaf4...@yahoo.com: Hmm, trying my post again with a message created from scratch! I didn't realise I couldn't just reply all to another message, change the subject and delete the old text! Its a bad habit anyway so time I stopped it. I get a 400 error when I try and

Re: [OSM-dev] Potlatch - really BAD bug

2009-01-13 Thread Dave Stubbs
2009/1/13 Marc Schütz schue...@gmx.net: Diff uploads will not help online editor such as Potlatch. The addition of transactions and exposure of the version numbers will help more. Why not? It may well utilize it for changes to multiple objects that should be atomic, e.g. the example

Re: [OSM-dev] UID and username in API0.6

2009-01-05 Thread Dave Stubbs
I'd also like to make the code so that it doesn't even parse the visible/timestamp/uid/username, thus reducing the processing required when editing the data. Is there likely to be a problem caused by doing this? Is the xml parsing code used for anything other than the data editing in the

Re: [OSM-dev] UID and username in API0.6

2009-01-05 Thread Dave Stubbs
2009/1/5 marcus.wolsc...@googlemail.com: http://wiki.openstreetmap.org/index.php?title=OSM_Protocol_Version_0.6section=14#Reliably_identifying_users Do uid and username have to be present for uploads? I am currently specifying a file-format not primarily intended for editors and would like

Re: [OSM-dev] ROMA servers down - osmosis large way problem

2008-12-30 Thread Dave Stubbs
2008/12/30 Robert (Jamie) Munro rjmu...@arjam.net: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stefan de Konink wrote: Shaun McDonald wrote: From API 0.6 there is a limit of 2,000 nodes in a way. Btw; Do you impose this also on a relation? If not, then it is pretty useless to have an

Re: [OSM-dev] Some more corruption

2008-12-15 Thread Dave Stubbs
2008/12/15 Stefan de Konink ste...@konink.de: http://api.openstreetmap.org/api/0.5/way/23950375 http://api.openstreetmap.org/api/0.5/way/24644162 Would this problem be that there are two write outs to the same tag table at the same time? Yes, judging from the history two updates have

Re: [OSM-dev] Any tile statistics (unique visitors)

2008-12-07 Thread Dave Stubbs
2008/12/7 Frederik Ramm [EMAIL PROTECTED]: Hi, Ian Dees wrote: It would be pretty neat to see a map of the number of times a certain tile is served. While it certainly wouldn't be any measure of visitors, it would be a pretty nifty visualization of the busy areas of the planet. I believe

Re: [OSM-dev] Help needed: postgis database transform()

2008-12-01 Thread Dave Stubbs
2008/12/1 Joerg Ostertag (OSM Tettnang/Germany) [EMAIL PROTECTED]: Probably my problem boils down to : Which SRID can I use to get data into the coordinate system used inside the planet.osm? But here in Detail: I need a little help in reading from the mapnik posgis database.

Re: [OSM-dev] Data corruption :) II

2008-11-26 Thread Dave Stubbs
2008/11/26 Stefan de Konink [EMAIL PROTECTED]: On Wed, 26 Nov 2008, Tom Hughes wrote: Then let me even get a better proposal; A second machines will be installed that has enforced foreign keys. This second machine will produce the planet. And will directly trigger events upon corruption so

Re: [OSM-dev] Data corruption :) II

2008-11-26 Thread Dave Stubbs
Otherwise you could make this check in postgres using the CHECK expression table/column constraint. And possibly some stored procedures. But we're then writing very close to the database layer. And not even our current database layer, as I don't know if mysql supports this. i don't think

Re: [OSM-dev] Data corruption :) II

2008-11-26 Thread Dave Stubbs
2008/11/26 Matt Amos [EMAIL PROTECTED]: On Wed, Nov 26, 2008 at 7:54 AM, Stefan de Konink [EMAIL PROTECTED] wrote: Then let me even get a better proposal; A second machines will be installed that has enforced foreign keys. This second machine will produce the planet. And will directly trigger

Re: [OSM-dev] 0.5 API: /api/0.5/user/preferences, values truncated to 256 chars

2008-11-25 Thread Dave Stubbs
2008/11/25 Stefan de Konink [EMAIL PROTECTED]: [snip] Is this problem at all addressed in 0.6? I'm quite surprised by this thread because I always was under the impression k and v sizes were unbounded. The choice for 256 is also very strange, 255 would have made much more sense. A post far

Re: [OSM-dev] Data corruption :) II

2008-11-24 Thread Dave Stubbs
2008/11/23 Stefan de Konink [EMAIL PROTECTED]: It is always easy to find the root of all problems: ++ | v | ++ | Potlatch 0.10b | | Potlatch 0.10d | | Potlatch 0.10e | | Potlatch 0.10f | | Potlatch 0.8a | | Potlatch 0.8b | | Potlatch 0.8c

Re: [OSM-dev] Data corruption :) II

2008-11-24 Thread Dave Stubbs
2008/11/24 Stefan de Konink [EMAIL PROTECTED]: Dave Stubbs wrote: There was a Potlatch bug early on (my fault), which has now been fixed, that'll be responsible for referencing the low numbered nodes. Resolvement scenario? Undelete or remove members? Just remove members -- there's

Re: [OSM-dev] Data corruption :) II

2008-11-24 Thread Dave Stubbs
2008/11/24 Stefan de Konink [EMAIL PROTECTED]: Andy Allan wrote: On Mon, Nov 24, 2008 at 11:06 AM, Stefan de Konink [EMAIL PROTECTED] wrote: Foreign key constraints are part of the typical database; not an API matter. Yep, but here's where theory and real-life meet. The new API requires

Re: [OSM-dev] 'holes' in buildings

2008-11-24 Thread Dave Stubbs
2008/11/21 Thomas Wood [EMAIL PROTECTED]: 2008/11/21 Brian Quinion [EMAIL PROTECTED]: Hi, I'm running my own mapnik server and have noticed a strange problem with the rendering. I don't seem to be getting the holes in buildings (i.e.

Re: [OSM-dev] Problem with Postgresql / Mapnik / SRTM Contours

2008-11-24 Thread Dave Stubbs
2008/11/24 sylvain letuffe [EMAIL PROTECTED]: Sylvain wins the prize for noticing! Is this sarcastic ? if yes, please excuse me, I'm using your tile serveur for a personal project No, it isn't. :-) Andy was wondering loudly to himself the other day how long it would take for people to

Re: [OSM-dev] Lean and mean Tile- and XML-API-Server

2008-11-21 Thread Dave Stubbs
2008/11/21 Stefan de Konink [EMAIL PROTECTED]: Matt Amos wrote: C/C++ is not a prototype language. do you mean http://en.wikipedia.org/wiki/Prototype-based_programming ? No I mean a language where you start scripting and others have no clue what you are doing until it finished and it works.

Re: [OSM-dev] Lean and mean Tile- and XML-API-Server

2008-11-21 Thread Dave Stubbs
2008/11/21 Stefan de Konink [EMAIL PROTECTED]: Dave Stubbs wrote: Meh, proper languages are often over rated. Machines are cheap, developers are expensive, and code lives far longer than most people hope. Who is paying for new machines in OSM? And who is getting paid for writing code? 1

Re: [OSM-dev] API 0.6: new_way

2008-11-09 Thread Dave Stubbs
On Sun, Nov 9, 2008 at 8:00 PM, Richard Fairhurst [EMAIL PROTECTED] wrote: In the way model, what does new_way do? I'm slightly surprised to encounter def delete_with_history!(new_way, user) when I'd have expected def delete_with_history!(changeset) The controller receives a request

Re: [OSM-dev] Ways with 40k nodes, was: osmosis pgsql schema

2008-10-31 Thread Dave Stubbs
On Fri, Oct 31, 2008 at 10:44 AM, Frederik Ramm [EMAIL PROTECTED] wrote: Hi, Florian Lohoff wrote: Its 2^15 because it signed - and yes - somebody managed to get abovE: This definitely has to stop. We need to (a) find all ways with more than a few thousand nodes and break them down, and (b)

Re: [OSM-dev] Ways with 40k nodes, was: osmosis pgsql schema

2008-10-31 Thread Dave Stubbs
On Fri, Oct 31, 2008 at 11:02 AM, Stefan de Konink [EMAIL PROTECTED] wrote: On Fri, 31 Oct 2008, Frederik Ramm wrote: Any comments? You are now basically working around the actual problem. Allowing partial ways in the editors for the current bbox. I think hacking and breaking ways is bad,

Re: [OSM-dev] Element IDs in API

2008-10-22 Thread Dave Stubbs
On Wed, Oct 22, 2008 at 1:18 PM, Matthias Brandt [EMAIL PROTECTED] wrote: Hi, are the IDs in ways, nodes and relations globally unique? Or otherwise: Are there two identical IDs, one as way-id the other as node-id? Yes, there can be collisions. IDs are not globally unique. Dave

Re: [OSM-dev] What country is something in?

2008-10-10 Thread Dave Stubbs
On Fri, Oct 10, 2008 at 5:38 PM, Stefan de Konink [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Roland Olbricht schreef: is anybody working currently on the What country is something in? issue from the Things-to-do-page? I would like to work on it, but I want to

Re: [OSM-dev] Auto closing of changesets in API 0.6

2008-10-03 Thread Dave Stubbs
On Fri, Oct 3, 2008 at 4:23 PM, 80n [EMAIL PROTECTED] wrote: On Fri, Oct 3, 2008 at 3:54 PM, Frederik Ramm [EMAIL PROTECTED] wrote: (forgot to reply to list) Hi, Shaun McDonald wrote: Should changesets automatically be closed after a period of time? If so how long? Why does a

Re: [OSM-dev] Mapnik projection slightly wrong?

2008-09-23 Thread Dave Stubbs
On Tue, Sep 23, 2008 at 4:30 PM, Jan-Benedict Glaw [EMAIL PROTECTED] wrote: Hi! I just looked at applications/rendering/mapnik/generate_{image,tiles}.py and noticed the projection string: +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m

Re: [OSM-dev] on planetdiff usage

2008-09-02 Thread Dave Stubbs
On Tue, Sep 2, 2008 at 2:47 PM, Mitya Korochkin [EMAIL PROTECTED] wrote: Hi everyone, I'd like to build weekly planet.osm files for the September 2007 using planetpatch utility (http://svn.openstreetmap.org/applications/utils/planetdiff/). I'm running the following command: ./planetpatch

Re: [OSM-dev] Autocorrectable data inconsistency

2008-08-18 Thread Dave Stubbs
On Sat, Aug 16, 2008 at 10:21 PM, Joachim Zobel [EMAIL PROTECTED] wrote: Hi. I took a closer look at the data and found that several ways (1+) in europe) have identical nodes on subsequent sequence_ids. I suspect this largely happens when someone removes a few nodes from a loop and the

Re: [OSM-dev] coastline

2008-08-14 Thread Dave Stubbs
On Wed, Aug 13, 2008 at 9:25 PM, Jon Burgess [EMAIL PROTECTED] wrote: On Wed, 2008-08-13 at 21:43 +0200, Martijn van Oosterhout wrote: On Wed, Aug 13, 2008 at 9:34 PM, Jon Burgess [EMAIL PROTECTED] wrote: I approached it the other way: I generate simplified versions of the really long ways

[OSM-dev] Tag Transforms

2008-08-12 Thread Dave Stubbs
Hi, I've written a new plugin for Osmosis to help in preprocessing OSM data. The plugin allows you to define a tag transform and apply it to an osm file. This transform matches tags with regular expressions, and then lets you manipulate the tags by inserting new ones or altering the existing

Re: [OSM-dev] osm2pgsql

2008-07-29 Thread Dave Stubbs
On Tue, Jul 29, 2008 at 11:00 AM, Walter Lorenzetti [EMAIL PROTECTED] wrote: Hi list, I'm a newby on osm and I'd like suggest a little modification for osm2pgsql python application if possible add a constran of type PRIMARY KEY for every osm_id columns in every tables that osm2pqsql builds

Re: [OSM-dev] Potlatch causing DB inconsistency?

2008-07-22 Thread Dave Stubbs
On Tue, Jul 22, 2008 at 10:18 AM, Stefan Baebler [EMAIL PROTECTED] wrote: Tnx for the confirmation. I guess 0.6 API aims to fix that with atomic uploads, but Potlatch will remain using its own API, right? Is it now (version 0.10) preventing this somehow? Well, it's API will get upgraded to

Re: [OSM-dev] Area support

2008-07-10 Thread Dave Stubbs
2008/7/9 Stefan Keller [EMAIL PROTECTED]: 2008/7/9 Jochen Topf wrote: Having real areas would make the handling quite a bit more practical. Agreed. An area (or polygon) simply is a basic geometry type; it's a fact in practice and computational geometry. The actual XML encoding of ways never

Re: [OSM-dev] [OSM-talk] When mental models go wrong: OpenStreetMap

2008-07-04 Thread Dave Stubbs
On Fri, Jul 4, 2008 at 3:05 PM, m*sh [EMAIL PROTECTED] wrote: Am Fr, 4.07.2008, 12:39, schrieb Erik Johansson: This has come up before, in different ways each time. I know started thinking that any editor would first let you choose the type, and then let you draw it, like in Google Map Maker.

Re: [OSM-dev] PUT /api/0.6/{node|way|relation}/{id|create}

2008-06-09 Thread Dave Stubbs
On Mon, Jun 9, 2008 at 5:10 PM, Stefan de Konink [EMAIL PROTECTED] wrote: Tom Hughes schreef: In message [EMAIL PROTECTED] Stefan de Konink [EMAIL PROTECTED] wrote: Tom Hughes schreef: The proposed change makes: - The QUERY_STRING to be irrelevant It already is. No current API

Re: [OSM-dev] PUT /api/0.6/{node|way|relation}/{id|create}

2008-06-09 Thread Dave Stubbs
On Mon, Jun 9, 2008 at 5:41 PM, Stefan de Konink [EMAIL PROTECTED] wrote: Tom Hughes schreef: In message [EMAIL PROTECTED] Stefan de Konink [EMAIL PROTECTED] wrote: - Assures the client always get the id back That is already assured by the current API definition. For 'updates'

Re: [OSM-dev] PUT /api/0.6/{node|way|relation}/{id|create}

2008-06-09 Thread Dave Stubbs
On Mon, Jun 9, 2008 at 6:47 PM, Stefan de Konink [EMAIL PROTECTED] wrote: Dave Stubbs schreef: I think it has been solved: just implement the API the way it is. That is the actual question. Why does the api require a {node|way|relation} if the actual XML, first child, already gives

Re: [OSM-dev] Question about ShieldSymbolizer in template file

2008-05-29 Thread Dave Stubbs
On Wed, May 28, 2008 at 9:11 PM, Brian Peschel [EMAIL PROTECTED] wrote: I was looking at the template file osm-template.xml. In there I see a definition for a ShieldSymbolizer. Style name=roads-text Rule Filter[highway] = 'motorway' and [length] = 1/Filter

Re: [OSM-dev] C++ implementation of the API

2008-05-28 Thread Dave Stubbs
On Wed, May 28, 2008 at 10:07 AM, Frederik Ramm [EMAIL PROTECTED] wrote: Hi, The problem here is the remedial action taken by the user/editor: they're going to try to work out the conflicts by downloading the latest version of the region. If this comes off a replication server that's a

Re: [OSM-dev] C++ implementation of the API

2008-05-25 Thread Dave Stubbs
On Sat, May 24, 2008 at 8:48 PM, Joachim Zobel [EMAIL PROTECTED] wrote: Am Donnerstag, den 22.05.2008, 00:06 +0100 schrieb Tom Hughes: Writing Apache modules in C is hard, and I don't think using mod_cpp will make it much easier. Doing Apache modules in Perl (mod_perl has API access

Re: [OSM-dev] C++ implementation of the API

2008-05-25 Thread Dave Stubbs
2008/5/25 Ludwig [EMAIL PROTECTED]: Would it not be better to think about new services that could be offered by OSM rather than putting a lot of effort into fixing something that is not broken? Suggestions would be WMS, WFS, i18n, custom layer support, or some sort of support where the OSM

Re: [OSM-dev] 0.6 API clarifications and corrections

2008-05-16 Thread Dave Stubbs
On Fri, May 16, 2008 at 10:13 AM, Dair Grant [EMAIL PROTECTED] wrote: Frederik Ramm wrote: First of you might want to do rollback from Z to Y only because you want to keep Y to X. Changesets are a grouping of edits that make things easier because one only has to work with the groups - e.g.

Re: [OSM-dev] 0.6 API clarifications and corrections

2008-05-15 Thread Dave Stubbs
On Thu, May 15, 2008 at 11:46 AM, Christopher Schmidt [EMAIL PROTECTED] wrote: On Thu, May 15, 2008 at 11:31:13AM +0200, Frederik Ramm wrote: It is also possible to change the same object multiple times within the same changeset, so one single changeset might catapult the object version from 1

Re: [OSM-dev] Newby question

2008-05-12 Thread Dave Stubbs
On Mon, May 12, 2008 at 3:22 PM, Shaun McDonald [EMAIL PROTECTED] wrote: On 12 May 2008, at 15:13, Alex Wilson wrote: Hi, I'm new to this mailing list but have been following the good work at OSM for a while and have been very heartened by the project's growth. I have a simple

Re: [OSM-dev] 0.6

2008-05-07 Thread Dave Stubbs
On Wed, May 7, 2008 at 10:10 AM, Raphael Studer [EMAIL PROTECTED] wrote: is there anything else that should be put in 0.6? Probably a good idea to talk about it now. There is something I have in mind since a long time. Whats about creating a tag_key, tag_value and tags table?

Re: [OSM-dev] The future of Potlatch

2008-05-02 Thread Dave Stubbs
2008/5/2 Yann [EMAIL PROTECTED]: Well, a couple of questions. - Is cloudmade the same company with which SteveC tried to put advertising on openstreetmap a year ago, putting it online without asking anybody before, arguing it was because of money issue which proved wrong after a couple of

Re: [OSM-dev] The future of Potlatch

2008-05-02 Thread Dave Stubbs
On Thu, May 1, 2008 at 6:35 PM, Richard Fairhurst [EMAIL PROTECTED] wrote: [warning - long ponderous e-mail follows!] Hi all, A fairly weighty issue concerning the future of Potlatch has arisen, and I'm completely baffled as to what to do - so I thought I'd ask the community for thoughts

Re: [OSM-dev] The future of Potlatch

2008-05-02 Thread Dave Stubbs
-- AS1 / AS3 Dave - I think your definition of donkey balls might be different to mine. ;) Or rather, when you've been sucking horse balls for several years then donkey balls don't seem very different. Er, I should probably rephrase that. Yeah, I don't think the relative merits of various

Re: [OSM-dev] Potlatch compiling setup

2008-04-17 Thread Dave Stubbs
On Thu, Apr 17, 2008 at 9:20 AM, Martijn van Exel [EMAIL PROTECTED] wrote: Hi Richard (others), Could you tell me, what do you need to compile Potlatch from svn? I would like to contribute a help popup (inspired by the popup behind the '?' key in google reader). latest ming library,

Re: [OSM-dev] osm2pgsql fails on current data

2008-04-14 Thread Dave Stubbs
On Mon, Apr 14, 2008 at 11:31 AM, Lauri Hahne [EMAIL PROTECTED] wrote: On 14/04/2008, Martijn van Oosterhout [EMAIL PROTECTED] wrote: You're right, I was thinking too far ahead. I won't complain if they enter 6;8 and they shouldn't complain when it's treated as if they had entered 6. I

Re: [OSM-dev] osm2pgsql fails on current data

2008-04-13 Thread Dave Stubbs
On Sat, Apr 12, 2008 at 6:01 PM, Martijn van Oosterhout [EMAIL PROTECTED] wrote: On Sat, Apr 12, 2008 at 3:46 PM, Frederik Ramm [EMAIL PROTECTED] wrote: Hi, there are some ways tagged admin_level=6;8 (way #23636282 e.g.) which seem to break osm2pgsql: Thinking about this more

Re: [OSM-dev] Potlatch's add relation button

2008-04-10 Thread Dave Stubbs
On Thu, Apr 10, 2008 at 8:24 AM, Lauri Hahne [EMAIL PROTECTED] wrote: Potlatch's add relation button looks exactly like http://www.sampo.fi/lehdistopalvelu/leipikset/images/logot/Sampo_Group_musta.jpg Maybe it should be changed. I agree completely. They can be contacted at: Sampo plc

Re: [OSM-dev] Potlatch backgrounds on Ubuntu

2008-04-01 Thread Dave Stubbs
On Tue, Apr 1, 2008 at 6:51 PM, Richard Fairhurst [EMAIL PROTECTED] wrote: I've had a report from a user saying that he can't access any Potlatch background imagery (Yahoo, OAM or whatever) on Ubuntu 7.10, Firefox 2.0.0.13, Flash 9.0.115.0. Anyone else have any experience with this? I

Re: [OSM-dev] Tag Handling in the Database

2008-03-27 Thread Dave Stubbs
On Thu, Mar 27, 2008 at 4:45 PM, Gervase Markham [EMAIL PROTECTED] wrote: Mikel Maron wrote: The discussion that followed Gervase's email last week was fascinating, especially the analysis of the OSM community as a anarcho-collective. Believe it or not, I was being ironic when I wrote

  1   2   >