[OSM-dev] Planet dump from Osmosis diffs this week

2008-11-06 Thread Jon Burgess
The script to run the weekly planet dump has failed 3 times this week. The exact reason is not yet clear. As a replacement I have generated a weekly dump by applying the daily diffs to last weeks dump using Osmosis. The XML output has a few minor differences compared to the normal format which mi

Re: [OSM-dev] Mapnik's speed rendering slow ?

2008-11-08 Thread Jon Burgess
2008/11/8 sylvain letuffe <[EMAIL PROTECTED]>: > Hi there, > > I'have set up a tiles server based on mapnik that I plan to use (for now) for > France only. > ( Very good wiki page explaining that) > My setup is : debian etch 64/mapnik 0.5.1/postGIS/generate_tiles.py > with a quite common machine :

Re: [OSM-dev] Mapnik's speed rendering slow ?

2008-11-10 Thread Jon Burgess
2008/11/8 sylvain letuffe <[EMAIL PROTECTED]>: >> 0.5s per tile looks about right. The main tile server does not manage >> to render all z18 tiles in 24 hours. > Glups then... > > (...) >> http://wiki.openstreetmap.org/index.php/Mod_tile > > Thanks all for the link, I already had a look at mod_tile

Re: [OSM-dev] distribution of IDs

2008-11-16 Thread Jon Burgess
On Sun, 2008-11-16 at 16:16 +0100, Marcus Wolschon wrote: > Hello, > > I am currently exprimenting with different index-formats for > http://wiki.openstreetmap.org/wiki/User:MarcusWolschon%5Cosmbin_draft > . > My current index assumes that the list of encountered ID-values is > quite dense = there

Re: [OSM-dev] Need help with Mapnik error message: UserWarning: Could not create datasource. No plugin found for type 'postgis' in layer 'leisure'

2008-11-22 Thread Jon Burgess
On Sat, 2008-11-22 at 13:38 +0100, Ralf Zimmermann wrote: > I spent a whole day on setting up a virtual machine with Debian 4.0 r5 with > Mapnik and posgres-postgis. My goal is to render my own tiles for a project. > > At the moment it looks like I have a working postgis install, populating the

Re: [OSM-dev] Need help with Mapnik error message: UserWarning: Could not create datasource. No plugin found for type 'postgis' in layer 'leisure'

2008-11-22 Thread Jon Burgess
On Sat, 2008-11-22 at 14:27 +0100, Ralf Zimmermann wrote: > Jon Burgess wrote: > > Check for the file: /usr/local/lib/mapnik/input/postgis.input > > It is probably missing because the Mapnik compilation was unable to find > > the relevant PostgreSQL libraries and headers f

Re: [OSM-dev] Projection problems

2008-12-16 Thread Jon Burgess
On Tue, 2008-12-16 at 17:27 +, Thomas Wood wrote: > osm2pgsql uses a spherical mercator projection which cuts down on the > amount of math required to produce a reasonable estimation of the > earth for our uses. > It's not a 'proper' projection in the GIS sense, but it works for our > purposes.

Re: [OSM-dev] Projection problems

2008-12-16 Thread Jon Burgess
On Tue, 2008-12-16 at 16:56 +, Bradley Kite wrote: > The Lat/Long I am using is (bounding box around a street I know): > > -0.90362548828125,51.38892310050485 to > -0.90087890625,51.38720911696496 > > However, when converted to Mercator projection as per the above Java > code, I get the follo

Re: [OSM-dev] Projection problems

2008-12-16 Thread Jon Burgess
On Tue, 2008-12-16 at 21:52 +, Bradley Kite wrote: > Only its actually an sqlite database > (http://trac.openstreetmap.org/ticket/1371) so I'm having to do > everything in the application. Ah OK, it was not obvious. Thanks for pointing me at the sqlite patch again. I know you mentioned it a fe

Re: [OSM-dev] [PATCH] for mod_tile, adds config file support and support for multiple tile sets

2008-12-26 Thread Jon Burgess
2008/12/25 Brian Quinion : > Hi, > > The patch is too large for the mailing list, so you can instead > download it here: http://osm.sjjb.co.uk/mod_tile_ini.diff > > > This patch adds various extra options to mod_tile: > > - Support for multiple named mapnik/tile configurations > > - Extra apache di

Re: [OSM-dev] nodes with tag 'shop' and 'historic' in PostGIS

2009-01-02 Thread Jon Burgess
On Fri, 2009-01-02 at 14:44 +0100, Helena Ludwig wrote: > Hi, > I am using PostGIS with some OSM testdata inside. I used the osm2pgsql > converter but I noticed that nodes with tag 'shop' and > 'historic' (osm_points) are not added to SQL. Is there a possibility > to add these tags to the database?

Re: [OSM-dev] Error while compiling osm2pgsql

2009-01-04 Thread Jon Burgess
On Sun, 2009-01-04 at 18:08 +0100, Jan-Benedict Glaw wrote: > On Sun, 2009-01-04 16:53:17 +0100, Joerg Ostertag (OSM Tettnang/Germany) > wrote: > > It seems the File > > output-gazetteer.h > > is needed to compile osm2pgsql. > > Can someone tell me in which package I should find this File? >

Re: [OSM-dev] How is Mapnik Performances ?

2009-01-05 Thread Jon Burgess
On Mon, 2009-01-05 at 20:46 +, Roberto Navoni wrote: > Hi, > I have a question for OSM-Developer ;) > So I'm trying mapnik for render italian OSM planet , but the performance > on my sandbox is not so god . I'm using an old one hp laptop that use > Ubuntu 8.04 as SO and as hardware use P4 3 G

