Re: [OSM-dev] regarding gpsmid

2008-04-27 Thread Kai Krueger
Hello, Ansari Ghouse wrote: Hello, We are trying to develop a location based mobile phone application by customizing the functionality of GpsMid. Does someone know how to find the current position of the user in GpsMid. I am not sure I follow what you mean here. Where do you want to find

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

2008-11-24 Thread Kai Krueger
On 24/11/08 12:44, Tom Hughes wrote: Stefan de Konink wrote: Tom Hughes wrote: Minutely diffs work perfect. The NL crew is already creating a minutely diff tile cache invalidator; where statitics were already implemented. That would be a backward step - we have perfect

Re: [OSM-dev] Osmarender not always showing latest data

2008-12-14 Thread Kai Krueger
Is it possible that one of the replica databases (either osmXapi or one of the ROMA) are out of sync and have missed a few of the updates at some point? Is there a way of identifying the source of the data used to render those broken tiles? On 14/12/08 09:52, Rowland Shaw wrote: It's done it

Re: [OSM-dev] renderd

2009-09-03 Thread Kai Krueger
Richard Ive wrote: Reboot didn't fix the issue. Thanks for debugging this. it looks like it is a signed versus unsigned issue, or that different types are of different lengths. I'll see if I can commit a fix to SVN soon Kai 2009/9/3 John Smith deltafoxtrot...@gmail.com

Re: [OSM-dev] renderd

2009-09-03 Thread Kai Krueger
Richard Ive wrote: Thanks a lot! Let me know if I can help in any way at all. I have now committed a fix for it. Many thanks for pinpointing this cleanly and testing the patch. Sorry for causing the issue in the first place, Kai 2009/9/3 Kai Krueger kakrue...@gmail.com mailto:kakrue

Re: [OSM-dev] what server next?

2009-09-08 Thread Kai Krueger
On 22/07/28164 20:59, Iván Sánchez Ortega wrote: El Martes, 8 de Septiembre de 2009, Grant Slater escribió: We also get slightly more OSM operated hardware outside UCL soon. Any friendly large hosts out there that can offer us some well bandwidth fed hardware/rack space? Maybe a university in

Re: [OSM-dev] Questions/Ideas/Plans on OSM Infrastructure

2009-09-17 Thread Kai Krueger
On 22/07/28164 20:59, Dominik Bay wrote: Hi all, I'm coming up with a topic for discussion on how to save and serve OSM data for Slippy Maps, Mobile Devices and handling routing-requests. I am not entirely sure what you are trying to achieve with this topic and who you are targeting with it

Re: [OSM-dev] renderd multithreading question

2009-11-16 Thread Kai Krueger
Frederik Ramm wrote: div class=moz-text-flowed style=font-family: -moz-fixedJon, ... render_list now makes bulk requests, and I assume that mod_tile makes priority requests - but there seems to be a third category in between these (those that are neither bulk nor priority) - what's this

Re: [OSM-dev] [OSM-talk] OSM front page design concept

2010-02-21 Thread Kai Krueger
On 01/-10/-28163 08:59 PM, SteveC wrote: On Feb 20, 2010, at 11:20 PM, Frederik Ramm wrote: ... openstreetbugs is basically there but has a crappy UI. It needs to be Fixing openstreetbugs crappy ui and integrating it into the main page seems like the better way to go in this case rather

Re: [OSM-dev] Student Project Ideas?

2010-03-11 Thread Kai Krueger
On 01/-10/-28163 08:59 PM, Ian Dees wrote: ... I think a more useful criticism would include some specific ideas... Well, if we are throwing around random ideas, I might as well chime in too... To state it upfront, I am not involved in any of the parts suggested, so I can neither fully judge

Re: [OSM-dev] Removing Minutely and Hourly Changesets

2010-03-24 Thread Kai Krueger
On 01/-10/-28163 08:59 PM, Bernhard zwischenbrugger wrote: hi If all the changesets would go to an xmpp stream, it would be a really easy to such a liveticker for osm. There was a site in the past where this was visible. I have created an OpenLayers implementation to visualize it. So even

[OSM-dev] Tirex vs Renderd

2010-04-17 Thread Kai Krueger
Hello, with the recent appearance of tirex there are now at least two, with the python version of renderd 3, but probably more implementations of a rendering backend. All attempt to roughly do the same, i.e. take requests from a webserver or other program and render them. So the question is

Re: [OSM-dev] Tirex vs Renderd

2010-04-17 Thread Kai Krueger
On 04/17/2010 11:29 AM, Frederik Ramm wrote: Kai, Kai Krueger wrote: This is less of a question though regarding using renderd vs tirex but more of a question of where the future lies and thus for which to develop new features. It would be a shame and rather inefficient to put in effort

