[OSM-dev] [API] What characters to escape in tag keys/values?

2011-12-30 Thread Chris Browet
Hi All, long time no see. I have an issue with a tag value ending with a % (percent), e.g. 15%, returning a 500 error from the api, while 15%20 does not. I assume there is some escaping logic behind but it is not clear to me which characters should be escaped and how. AFAIK, no escaping should be

Re: [OSM-dev] [API] What characters to escape in tag keys/values?

2011-12-30 Thread Chris Browet
On Fri, Dec 30, 2011 at 15:41, Andy Allan gravityst...@gmail.com wrote: Sorry not to be able to help directly! Maybe if you can provide a payload that the devs can replay against a local copy of the rails port, that would help. And feel free to experiment against

Re: [OSM-dev] [API] What characters to escape in tag keys/values?

2011-12-30 Thread Chris Browet
On Fri, Dec 30, 2011 at 16:36, Tom Hughes t...@compton.nu wrote: On 30/12/11 15:19, Chris Browet wrote: On Fri, Dec 30, 2011 at 15:41, Andy Allan gravityst...@gmail.com mailto:gravityst...@gmail.com** wrote: Sorry not to be able to help directly! Maybe if you can provide a payload

Re: [OSM-dev] [API] What characters to escape in tag keys/values?

2011-12-30 Thread Chris Browet
On Fri, Dec 30, 2011 at 16:50, Frederik Ramm frede...@remote.org wrote: Hi, On 12/30/11 16:19, Chris Browet wrote: Here is an osmchange showing th issue: http://dl.dropbox.com/u/**7264433/test.oschttp://dl.dropbox.com/u/7264433/test.osc I can confirm this (trying to upload using a perl

[OSM-dev] oAuth vs. SSL

2011-02-14 Thread Chris Browet
Hi, I tend to think that oAuth is not a great solution for desktop client vs net server, and kind of reinventing the wheel vs. SSL. Key benefit of oAuth are, IMHO, the revoking ability, which is a bit pointless for a desktop app, and the fact that men-in-the-middle do not know your credential

[OSM-dev] Skobbler’s MapDust in MapQuest

2010-12-16 Thread Chris Browet
Hi, According to MapQuest latest blog ( http://devblog.mapquest.com/2010/12/16/open-mapquest-com/?utm_source=twitterfeedutm_medium=twitterutm_campaign=Feed:+MapQuestDevblog+(MapQuest+Devblog)utm_content=Twitter), they added support for Skobbler’s MapDust to their map. However, I remember reading

[OSM-dev] [Bing Maps] Bird eye photos allowed?

2010-12-07 Thread Chris Browet
Hi, Do someone knows if we are allowed to use the bird eye aerial photos from Bing in our editors? At at least one spot, it could solve a misalignement of the plain aerial tiles at lowest zoom level... - Chris - ___ dev mailing list

Re: [OSM-dev] [Bing Maps] Bird eye photos allowed?

2010-12-07 Thread Chris Browet
On Tue, Dec 7, 2010 at 14:41, Andy Allan gravityst...@gmail.com wrote: On Tue, Dec 7, 2010 at 1:29 PM, Chris Browet c...@semperpax.com wrote: Hi, Do someone knows if we are allowed to use the bird eye aerial photos from Bing in our editors? At at least one spot, it could solve

[OSM-dev] Missing Bing zoom level at some places

2010-12-06 Thread Chris Browet
Hi, It looks like Bing is missing some zoom levels at some places. E.g. go to http://www.openstreetmap.org/edit?editor=potlatch2lat=-12.94668lon=-38.50028zoom=17(with bing enabled of course) and zoom in. Would someone have an idea on how to anticipate this, as to implement it in the editors? I

Re: [OSM-dev] PBF: Anyone interested in a multiplatform Qt/C++ pbf2osm?

2010-11-17 Thread Chris Browet
2010/11/17 Sven Geggus li...@fuchsschwanzdomain.de Chris Browet c...@semperpax.com wrote: Actually, I could develop a pbf 2 whatever, via GDAL. Native osm or pbf support for gdal/ogr would be really nice. Er, sure, but it is not quite the point, here

[OSM-dev] PBF: add a package keyword to the .proto for CPP namespace

2010-11-16 Thread Chris Browet
Hi, Would it be possible to add a package zzz; to the .proto files, as in google examples? In CPP, that will generate a namespace named zzz, which would avoid class name clashing (mind you, I happen to already have Node, Way and Relation classes in Merkaartor). I'm not really sure if there would

Re: [OSM-dev] PBF: add a package keyword to the .proto for CPP namespace

2010-11-16 Thread Chris Browet
On Tue, Nov 16, 2010 at 18:46, Scott Crosby scro...@cs.rice.edu wrote: On Tue, Nov 16, 2010 at 10:52 AM, Chris Browet c...@semperpax.com wrote: Hi, Would it be possible to add a package zzz; to the .proto files, as in google examples? In CPP, that will generate a namespace named zzz, which

Re: [OSM-dev] pbf2osm development has started [code to test!]

2010-10-25 Thread Chris Browet
The current plan is also to equip mapnik with a pbf reader. (Mapnik devs here at the Mentor Summit...) but that does require a C++ approach, which might be beneficial for Merkaartor as well. So we could also team up rewriting the code using the C++ protobuf for integration in Merkaartor and

Re: [OSM-dev] pbf2osm development has started [code to test!]

2010-10-25 Thread Chris Browet
If you'd accept some related patches, it would greatly improve re-usability and trackability of pbm2osm... Obviously I do ;) Just hadn't the time to integrate it yet. And busy day a head with flying ;) That's ok, no rush needed, here... ;-)

