[OSM-dev] Mapnik script broken?

2008-07-28 Thread Sven Geggus
Hello, I'm fiddling with mapnik, but am currently not able to generate geographically correct tiles. My generated tiles always seem to be shifted north by approximately the height of one tile (I did not measure this exactly however). I'm using generate_tiles.py from svn more or less unmodified.

[OSM-dev] Incremental osm2pgsql?

2008-07-28 Thread Sven Geggus
Hi there, I think about setting up a WFS Server with Openstreetmap Data. Using osm2pgsql and mapserver this is more or less a trivial thing to do. Currently I tested this using osm2pgsql. What I would need for this matter is however some kind of incremental Postgis Database update, as

Re: [OSM-dev] osm2pgsql hstore support

2010-03-14 Thread Sven Geggus
Lennard l...@xs4all.nl wrote: Very cool this. What's the speed to access the hstore column, compared to the generic columns we now have? I did not yet try to measure this. On the one hand, this has the potential to greatly increase the size of the db, as you will now get all kinds of tags

Re: [OSM-dev] request for hosting of WMS layers

2010-03-16 Thread Sven Geggus
Jochen Topf joc...@remote.org wrote: I contacted the guy running wms.openstreetmap.de /me to see whether we have some space on that server. I think we are running out of disk space, but we'll see. There are still about 700 Gigabytes available so we will probably be able to host at least

Re: [OSM-dev] osm2pgsql hstore support

2010-03-20 Thread Sven Geggus
Sven Geggus li...@fuchsschwanzdomain.de wrote: Currently the patch has not been tested in conjunction with incemental database updates. OK, in the meantime I can confirm, that incemental database updates work fine. I just fixed a problem with polygons (SVN r20565). When using hstores we need

Re: [OSM-dev] [PATCH] osm2pgsql install and prefix

2010-04-06 Thread Sven Geggus
strk s...@keybit.net wrote: Find it attached :) I think you should get youself a subversion account and commit it yourself. We could do this for you, but I think it would be better if patches are commited by the Authors themselves just to know who to blame :) Sven -- How to prevent Java

[OSM-dev] add_parking_node function in osm2pgsql?

2010-04-08 Thread Sven Geggus
Hello, fiddling with the code of osm2pgsql I came across the add_parking_node function which does not seem to be called anywhere as far as I can tell. Can anybody confirm this? Sven -- If you don't make lower-resolution mapping data publicly available, there will be people with their cars

Re: [OSM-dev] add_parking_node function in osm2pgsql?

2010-04-09 Thread Sven Geggus
Lennard l...@xs4all.nl wrote: There's another few functions that aren't being called anymore, either. Can you name them? output-pgsql.c is already about 1500 lines of code so removing unused function will do no harm as they stay available via svn history anyway. Sven -- If you don't make

Re: [OSM-dev] Error in Makefile for osm2pgsql on OSX

2010-04-26 Thread Sven Geggus
Simon Gornall simon.gorn...@me.com wrote: At least on my system (10.6.3) I had to add: CPPFLAGS = $(CFLAGS) ... to get the Makefile to build build_geometry.cpp - otherwise there were no CFLAGS set, and the build failed. Are you using a recent Version whith autoconf support?

Re: [OSM-dev] Hstore revolution

2010-05-18 Thread Sven Geggus
Jukka Rahkonen jukka.rahko...@latuviitta.fi wrote: Sven Geggus has made a pretty good job with adding this fine feature into osm2pgsql. Thanks. Credits should also go to Jochen Topf for suggesting hstore as a well suited storage Method for OSM Data in the first place :) Peter

Re: [OSM-dev] osm2pgsql password support documentation

2010-05-25 Thread Sven Geggus
Jukka Rahkonen jukka.rahko...@latuviitta.fi wrote: Right, username can be given after -U parameter and -W can be used to make osm2pgsql to ask for the password. It is not possible to give the password from command line as -W my_password, it makes osm2pgsql to behave oddly. If I remember

Re: [OSM-dev] Tag for building name