Re: [OSM-dev] How to earn undying fame

2010-06-21 Thread Kai Krueger
On 01/-10/-28163 08:59 PM, Tom Hughes wrote: On 21/06/10 16:00, Nic Roets wrote: All that remains is for someone with a little bit of programming experience to volunteer. Make a copy of the osm.org website* and add routing buttons. Then write some code that converts the routing engine output

Re: [OSM-dev] Release candidate for OSM binary format is in osmosis trunk.

2010-09-21 Thread Kai Krueger
Frederik Ramm wrote: (and kick out the .bz2 stuff soon after) Not sure if I am interpreting this right, but are you suggesting to stop offering the daily xml extracts? If yes, then I think someone else needs to step up and replace them, as they are quite an important part of using

Re: [OSM-dev] Release candidate for OSM binary format is in osmosis trunk.

2010-09-21 Thread Kai Krueger
Hi, Frederik Ramm wrote: Easy to do - just download the .osm.pbf and run osmosis --read-bin country.osm.pbf --write-xml country.osm May I suggest it be run on planet.openstreetmap.org then as part of the core services alongside the regular full planet dump? Thanks, Kai -- View this

Re: [OSM-dev] Release candidate for OSM binary format is in osmosis trunk.

2010-09-22 Thread Kai Krueger
Grant Slater wrote: I quite like the .osm.bz2 format. I don't see it being kicked off http://planet.osm.org anytime soon. Parallel distribution is anoption. Well they would first have to be added as the extracts don't currently live on planet.osm.org ;-) Parallel distribution would be ideal

Re: [OSM-dev] Renderd problems.

2010-09-29 Thread Kai Krueger
Samir Faci (Dev) wrote: render_list does seem to have a bug where it ignores the -l, --max-load=LOAD value. Though I need to look at it a bit more to see why its not using the value, I'm passing. My guess would be the check_load() call needs to happen in the dequeueing path rather than

Re: [OSM-dev] Renderd problems.

2010-10-02 Thread Kai Krueger
On -10/01/37 20:59, Peter Körner wrote: but renderd had a hard limit of 1000 tiles in the queue. For completeness sake, I thought I'd mention that you can change that limit quite easily. Simply change the constant at

Re: [OSM-dev] scaling

2011-01-09 Thread Kai Krueger
Frederik Ramm wrote: This was not purely a techical issue. If we were set up, technically, to handle something like what you're describing here, the eternal september effect would kill off the community for good. In the case of something as extreme as turns all our yearly statistics

Re: [OSM-dev] scaling

2011-01-09 Thread Kai Krueger
SteveC-2 wrote: So, what do you think? And if you agree it's worth doing, how do we achieve it either as individuals or the board or companies supporting it? Ignoring the social aspects for now. Depending on how far you really want to scale, I think a lot of the necessary components are

Re: [OSM-dev] scaling

2011-01-10 Thread Kai Krueger
Robert Scott wrote: This is how the postgres 9 replication works. The replicating servers become hot standbys which you can use for read requests. So in theory the read requests could be scaled quite easily once set up. Atomicity of the API would potentially suffer though. One random

Re: [OSM-dev] scaling

2011-01-11 Thread Kai Krueger
Serge Wroclawski-2 wrote: We're growing exponentially I am not sure how true this exponential growth is any longer. It certainly depends on what metric you are looking at. Probably one of the most telling statistics for the growth of the active OSM community is the number of editors per month

Re: [OSM-dev] OpenID for OpenStreetMap?

2011-02-10 Thread Kai Krueger
On -10/01/37 20:59, Tom Hughes wrote: On 10/02/11 00:46, Samat K Jain wrote: Recent discussions on IRC have been making me want to bring up—why does OpenStreetMap not yet support OpenID? Because there are a few outstanding issues with the implementation (yes, we have an implementation) that

Re: [OSM-dev] OpenID for OpenStreetMap?

