[osmosis-dev] Problem with --node-key-value

2010-10-16 Thread Flex Fauler
Hi, i am new here so sorry if i mail to the wrong place. I wanted an osm file with all places=* so city, town etc. But i am getting an empty out.osm. What am i donig wrong? With ways (--way-key-value) this works great. terminal command: osmosis --read-xml in.osm --node-key-value

Re: [osmosis-dev] Osmosis 0.37 Released

2010-10-16 Thread Brett Henderson
On Sat, Oct 16, 2010 at 9:41 PM, Jochen Topf joc...@remote.org wrote: On Sat, Oct 16, 2010 at 05:33:37PM +1100, Brett Henderson wrote: - Updated the pgsql schema (now version 6) to move all tags into hstore columns, add a ways.nodes column and CLUSTER the nodes and ways tables.

Re: [osmosis-dev] lost relations while clipping

2010-10-16 Thread Brett Henderson
Hi Maxim, 2010/10/12 Maxim Dubinin s...@gis-lab.info Hi osmosis-devs, On our regional extraction system we've ran into what seems to be a bug. Relations, that are members by themselves are dropped while extracting. Example of such relation:

Re: [osmosis-dev] Problem with --node-key-value

2010-10-16 Thread Brett Henderson
I've just taken a look at the code (I didn't write these tasks) for the --node-key-value task and it works slightly differently to the --way-key-value task. The --way-key-value task passes through node and relation objects unchanged, but the --node-key-value task drops them. That means that when

Re: [OSM-dev] osmosis

2010-10-16 Thread Brett Henderson
It looks like your input file contains duplicate nodes. It is possible that multiple versions of the same node exist. This has come up a number of times on the mailing list. Does anybody have the list of steps for fixing this handy? Brett On Fri, Oct 15, 2010 at 3:21 AM, Jose Cid

Re: [OSM-dev] OSM binary format (pbf) 1.0 is in osmosis trunk.

2010-10-16 Thread Brett Henderson
I've released version 0.37 of Osmosis with this included. I haven't had a chance to update the wiki either. I'll try to do so over the next few days if nobody beats me to it. If anybody sees any issues with the binary support, please let Scott and I know. I'm now building Osmosis via an

Re: [OSM-dev] OSM binary format (pbf) 1.0 is in osmosis trunk.

2010-10-16 Thread Stefan de Konink
On Sat, 16 Oct 2010, Scott Crosby wrote: Also, can you give me the URL for the source code for pbf2osm to check that a few edge-cases are correctly handled? http://git.openstreetmap.nl/index.cgi/pbf2osm.git/ Stefan ___ dev mailing list

Re: [OSM-dev] OSM binary format (pbf) 1.0 is in osmosis trunk.

2010-10-16 Thread Frederik Ramm
Hi, On 10/16/2010 03:25 PM, Stefan de Konink wrote: Also, can you give me the URL for the source code for pbf2osm to check that a few edge-cases are correctly handled? http://git.openstreetmap.nl/index.cgi/pbf2osm.git/ I'm hoping to take that, fix it up a bit (so that the resulting binary

Re: [OSM-dev] Disallowing certain characters in tag keys

2010-10-16 Thread Sebastian Klein
Hi, what is the problem with escaping problematic characters? There should be build in functions for most languages, like uri_escape in Perl and URLEncode.encode in Java. This proposal [1] moves values into the key to describe conditions. (Although you could argue, it should be done like

Re: [OSM-dev] Disallowing certain characters in tag keys

2010-10-16 Thread Andreas Kalsch
I agree with whitespace - this can be very confusing = To add: Make keys lowercase (or even remove diacritics), because keys are always simple names. Am 16.10.10 20:44, schrieb Jochen Topf: Hi! I am currently fighting some issues where tags with strange characters in them need to be

Re: [OSM-dev] Disallowing certain characters in tag keys

2010-10-16 Thread Jochen Topf
On Sat, Oct 16, 2010 at 09:55:41PM +0200, Sebastian Klein wrote: what is the problem with escaping problematic characters? There should be build in functions for most languages, like uri_escape in Perl and URLEncode.encode in Java. The problem is that its very hard to get this right. I

Re: [OSM-dev] Disallowing certain characters in tag keys

2010-10-16 Thread Jochen Topf
On Sat, Oct 16, 2010 at 10:31:47PM +0200, Andreas Kalsch wrote: I agree with whitespace - this can be very confusing = To add: Make keys lowercase (or even remove diacritics), because keys are always simple names. Thats a different issue. I agree that keys normally should be lowercase.

Re: [OSM-dev] Disallowing certain characters in tag keys

2010-10-16 Thread OJ W
+1. much sanity ensues. On Sat, Oct 16, 2010 at 7:44 PM, Jochen Topf joc...@remote.org wrote: So I'd like us to think about whether we can disallow a few characters from appearing in tag keys. ___ dev mailing list dev@openstreetmap.org

Re: [OSM-dev] Disallowing certain characters in tag keys

2010-10-16 Thread Tobias Knerr
Jochen Topf wrote: This proposal [1] moves values into the key to describe conditions. (Although you could argue, it should be done like that anyway...) [1] http://wiki.openstreetmap.org/wiki/Proposed_features/Extended_conditions_for_access_tags, I think thats a misguided use of tag

Re: [OSM-dev] OSM binary format (pbf) 1.0 is in osmosis trunk.

2010-10-16 Thread Scott Crosby
On Sat, Oct 16, 2010 at 1:39 AM, Brett Henderson br...@bretth.com wrote: I've released version 0.37 of Osmosis with this included. I haven't had a chance to update the wiki either. I'll try to do so over the next few days if nobody beats me to it. I just updated the Wiki. Scott

[josm-dev] JOSM session

2010-10-16 Thread Nakor
Hello, I made good progress implementing ticket #4029 (JOSM sessions) but I am stuck at some point. To be able to reorder the layers correctly, set their visibilities and so on, I need to create those layers and get the resulting layer object. Since layers are created in the background