2010-07-01 Thread Sven Geggus
Yuliya Leonova yleon...@cloudmade.com wrote: For now in Mapzen for tagging building name parameter we use 'addr:housename' tag. But recently Mapzen team have got several requests to change it to just 'name' tag key. addr:housename ist meant for postal purposes only (Part of an address in

Re: [OSM-dev] North America gone in geofabrik and tagwatch

2010-07-13 Thread Sven Geggus
Andy Allan gravityst...@gmail.com wrote: Does anyone have a list of services (or maps etc) which don't cover North America? All in One Garmin Map comes to mind. This map is very handy because there are Openstreetbugs and Fixme layers. Unfortunately we can not provide the processing power to

Re: [OSM-dev] Playing with MapServer WMS and WFS

2010-09-17 Thread Sven Geggus
Peter Körner schrieb am Montag, den 13. September um 17:41 Uhr: This approach seems to be the best one. It should be a fairly simple modification to osm2pgsql. OK, I had a quick look. Unfortunately this part is implemented in the C++ part of osm2pgsql because of the geos library. I'm glad to

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

2010-10-25 Thread Sven Geggus
Hartmut Holzgraefe hart...@php.net wrote: took a bit to figure out that things do not work the protobuf-c version that comes with Ubuntu Maverik. Which Version is this? Hot some trouble on debian squeeze as well: src/ ./pbf2osm ~/saarland.osm.pbf ?xml version='1.0' encoding='UTF-8'? osm

Re: [OSM-dev] PBF parsing frontend for osm2pgsql, tester wanted

2010-11-01 Thread Sven Geggus
Hartmut Holzgraefe hart...@php.net wrote: i have commit access, the changes are quite massive by now though, so i'd like to get at least some feedback before pushing the changes to SVN ... Hm, when using ordinary osm file and no -r switch I get the following: Input parser `libxml2' not

Re: [OSM-dev] PBF parsing frontend for osm2pgsql, tester wanted

2010-11-02 Thread Sven Geggus
Jon Burgess jburgess...@gmail.com wrote: Does protobuc-c exist or is this a typo? The package is called libprotobuf-c0-dev (in Debian/unstable). protobuc-c = 0.14: no The reason for this check is that it does not seem to work with Version 0.12 which is the default protobuc-c Version in

Re: [OSM-dev] PBF parsing frontend for osm2pgsql, tester wanted

2010-11-02 Thread Sven Geggus
Peter Körner osm-li...@mazdermind.de wrote: The reason for this check is that it does not seem to work with Version 0.12 which is the default protobuc-c Version in Debian testing. Is it really protobuc or is it protobuf? f not c. Cut and paste problem on my side. Problem has been corrected

Re: [OSM-dev] Planet in PBF?

2010-11-15 Thread Sven Geggus
M∡rtin Koppenhoefer dieterdre...@gmail.com wrote: please don't drop the osm.bz2 (xml) version in the near future, there is a lot of people relying on it, and geofabrik already announced that they might drop their version of osm.bz2 (pointing out that there would still be the planet). pbf2osm

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

2010-11-17 Thread Sven Geggus
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. Sven -- Das Internet ist kein rechtsfreier Raum, das Internet ist aber auch kein bürgerrechtsfreier Raum. (Wolfgang Wieland Bündnis 90/Die

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

2010-11-17 Thread Sven Geggus
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... You have been talking about pbf2foo which would be basically the same as osm/pbf input

Re: [OSM-dev] tirex problem creating Debian/Ubuntu packages under Ubuntu 10.04

2010-11-19 Thread Sven Geggus
M∡rtin Koppenhoefer dieterdre...@gmail.com wrote: yes, I did this because I don't know how to get a proper package for mapnik, thank you. This should be as simple as apt-get install libmapnik-dev Sven -- Der normale Bürger ist nicht an der TU Dresden und schreibt auch nicht mit mutt. (Ulli

Re: [OSM-dev] Is there a way to use simple schema without hstore

2010-11-19 Thread Sven Geggus
Andreas Kalsch andreaskal...@gmx.de wrote: I think it is not a good idea to use hstore because then we can drop SQL, use NoSQL for storing data and use PostGIS/Postgres for Geometry only. In the real world there is no black and white! Shure, hstore is comparable to NoSQL aproaches, but why

Re: [OSM-dev] Is there a way to use simple schema without hstore

2010-11-19 Thread Sven Geggus
Andreas Kalsch andreaskal...@gmx.de wrote: Example for unnessessary complex schema design: http://wiki.openstreetmap.org/wiki/DE:HowTo_minutely_hstore You are welcome to design a better database scheme suitable for rendering :) osm2pgsql output is evolution _not_ design. Using a join in

Re: [OSM-dev] tirex problem creating Debian/Ubuntu packages under Ubuntu 10.04

2010-11-24 Thread Sven Geggus
Peter Körner osm-li...@mazdermind.de wrote: Sorry, you're right. I'd love to see a version of this how to with mapnik 0.8.0 on a debian unstable or testing system. 0.8 has not yet been releasead AFAIK and would require major changes in our styles anyway. Debian testing has 0.7.1 Sven --

Re: [OSM-dev] Layered Tiling (Mapnik)

2010-12-29 Thread Sven Geggus
Frederik Ramm frede...@remote.org wrote: Has anyone done some experimentation in that direction? I know that Nop's riding+walking map uses three layers (OSM background, third-party hillshading, OSM foreground), and of course I've seen the grand ImageMagick-based TopOSM. Has anyone tried a

Re: [OSM-dev] Error While Installing osm2pgsql

2011-01-31 Thread Sven Geggus
Frederik Ramm frede...@remote.org wrote: There may be breakage on Debian as well but I've only witnessed on Ubuntu. Version 25081 does compile just fine in Debian lenny (hopefully oldstable after next weekend) and squeeze (hopefully stable after next weekend). So this looks like a Ubuntu only

Re: [OSM-dev] imposm.parser - New Python library for OSM XML and?PBF files

2011-02-24 Thread Sven Geggus
Oliver Tonnhofer o...@omniscale.de wrote: PostGIS for now, but it could be extended to support SQLite, etc. It is similar to osm2pgsql but it supports more customizable database schemas. Do you have support for incremental database updates? Sven -- Der normale Bürger ist nicht an der TU

Re: [OSM-dev] osm2psql windows binary

2011-03-24 Thread Sven Geggus
Christian H. Bruhn br...@arcor.de wrote: Could someone please update the Windows binary of osm2psql [1]. The file is almost 1 year old and doesn't support pbf. Well, PBF support has been added, but this is one of the reasons why it is not that easy anymore to build a full featured osm2psql,

[OSM-dev] osm2psql: minor hstore rework

2011-03-24 Thread Sven Geggus
4YI, i just commited a small change to the hstore functionality in osm2pqgsl. Until now any tag has been added to the hstore column regardless if this key had an exclusive column or not. This has been changed now. For people who really need all tags in the hstore column an additional

Re: [OSM-dev] osm2psql: minor hstore rework

2011-04-04 Thread Sven Geggus
Lennard l...@xs4all.nl wrote: What probably happens is that, in write_wkts(), you removeTag(), thereby physically removing that tag from the list. However, for geometries that also go into planet_osm_roads, write_wkts() is called twice in a row (once for lines, once for roads), and the

Re: [OSM-dev] osm2psql: minor hstore rework

2011-04-04 Thread Sven Geggus
Sven Geggus li...@fuchsschwanzdomain.de wrote: *argh* this is not intentional. I did not think about write_wkts beeing called a second time. Looks like I need to do this in another way. OK, fixed in r25786. Bad Idea to remove the k/v pairs from the list. I changed this to just flag them

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

2011-04-28 Thread Sven Geggus
Markus Wagner mar...@mwagner.info wrote: After vacuuming and fiddling with those values I am much closer to realtime. Currently at approx ~120% of realtime. So I think, there is hope, once I get faster disks. I'm reopening this thread because I have a very simular Problem and I suspect that

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

2011-05-03 Thread Sven Geggus
Sven Geggus li...@fuchsschwanzdomain.de wrote: The initial import is very fast (with pbf) and still fast (with .osm.bz2). It is just updates which are very slow here. Hm, I just verified this. The import is fast enough (about 10 hours) but I did expect it to be even faster. What

Re: [OSM-dev] osm2pgsql: missing osm_polygon and osm_line data under PostgreSQL 9/PostGIS 1.5.2

2011-05-06 Thread Sven Geggus
Stefan Keller sfkel...@gmail.com wrote: Unfortunately, only the osm_point table was filled with data, osm_polygon and osm_line were empty. This was not the case before the upgrade of the mentioned components. Hm looks like I broke something :( I did not try --hstore-all anymore after adding

Re: [OSM-dev] osm2pgsql: missing osm_polygon and osm_line data?under PostgreSQL 9/PostGIS 1.5.2

2011-05-06 Thread Sven Geggus
Sven Geggus li...@fuchsschwanzdomain.de wrote: Hm looks like I broke something :( Puh, fortunately it looks like I did not :) planet_osm_polygon and planet_osm_line are fine in either case here: --hstore, --hstore-all and no hstore. Just 4TR: I'm running a custom backport of postresql 9.0

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

2011-05-07 Thread Sven Geggus
Jukka Rahkonen jukka.rahko...@latuviitta.fi wrote: Am I right in thinking that if there were suitable diffs available it would be much faster to update directly the osm_point, osm_line and osm_polygon tables without going through osm_points, osm_ways and osm_rels? This would not work because

Re: [OSM-dev] Planet file Import OOM kills postgres

2011-05-30 Thread Sven Geggus
Stefan Keller sfkel...@gmail.com wrote: In our case we use osm2pgsql in Version 0.70.5 As the Version number is usually not increased on every commit a svn commit number would be the Version Number needed. Sven -- The term any key does not refer to a particular key on the keyboard. It simply

Re: [OSM-dev] Osm2pgsql: Proposal to rename or ignore system and extra-attributes like osm_id and osm_user to save disk space

2011-07-25 Thread Sven Geggus
Stefan Keller sfkel...@gmail.com wrote: So to save disk space and resources my feature request is being able to control which extra-attributes go into hstore - or at least simply ignoring osm_user while parsing input stream. I did not ever try --extra-attributes in conjunction with --hstore

Re: [OSM-dev] slow diff updates / FASTUPDATE / osm2pgsql bug

2011-08-07 Thread Sven Geggus
Frederik Ramm frede...@remote.org wrote: this is about a bug in osm2pgsql that will affect you if you * run diff updates (--slim --append) * run PostgreSQL 8.4 or 9.0 * use an osm2pgsql SVN revision = 25198 (2011-01-31) and 26475 (today) * are not using non-standard index tablespaces

Re: [OSM-dev] slow diff updates / FASTUPDATE / osm2pgsql bug

2011-08-07 Thread Sven Geggus
Frederik Ramm frede...@remote.org wrote: To be a bit clearer on the procedure to fix things: Either re-import, or re-create indexes Hm, am I right in the assumption that this problem will affect any index of type gin not just the two created by osm2pgsql? I wonder if my hstore tags-column

Re: [OSM-dev] Free OSM tag queries, WMS and WFS

2011-08-19 Thread Sven Geggus
Jukka Rahkonen jukka.rahko...@latuviitta.fi wrote: No own development done, just playing with existing possibilities of MapServer WMS and WFS and osm2pgsql with hstore. Would you mind sharing your Mapfile? Sven -- How to prevent Java from forking? Use a spoon. (Found on http://slashdot.org)

Re: [OSM-dev] java osm renderer

2011-08-31 Thread Sven Geggus
BG mrharmo...@gmx.de wrote: But the geometry column (which comes with postgis) confuses me, this is a bunch of numbers. It's a OGC standard Format called Well Known Binary (WKB) Postgis provides a funktion (astext) which will transform it to WKT (Well known text).

[OSM-dev] Mapnik style Problem

2011-12-22 Thread Sven Geggus
Hello, I'm trying to render a hillshade+contour baselayer. This is loosely based on the manual in the Wiki http://wiki.openstreetmap.org/wiki/HikingBikingMaps. Looks like my stylefile is somewhat broken because calling nik2img.py I get this: ... Step: 14 // -- Extent of all layers:

Re: [OSM-dev] helping #switch2osm

2012-01-15 Thread Sven Geggus
Kai Krueger kakrue...@gmail.com wrote: We should try and get more of the rendering tool stack into the standard repositories of Ubuntu and Feodora. If you convince just one Debian Maintainer to package them they will end up beeing added to Ubuntu sooner or later anyway. Sven -- Ich fürchte

Re: [OSM-dev] OSM 2 Oracle

2012-02-03 Thread Sven Geggus
Jukka Rahkonen jukka.rahko...@latuviitta.fi wrote: If you select that road I would love to see it able to write into Spatialite as well. osm2pgsql has not been designed (if designed at all) with various backends in mind but contains pretty much hardcoded assumptions about the Database in use.

Re: [OSM-dev] ANNOUNCEMENT: T@H server will go away end of February

2012-02-06 Thread Sven Geggus
Matthias Meißer dig...@arcor.de wrote: Bad to hear. But maybe this is the right moment, we should care about a real easy to use distributed rendering approach, again? To be serious, I consider distributed rendering broken by design. Here is why: Distributed computing is usually a good idea

Re: [OSM-dev] Our #switch2osm story

2012-02-11 Thread Sven Geggus
Helge Fahrnberger he...@toursprung.com wrote: As existing options don't cater very well for the world of tourism and outdoor sports we have decided to render our own tiles, with hill shading and contours. Would you mind sharing some Information about the technology in use? tirex, mod_tile,

[OSM-dev] Rendering rivers in real width

2012-02-11 Thread Sven Geggus
Hello, on Osmarender I once implemented rendering of rivers, stream, canal, etc. in their real width. A Cartographer once told me that unlike roads waterbodies are usually drawn in their real extent on maps after all. With Osmarender beeing abandoned now, there will soon be no map available

[OSM-dev] processed_p.tar.bz2 inverted?

2012-02-22 Thread Sven Geggus
Hello, this is probably more of a GIS Question than an OSM one. For a nice combination of hillshade and water I would like to invert the processed_p.shp file from http://tile.openstreetmap.org/processed_p.tar.bz2 This should prevent rendering of hillshaded water on the edges as water can be

Re: [OSM-dev] processed_p.tar.bz2 inverted?

2012-02-23 Thread Sven Geggus
Paul Norman penor...@mac.com wrote: You might be able to generate an inverted one by inverting the coastline_*.shp files before passing them to the rest of the coastcheck process to generate processed_p. Is this coastcheck process a documented workflow? Sven -- Den Rechtsstaat macht aus,

Re: [OSM-dev] processed_p.tar.bz2 inverted?

2012-02-23 Thread Sven Geggus
Paul Norman penor...@mac.com wrote: You might be able to generate an inverted one by inverting the coastline_*.shp files before passing them to the rest of the coastcheck process to generate processed_p. Are these available for download somewhere or would I need to extract them from a

Re: [OSM-dev] Osm2pgsql not importing routes?

2012-02-24 Thread Sven Geggus
yvecai yve...@gmail.com wrote: Which contains 49 relations according to osm2pgsql output, but the following requests find nothing: select count(*) from planet_osm_line where osm_id = -1401913; select count(*) from planet_osm_line where osm_id 0; and the column route_name does not

Re: [OSM-dev] osm2pgsql patch for nested relations

2012-02-29 Thread Sven Geggus
Frederik Ramm frede...@remote.org wrote: If we start coding special cases into osm2pgsql, we have to code the same special cases into lots of other applications too. AFAIK osm2pgsql currently supports two types of relations: type=route amd type=multipolygon. Both of them _are_ special cases.

Re: [OSM-dev] osm2pgsql patch for nested relations

2012-03-01 Thread Sven Geggus
Darafei Praliaskouski m...@komzpa.net wrote: I am not using route= relations in osm2pgsql. Is there a way to skip their processing, to get more speed than 4 relations/sec? You could just skip the code following if( strcmp(type, route) == 0 ) in output-pgsql.c, but I doubt that this will

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

2012-03-01 Thread Sven Geggus
Skye Book skye.b...@gmail.com wrote: Thanks for the clear explanation.. That meshes well with what I understood from reading the wiki and cursory looks at source code http://wiki.openstreetmap.org/wiki/Tirex/Overview has a nice diagram about how the different modules communicate. It is

Re: [OSM-dev] osm2pgsql patch for nested relations

2012-03-01 Thread Sven Geggus
sly (sylvain letuffe) li...@letuffe.org wrote: Reading that thread, I remembered that I don't need type=route either, I've commented that part of osm2pgsql but the speed gain is hardly noticeable (if at all) Quite in contrast to multipolygon relations, there is almost no computation in

[OSM-dev] different rendering with mapnik based on area?

2012-03-31 Thread Sven Geggus
Hi there, is it possible to have different rendering rules based on the area where rendring takes place using an ordinary mapnik rendering stack (osm2pgsql+mod_tile+tirex)? What I would like to do (for now) is implementing a name rendering logic for the german mapnik style: name outside europe:

Re: [OSM-dev] different rendering with mapnik based on area?

2012-04-02 Thread Sven Geggus
Peter Körner osm-li...@mazdermind.de wrote: Choose whichever way fits your needs best - and tell us about. The question is how Mapquest is actually doing it? Regards Sven -- Every time you use Google, you're using a Linux machine (Chris DiBona, a programs

[OSM-dev] Licence of the Mapnik style?

2012-04-10 Thread Sven Geggus
Hello altogether, with the upcoming adoption of the ODBL for OSM data the licence of common Mapnik styles will definitely get more important! I strongly feel the need of a decent map style to be distributed under a copyleft style licence (IMO Affero GPL would be best suited, but IANAL) to make

Re: [OSM-dev] Licence of the Mapnik style?

2012-04-10 Thread Sven Geggus
Richard Fairhurst rich...@systemed.net wrote: The shields are mine, and I think the core highway colours (motorway, trunk, primary, secondary) might be too, and I'm happy to see them go under WTFPL. (But, AGPL, ugh.) The reason why I have been thinking about AGPL ist that Mapnik stuff is

Re: [OSM-dev] Licence of the Mapnik style?

2012-04-10 Thread Sven Geggus
Komяpa m...@komzpa.net wrote: If mapnik sytlesheet will become AGPL we'll have to get rid of our local instance, just to make sure our stylesheet won't be affected. I have not been talking about changing the (unknown) licence of the original mapnik stylesheet but of our germanstyle which is a

Re: [OSM-dev] Licence of the Mapnik style?

2012-04-10 Thread Sven Geggus
Cartinus carti...@xs4all.nl wrote: That would already be achieved with GPL. You don't need AGPL for that. You might be right. Given that the analogy is as follows: (mapnik=compiler, stylefile=sourcecode, tile=binary) Distributing tiles without stylefile would be like distributing binaries

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

2012-04-13 Thread Sven Geggus
Frederik Ramm frede...@remote.org wrote: Software processing OSM data will need to either use unsigned integers (which can be problematic in cases where negative values are also required), or switch to 64bit integers altogether. Or used for other purposes like in osm2pgsql. Will the

[OSM-dev] converting mod-tile dir to flat files?

2012-04-15 Thread Sven Geggus
Hello, I have a local mod-tile+ tirex installation running on my desktop at home. Now to publish this tiles on a machine without mod-tile I would like to convert this stuff to a flat file layout z/x/y.png I already found convert_meta which will produce the required png files but not the z/x/y

Re: [OSM-dev] converting mod-tile dir to flat files?

2012-04-15 Thread Sven Geggus
Stefan de Konink ste...@konink.de wrote: So nothing 'on the fly'? Only postprocessed? Yes. Sven -- If you continue running Windows, your system may become unstable. (Windows 95 BSOD) /me is giggls@ircnet, http://sven.gegg.us/ on the Web ___ dev

Re: [OSM-dev] hacking outdoor GPS devices

2012-04-17 Thread Sven Geggus
Mitja Kleider schrieb am Montag, den 16. April um 20:26 Uhr: * Are you satisfied with the available devices? No! They are either not really usable for outdoor stuff (Smartphones even true for Motorola DEFY) or use proprietary firmware which can not be hacked (Garmin devices) What would you

Re: [OSM-dev] Coastline by Name

2012-04-24 Thread Sven Geggus
Peter Körner osm-li...@mazdermind.de wrote: I was looking for Coastline-Polygons by Country-Name, that would be the coastline intersected with the administrative border and saved under that name. Before I start to build that on myself I'd like to ask if there's already Code to do that.

Re: [OSM-dev] osm2pgsql invalid polygons

2012-05-06 Thread Sven Geggus
Ramas ies...@ramuno.lt wrote: how do you solve problem with skipped invalid polygons? Fix it in the osm database? with error: Self-intersection at or near point 2889220.240002 7470212.12 This does not look as a valid polygon to me at leadt in OGC Simple Features terms. This

Re: [OSM-dev] A few coastline related questions

2012-05-07 Thread Sven Geggus
Preet prismatic.proj...@gmail.com wrote: * without splitting up of polys into tiles Are you shure that you want an unsplitted europe-asia-afrika? Both of these process planet.osm.pbf, which sometimes needs a 64bit machine with a certain amount of ram etc, depending on what exactly the tool

Re: [OSM-dev] osm2pgsql invalid polygons

2012-05-07 Thread Sven Geggus
Ramas ies...@ramuno.lt wrote: From user point this relation is correct but from geos point - not. Whatever your definition of OK may be. The Problem with multipolygons in their current form ist that there is no definition of a correct multipolygon AFAIK. As far as your Example is concerned

Re: [OSM-dev] osm2pgsql - COPY_END SSL error?

2012-05-29 Thread Sven Geggus
Ákos Maróy a...@maroy.hu wrote: the command I used for the import was: /usr/local/bin/osm2pgsql -d osm -U osm -W -H localhost -S /usr/local/share/osm2pgsql/default.style -G -v -m -s -k -K -C 2048 europe-120525.osm.bz2 On Unix -H localhost does not make sence as does SSL because local

[OSM-dev] Origin of shoreline_300.tar.bz2

2012-06-13 Thread Sven Geggus
Hello, looks like shoreline_300.shp is somewhat broken: http://www.openstreetmap.org/?lat=25.387lon=56.27zoom=9layers=M Where does this data originate from? Is this a simplifierd Version from processed_p? Probably it would be possible to re-tile it. Regards Sven -- Das allgemeine

Re: [OSM-dev] Retina tiles - best way to support them?

2012-06-27 Thread Sven Geggus
Frederik Ramm frede...@remote.org wrote: Your thoughts on these options - are there more than these three, perhaps? - would be most welcome. Hm, I consider this to be a renderer rather than a stylefile issue. On Mapserver (which is unpopular in the OSM world for some reason) there is are two

Re: [OSM-dev] osm2psql .style file parameters/values

2012-07-10 Thread Sven Geggus
mick bare...@tpg.com.au wrote: osm2pgsql does a decent job as far as _I_ can use it, the style file looks to me like it should be able to refine things more with different data types, eg. boolean, short int, int, long int, float,... No! In osm2pgsql tags are always assumed to be text which is

Re: [OSM-dev] New OGR driver to read OpenStreetMap .osm / .pbf files

2012-07-20 Thread Sven Geggus
Even Rouault even.roua...@mines-paris.org wrote: Testing with larger areas, like whole France or Europe, shows sluggish performance when ways are built from nodes, but that's perhaps expected. I didn't compare with other tools to know if the indexing or request strategy is particularly

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

2012-09-15 Thread Sven Geggus
mar...@gmx.eu wrote: Oh, I see. Is there any chance you might update it for the previous (and still supported) LTS 10.04? Unfortunately I cannot update to 12.04. at present. :-( Just compile osm2pqsql yourself from svn version. That's what I always do and it is is not that complicated (at

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

2012-11-14 Thread Sven Geggus
Lennard l...@xs4all.nl wrote: This requires a reload of the database to at least get public_transport=* in. To get a little bit more flexibility which such stuff we now use hstore and views on the german-style tileserver. The overhead is acceptable when using --hstore-match-only Our views

Re: [OSM-dev] installing Osmium on ubuntu 11.10

2012-12-04 Thread Sven Geggus
Martin Alegre tin.ale...@gmail.com wrote: I'm not sure what I did wrong and therefore any feedback is happily welcomed! Did you look at the readme? --cut-- PREREQUISITES - ... OSMPBF (for PBF support) https://github.com/scrosby/OSM-binary You need to build this first.

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

2012-12-19 Thread Sven Geggus
Svavar Kjarrval sva...@kjarrval.is wrote: I was wondering what methods you use to make osm2pgsql be quiet when run by crontab. Why calling it directly instead calling a wrapper script? At least if you go for incremental updates you need to run a wrapper script anyway because this will also

Re: [OSM-dev] Reminder: Node 32-bit exhaustion

2013-02-06 Thread Sven Geggus
Stephan Knauss o...@stephans-server.de wrote: How do I find out how many bits my server OS has? A portable ANSI C code for bitsize detection would be this one: #include stdio.h #include stdint.h int main() { printf(%d\n,8*sizeof(uintptr_t)); return(0); } I'm using the size of an unsigned

Re: [OSM-dev] Reminder: Node 32-bit exhaustion

2013-02-08 Thread Sven Geggus
Andrew M. Bishop a...@gedanken.demon.co.uk wrote: If using the standard toolchain of osm2psql, postgresql and mapnik what is the minimum software versions that are needed to continue creating maps after ids reach 2^31-1? osm2pgsql supports 64bit id space already for a long time. But since

Re: [OSM-dev] Zeroing or Extending a Hillshade-Tiff

2013-03-11 Thread Sven Geggus
Peter Körner osm-li...@mazdermind.de wrote: what way would you choose and wich tools could be used to go that way? Use the Water-Polygons from openstreetmapdata.com instead of land polygons. This way you can use a layer order like this: * gray background * hillshade * water polygons without

Re: [OSM-dev] Getting lat and long from an address

2013-03-19 Thread Sven Geggus
drugdu fjb.pa...@gmail.com wrote: I’m trying develop an desktop application to get the lat and long base on an address, the problem is that I must do this offline, I tried to export the map, but I need all my county and the export tab says that I need to choose a smaller area, it’s my first

Re: [OSM-dev] osm2pgsql way_area is 0 for small areas

2013-03-22 Thread Sven Geggus
Michael Kussmaul kussmaul.l...@nix.ch wrote: I'm using osm2pgsql in hstore+latlon configuration and experienced a problem with the calculated way_area. For small areas (parks, buildings) the value stored in the database is always 0. Looking at the code output_pgsql.c (line 931, 1162, 1215), I

Re: [OSM-dev] mod_tile stable version ?

2013-03-26 Thread Sven Geggus
Bernard Fouché bernard.fou...@kuantic.com wrote: - but I have crashes with renderd with what's currently available on the SVN repo Frustration about renderd was the main reason why tirex was born a few years ago. So you will probably give it a try instead of renderd.

Re: [OSM-dev] mod_tile stable version ?

2013-03-26 Thread Sven Geggus
Bernard Fouché bernard.fou...@kuantic.com wrote: Tirex compilation completed, now I'm battling to understand where to fix a mysterious renderer internal error generated by tirex-backend-manager: I have mod_tile talking to tirex-master, the back-end manager sees the requests and then takes

Re: [OSM-dev] mod_tile stable version ?

2013-03-27 Thread Sven Geggus
Bernard Fouché bernard.fou...@kuantic.com wrote: My time was mostly spent because of the lack of stable releases and documentation related to package versions, quirks here and there (for instance when making Tirex there is no check of what perl packages are already available Hm, this is

Re: [OSM-dev] mod_tile stable version ?

2013-03-28 Thread Sven Geggus
Jochen Topf joc...@remote.org wrote: Frederik uses Tirex and it works reliable for him As do I on tile.openstreetmap.de. NOP is also using Tirex on wanderreitkarte.de This is only solved by somebody taking up the torch and running with it. Jepp! I currently have a small patch for osm2pgsql

Re: [OSM-dev] mod_tile stable version ?

2013-03-30 Thread Sven Geggus
Sarah Hoffmann lon...@denofr.de wrote: I'd be very happy to see you step up as maintainer and move the stuff to github. I'd feel much more comfortable to submit pull requests to github instead of doing direct SVN commits that nobody even knows about unless the code fails in some annoying

Re: [OSM-dev] announcing a new mailinglist tile-serving

2013-03-30 Thread Sven Geggus
Simone Cortesi sim...@cortesi.com wrote: having two or more styles based on the same data. this is something I believe tirex will allow me to do. IMO the main advantage of tirex is its independance of render backends. While renderd intermixes actual rendering and queue management tirex uses

Re: [OSM-dev] osm2pgsql: support for local route names

2013-04-12 Thread Sven Geggus
RainerU ra...@sfr.fr wrote: As it works fine and the risk of regression or side effects seems very low to me, I propose to include this feature into the repository. Do the maintainers of osm2pgsql agree? Wouldnt it make more sense to copy all tags probably prefixing route_ to be compatible to

Re: [OSM-dev] osm2pgsql: support for local route names

2013-04-15 Thread Sven Geggus
Kai Krueger kakrue...@gmail.com wrote: So name:de and name:fr are already available in the standard osm2pgsql db. Also all other tags of the route relation are in the db. Why osm2pgsql translates the name tag into route_name, I don't know. Also I wonder why there is so much special casing of

Re: [OSM-dev] tirex: Can't locate mapscript.pm

2013-04-15 Thread Sven Geggus
Marcus Kruse kr...@vivai.de wrote: where can I find the mapscript.pm? Hm, are you trying to manually build tirex? You should really build a package instead using dpkg-buildpackage (at least on Debian and Ubuntu). The required perl dependencies can be found in debian/control back to your

Re: [OSM-dev] lua+osm2pgsql=?

2013-04-28 Thread Sven Geggus
Kai Krueger kakrue...@gmail.com wrote: The question now is what to do with this? Is there enough interest for it to be worth cleaning it up and committing it? I once did a somewhat ugly hardcoded hack for converting width and height tags to useful floating point values by doing a lot of

[OSM-dev] mod_tile causes segfault on debian 7.0

2013-05-22 Thread Sven Geggus
Hello, I have massive trouble running a recent version of mod_tile (git commit 03dedd4ec33c9d5e6495ea54d8a36b4ad916f65b) with my usual tirex backend. I get segmentation faults in mod_tile on a more or less regular basis which will leave apache in a 100% CPU on all cores state! [248792.019396]

Re: [OSM-dev] mod_tile causes segfault on debian 7.0

2013-05-22 Thread Sven Geggus
Andy Allan schrieb am Mittwoch, den 22. Mai um 13:34 Uhr: Ah, that's interesting, I'm seeing something very similar. I'm using 1341e129e5 (22 April) with apache2-mpm-event 2.2.22 (on Ubuntu 12.04) Debian stable is also using apache 2.2.22 (with apache2-mpm-worker in my case). I'm not sure

Re: [OSM-dev] Generate tiles with generate_tiles.py

2013-05-24 Thread Sven Geggus
Vince Berubey scream...@hotmail.com wrote: For example, I download an .osm.bz2 from Cloudmade, the map of Ile-De-France=Paris http://downloads.cloudmade.com/europe/western_europe/france/ile-de-france#downloads_breadcrumbs I would like to call generate_tyles.py from another language. I want

Re: [OSM-dev] mod_tile on windows?

2013-06-07 Thread Sven Geggus
Vince Berubey scream...@hotmail.com wrote: Has any development been done since to be compatible with Windows? Besides the fact that I do not see a particular good reason for running a tileserver on windows (mapnik works fine on windows, so style development can already take place on windows), I

Re: [OSM-dev] disk size for planet osm import into PostGIS (on an SSD)?

2013-06-27 Thread Sven Geggus
Frederik Ramm frede...@remote.org wrote: and use a stripped style.xml I assume you meant osm2pgsql style. that ensures you don't store tons and tons of note and source tags and other import side products. You don't want to burden your SSD with tags like gnis:Class, NHD:FType,

  1   2   >