2011-02-10 Thread Kai Krueger
On 11/02/11 00:00, Tom Hughes wrote: On 10/02/11 22:51, Kai Krueger wrote: Yes, I guess that is the real reason why it has never been deployed so far, a lack of interest, and so by now it has unfortunately bit rotted away and is no longer functional. (Although I guess it wouldn't be too hard

Re: [OSM-dev] [GSoC] Video based speed limit detector

2011-03-22 Thread Kai Krueger
Hi, great to see that someone is interested in the project idea and I'll be interested to see the proposal draft. There are a number of standard object detection algorithms that should be able to detect speed limit signs on a frame by frame basis in real time. Once a sign is located in the

Re: [OSM-dev] [GSoC] Video based speed limit detector

2011-03-22 Thread Kai Krueger
Having a quick look on google scholar shows that there actually appears to be quite a large set of research literature on exactly this problem. I.e. How to detect traffic signs in real time from a front facing vehicle camera. I guess it isn't too surprising given that driver assistant systems

Re: [OSM-dev] [GSoC] Video based speed limit detector

2011-03-30 Thread Kai Krueger
:49 PM, Stefan de Konink ste...@konink.de mailto:ste...@konink.de wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Op 22-03-11 08:33, Kai Krueger schreef: I'll possibly be able to mentor such a project, although I know little about the code of any of the editors, so

Re: [OSM-dev] Paging the tile server admins

2011-04-27 Thread Kai Krueger
NopMap wrote: A few days ago a new mass downloading application has appeared on my server, already causing tile requests in the order of millions with up to 60 tiles for a single client. Mod_tile has some built-in QoS / throttling features, that might help alleviate the effects of

Re: [OSM-dev] Paging the tile server admins

2011-04-27 Thread Kai Krueger
Tom Hughes-3 wrote: Unfortunately having to check access tokens on tile requests adds overhead which would reduce the total number of tiles we could serve so it would be a bit self defeating. From what I have seen, the limiting factor of tile serving is seldomly the actual tile serving.

Re: [OSM-dev] Paging the tile server admins

2011-04-27 Thread Kai Krueger
Tom Hughes-3 wrote: But it will need I/O as it will have to consult some sort of database of access tokens... You can fit quite a number of access tokens in a few Mb of RAM, more than you will likely need in a standard tile server. But yes, it would depend on the implementation you choose.

Re: [OSM-dev] [Strategic] OSM front page discussion and user survey results (with pictures)

2011-05-01 Thread Kai Krueger
is talking to, not some magical special other db? * I'm assuming there has been some cross-browser testing? * I'm assuming there is a proper db migration I'm happy to take a peek at the code too and make some adjustments, where is it? Steve On 4/29/2011 10:39 AM, Kai Krueger wrote: On 04/29

Re: [OSM-dev] osm2pgsql slow on update import

2011-05-06 Thread Kai Krueger
Ian Dees wrote: On subsequent updates osm2psgql does not have node information in memory anymore, so it must request the node information from PostgreSQL. This takes orders of magnitudes longer to do than a hit to memory. One possible additional problem is that osm2pqsql retrieves the

Re: [OSM-dev] GSoC Project Update (Fast Track Deployment of Customised OSM Tile Server)

2011-05-26 Thread Kai Krueger
Parveen Arora-2 wrote: Give your suggestions, comments and feedback or anything that you want to add or delete from it or anything that you want to suggest from your side will be welcomed. It would perhaps be nice to create and setup a package repository with all the relevant and necessary

Re: [OSM-dev] legitimate IP blocked

2011-06-04 Thread Kai Krueger
Mikel Maron wrote: Uganda mapping party doing lots of good work today, got IP blocked. Others have reported similar problems[1], and I'd suspect that a number of mapping parts will hit the same issue as it is probably fairly common to proxy a whole network through a single IP. Furthermore,

Re: [OSM-dev] openid

2011-06-18 Thread Kai Krueger
Manuel Reimer wrote: Is it possible to use it to, for example, to let an editor get access to OSM or is there still a regular OSM profile needed? As Matt has said, it is necessary (and will likely always stay this way) to create a regular OSM account, as it is needed for various purposes.

Re: [OSM-dev] OSMF Engineering Working Group inauguration

2011-08-22 Thread Kai Krueger
Hi, as I in the end wasn't able to attend the irc meeting (got busy at work), I will write down my thoughts to the topics discussed today. * Barriers for entry for getting started: I agree that if setting up a development environment is too complicated it will stop contributers (e.g. it has

[OSM-dev] Speeding up Osm2pgsql through parallelization?

2011-09-12 Thread Kai Krueger
Hi, I was thinking about ways to try and speed up osm2pgsql. Currently a good fraction of time, both in full imports and during diff-processing, is spent in the going over pending ways / relations section. Therefore speeding up that section should bring the overall time down quite a bit. One

Re: [OSM-dev] Speeding up Osm2pgsql through parallelization?

2011-09-13 Thread Kai Krueger
On 9/13/11 10:49 AM, Andy Allan wrote: On Tue, Sep 13, 2011 at 1:07 AM, Kai Kruegerkakrue...@gmail.com wrote: Hi, I was thinking about ways to try and speed up osm2pgsql. Currently a good fraction of time, both in full imports and during diff-processing, is spent in the going over pending

Re: [OSM-dev] Speeding up Osm2pgsql through parallelization?

2011-09-13 Thread Kai Krueger
On 7/22/64 12:59 PM, Frederik Ramm wrote: Kai, partial answer: On 09/13/2011 02:07 AM, Kai Krueger wrote: 2) Currently all the (diff-) import is done in a single transaction. Therefore other db users (e.g. renderers) don't see any change until the full transaction is committed. In order