Re: [OSM-dev] pbf2osm development has started [code to test!]

2010-10-24 Thread Chris Browet
On Fri, Sep 24, 2010 at 22:10, Stefan de Konink ste...@konink.de wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hi all, As far as I can see with a quick look we are in a state of functional. Tweaking will be done of course, especially because this version is only a pipe. cat

Re: [OSM-dev] Check out my photos on Facebook

2010-10-13 Thread Chris Browet
Isn't facebook becoming the biggest legal botnet ever created? ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev

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

2010-10-12 Thread Chris Browet
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 Wouldn't keep the node element only for POI (i.e. with

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

2010-10-12 Thread Chris Browet
On Tue, Oct 12, 2010 at 12:49, SteveC st...@asklater.com wrote: Seems like there are far more interesting things to do than that. Most probably, but the point is not prioritization, it is RFC about the idea. ___ dev mailing list dev@openstreetmap.org

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

2010-10-12 Thread Chris Browet
Of course the node element would have to be kept not only for POI nodes but also for topology nodes (where two ways meet). Indeed, I didn't thought about the connections. The idea came from the observation that the 80/20 rule would probably apply to ways only comprising empty nodes. But

Re: [OSM-dev] Editors: Actively removing created_by?

2010-10-10 Thread Chris Browet
I think it's desirable. They'll still be available in the object history, and the removal is So do I. I wonder why a bot hasn't been run to remove them all. I guess that would slim the planet measurably... ___ dev mailing list dev@openstreetmap.org

Re: [OSM-dev] Spatialite in OSM context

2010-09-23 Thread Chris Browet
All of this seems great. Now, if we could agree on a common DB schema, it seems to me that would make a great way to have large, usable (as in ready to use with zero install/config), portable (as in just put it on a usb key/cd/dvd) OSM datasets. - Chris -

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

2010-09-22 Thread Chris Browet
the map rendering from within the application (no file editing). However, it does need installing, as opposed to JOSM's drop-in operation. Note however that since 0.16, there is a portable version of Merkaartor for Windows, i.e. a plain zip file you extract anywhere and just double-click the

Re: [OSM-dev] Spatialite in OSM context

2010-09-22 Thread Chris Browet
On Wed, Sep 22, 2010 at 17:35, Serge Wroclawski emac...@gmail.com wrote: On Wed, Sep 22, 2010 at 10:38 AM, Chris Browet c...@semperpax.com wrote: Hi, I wanted to know if someone already used Spatialite in an OSM context? Spatiaite comes with an OSM XML to Spatialite converter, so I'd

Re: [OSM-dev] [Marble-devel] NOTICE: gazetteer.osm.org being retired

2010-09-02 Thread Chris Browet
On Thu, Sep 2, 2010 at 15:54, Jonathan Bennett openstreet...@jonno.cix.co.uk wrote: On 01/09/2010 22:33, Chris Browet wrote: For myself: - Considering the reactions, maybe avoid as much as possible to use openstreetmap.org http://openstreetmap.org services, but anyway be sure it fails

Re: [OSM-dev] [Marble-devel] NOTICE: gazetteer.osm.org being retired