Re: [OSM-dev] How is Mapnik Performances ?

2009-01-05 Thread Jon Burgess
On Tue, 2009-01-06 at 00:58 +, Roberto Navoni wrote: > Jon Burgess ha scritto: > > On Mon, 2009-01-05 at 20:46 +, Roberto Navoni wrote: > > > >> Hi, > >> I have a question for OSM-Developer ;) > >> So I'm trying mapnik for render itali

Re: [OSM-dev] Rendering differences between own installation of mod_tile+mapnik vs. *.tile.openstreetmap.org

2009-01-08 Thread Jon Burgess
On Thu, 2009-01-08 at 14:08 +0200, Ilkka Kaakkola wrote: > My setup is using data downloaded recently (osm.xml , mapnik, > world_boundaries, processed_p, Planet.osm) and osm.xml has not been > customized for the first two example images (other than paths & > database logins). Files have been

Re: [OSM-dev] mod_tile and renderd .. why 404?

2009-01-19 Thread Jon Burgess
On Mon, 2009-01-19 at 10:43 -0800, Mikel Maron wrote: > > Look at your apache error log, it will more than likely tell you. > > File does not exist: /var/www/osm_tiles2/0 > > It seems like whatever hook mod_tile is using to grab these requests > isn't catching... Check the readme.txt The mod_t

Re: [OSM-dev] mod_tile and renderd .. why 404?

2009-01-19 Thread Jon Burgess
On Mon, 2009-01-19 at 12:23 -0800, Mikel Maron wrote: > > > > Check the readme.txt > > > > The mod_tile code was updated a couple of weeks ago to add support > for > > multiple layers. It now requires a config file to tell it what > layers > > and URIs to map. The default tile storage location a

Re: [OSM-dev] mod_tile and renderd .. why 404?

2009-01-20 Thread Jon Burgess
On Tue, 2009-01-20 at 13:17 -0800, Mikel Maron wrote: > Success > > I missed the AddTileConfig and LoadTileConfig .. duh! > > Looks like LoadTileConfig can not be place in mod_tile.load, but only > in the site definition? I think the mod_tile.load is meant to only have the single LoadModule line

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

2009-01-20 Thread Jon Burgess
On Wed, 2009-01-21 at 00:13 +0100, Ivo Brodien wrote: > Hi Dave, > > > > > You can check http://www.openstreetmap.org/stats/data_stats.html to > > see the current object counts. It's about 24m ways. > > > ahh. Thanks. Did not know this page. > > > > > > If you don't need the whole planet t

Re: [OSM-dev] Planet .osm diffs

2009-01-21 Thread Jon Burgess
2009/1/21 Tom Hughes : > Mathieu Arnold wrote: >> >> +-le 21.01.2009 13:29:10 +, Tom Hughes a dit : >> | Mathieu Arnold wrote: >> | >> |> It's been about 10 hours since the planet diffs went out of sync, it seems >> |> that the box's clock is 30 minutes behind, as of now, the last generated >>

Re: [OSM-dev] Are there a feature rendering rules for Mapnik?

2009-01-23 Thread Jon Burgess
On Fri, 2009-01-23 at 17:02 +0100, Ivo Brodien wrote: > Hello, > > I would like to know if there is some sort of table where I can see > what features get rendered for the distinct zoom levels. > > I only found the osm.xml in the Mapnik source. The nicest way I know is using some xslt from her

Re: [OSM-dev] [novice] osm2pgsql: mac os x: faster with compiler optimized flag -fast instead of -O2

2009-02-07 Thread Jon Burgess
On Sat, 2009-02-07 at 23:09 +0100, Ceriel Jacobs wrote: > In building and benchmarking open source projects on Mac OS X 10.5 > intel (for example Mysql), > highest performance was returned with flag -fast instead of -O2. > > When trying to apply these settings to the osm2pgsql Makefile, by > r

Re: [OSM-dev] [novice] osm2pgsql: mac os x: faster with compiler optimized flag -fast instead of -O2

2009-02-08 Thread Jon Burgess
On Sun, 2009-02-08 at 12:40 +0100, Martijn van Oosterhout wrote: > On Sat, Feb 7, 2009 at 11:09 PM, Ceriel Jacobs wrote: > > In building and benchmarking open source projects on Mac OS X 10.5 > > intel (for example Mysql), > > highest performance was returned with flag -fast instead of -O2. > > W

Re: [OSM-dev] [PATCH] osm2pgsql tile expiry