Re: [OSM-dev] Speeding up Osm2pgsql through parallelization?

2011-10-09 Thread Kai Krueger
Hi, I think I now have a first version of a patch to speed up Osm2pgsql by parallelizing certain parts of it. Specifically it parallelizes the stages of Going over pending ways / Going over pending relations. Previously osm2pgsql would fetch all ways / relations that are marked as pending and

Re: [OSM-dev] Tiled osm2pgsql import?

2011-10-09 Thread Kai Krueger
Nick Whitelegg-2 wrote: Related to the ongoing discussion on talk, and given the large memory requirements of osm2pgsql imports, has anyone published a tiled import script, where the import area is broken into say degree tiles, and each tile imported as a separate osm2pgsql job? If not, I'm

Re: [OSM-dev] mod_tile / render_list re-renders existing tiles without apparent need

2011-11-10 Thread Kai Krueger
Jaak Laineste wrote: I do not have diff update for my osm2pgsql database, just to make renderd happy I created /var/lib/mod_tile/planet-import-complete file with yesterdays date and started to prerender tiles with ./render_list -m default -a -z 0 -Z 10 But now I noticed that when I

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

2011-11-18 Thread Kai Krueger
If you look at e.g. app/controllers/changeset_controller.rb you will find lines like before_filter :authorize_web, :only = [:list] and before_filter :authorize, :only = [:create, :update, :delete, :upload, :include, :close]. The code to those functions are in

Re: [OSM-dev] osm2pgsql update

2011-11-24 Thread Kai Krueger
Frederik Ramm wrote I think it would be great to share results of osm2pgsql runs among users - how long does it take to import X on infrastructure Y? I've made a start here, please add/modify as you see fit: http://wiki.openstreetmap.org/wiki/Osm2pgsql/Benchmarks Great, that could be

Re: [OSM-dev] speeding up loading an OSM dump into PostGIS?

2011-11-30 Thread Kai Krueger
On 01/-10/-28163 12:59 PM, Jukka Rahkonen wrote: Frederik Ramm wrote: [...] After this succeeded, I wanted to try to replicate this database, so I created a pg_dump using the -Fc switch This is a bad idea because a significant amount of osm2pgsql import time is spent building indexes, and

Re: [OSM-dev] speeding up loading an OSM dump into PostGIS?

2011-11-30 Thread Kai Krueger
Jukka Rahkonen-2 wrote [...] For me it takes many hours with the Finnish dataset and if it fails it happens in some Going over pending ways phase. I will need to make some further tests some day so I can give you better information. If it is at the very beginning of the Going over pending

Re: [OSM-dev] osm2pgsql slow slim import

2011-11-30 Thread Kai Krueger
sylvain letuffe wrote Nice catch. revision 26892 ran that phase for the same extract at 6.36k/s instead of 0.14k/s 6.4k/s is much more what I would expect from such a small extract. So yes something is wrong there, but I haven't seen that behavior before and I can't currently reproduce

Re: [OSM-dev] osm2pgsql update

2011-11-30 Thread Kai Krueger
Frederik Ramm wrote I found out that the culprit is in the multipolygon code, where after finding out that an one-way outer ring is tagged the same as the multipolgon relation itself, a delete_way_from_output is issued, presumably to remove that already-generated ring. This leads to a

Re: [OSM-dev] osm2pgsql slow slim import

2011-12-01 Thread Kai Krueger
Thanks for catching this regression. As my test database was always set to fsync=off, I didn't notice this performance regression during the development of the parallelisation work. The problem is that in order to allow multiple threads to work through the pending ways and thus potentially speed

Re: [OSM-dev] osm2pgsql slow slim import

2011-12-01 Thread Kai Krueger
quot;Petr Morávek [Xificurk]quot; wrote 1) fsync = off, synchronous_commit = off 1990 s = 33 min 2) fsync = on, synchronous_commit = off 3075 s = 51 min Interestingly, most of the time difference comes from the initial import of relations. Yes, I noticed that as well, that the initial

Re: [OSM-dev] osm2pgsql not appending changeset?