2010-09-02 Thread Chris Browet
On Thu, Sep 2, 2010 at 16:24, Emilie Laffray emilie.laff...@gmail.comwrote: On 2 September 2010 15:20, Chris Browet c...@semperpax.com wrote: Thanks for confirming this. However, the original problem is the same, be it Merkaartor or a third-party. If the OSM services can disappear

Re: [OSM-dev] [Marble-devel] NOTICE: gazetteer.osm.org being retired

2010-09-02 Thread Chris Browet
Now, name search on 0.16.x which is going to be included in the newest Fedora and Debian won't work :-( Have you tried to contact upstream about this? This sounds like something that they'd be willing to patch even in a stable release. It's a very important feature (in a relatively

Re: [OSM-dev] [Marble-devel] NOTICE: gazetteer.osm.org being retired

2010-09-01 Thread Chris Browet
Is there a low traffic OSM announcement list that provides announcements like these for people who rely on OpenStreetMap services? there is an announce list, but for development announcements like this one, this dev list is the best place. Well, I just browsed through the announce

Re: [OSM-dev] [Marble-devel] NOTICE: gazetteer.osm.org being retired

2010-09-01 Thread Chris Browet
If you want to use an OSM service in one of your applications, then I would suggest firstly, and most importantly, that the application doesn't have a *.openstreetmap.org URL embedded anywhere in the code. Come on. Does that mean that we cannot use www.openstreetmap.org/api to update the

Re: [OSM-dev] [Marble-devel] NOTICE: gazetteer.osm.org being retired

2010-09-01 Thread Chris Browet
On Wed, Sep 1, 2010 at 15:49, Patrick Kilian o...@petschge.de wrote: Hi, If you want to use an OSM service in one of your applications, then I would suggest firstly, and most importantly, that the application doesn't have a *.openstreetmap.org http://openstreetmap.org URL embedded

Re: [OSM-dev] [Marble-devel] NOTICE: gazetteer.osm.org being retired

2010-09-01 Thread Chris Browet
On Wed, Sep 1, 2010 at 17:18, Nic Roets nro...@gmail.com wrote: On Wed, Sep 1, 2010 at 4:14 PM, Chris Browet c...@semperpax.com wrote: While I'd completely agree in a business world, don't forget we are FLOSS developers working on software in our free time. We don't (at least I don't

Re: [OSM-dev] git.openstreetmap.org

2010-04-22 Thread Chris Browet
If you want to give people ssh:// access it can be (although GitHub, Gitorious et al manage with git-shell). But are you aware of git-http-backend(1)? You could set it up to do .htaccess push authentication via a CGI script exactly like SVN is set up now. Here's more info on this from

[OSM-dev] git.openstreetmap.org

2010-04-21 Thread Chris Browet
Hi, I've seen that the rails_port has (quite silently) moved to a OSM owned git repository. I'm a bit surprised I didn't hear more of that (or maybe I wasn't listening at the right place). But whatever... The actual question is what is the status of this git repo. Is this more or less private or

Re: [OSM-dev] git.openstreetmap.org

2010-04-21 Thread Chris Browet
On Wed, Apr 21, 2010 at 11:28, Tom Hughes t...@compton.nu wrote: On 21/04/10 09:47, Chris Browet wrote: I've seen that the rails_port has (quite silently) moved to a OSM owned git repository. I'm a bit surprised I didn't hear more of that (or maybe I wasn't listening at the right place

Re: [OSM-dev] git.openstreetmap.org

2010-04-21 Thread Chris Browet
*nod*, but on the other hand we're offering free hosting services for SVN now, it would be neat to eventually have a hosting plan if those projects want to move to Git (or if we decide to mandate it because we don't want to host SVN anymore). I think anyone can host its project at

Re: [OSM-dev] git.openstreetmap.org

2010-04-21 Thread Chris Browet
On Wed, Apr 21, 2010 at 04:06:04PM +0200, Chris Browet wrote: The real question is whether it is wanted/desirable to have the myriad of OSM related projects hosted under a single repository (or at least under an _ o_ p_ e_ n_ s_ t_ r_ e_ e_ t_ m_ a_ p_ ._ o_ r_ g umbrella). I don't

Re: [OSM-dev] git.openstreetmap.org

2010-04-21 Thread Chris Browet
On Wed, Apr 21, 2010 at 17:35, Ævar Arnfjörð Bjarmason ava...@gmail.comwrote: On Wed, Apr 21, 2010 at 14:06, Chris Browet c...@semperpax.com wrote: But I'd really like to move Merkaartor to git ;-) Do you need any help with converting it? The OSM website was converted via some hacky work I

