[Taginfo-dev] [joto/taginfo] fa1b2b: Show 'empty' msg for failed searches

2012-01-22 Thread GitHub
Branch: refs/heads/master Home: https://github.com/joto/taginfo Commit: fa1b2b5527792980b5b7bd39a4a19d7270046fc5 https://github.com/joto/taginfo/commit/fa1b2b5527792980b5b7bd39a4a19d7270046fc5 Author: Jochen Topf joc...@topf.org Date: 2012-01-22 (Sun, 22 Jan 2012) Changed

[Taginfo-dev] New taginfo -- segfault

2012-01-22 Thread David Paleino
Hello people, I just updated the Italian instance of taginfo [0], and now tagstats segfaults. [0]: http://taginfo.hanskalabs.net/ While I could drop all my customizations, and put them into the config.json, my limited C++-fu doesn't let me understand what's going on here: $ ./tagstats -d -t

[Taginfo-dev] Resizing the map tab (was: Re: New taginfo -- segfault)

2012-01-22 Thread David Paleino
On Sun, 22 Jan 2012 20:25:42 +0100, David Paleino wrote: Hello people, I just updated the Italian instance of taginfo [0], and now tagstats segfaults. [..] Never mind, I had a process eating up all my ram, and tagstats used all the available swap.. so it was killed :) Now it works

Re: [Taginfo-dev] New taginfo -- segfault

2012-01-22 Thread Jochen Topf
Hi! I am not sure I understand. Are you running an old tagstats or are you running the new one? You should run the current tagstats (because taginfo needs all the statistics it generates) and compile it yourself. The biggest changes in tagstats a few months back were the statistics for tag

Re: [Taginfo-dev] Resizing the map tab (was: Re: New taginfo -- segfault)

2012-01-22 Thread Jochen Topf
On Sun, Jan 22, 2012 at 09:27:48PM +0100, David Paleino wrote: On Sun, 22 Jan 2012 21:24:08 +0100, Jochen Topf wrote: On Sun, Jan 22, 2012 at 09:15:47PM +0100, David Paleino wrote: On Sun, 22 Jan 2012 20:25:42 +0100, David Paleino wrote: Hello people, I just updated the Italian

[OSM-dev] Getting information from relations.

2012-01-22 Thread Morten Olsen Lysgaard
Hi. I'm currently running a project on open aviation data. In it I'm planning to use relations for some of the information. There's just this catch: When i show the map i let users click features to show a popup-box with all the tags that this object has. Up till now I've achieved this by

Re: [OSM-dev] Getting information from relations.

2012-01-22 Thread Morten Olsen Lysgaard
On 01/22/2012 06:22 PM, Graham Jones wrote: I think that osm2pgsql stores relations in the relevant line or polygon table with an id of -1 * the relation ID - try searching for relations with negative IDs and see if that is what you are looking for. I can't even get osm2gpsql to import the

Re: [OSM-dev] Getting information from relations.

2012-01-22 Thread Graham Jones
ah..now..I am pretty sure that osm2pgsql only processes a limited set of relation types. From the readmehttps://github.com/openstreetmap/osm2pgsqlfile: 6) The relations are parsed. Osm2pgsql has special handling for a limited number of types: multipolygon, route, boundary The code will build

Re: [OSM-dev] Getting information from relations.

2012-01-22 Thread Morten Olsen Lysgaard
On 01/22/2012 08:16 PM, Graham Jones wrote: Are you trying to use a different sort of relation? Yes, I do not use any data from the OSM project. We have our own tag-structure since we're only dealing with data for aviation. What can i do to achieve my goal though? There must be some way to

Re: [OSM-dev] Getting information from relations.

2012-01-22 Thread Martin Koppenhoefer
2012/1/22 Morten Olsen Lysgaard mor...@lysgaard.no: On 01/22/2012 08:16 PM, Graham Jones wrote: Are you trying to use a different sort of relation? Yes, I do not use any data from the OSM project. We have our own tag-structure since we're only dealing with data for aviation. What can i do to

Re: [OSM-dev] Getting information from relations.

2012-01-22 Thread marqqs
Hi Morten, first, I would take osm2pgsql for this purpose (openptmap.org does). Nevertheless, there are two cheep alternatives which may be sufficient for your application: 1. Osmosis option --a2p https://wiki.openstreetmap.org/wiki/Osmosis/Detailed_Usage_0.39#--areapoints_.28--a2p.29 Works for