2011-12-06 Thread Kai Krueger
Ákos Maróy wrote on the OSM wiki, I found a number of update options, and I have to say I'm a bit confused. which is the best option if I want to get all the updates for the whole planet file, say, each week? If you are intending to only update the diffs every week or less (as opposed to

Re: [OSM-dev] speeding up loading an OSM dump into PostGIS?

2011-12-16 Thread Kai Krueger
On 01/-10/-28163 12:59 PM, Peter Körner wrote: Am 16.12.2011 12:47, schrieb Hartmut Holzgraefe: On 16.12.2011 11:21, Peter Körner wrote: At one of the Hack-Weekends someone played around with distributing the SQL-Commands issued by osm2pgsql via XMPP. with the SQL command execution,

Re: [OSM-dev] speeding up loading an OSM dump into PostGIS?

2011-12-16 Thread Kai Krueger
On 01/-10/-28163 12:59 PM, sly (sylvain letuffe) wrote: Hi, We're working hard on getting the relevant hardware in place to start trialling this out, but it's a big project. Many thanks for the insight The original topic was about replication for rendering, so a comment on that

Re: [OSM-dev] osm2pgsql get_way not exists

2011-12-28 Thread Kai Krueger
Hi, On 01/-10/-28163 08:59 PM, Jaak Laineste wrote: Hello, I'm working on keeping planet database up-to-date. Not successful yet, it tends to lag behind due to IO speed/configuration (on raid-5 with sata 10K disks - it should work, right?), 12-hour update takes 11-14 hours for me. Anyway,

Re: [OSM-dev] helping #switch2osm

2012-01-13 Thread Kai Krueger
On 01/-10/-28163 12:59 PM, Mikel Maron wrote: Hi [...] 2) A packaged solution, like a chef recipe, to install everything needed. We should try and get more of the rendering tool stack into the standard repositories of Ubuntu and Feodora. That would probably make it easier to install a tile

Re: [OSM-dev] Restart apache2 (mod_tile)

2012-01-30 Thread Kai Krueger
Hi, this sounds like the mod_tile module was not actually installed in apache, which is where LoadTileConfigFile gets defined. Check if the LoadModule tile_module /usr/lib/apache2/modules/mod_tile.so is loaded, e.g. in the /etc/apache2/mods-enabled directory. How did you install mod_tile? Is

Re: [OSM-dev] Using custom renderer with mod_tile

2012-02-29 Thread Kai Krueger
Skye Book wrote Hi Peter, I was under the impression that Tirex sat behind mod_tile.. It's meant to replace it? There is often a lot of confusion about the naming around mod_tile and what it is. mod_tile it self is an apache module that is responsible for serving tiles and deciding which

Re: [OSM-dev] modtile and apache alias

2012-03-06 Thread Kai Krueger
yvecai wrote I have trouble to access modtile behind an apache alias. I have tiles here: http://192.168.1.3/14/8468/5802.pngOK (== /var/www/14/8468/5802.png) But if I do: ServerName dev-yves.dyndns.org alias /tiles /var/www

Re: [OSM-dev] Problems with mod_tile + tirex

2012-03-22 Thread Kai Krueger
Valery N. wrote For some unknown reasons request like http://mapserv.test.maps.local/tiles/mapnik/1/1/-1.png raise* 404 error* on web server Well, that is not a valid request. A negative y coordinate is not allowed and so it will correctly give a 404 error. Also the rest of you mod_tile

Re: [OSM-dev] Problems with mod_tile + tirex

2012-03-24 Thread Kai Krueger
On 03/23/2012 01:49 AM, Valery N. wrote: So according all logs - all fine, but I recieve 404 :( I have committed a few more debug messages for the logs on the serving path. Could you download the latest svn and recompile? Kai 2012/3/23 Kai Krueger kakrue...@gmail.com mailto:kakrue

Re: [OSM-dev] [GSoC 2012] Question about video based speed limit detector

2012-03-29 Thread Kai Krueger
Евгений wrote 1) I have several ideas about how to implement this project. Great. Demonstrating that you have a thorough understanding of the project idea by being able to expand on it with your own ideas is likely a benefit in the application process. Евгений wrote The first thing that

Re: [OSM-dev] Yevaud SSD Drive

2012-04-12 Thread Kai Krueger
There are two main components to the storage system of a tile server, each of which can have different requirements depending on the circumstances 1) Tile storage cache For the tile storage usually one needs quite a bit of space, but performance isn't quite as critical. For a general purpose

Re: [OSM-dev] Attribution string (was: Licence redaction ready to begin)

2012-07-11 Thread Kai Krueger
On 07/10/2012 01:38 PM, Lynn W. Deffenbaugh (Mr) wrote: I've been wondering if it would be possible to put a fixed URL on the tile and/or API servers that application programs could fetch to retrieve the current attribution string for that particular tile server? Something like 0/0/0.txt or