Re: [OSM-dev] WMS API - where to start

2010-04-18 Thread Chris Browet
Not sure what you mean by designing a WMS API but a search on WMS specification seems a good start. - Chris - On Thu, Apr 15, 2010 at 12:35, bernhard b...@datenkueche.com wrote: hi all I'm working again on my map maplib. http://github.com/robotnic/khtmlib Internet Explorer should work now

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

2010-02-21 Thread Chris Browet
For what it's worth, you have my full support regarding moving to git. I was considering making a merkaartor clone to gitorious myself, SVN seems so limited when you start working with git or bazaar from multiple branches. As for myself, I like bazaar because the learning curve seems easier

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

2010-02-21 Thread Chris Browet
On Mon, Feb 22, 2010 at 01:09, Tom Hughes t...@compton.nu wrote: On 21/02/10 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: http://github.com/avar/openstreetmap-website

Re: [OSM-dev] JOSM links in tagstat

2010-02-15 Thread Chris Browet
Bon, Kamélia, tu as visiblement beaucoup à apprendre... Le code source Java de JOSM se trouve à http://josm.openstreetmap.de/(onglet browse pour parcourir le code en ligne). Sais-tu ce qu'est SVN et comment l'utiliser? Plutôt que d'attaquer directement la liste de dévelopement d'OSM (qui est

Re: [OSM-dev] [OSM-talk] Circular relation by user mapper_07

2009-07-16 Thread Chris Browet
2009/7/16 Frederik Ramm frede...@remote.org Hi, Shaun McDonald wrote: Yes you can do it, though I don't have a good reason for doing such a thing. I don't have an idea where one would add a relation as a member to itself, but circular references could e.g. happen if you were to create a

Re: [OSM-dev] [OSM-talk] Circular relation by user mapper_07

2009-07-16 Thread Chris Browet
2009/7/16 Matt Amos zerebub...@gmail.com On Thu, Jul 16, 2009 at 10:41 AM, Chris Browetc...@semperpax.com wrote: 2009/7/16 Frederik Ramm frede...@remote.org Chris Browet wrote: I'd be curious to know how the api calculates the bounding box of such a relation http

[OSM-dev] Mime type (strikes back?)

2009-06-13 Thread Chris Browet
Hi, A while ago there was a discusion regarding a mime type for osm xml data (in the context of editors and such). While the discusion went nowhere, it would be nice to at least agree on one, wouldn't it? Someone suggested application/x-openstreetmap+xml. Could we settle on this one? The api

Re: [OSM-dev] [API] Suggestion: Baselines

2009-05-27 Thread Chris Browet
I think that you are looking for something that Matt has talked about a few times, and that is a global version number like svn. Yep, a database revision, in SVN terms. ___ dev mailing list dev@openstreetmap.org

[OSM-dev] [API] Suggestion: Baselines

2009-05-26 Thread Chris Browet
I see a lot of mails regarding reverting changesets et al. Now that we have a version number for each object, wouldn't the next logical step be creating baselines? It could be actual baselines, i.e. saving every x min/hours the version numbers of every objects in the db and adding a baseline

Re: [OSM-dev] [API] Suggestion: Baselines

2009-05-26 Thread Chris Browet
2009/5/26 Stefan de Konink ste...@konink.de Chris Browet wrote: What do you think? I see perspective in a Copy-On-Write; because my main problem with changesets, is with parsing from the last baseline back to the point in time you actually want to have. It has nothing to do

Re: [OSM-dev] [API] Suggestion: Baselines

2009-05-26 Thread Chris Browet
2009/5/26 Stefan de Konink ste...@konink.de Chris Browet wrote: If you just want to materialise the entire database at a certain interval, don't you think this will grow very fast? I don't know. A baseline would only consist of a list of all objects id with their associated version

Re: [OSM-dev] merkaator debuild still fails ...

2009-05-20 Thread Chris Browet
... is a packaging issue. Merkaartor compiles fine. - Chris - 2009/5/19 Joerg Ostertag (OSM Tettnang/Germany) openstreet...@ostertag.name On Dienstag 19 Mai 2009, Chris Browet wrote: Solved. Do not forget to rerun qmake. Please not that there is a merkaartor-specific list at http

Re: [OSM-dev] merkaator debuild fails ...