2009-02-08 Thread Jon Burgess
On Sun, 2009-02-08 at 13:07 +0100, Martijn van Oosterhout wrote: > I just realised. You have also created a parse_wkt, which opens up the > path to limited relation processing even in non-slim mode. (It doesn't > solve the problem completely, since the whole problem is that non-slim > doesn't store

Re: [OSM-dev] [PATCH] osm2pgsql tile expiry

2009-02-08 Thread Jon Burgess
On Sun, 2009-02-08 at 12:24 +, Steve Hill wrote: > On Sun, 8 Feb 2009, Martijn van Oosterhout wrote: > > > - The use of -o. Is there any other output osm2pgsql could produce > > that would be more logical. Not really a big deal, the long option > > expire-output is there which is good enough f

Re: [OSM-dev] [PATCH] osm2pgsql tile expiry

2009-02-08 Thread Jon Burgess
On Sun, 2009-02-08 at 14:04 +, Steve Hill wrote: > On Sun, 8 Feb 2009, Jon Burgess wrote: > > > I have just started running the diff import on the OSM tile server. The > > diff imports are a little slower than I'd ideally like but seem to be > > working. &

Re: [OSM-dev] osm2pgsql support for relation type=boundary

2009-02-10 Thread Jon Burgess
On Tue, 2009-02-10 at 18:12 +, Thomas Wood wrote: > I have no knowledge of c, osm2pgsql, geos or any of the other stuff, > but I did have a hack at it a while back, and a very simple patch > seemed to give me a usable result from my experimentations with the > London borough relations. > > Als

Re: [OSM-dev] osm2pgsql support for relation type=boundary

2009-02-10 Thread Jon Burgess
emed to give me a usable result from my experimentations with the >> > London borough relations. > > On Tuesday 10 February 2009 20:00, Jon Burgess wrote: >> That will probably do exactly what you want. > > exactly what I needed. > Many thanks. > > PS: for some reason I d

Re: [OSM-dev] OGC standards / Sql Server 2008 / OSM... help?

2009-02-18 Thread Jon Burgess
On Thu, 2009-02-19 at 00:08 +0200, brendan barrett wrote: > Thanks Dermot > > Is correcting it inside OSM the only way to deal with this kind of > data? If so, i'm thinking of compiling a list of all the ways that do > not comply, and then posting them somewhere so that we can all pick > them off

Re: [OSM-dev] Inverted Coastlines

2009-03-04 Thread Jon Burgess
On Wed, 2009-03-04 at 19:55 +0200, Oleg Shaniuk wrote: > Hi All, > > Anyone tried to create inverted coastlines? - So, oceans are polygons > and islands/continents are "holes". I'm tried to use this code: > > > http://trac.openstreetmap.org/browser/applications/utils/coastcheck > > but it does

Re: [OSM-dev] problem with apache+mod_tile

2009-03-05 Thread Jon Burgess
On Thu, 2009-03-05 at 10:35 +0530, Arindam Ghosh wrote: > Hi all > > While setting up the osm-india instance in freemap.in, i built and > installed mod_tile, mapnik all well. > > Also, on running 'rendered' and restarting apache i am getting world > map at http://tile.freemap.in/osm_tiles2/0/0/0.

Re: [OSM-dev] postgresql issue

2009-03-07 Thread Jon Burgess
On Sat, 2009-03-07 at 13:02 +0530, Arindam Ghosh wrote: > Hi all > > I updated to postgresql-8.3-postgis in the freemap.in which was > required for new mapnik > [http://trac.mapnik.org/wiki/DebianInstallation] > > The mapnik from the svn was in turn required for latest mod_tile. > > But now as i

Re: [OSM-dev] Improvement of tile rendering

2009-03-17 Thread Jon Burgess
On Wed, 2009-03-18 at 00:48 +0100, Stefan de Konink wrote: > Dane Springmeyer wrote: > > I should stress though that Mod_tile is the optimal solution for tile > > rendering for most OSM related purposes. > > I wonder if an Apache module is able to provide caching. I doubt it can, > thus require

Re: [OSM-dev] Improvement of tile rendering

2009-03-20 Thread Jon Burgess
On Fri, 2009-03-20 at 01:40 +0100, sylvain letuffe wrote: > mod_tile really seams the fastest solution fro high traffic server. > But maybe > (I said maybe I didn't tried it, only supposed it from docs) lacking a > few > functionnalities or flexibility > ( server side tiles merging, common cached

Re: [OSM-dev] Improvement of tile rendering

2009-03-21 Thread Jon Burgess
On Sat, 2009-03-21 at 02:25 +0100, Udo Giacomozzi wrote: > Hello Jon, > > Friday, March 20, 2009, 7:48:42 PM, you wrote: > JB> If you want to mess around with a slightly higher level implementation, > JB> I recently re-implemented the mod_tile render daemon into python [1]. > > Unfortunately I'm

Re: [OSM-dev] Improvement of tile rendering

2009-03-21 Thread Jon Burgess
On Sat, 2009-03-21 at 11:18 +0100, Udo Giacomozzi wrote: > Hello Jon, > > Saturday, March 21, 2009, 10:39:00 AM, you wrote: > > >> - in this case a Apache module is probably not really faster than a > >> FastCGI implementation > > JB> Maybe, but you need both implementations to do a fair compa

Re: [OSM-dev] Tiles not refreshing

2009-04-08 Thread Jon Burgess
On Wed, 2009-04-08 at 22:54 +0200, Rafał Miłecki wrote: > Hi, > > I hope I've choosen right mailing list. > > Yesterday I edited part of map, mostly adding new roads. After over > 24h slippy map doesn't contain my changes. Moreover I noticed that > matching tile as dirty doesn't work. > > For ex

[OSM-dev] maxDownloadCount not implemented for osmosis 0.6?

2009-04-24 Thread Jon Burgess
Hi Brett, I have started using the latest osmosis code for applying the diffs and noticed that it seems to ignore the maxDownloadCount in the configuration.txt file. A quick look at the source suggests that this was only implemented in the 0.5 download code. Would you like me to raise a tra

Re: [OSM-dev] maxDownloadCount not implemented for osmosis 0.6?

2009-04-25 Thread Jon Burgess
On Sat, 2009-04-25 at 09:27 +1000, Brett Henderson wrote: > Really? Okay, yes raise a trac ticket. Thanks. http://trac.openstreetmap.org/ticket/1749 The fix looks quite simple so I've attached a patch to the ticket. Jon ___ dev mailing lis

Re: [OSM-dev] bad pngs from mod_tile / renderd & meta files

2009-05-01 Thread Jon Burgess
On Fri, 2009-05-01 at 10:59 -0700, jburns wrote: > Hi, > > I am having a problem in that the pngs being generated and returned by my > apache & renderd & mapnik process are not "proper" pngs in that they are > rejected by various file viewers as being malformed. > > I have compiled, built and run

Re: [OSM-dev] bad pngs from mod_tile / renderd & meta files

2009-05-02 Thread Jon Burgess
2009/5/2 jburns : > > Hi, > > >> Are you trying to use the .meta file as a png or the file returned via > the URL? > > through the browser, not direct (ie meta file) access. The first request > times out as per renderd readme, and the second produces the 0.png download > in my browser, which then s

Re: [OSM-dev] OSMOSIS: Problems Importing Data

2009-06-11 Thread Jon Burgess
On Thu, 2009-06-11 at 14:26 -0400, Lucier, Trent wrote: > Is there a way to use JOSM to add those attributes? I’m looking > through the tool and its documentation, and I do not see how to do it. > I’ve also looked at Merkaartor, and I don’t see it there, either. The normal way to import data li

Re: [OSM-dev] Problems with own Mapnik installation

2009-06-20 Thread Jon Burgess
On Sat, 2009-06-20 at 21:08 +0200, Nils Bermann wrote: > The problem is, that in different scales (bbox to image size) colours > of > the ways changes and finally some ways vanish. Those vanishing are as > far > as I can see highways except tracks and bridges for all kinds of > highways. > > T

Re: [OSM-dev] osm2pgsql / postgis precision

2009-07-01 Thread Jon Burgess
On Wed, 2009-07-01 at 13:51 +0200, Etienne Chové wrote: > Etienne Chové a écrit : > > The difference is not really significant but postgis says polygons > are > > olvelapping each other while they have just a common boundary. > > The errors doesn't appear when I delete lines "#define FIXED_POINT"

Re: [OSM-dev] osm2pgsql / postgis precision

2009-07-02 Thread Jon Burgess
On Thu, 2009-07-02 at 19:44 +0200, Jan-Benedict Glaw wrote: > On Wed, 2009-07-01 19:13:26 +0100, Jon Burgess > wrote: > > On Wed, 2009-07-01 at 13:51 +0200, Etienne Chové wrote: > > > Etienne Chové a écrit : > > > > The difference is not really significant but

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

2009-07-03 Thread Jon Burgess
2009/7/3 80n <80n...@gmail.com>: > Grant > What's the spec of the old dev server? http://wiki.openstreetmap.org/wiki/Servers/dev -- Jon ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev

Re: [OSM-dev] osm2pgsql wont work with planet

2009-07-10 Thread Jon Burgess
On Fri, 2009-07-10 at 17:41 +0200, Matthias Sala wrote: > Hello there > > Lately, I set up a new tile server at Hetzner to mapnik-render the whole > planet. > > I use: > * postgres 8.3 > * Ubuntu 8.10 minimal > * self-compiled osm2pgsql > > When using the osm2pgsql command to import the planet f

Re: [OSM-dev] [strange osm2pgsql behaviour?]

2009-07-13 Thread Jon Burgess
2009/7/13 Sergiusz Pawlowicz : > On Mon, Jul 13, 2009 at 08:44, Tom Hughes wrote: >> On 13/07/09 07:16, Sergiusz Pawlowicz wrote: >> >>> hello, i have noticed a strange osm2pgsql behavior, when you import >>> planet without a slim option, it does not create the same tables as >>> with using --slim,

[OSM-dev] broken utf8 in minute changeset 200907140650

2009-07-14 Thread Jon Burgess
I noticed that the diff parsing on the tile server stopped this morning. This changeset seems to be the cause: $ gzip -dc 200907140650-200907140651.osc.gz | xmllint -noout - -:36: parser error : invalid character in attribute value ^ -:36: parser error : attributes co

Re: [OSM-dev] broken utf8 in minute changeset 200907140650

2009-07-14 Thread Jon Burgess
On Tue, 2009-07-14 at 13:56 -0700, Richard Fairhurst wrote: > Further to the long-running Linux Flash Player brokenness, it would be very > helpful for any Linux FP users to do this: > > 1. Go to http://www.systemeD.net/stuff/keycode.html > 2. Type some non-ASCII characters into the top box (lette

Re: [OSM-dev] Coastlines and water - contact and technical

2009-07-16 Thread Jon Burgess
On Thu, 2009-07-16 at 21:12 +0200, Lennard wrote: > Frederik Ramm wrote: > > > Has the bug where osm2pgsql would break these in --slim mode (when > > adding updates) been fixed? > > I believe some of the issues have been fixed a little while ago, but > I'll leave it to the osm2pgsql maintainers

Re: [OSM-dev] Errors compiling mod_tile

2009-07-18 Thread Jon Burgess
On Sat, 2009-07-18 at 18:04 +0200, Joerg Ostertag wrote: > Hi, > > Buildcluster results state an error while compiling mod_tile: > http://gpsdrive.de/build_cluster/mod_tile/debian-squeeze-64/debuild.log.shtml > gen_tile.cpp:417: error: > 'class mapnik::Map' has no membe

Re: [OSM-dev] Errors compiling mod_tile

2009-07-18 Thread Jon Burgess
On Sat, 2009-07-18 at 20:01 +0200, Joerg Ostertag wrote: > On Saturday 18 July 2009, Jon Burgess wrote: > > On Sat, 2009-07-18 at 18:04 +0200, Joerg Ostertag wrote: > > > Hi, > > > > > > Buildcluster results state an error while compiling mod_tile: > > &

Re: [OSM-dev] broken utf8 in minute changeset 200907140650

2009-07-18 Thread Jon Burgess
On Tue, 2009-07-14 at 11:16 +0100, Andy Allan wrote: > Interestingly, it's actually valid UTF8 (they are ASCII control > characters). The problem is that XML defines a subset of Unicode > characters that excludes these and a few other ranges. > > http://www.w3.org/TR/REC-xml/#NT-Char > > None of

Re: [OSM-dev] Coastlines and water - contact and technical

2009-07-19 Thread Jon Burgess
On Sun, 2009-07-19 at 12:44 -0400, Ben Supnik wrote: > Jon Burgess wrote: > > > - Relations with a name= tag. The Wiki says they should be entirely > > untagged. If the osm2pgsql code saw even a name tag on the relation > then > > it would ignore the tags on the oute

Re: [OSM-dev] Coastlines and water - contact and technical

2009-07-19 Thread Jon Burgess
On Sun, 2009-07-19 at 13:22 -0400, Ben Supnik wrote: > Hi Jon, > > Jon Burgess wrote: > > >> ... if a user incorrectly tries to make a lake by creating a > >> multipolygon and putting the water-related attribute (e.g. > >> landuse=water > >>

Re: [OSM-dev] Coastlines and water - contact and technical

2009-07-19 Thread Jon Burgess
On Sun, 2009-07-19 at 14:19 -0400, Ben Supnik wrote: > Hi Jon, > > Jon Burgess wrote: > > > I believe (a). The wiki documentation for multipolgons has two slightly > > contradictory recommendations: > > Yeah - I just stumbled upon that...given the discussion it c

Re: [OSM-dev] Coastlines and water - contact and technical

2009-07-19 Thread Jon Burgess
On Sun, 2009-07-19 at 15:29 -0400, Ben Supnik wrote: > Hi Jon, > > Jon Burgess wrote: > > > This is one of the things which has to be done but is not really > > documented. The algorithm osm2pgsql uses is to gather together all the > > tags which are related to the

Re: [OSM-dev] Coastlines and water - contact and technical

2009-07-19 Thread Jon Burgess
On Sun, 2009-07-19 at 16:04 -0400, Ben Supnik wrote: > Hi Jon, > > I started to summarize this on the wiki and realized something... > > > documented. The algorithm osm2pgsql uses is to gather together all the > > tags which are related to the polygon feature (e.g. landuse=, natural= > > etc) and

Re: [OSM-dev] Coastlines and water - contact and technical

2009-07-19 Thread Jon Burgess
On Sun, 2009-07-19 at 16:10 -0400, Ben Supnik wrote: > Hi Jon, > > Jon Burgess wrote: > > This is how the data appeared when the existing polygons with holes were > > run through the 0.4->0.5 conversion process. In 0.4 they consisted of a > > single tagged way

Re: [OSM-dev] osm2pgsql: Importing several Geofabrik OSM files

2009-07-31 Thread Jon Burgess
On Thu, 2009-07-30 at 16:40 +0200, Jan-Benedict Glaw wrote: > On Thu, 2009-07-30 16:34:35 +0200, Frederik Ramm > wrote: > > Jan-Benedict Glaw wrote: > > > I just tried importing germany.osm.bz2 and denmark.osm.bz2 from > > > http://download.geofabrik.de/osm/ . However, importing the second > > >

Re: [OSM-dev] rendered

2009-08-03 Thread Jon Burgess
On Mon, 2009-08-03 at 13:55 +, John Smith wrote: > Not sure if it's something I've done wrong or it's supposed to work that way, > but after starting rendered it seems to take 2-3 minutes after calling a > dirty or unrendered tile before it will respond, but after that it seems to > work fin

Re: [OSM-dev] query to the database matching ids without certain key

2009-08-09 Thread Jon Burgess
On Sun, 2009-08-09 at 21:27 +0200, Stephan Knauss wrote: > I imported the osm data into postgres. > > How would I select all nodes from the database which do not have a > certain attribute? The last time I worked with SQL is long ago, I could > need a bit help. > > I want to get for example all

Re: [OSM-dev] renderd - terminate called after throwing an instance of 'mapnik::config_error'

2009-09-05 Thread Jon Burgess
On Sat, 2009-09-05 at 20:32 +0200, Radek Bartoň wrote: > Dne sobota 05 Září 2009 19:10:43 Richard Weait napsal(a): > > > > > > To check the fonts recognized by python, try > > > > > > python > > > > > from mapnik import * > > for face in FontEngine.face_names(): print face > > > > > > ...

Re: [OSM-dev] renderd - terminate called after throwing an instance of 'mapnik::config_error'

2009-09-05 Thread Jon Burgess
On Sat, 2009-09-05 at 23:10 +0200, Radek Bartoň wrote: > After your advise I noticed that there is font_dir_recurse=0 in > renderd log > although renderd.conf contains font_dir_recurse=1 as I wrote > previously. > > Seems like a small bug for me. Anyway with > font_dir=/usr/share/fonts/dejavu >

Re: [OSM-dev] Tile Fonts

2009-09-07 Thread Jon Burgess
On Mon, 2009-09-07 at 09:21 +0100, Richard Ive wrote: > HI all, > > I've just rendered a tile to check that I have the correct fonts > installed and I'm getting something I didn't expect. > > If you look at: http://maps.m4.net/osm_tiles2/12/3186/1889.png you > should see a collection of rectangle

Re: [OSM-dev] Postgres 8.4/PostGIS 1.4 performance

2009-09-13 Thread Jon Burgess
On Sun, 2009-09-13 at 19:56 +0200, Frederik Ramm wrote: > Hi, > > I did a full (osm2pgsql) planet import on a standard Ubuntu Jaunty > system and it took 1794 minutes. Then I upgraded to Postgres 8.4 > (backported from Karmic) plus PostGIS 1.4 (home-built package), and > re-tried the import

Re: [OSM-dev] Postgres 8.4/PostGIS 1.4 performance

2009-09-13 Thread Jon Burgess
On Sun, 2009-09-13 at 22:45 +0200, Frederik Ramm wrote: > Hi, > > Jon Burgess wrote: > > Try running the query below and compare the sizes returned for the > > tables & indexes on the two databases. > > Hm, it seems I have overlooked the fact that I also upda

Re: [OSM-dev] This week's planet .osm

2009-09-13 Thread Jon Burgess
On Sun, 2009-09-13 at 16:37 +0100, Richard Ive wrote: > Hey all, Has anyone had any issue with this weeks planet dump? > 090909 I've tried to rum an osm2pgsql import twice now and it's > falled over at Relation 198k both times: Relation 198k is the end of the file. It sounds like you have enc

Re: [OSM-dev] Tag-key with "?" in planet but not in API

2009-09-15 Thread Jon Burgess
On Tue, 2009-09-15 at 20:48 +0200, Martin Lesser wrote: > > *My* bunzip2'd planet-090909 does not show the bytes above (09 0d). > Instead a seek(52447596001) followed by a read(278) shows exactly > what I quoted before containing the 2 '?' [1] > > > But with the planet, your viewer seems to conve

Re: [OSM-dev] osm2pgsql Error way_changed_mark

2009-09-18 Thread Jon Burgess
On Thu, 2009-09-17 at 23:01 -0700, Andrew Ayre wrote: > Previously I was using 0.52 and it was working fine. However it wasn't > include the service tag, so now I am using 0.67-17674M. When I run it with: > > osm2pgsql -d mapnik -p opt -U username -W -c -m -s opt.osm > > I get: > > Processing:

Re: [OSM-dev] Imported data missing from mapnik database?

2009-09-27 Thread Jon Burgess
On Sat, 2009-09-26 at 21:42 -0300, Claudomiro Nascimento Junior wrote: > Could somebody check if the boundary data for Brazil that I imported > last 15 of september (changeset 2487678) is in the mapnik database? The size of the changeset meant that most the nodes were lost from minute diffs. > Fo

Re: [OSM-dev] Trouble with osm2pgsql and Postgres 8.4, Postgis 1.4

2009-10-04 Thread Jon Burgess
On Sun, 2009-10-04 at 11:19 +0100, Tom Taylor wrote: > Hi all, > > I'm trying to get an environment up and running for Mapnik on OS X 10.6. > > I'm using Postgres 8.4 and Postgis 1.4. I've compiled osm2pgsql, but > whenever I attempt to import data I get the following: > > mu:~ tom$ osm2

Re: [OSM-dev] Trouble with osm2pgsql and Postgres 8.4, Postgis 1.4

2009-10-04 Thread Jon Burgess
On Sun, 2009-10-04 at 12:27 +0100, Tom Taylor wrote: > On 4 Oct 2009, at 12:19, Jon Burgess wrote: > > > Those error messages all come from reprojection.c which is trying to > > initialise the projection using the proj library. This should have > > nothing to do with

Re: [OSM-dev] Trouble with osm2pgsql and Postgres 8.4, Postgis 1.4

2009-10-04 Thread Jon Burgess
On Sun, 2009-10-04 at 13:28 +0100, Tom Taylor wrote: > > On 4 Oct 2009, at 13:16, Jon Burgess wrote: > > > 4.7.1 does not exist @ http://download.osgeo.org/proj/ > > do you mean an SVN version? > > Sorry, yes, I downloaded proj-4.7.0.tar.gz, it just seems to > i

Re: [OSM-dev] Trouble with osm2pgsql and Postgres 8.4, Postgis 1.4

2009-10-04 Thread Jon Burgess
On Sun, 2009-10-04 at 14:04 +0100, Tom Taylor wrote: > On 4 Oct 2009, at 13:49, Jon Burgess wrote: > > > I updated the proj strings to match those in the 4.7.1 definition > > files > > in r17981. Can you see if those work for you now? > > Jon, I'm af

Re: [OSM-dev] Multithread generate_tiles.py, generate_images.py and question about attribution.

2009-10-05 Thread Jon Burgess
On Mon, 2009-10-05 at 15:57 +0200, Radek Bartoň wrote: > Dne neděle 04 Říjen 2009 05:09:51 Dane Springmeyer napsal(a): > > > I meant to ask if you had yet compared your generate_tiles.py > > threading support to the recent additions in svn? > > > > I assume not since you wrote yours, as you say s

Re: [OSM-dev] OSM tile server: concurrency of rendering + updating

2009-10-21 Thread Jon Burgess
On Wed, 2009-10-21 at 13:07 +0200, Frederik Ramm wrote: > Hi, > > this is mostly a question to Jon Burgess I guess but I'm asking on > dev because I figure that others might also be interested. On the main > OSM tile server, do you apply the diffs while you render tiles

Re: [OSM-dev] OSM tile server: concurrency of rendering + updating

2009-10-22 Thread Jon Burgess
On Thu, 2009-10-22 at 10:33 +0200, Frederik Ramm wrote: > Hi, > > Frederik Ramm wrote: > > How often do you do this? Only when the osm2pgsql configuration changes > > to make it necessary, or routinely from time to time (does osm2pgsql > > still have the tendency to break multipolygons on increm

Re: [OSM-dev] osm2pgsql / diff / upercase tag

2009-10-27 Thread Jon Burgess
On Tue, 2009-10-27 at 14:01 +0100, sly (sylvain letuffe) wrote: > Hi, > > Maybe this case is known (also a google search didn't pointed me to it) but > osm2pgsql diff adding mode fails when there is a tag with upercase caracters ... > Adding new column "IN" to "planet_osm_point" > ALTER TABLE p

Re: [OSM-dev] Planet file space requirements

2009-10-29 Thread Jon Burgess
On Thu, 2009-10-29 at 23:40 +, Shaun McDonald wrote: > On 29 Oct 2009, at 22:45, Linden Varley wrote: > > > Is there potential to be able to do differential updates on a non- > > slim imported db? > > No you need slim mode to do diff updates. > There is an alternative - you could use osmos

Re: [OSM-dev] osm2pgsql tile expiry freaks me out

2009-11-04 Thread Jon Burgess
On Wed, 2009-11-04 at 22:37 +0100, Frederik Ramm wrote: > I'm trying to work with the tile expiry list produced by osm2pgsql > but something seems to be very wrong there. I never quite managed to get around to using the osm2pgsql based expiry code on the main tile server. I still use the ruby

Re: [OSM-dev] Missing changes in minute-replicate

2009-11-09 Thread Jon Burgess
On Mon, 2009-11-09 at 21:17 +0100, Peter Körner wrote: > > > > The changes in changeset 3073502 are completely missing from the > > minute-replicate diffs. They appear in both the minute and hourly > diffs. > > > > I checked node 559977476 [1] that has been created in changeset > 3073502 > [2

Re: [OSM-dev] renderd multithreading question

2009-11-13 Thread Jon Burgess
On Fri, 2009-11-13 at 23:42 +0100, Frederik Ramm wrote: > Hi, > > I'm running the C version of renderd on an 8-core machine with > num_threads configured to 8. (PostGIS is on another machine so renderd > has the CPU to itself.) I had assumed that it would somehow magically > manage its que

Re: [OSM-dev] apache log to tile usage graph

2009-11-15 Thread Jon Burgess
On Sun, 2009-11-15 at 02:26 +0100, Frederik Ramm wrote: > Hi, > > for the .de tile server I'd like to set up something that makes a > nice, map-based display of what tiles are requested from the server how > often - a kind of tile access heat map. Does anyone have a ready script > for that,

Re: [OSM-dev] renderd multithreading question

2009-11-15 Thread Jon Burgess
On Fri, 2009-11-13 at 23:06 +, Jon Burgess wrote: > On Fri, 2009-11-13 at 23:42 +0100, Frederik Ramm wrote: > > Hi, > > > > I'm running the C version of renderd on an 8-core machine with > > num_threads configured to 8. (PostGIS is on another machin

Re: [OSM-dev] RAM requirement for osm2pgsql without slim?

2009-12-09 Thread Jon Burgess
On Wed, 2009-12-09 at 12:48 +0100, andrzej zaborowski wrote: > 2009/12/9 Peter Childs : > > I think its more like 16GB. > > I don't think that's still enough, Germany alone reaches the max of > about 4.5GB RAM usage in non-slim mode and filesizes indicate it's > only about 1/10th of the planet. I

Re: [OSM-dev] Importing planet file with osmosis into PostgreSQL

2009-12-13 Thread Jon Burgess
On Sun, 2009-12-13 at 12:41 +, Shaun McDonald wrote: > There are some additional hints on the following wiki page: > http://wiki.openstreetmap.org/wiki/Mapnik#Loading_Data > > I'm sure other people on the list will be able to add more than me on tuning > postgres. You should expect it to take

Re: [OSM-dev] Osm2pgsql - Planet.osm fail - "Unknown Element name : changeset"

2009-12-16 Thread Jon Burgess
On Wed, 2009-12-16 at 11:46 -0800, Quy phan wrote: > Hmm interesting, thank you for your response, > any way I can get the most-up-to-date osm2pgsql? > I been trying to search the internet to find it... No luck. > > The windows binary version would be great. > Looking for the udpated osm2pgsql As

Re: [OSM-dev] Osm2pgsql - Planet.osm fail - "Unknown Element name : changeset"

2009-12-17 Thread Jon Burgess
On Thu, 2009-12-17 at 10:56 +0100, "Marc Schütz" wrote: > > > Hmm interesting, thank you for your response, > > > any way I can get the most-up-to-date osm2pgsql? > > > I been trying to search the internet to find it... No luck. > > > > > > The windows binary version would be great. > > > Looking

Re: [OSM-dev] Osm2pgsql - Planet.osm fail - "Unknown Element name : changeset"

2009-12-17 Thread Jon Burgess
On Thu, 2009-12-17 at 09:31 -0800, Quy phan wrote: > Hey guys, thanks for all the input, much much much appreciated! > > Peter you are right; my osm2pgsql was out of date, it was not able to > handle the "changeset" element. > Jon, thank you for the updated osm2pgsql, much appreciated! > I got the

Re: [OSM-dev] Osm2pgsql - Planet.osm fail - "Unknown Element name : changeset"

2009-12-17 Thread Jon Burgess
On Thu, 2009-12-17 at 11:44 +0100, Peter Körner wrote: > >> Changesets are only included in planet.osm since a few weeks, right? As > >> the file linked in the wiki is from July, it will not help him. > > How is osm2pgsql compiled on windows? What Software do I need? Will VC++ > Express do it?

Re: [OSM-dev] Questions on Nominatim and administrative boundaries + osm2pgsql

2009-12-20 Thread Jon Burgess
On Sun, 2009-12-20 at 11:55 +0100, David MENTRE wrote: > Dear fellow OSM hackers, > > We are working on improving MapOSMatic, especially for international support. > > We are using http://nominatim.openstreetmap.org to query OSM in a > human-friendly way, which, indeed, is a wonderful tool! > >

Re: [OSM-dev] Questions on Nominatim and administrative boundaries + osm2pgsql

2009-12-20 Thread Jon Burgess
On Sun, 2009-12-20 at 11:27 +, Jon Burgess wrote: > On Sun, 2009-12-20 at 11:55 +0100, David MENTRE wrote: > > Dear fellow OSM hackers, > > > > We are working on improving MapOSMatic, especially for international > > support. > > > > We are using http

Re: [OSM-dev] Changeset files (was Removing Minutely and Hourly Changesets)

2009-12-21 Thread Jon Burgess
On Mon, 2009-12-21 at 01:08 -0500, Anthony wrote: > Cool. If anyone familiar with the planet dumper tool is listening... > > In > http://svn.openstreetmap.org/applications/utils/planet.osm/C/output_osm.c > > } else if ((*in >= 0) && (*in < 32)) { > escape_tmp[len] = '?'; >

Re: [OSM-dev] osm2pgsql - coordinates units

2010-01-02 Thread Jon Burgess
2010/1/2 Graham Jones : > I think I have found the problem - I was using planet_osm_nodes lat and lon > fields.  If I use the planet_osm_point way field, and extract the > coordinates using ST_X() and ST_Y() all of the numbers match up. > > You can see the factor of 100 difference if you do: >

Re: [OSM-dev] mod_tile/renderd logging

2010-01-12 Thread Jon Burgess
On Tue, 2010-01-12 at 14:10 +, Ævar Arnfjörð Bjarmason wrote: > On Tue, Jan 12, 2010 at 11:08, Jaak Laineste wrote: > > Hello, > > Is there a way to save renderd debug log to a file? I can see the > > debug log when I start renderd with -f option, but I'd like to run it > > as normal service,

Re: [OSM-dev] osm2pgsql => default.style => add a new line to get a new column in the database postgis

2010-01-15 Thread Jon Burgess
2010/1/15 Michael musset : > yes i'm agree, but it is not the problem because i can see a new column, but > the problem, it's that this column is empty, > by example if my sql request is : > > select * from planet_osm_point where wifi is not null LIMIT 10; > > i get 0 rows .. > > and that t

Re: [OSM-dev] Import error using osm2pgsql in slim mode

2010-01-21 Thread Jon Burgess
On Thu, 2010-01-21 at 11:13 -0500, Jason Beverage wrote: > Hi all, > > I'm working with osm2pgsql (latest trunk version) to import OSM into a > PostgreSQL/PostGIS database. The issue I'm having is that if I use > the --slim option I'll occasionally get an error similar to: > > Going over pending

Re: [OSM-dev] Import error using osm2pgsql in slim mode

2010-01-21 Thread Jon Burgess
On Thu, 2010-01-21 at 11:29 -0800, Dane Springmeyer wrote: > On Jan 21, 2010, at 5:51 AM, Mike Warren wrote: > > > Jon Burgess writes: > > > >> If I remember correctly this error occurs when you try to import two > >> data sets which contain some overlapping

  1   2   3   4   >