Re: [OSM-dev] Exhaustion of 32bit signed integer range expected this year

2012-07-11 Thread Kai Krueger
SimonPoole wrote RSN a large number of sites using OSM data will be reloading their databases, due to a certain well known change :-). Well, this time has come closer now... SimonPoole wrote It seems as if it would really make sense to make the 64bit ID version of osm2pgsql the

Re: [OSM-dev] Attribution string (was: Licence redaction ready to begin)

2012-07-14 Thread Kai Krueger
On 07/12/2012 01:10 AM, Jochen Topf wrote: On Thu, Jul 12, 2012 at 08:45:38AM +0200, Igor Brejc wrote: Why not use TileJSON? http://mapbox.com/developers/tilejson/ +1 I hadn't known about this before but just looked at it and it seems to be a well thought-out and documented standard. OK,

Re: [OSM-dev] Attribution string

2012-07-14 Thread Kai Krueger
On 07/14/2012 05:12 PM, Frederik Ramm wrote: Hi, On 14.07.2012 22:57, Kai Krueger wrote: The values for description, attribution and tiles is taken from new parameters in the renderd.conf file. This means that it is unsuitable for anyone running mod_tile without renderd, e.g. those using

Re: [OSM-dev] Attribution string

2012-07-15 Thread Kai Krueger
On 7/15/2012 6:30, Frederik Ramm wrote: Hi, On 15.07.2012 02:23, Kai Krueger wrote: If one chooses to use the AddTileConfig or AddTileMimeConfig directives in the Apache site config instead, Which is the usual procedure for Tirex-based systems since they lack a renderd.conf (even though

Re: [OSM-dev] How to compile osm2pgsql without persistent node cache?

2012-09-02 Thread Kai Krueger
Hi, on what platform are you trying to compile osm2pgsl? Some systems that don't have lseek64 seem to use a 64bit off_t pointer anyway. So the normal lseek is fine for large files. I have added a compile check for this condition a couple of days ago [1]. If your system doesn't support large

Re: [OSM-dev] How to compile osm2pgsql without persistent node cache?

2012-09-02 Thread Kai Krueger
figure out how to build osm2pgsql on Windows... Kai Thanks for the explanation. Cheers, Steven Op zondag 2 september 2012 18:09:11 schreef Kai Krueger: Hi, on what platform are you trying to compile osm2pgsl? Some systems that don't have lseek64 seem to use a 64bit off_t pointer

[OSM-dev] Switch osm2pgsql to 64 bit mode

2012-09-13 Thread Kai Krueger
Hello everyone, I have just changed the default compile of osm2pgsql to use 64bit IDs instead of 32bit IDs. The current highest node ID is 1.9 billion. As signed 32 bit ints can only hold ~2.1 billion IDs, it is likely that the (signed) 32bit ID space will run out in a couple of months.

Re: [OSM-dev] Switch osm2pgsql to 64 bit mode

2012-09-15 Thread Kai Krueger
to ODbL). But if you run osm2pgsql in --create mode, it will automatically delete the old database for you and change the schema. So you don't have to worry about that. Kai Grüße Markus Original-Nachricht Datum: Thu, 13 Sep 2012 16:58:45 -0600 Von: Kai Krueger kakrue

Re: [OSM-dev] Switch osm2pgsql to 64 bit mode

2012-09-15 Thread Kai Krueger
On Sat, Sep 15, 2012 at 11:15 AM, mar...@gmx.eu wrote: Hello Kai, thanks for this quick reply. What version of Ubuntu do you use? I have updated the packages for 12.04LTS (precise), but I haven't updated them for the other versions of Ubuntu yet. Oh, I see. Is there any chance you might

Re: [OSM-dev] Switch osm2pgsql to 64 bit mode

2012-09-16 Thread Kai Krueger
On Sun, Sep 16, 2012 at 2:17 PM, mar...@gmx.eu wrote: Hello Kai, I have updated the package for 10.04 as well now. It will take another couple of hours though to propagate through the system. Thank you! Did you update just your repository (ppa:kakrueger/openstreetmap) or is the new

Re: [OSM-dev] Will the real OpenStreetBugs stand up?

2012-10-09 Thread Kai Krueger
On 10/09/2012 02:31 PM, Tom Hughes wrote: On 09/10/12 21:24, Tom MacWright wrote: All those are independent third party sites created by individuals and are not directly related to core site. Aren't they using the same database somehow? No idea. What we were talking about in

Re: [OSM-dev] Blank Tiles at z23 and Deeper