2009-05-19 Thread Chris Browet
Solved. Do not forget to rerun qmake. Please not that there is a merkaartor-specific list at http://lists.openstreetmap.org/listinfo/merkaartor;. Dev is rather for the core openstreetmap. Regards - Chris - 2009/5/19 Joerg Ostertag (OSM Tettnang/Germany) openstreet...@ostertag.name Could

Re: [OSM-dev] User preference for editor

2009-05-01 Thread Chris Browet
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 elegance in the way these awful localhost URIs do

Re: [OSM-dev] User preference for editor

2009-05-01 Thread Chris Browet
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 elegance in the way these awful localhost URIs do

Re: [OSM-dev] User preference for editor

2009-05-01 Thread Chris Browet
2009/5/1 Frederik Ramm frede...@remote.org Hi, Chris Browet wrote: Furthermore, for a packaged tool as merkaartor, the registering of the mime extension can be done at installation time, leading to near zero config for the user... Provided you are on a system where you have

Re: [OSM-dev] User preference for editor

2009-04-30 Thread Chris Browet
Adding the ability to set an alternate default editor is certainly reasonable, though at the moment the target audience for that is likely to be pretty small as the only real alternative at the moment is JOSM with the remote control plugin which will present a pretty ugly user interface that

Re: [OSM-dev] API: version number of newly created objects.

2009-04-28 Thread Chris Browet
Thanks - Chris - 2009/4/28 Frederik Ramm frede...@remote.org Hi, Chris Browet wrote: As a creation PUT do not return the version number (AFAIK), does that mean that we are suppose to do a GET on the newly created object to get the version number? No, that would be the stupidest API. I

[OSM-dev] API: version number of newly created objects.

2009-04-27 Thread Chris Browet
Hi, I see in the api doc: Version numbers will most of the time begin at *1* and increase by *1*every time an element is changed but this behaviour is not guaranteed and should not be relied upon I understand that phrase as I cannot assume that a newly created object will be at version 1. As a

Re: [OSM-dev] API: no BBOX download of a way if no nodes inside the BBOX?

2009-04-26 Thread Chris Browet
Whatever the technical solution, I think this must be addressed sooner or late and have a rather high priority (from a dev user point-of-view). IMHO, the assumption that a BBOX query will return all nodes, ways and relations (even incomplete) is one of the fundamentals of the api... Obviously,

Re: [OSM-dev] Bulk downloading of Mapnik tiles

2009-03-16 Thread Chris Browet
Probably not, because lots of the tiles would need to be rendered especially for you. tiles.openstreetmap.org basically only renders tiles that are looked at at all, so bulk-requesting areas will force large areas to render to the highest detail. Not true, AFAIK. Tiles are rendered as a

Re: [OSM-dev] Errors while svn up

2009-03-09 Thread Chris Browet
I had the same issues as the initial reporter yesterday. Probably related: There is a mirror of Merkaartor on Launchpad. However, bazaar was unable to sync the branch from the OSM svn since nearly 6 months. Since Tom disabled mod_evasive (whatever it is), the sync happens again... - Chris - On

Re: [OSM-dev] [Merkaartor] problems w/ some WMS-Servers

2009-02-27 Thread Chris Browet
is supposed to be exactly above the other. What we actually get, is 2 overlapping images by some measure?? - Chris - On Fri, Feb 27, 2009 at 10:33 AM, kannix t...@grade.de wrote: Chris Browet schrieb: Apparently, this one would not properly handle EPGS:4326 ( http://homepage.mac.com

Re: [OSM-dev] [Merkaartor] problems w/ some WMS-Servers

2009-02-26 Thread Chris Browet
Apparently, this one would not properly handle EPGS:4326 ( http://homepage.mac.com/berbie/TrailRunner/blog/files/0b2bb7409517fcb29d06affed8e0d85d-138.html, old though...), which is the only projection currently supported in Merkaartor. How is this done in JOSM? If confirmed, it will have to wait

Re: [OSM-dev] 0.6 bulk uploader

2009-01-21 Thread Chris Browet
It seems 0.6 supports uploading diffs: http://wiki.openstreetmap.org/wiki/OSM_Protocol_Version_0.6#Diff_uploads Yummy... Transactions! ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev

Re: [OSM-dev] [Merkaartor] Crowd Sourced Testing of OSM 0.6 API

2008-12-14 Thread Chris Browet
I'll try a Passenger recompilation soon to see if anything odd happened in the upgrade, else I'll roll back to the 2.0.3 version which I seem to recall worked fine with Merkaartor. Thanks for checking that out. I can confirm that a by-the-book installation (i.e.

Re: [OSM-dev] [Merkaartor] Crowd Sourced Testing of OSM 0.6 API

2008-12-14 Thread Chris Browet
Is this setup documented somewhere, so that I could at least try to reproduce? http://wiki.openstreetmap.org/wiki/Rails_on_Ubuntu#Installing_passenger Great! I can now reproduce. I will keep you informed on my findings. Regards - Chris - ___ dev

Re: [OSM-dev] [Merkaartor] Crowd Sourced Testing of OSM 0.6 API

2008-12-14 Thread Chris Browet
I've noticed that there is a changeset created by Merkaartor. http://api06.dev.openstreetmap.org/browse/changeset/31 and http://api06.dev.openstreetmap.org/browse/changeset/30 Unfortunately, those were the ones I created via CURL, not actually Merkaartor. - Chris -

Re: [OSM-dev] [Merkaartor] Crowd Sourced Testing of OSM 0.6 API

2008-12-14 Thread Chris Browet
Wood grand.edgemas...@gmail.comwrote: 2008/12/14 Chris Browet c...@semperpax.com: Is this setup documented somewhere, so that I could at least try to reproduce? http://wiki.openstreetmap.org/wiki/Rails_on_Ubuntu#Installing_passenger Great! I can now reproduce. I will keep you

Re: [OSM-dev] [Merkaartor] Crowd Sourced Testing of OSM 0.6 API

2008-12-12 Thread Chris Browet
: According to the server log, it appears to be a 401 Unauthorized that is being returned. Could it be that the auth headers aren't being sent properly? shaun On 11 Dec 2008, at 14:54, Chris Browet wrote: Not too sure if it's Merkaartor or the API (because 0.6 in Merkaartor was coded by Bart back

Re: [OSM-dev] [Merkaartor] Crowd Sourced Testing of OSM 0.6 API

2008-12-12 Thread Chris Browet
Thanks a lot for digging into this. You should make the following changes: changeset from osm element = way element version isn't required when creating an id is not required the created by tag is no longer required on nodes/ways/relations, as it is now on the changeset. Which means that

Re: [OSM-dev] [Merkaartor] Crowd Sourced Testing of OSM 0.6 API

2008-12-11 Thread Chris Browet
Not too sure if it's Merkaartor or the API (because 0.6 in Merkaartor was coded by Bart back in June). I receive a 502 - Bad Gateway when trying to create a changeset, in a blank area if that matter. I checked the api page and the request seemed fine to me. - Chris - On Thu, Dec 11, 2008 at

Re: [OSM-dev] Possible Merkaartor bug?

2008-12-04 Thread Chris Browet
Hard to solve without knowing what the user did... but good to know that the problem is there. Is user hdus hanging around? Thanks - Chris - 2008/12/5 Frederik Ramm [EMAIL PROTECTED] Hi, could one of the Merkaartor devs perhaps look into this way history:

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

2008-11-25 Thread Chris Browet
Hi, It seems, contrary to what the api page says, that when using user preferences, values are truncated to 256 chars. Could someone confirm? - Chris - ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev

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

2008-11-25 Thread Chris Browet
You can look at the code just as easily as we can... Yep. Actually, the db fields are VARCHAR(255) so that's the problem. I'll change the wiki page for 0.5. Is something different foreseen for 0.6, whether suppressing the 150 entries limitation or the 255 char limitation? The goal is to

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

2008-11-25 Thread Chris Browet
The update method drops all existing prefs (#L85) and has the 150 limit. The update_one method seems more useful, and doesn't have a limit, as far as I can see. Thanks. Not having the slightest knowledge of Ruby/rails, how is this update_one translated in term of HTTP request? - Chris -

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

2008-11-25 Thread Chris Browet
Well, I don't know who wrote the api doc, but he was... Preferences The OSM server supports storing arbitrary user preferences. This can be used by editors, for example, to offer the same configuration whereever the user logs in, instead of a locally-stored configuration. 2008/11/25 Tom

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

2008-11-25 Thread Chris Browet
... suggests you want to PUT to /0.6/user/preferences/(put key here) http://trac.openstreetmap.org/browser/sites/rails_port_branches/api06/app/controllers/user_preference_controller.rb?rev=12071#L18suggests that it's just a plain text payload that gets chomped to become the value. But I

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

2008-11-25 Thread Chris Browet
What we could do is to make it update the preferences that are sent, rather than deleting all the preferences. This would be done as a POST. Also being able to fetch all preferences that start with a particular key may prove useful for things like editors getting all their prefs. That

Re: [OSM-dev] Binary OSM; the first pass encoder

2008-11-09 Thread Chris Browet
For Merkaartor, I also implemented a Binary file format (see http://wiki.openstreetmap.org/index.php/Osb_spec_v2) Key points are: - Non lossy (it is editor oriented, rather than routing or render) - avoid tags Key/values duplication (there are 2 tables with unique string, features only holds

Re: [OSM-dev] Binary OSM; the first pass encoder

2008-11-09 Thread Chris Browet
2008/11/9 Stefan de Konink [EMAIL PROTECTED] Chris Browet wrote: For Merkaartor, I also implemented a Binary file format (see http://wiki.openstreetmap.org/index.php/Osb_spec_v2) I read it and has some valid points :) UTF16 handling is not yet my thing. I presume I could also implement

Re: [OSM-dev] Binary OSM; the first pass encoder

2008-11-09 Thread Chris Browet
I read it and has some valid points :) UTF16 handling is not yet my thing. I presume I could also implement this in my Planet extractor. Or do you already have a simple generator for this? UTF16 is just the default for Qt strings ;-) wchar* is UTF16, too. There definitely are UTF

Re: [OSM-dev] Binary OSM; the first pass encoder

2008-11-09 Thread Chris Browet
2008/11/9 Marcus Wolschon [EMAIL PROTECTED] -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris Browet schrieb: - Use separate files for strings and indices. Problem with this is that you will have one huge string file (if that's what you mean), which will have to be loaded

Re: [OSM-dev] Binary OSM; the first pass encoder

2008-11-09 Thread Chris Browet
2008/11/9 Richard Fairhurst [EMAIL PROTECTED] Chris Browet wrote: For Merkaartor, I also implemented a Binary file format (see http://wiki.openstreetmap.org/index.php/Osb_spec_v2) Hey, how come it's suddenly _good_ to boast about a binary format? I didn't boast about anything. I created

Re: [OSM-dev] Binary OSM; the first pass encoder

2008-11-09 Thread Chris Browet
Or you can leave blanks, to be reused... You are now trying to solve the fragmentation issue in every filesystem ;) I think that blanking out the values with \0 could be solution for it. And allow on local side to 'defrag' the file so that LEN \0\0\0\0 - 0. My concern is regarding

Re: [OSM-dev] Binary OSM; the first pass encoder

2008-11-09 Thread Chris Browet
2008/11/9 Stefan de Konink [EMAIL PROTECTED] Chris Browet wrote: UTF16 is just the default for Qt strings ;-) wchar* is UTF16, too. There definitely are UTF characters used, so char* is probably too restrictive, unless you handle UTF yourself. But like char* utfX is terminated by \0 too

[OSM-dev] OsmXapi sources?

2008-11-07 Thread Chris Browet
Maybe silly question but is it possible to have a local install of osmxapi? In other words, are the sources available somewhere or are they hidden in another product? - Chris - ___ dev mailing list dev@openstreetmap.org

Re: [OSM-dev] VM image [networking question]

2008-10-19 Thread Chris Browet
If I provide an image now we have to make 'update tools' and frankly I don't have time for that. I understand. Thanks for the hard work already. - Chris - ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev

Re: [OSM-dev] 0.6 API hack-a-thon Date

2008-10-16 Thread Chris Browet
Would it (finally) be possible to have a *complete* unittest for the 0.6 api. For clients and servers? Sure fine for Merkaartor. Besides server infra, it would be very nice to have a defined set of test cases, too. This would be reusable for every single app interacting with the API and

Re: [OSM-dev] Duplicated nodes in Potlatch

2008-10-06 Thread Chris Browet
Merkaartor systematically overwrite the created_by when doing changes on the server (after having followed a similar thread). Uhm i also do exactly this: I only overwrite. If there's no created_by tag in an object i am modifying i also won't create the created_by tag. What does Merkaartor

Re: [OSM-dev] Duplicated nodes in Potlatch

2008-10-05 Thread Chris Browet
i was just copying potlatchs behaviour. So: What's the preferred behaviour? Merkaartor systematically overwrite the created_by when doing changes on the server (after having followed a similar thread). If this tag has any value, it is, IMHO, to be able to identify editors having

[OSM-dev] A bit of developer philosophy...

2008-09-26 Thread Chris Browet
Hi, I have a moral dilemma. I consider implementing KML import in Merkaartor. While it would be a perfectly legit feature as KML is a standard ( http://www.opengeospatial.org/standards/kml), I also know that it could be used to import copyright protected stuff into OSM, even by mistake. Now I

Re: [OSM-dev] A bit of developer philosophy...

2008-09-26 Thread Chris Browet
If someone _has_ genuine, self-researched KML (why?), it's not much of a hurdle to use gpsbabel to convert it to GPX (cf other discussion ;) ). Their GPX will then fail because there are no timestamps, so they will look at our FAQ, find out why, and then realise the dangers of importing

Re: [OSM-dev] A bit of developer philosophy...

2008-09-26 Thread Chris Browet
Thanks to all for you insight. A consensus (-1) seem to exist to proceed, so I will. - Chris - ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev

Re: [OSM-dev] OSM export incompatibilities between JOSM and Merkaartor

2008-09-21 Thread Chris Browet
Don't take your ball and go home just yet. OSM can be a pretty gruff place, but I think (I hope!) the developers aren't completely closed-minded. Frederik was just trying to explain that the format in which JOSM saves its files is the same format used by many other tools, and is the format

[OSM-dev] OSM export incompatibilities between JOSM and Merkaartor

2008-09-20 Thread Chris Browet
Hi Frederik, in http://trac.openstreetmap.org/ticket/1163, a user complains rightfully that the OSM exports from JOSM and Merkaartor are incompatibles, due to the fact that JOSM is using pure numeric IDs while Merkaartor is using text GUID for not-yet-uploaded objects. We could easily resolve

Re: [OSM-dev] OSM export incompatibilities between JOSM and Merkaartor

2008-09-20 Thread Chris Browet
2008/9/20 Frederik Ramm [EMAIL PROTECTED] in http://trac.openstreetmap.org/ticket/1163, a user complains rightfully that the OSM exports from JOSM and Merkaartor are incompatibles, due to the fact that JOSM is using pure numeric IDs while Merkaartor is using text GUID for not-yet-uploaded

Re: [OSM-dev] OSM export incompatibilities between JOSM and Merkaartor

2008-09-20 Thread Chris Browet
So let me get this right - when you download data from OSM into Merkaartor, and then make a few edits, you will then have the choice of saving your session stateful in a special format, or stateless in an format that is almost like OSM XML, just with occasional non-numeric IDs. Correct? So

[OSM-dev] Object IDs not unique across object type?

2008-08-31 Thread Chris Browet
I always thought that ID's were unique, even across object types. However, I have an ID (26657678) which is both a node and a way (and in about the same spot, which is why I detected it). As I see nothing regarding uniqueness in the API doc, could someone confirm this is normal and not some db

Re: [OSM-dev] Call to mobile developers: OSM binary file format

2008-08-08 Thread Chris Browet
A binary XML format would be better to parse for an XML processor. But OSM data is pretty structured. The point is that for line transfers a pretty efficient format can be choosen that is totally unparsible by embedded devices. The actual transfer is pretty much irrelevant here. The goal

Re: [OSM-dev] Call to mobile developers: OSM binary file format

2008-08-08 Thread Chris Browet
May be WAP WAP Binary XML (WBXML) encoding [1] would be a possible solution? It significantly reduces the size of data to be transfered while keeping the compatibility to the current data format. The transportation could be still HTTP or a different binary protocol with a higher

Re: [OSM-dev] [Routing] Wiki-Page for defining OSM binary file format created

2008-08-08 Thread Chris Browet
2008/8/8 Marcus Wolschon [EMAIL PROTECTED] Hello everyone, as this discussion on osm-dev seems to get very unfocused I created a wiki-page http://wiki.openstreetmap.org/index.php/OSM_Mobile_Binary_Format for such a data-format. So we can organize our thoughts on the topic and together

[OSM-dev] Call to mobile developers: OSM binary file format

2008-08-07 Thread Chris Browet
Dear mobile developers, We all have the same problem: the XML OSM format is not efficient for mobile devices. For the time being, we all develop our own solution to transform the XML in whatever binary format suitable for a mobile application, often forcing the user to use a specific desktop

Re: [OSM-dev] Call to mobile developers: OSM binary file format

2008-08-07 Thread Chris Browet
Do you intend to save all the data OSM has or only support a subset required for routing and map-rendering? The idea is to have a binary format specification. The actual organization of the files will be up to the application. Do you think about floating-point or fixed-point

  1   2   >