2012-10-10 Thread Kai Krueger
mod_tile by default uses a directory hash which mixes X and Y coordinates into a 40 bit hash function and then splits that into a 5 level deep directory structure. Why it normally breaks only at Z23 and not at Z21 I am not entirely sure, but possibly if you look at Australia, it might already

Re: [OSM-dev] Hello World

2012-10-12 Thread Kai Krueger
Mikel Maron wrote  * Create a new map style intended to be the default face of OSM, but leave the current OSM.org Mapnik style as-is. It works beautifully as an editor's basemap due to the dense inclusion of  all data. Keep it, but add a new one that's for non-editors to look at. My suggestion

Re: [OSM-dev] Notes - OSM improvements BoF at SOTM PDX

2012-10-17 Thread Kai Krueger
Tom Hughes-3 wrote On 17/10/12 22:17, Andy Allan wrote: On 16 October 2012 00:17, Tom Hughes lt; tom@ gt; wrote: The way it works is this - you don't worry about translations as such at all. You just make sure strings are translatable and we commit that and then the translators get to

Re: [OSM-dev] OSM Wishlist (community wishlist built experimentation)

2012-10-18 Thread Kai Krueger
On 10/17/2012 09:04 PM, sly (sylvain letuffe) wrote: However, it is not limited anymore to what people think should go into the next API 0.7 version (I think it's even worse when you ask non-techies people to find a solution themself) but to something gathering ideas of wishes they find usefull

Re: [OSM-dev] Notes - OSM improvements BoF at SOTM PDX

2012-10-18 Thread Kai Krueger
Dane Springmeyer wrote I believe I'm right in saying that he doesn't have a working test setup at the moment since we moved to mapnik 2 and we need to sort that out but equally moving to git may be an issue because I believe Windows support in git is a bit patchy. Yes, this is my

Re: [OSM-dev] Notes - OSM improvements BoF at SOTM PDX

2012-10-21 Thread Kai Krueger
On 10/21/2012 04:15 PM, Dane Springmeyer wrote: On Oct 18, 2012, at 5:05 PM, Kai Krueger wrote: [...] I am not sure if this is essential for getting the rendering stack back up and running on windows, but afaik the most recent version of osm2pgsql on windows is from early 2010. It would

[OSM-dev] Compressed vector tiles with mod_tile?

2012-11-03 Thread Kai Krueger
Hello everyone, I was playing around with vector tile rendering and in particular with Cover[1], which was a GSoC project this year. It can act as a tirex backend plugin and thus enable the standard tool chain of mod_tile/tirex to serve json vector tiles, including the caching and expiry,

Re: [OSM-dev] making osm2pgsql import relations?

2012-11-08 Thread Kai Krueger
Ákos Maróy wrote On 07/11/12 22:12, sly (sylvain letuffe) wrote: osm2pgsql only uses it's multipolygon building ability when relations have a tag type with value multipolygon or boundary (unless patched) relation n°25 for exemple hasn't. it hasn't on purpose. the relations I use are not used

Re: [OSM-dev] 404 from Apache2/mod_tile

2012-11-09 Thread Kai Krueger
If I read your renderd log correctly, mod_tile is sending rendering requests with priority dirty rather than the missing priority. The dirty priority is a background priority in which mod_tile does not wait for the result and immediately returns the tile (or in case of a missing tile a 404). So

Re: [OSM-dev] 404 from Apache2/mod_tile

2012-11-10 Thread Kai Krueger
Stefan Elspaß wrote Hi Kai, If I read your renderd log correctly, mod_tile is sending rendering requests with priority dirty rather than the missing priority. The dirty priority is a background priority in which mod_tile does not wait for the result and immediately returns the tile (or

Re: [OSM-dev] 404 from Apache2/mod_tile

2012-11-10 Thread Kai Krueger
Stefan Elspaß wrote I compiled mod_tile again with svn-r28921 containing today's change from apmon which writes the actual load into error.log. The result is strange: [info] [client xx.xx.xx.xx] Load (1202590843) larger max_load_missing (50). Return HTTP_NOT_FOUND., referer:

Re: [OSM-dev] Status of the Mapnik stylesheets

2012-11-13 Thread Kai Krueger
Matt Amos wrote i'd sound a note of caution about having separate clean and detailed styles. we sort-of did that before with mapnik and osmarender respectively and... well, we don't have osmarender any more. I doubt that having to maintain two styles was what killed osmarender. It was a

Re: [OSM-dev] Status of the Mapnik stylesheets

2012-11-13 Thread Kai Krueger
Dane Springmeyer wrote I'm sorry about not providing Windows binaries yet for Mapnik 2.x. The holdup is that I have a dev environment working that is running Visual Studio 2010, and I need to get a parallel setup running Visual Studio 2008 for support compiling the python bindings. Its a silly

Re: [OSM-dev] Status of the Mapnik stylesheets

2012-11-13 Thread Kai Krueger
Tom MacWright wrote The biggest problem with the Mapnik stylesheet right now is that it's in SVN. Not the technology, but the fact that this gives people without commit access to that repository no clear way to contribute. There is no way to 'just do it' until the style is actually maintained

[OSM-dev] Static analysis with coverity of osm2pgsql and mod_tile

2012-12-13 Thread Kai Krueger
Hello everyone, in order to try and help ensure and improve the quality of the osm rendering stack, I have registered osm2pglsql and mod_tile / renderd on Coverity[1] for their static analysis tools. Static analysis tools check the source code during compilation time to try and find various

Re: [OSM-dev] osm2pgsql Windows build

2012-12-13 Thread Kai Krueger
On 12/12/2012 11:01 AM, Dominik Perpeet wrote: Would anyone be interested in a current osm2pgsql Windows build (Win32 + x64, both with 32 bit id space)? In the near future I will link the zipped binary package on the wiki: http://wiki.openstreetmap.org/wiki/Osm2pgsql Great, thank you. It

Re: [OSM-dev] osm2pgsql Windows build

2012-12-13 Thread Kai Krueger
On 12/13/2012 11:04 AM, Dominik Perpeet wrote: It seems like osm2pgsql for windows used to be kept at http://tile.openstreetmap.org/osm2pgsql.zip and is still from 2010. I wonder if your version can be put up as a replacement for this at the same location? Maybe eventually. For now I have

Re: [OSM-dev] osm2pgsql Windows build

2012-12-15 Thread Kai Krueger
On 12/14/2012 01:08 PM, Dominik Perpeet wrote: The idea behind the same location was so that any documentation or links that still point to that location would automatically be up-to-date again. That would probably be easier than finding any and all documentation for windows and update them.

Re: [OSM-dev] How to make osm2pgsql quiet?

2012-12-19 Thread Kai Krueger
On 12/19/2012 06:19 AM, Svavar Kjarrval wrote: Hi. I was wondering what methods you use to make osm2pgsql be quiet when run by crontab. It is very annoying to receive a everything-is-normal message every time I run it. I run it from within a shellscript since I need to execute other commands

Re: [OSM-dev] osm2pgsql and homebrew

2013-01-24 Thread Kai Krueger
Matt Patterson wrote Homebrew were packaging osm2pgsql, which was super handy. Yes, it would be nice to get the osm rendering tool chain into as many packaging repositories as possible to make it easier for people to install and use it on various platforms. Matt Patterson wrote They removed

Re: [OSM-dev] osmosis 32/64 ID failure

2013-02-10 Thread Kai Krueger
On 02/09/2013 04:13 PM, Lynn W. Deffenbaugh (Mr) wrote: I'm running Osmosis Version 0.34 to pull and apply minutely updates to my database for use by mod_tile/renderd. These updates began failing today with the following information: sudo apt-get install osmosis Any hints on the command to

[OSM-dev] Pluggable storage backends for mod_tile / renderd

2013-03-23 Thread Kai Krueger
Hello everyone, I just wanted to let you know that I have committed a new feature to mod_tile / renderd that might be of interest to some. So far both mod_tile and renderd had the assumption that (meta)tiles would be stored on a posix filesystem deeply baked into their architecture. While

Re: [OSM-dev] mod_tile in other projections?

2013-03-23 Thread Kai Krueger
On 03/07/2013 08:36 AM, Jason Lee wrote: Hi all, It might seem an odd question but I'll give it a shot - would mod_tile/renderd support the dynamic generation of map tiles in a map projection other than web mercator? If not, then would it be possible/how difficult would it be to modify the

Re: [OSM-dev] mod_tile in other projections?

2013-03-25 Thread Kai Krueger
On 03/07/2013 08:36 AM, Jason Lee wrote: Hi all, It might seem an odd question but I'll give it a shot - would mod_tile/renderd support the dynamic generation of map tiles in a map projection other than web mercator? If not, then would it be possible/how difficult would it be to modify the

Re: [OSM-dev] mod_tile stable version ?

2013-03-26 Thread Kai Krueger
On 03/26/2013 04:52 AM, Bernard Fouché wrote: Hi All, I'm new to openstreetmap and I've nearly succeeded in having a working tile server on a Fedora 18 box. However I experience problems with mod_tile/renderd: - all wiki pages I find simply state for instance: Get and install mod_tile

  1   2   >