Re: [osmosis-dev] WayKeyFilter

2009-11-19 Thread Peter Körner
should entities belonging to entity types not being filtered be passed through or thrown away? This is how I'd like it from the user perspective remove all nodes osmosis \ --read-xml in.xml \ --exclude node \ --write-xml out.xml keep only ways osmosis \ --read-xml

Re: [osmosis-dev] Database is empty after five days of importing

2010-03-24 Thread Peter Körner
Am 24.03.2010 20:10, schrieb Klemens: That makes sense. My requirement is that I must continue querying the old data while importing the new, larger data - which can take a long time as we know. How can I achieve this? Import in a transaction. Peter

Re: [osmosis-dev] Osmosis use case

2010-03-26 Thread Peter Körner
I was considering downloading the “planet.osm” that contains the OSM XML for the entire earth and then extracting a subset of information from that. I think you'd be better using the /api/0.6/map api-call: http://wiki.openstreetmap.org/wiki/API_v0.6 and then I would feed the extracted

Re: [osmosis-dev] Osmosis use case

2010-03-26 Thread Peter Körner
From a data modeling perspective - and I'm on somewhat thin ice here, happy for anyone to chip in and confirm or protest - the APIDB schema is the most powerful because it has all the data plus history. The Simple schema, as well as the Osm2pgsql slim-mode schema, still have a full OSM

Re: [osmosis-dev] Problem using Osmosis34, Please Help

2010-04-20 Thread Peter Körner
M Naveed Akram schrieb: Hi i get following when exporting osm from db, please help $ ./osmosis --read-apidb host=127.0.0.1 database=openstreetmap user=root password=rose dbType=mysql --write-xml file=output.osm ... (FATAL: database openstreetmap does not exist) ... Q: Does the

Re: [osmosis-dev] Problem using Osmosis34, Please Help

2010-04-21 Thread Peter Körner
M Naveed Akram schrieb: It also gives the same error stack if i give wrong database information.. What OS are you running on? Are you using VMs or Jails or sth. like that? I thought about some strange SELinux error but that would prevent you from connecting. I also thought about a permission

Re: [osmosis-dev] keyValueList option, and latest node versions

2010-07-06 Thread Peter Körner
Am 06.07.2010 19:41, schrieb Simon Nuttall: Are there osmosis options for just catching the latest versions of the nodes and ways? It's called --simplify-changeset: http://wiki.openstreetmap.org/wiki/Osmosis/Detailed_Usage_0.35#--simplify-change_.28--simc.29 Peter

Re: [osmosis-dev] [OSM-dev]Setting Mapnik for Rendering Tiles in Localized Language

2010-07-18 Thread Peter Körner
But the map is not rendering tiles in Gurmukhi language. Please help me. the FontSet settings are just used to select the right ttf-file that contains the glyphs to render. To get a language special map, you'll first need to import the name:xx tags (where xx is the language code used in the

[osmosis-dev] Patch: ReplicationLagReader

2010-07-24 Thread Peter Körner
Hi To learn a bit about the internal structure of osmosis I developed a new task in the replication section. It's basicly the same as the little replag script [1] I use on my servers. I also added a munin plugin that plots the replication lag into a graph. On some systems the plugin needs

Re: [osmosis-dev] Patch: ReplicationLagReader

2010-07-26 Thread Peter Körner
Am 26.07.2010 10:01, schrieb Brett Henderson: Hi Peter, You seem to have left my name as the author in some of the source code. Presumably that should be your name ;-) Yes, I think so ^^ Can you let me know what the purpose of this is? Okay, I understand that this is for replication lag,

[osmosis-dev] Reading OSM History dumps

2010-08-21 Thread Peter Körner
Hi I during the last week I thought intensively about the new full history dump and how we could use it. I wrote some kind of paper and also some demo code to check how we could get osm history information into a postgis database with linestings and all this delicate features osmosis offers.

Re: [osmosis-dev] Reading OSM History dumps

2010-08-22 Thread Peter Körner
Am 22.08.2010 08:26, schrieb Brett Henderson: Hi Peter, This all sounds very interesting and will no doubt have many uses that I can't anticipate. I can't give you much assistance but will try to answer any specific questions you have. My wife is going to give birth sometime within the next

Re: [osmosis-dev] Reading OSM History dumps

2010-08-25 Thread Peter Körner
Am 25.08.2010 15:16, schrieb Marco Lechner - FOSSGIS e.V.: Hi Peter, I'm very intersted in your history-extension and I'm going to test as soon as a first snapshot is available. Will it be possible to eat an --bound-polygon stream from osmosis? Or will it just import the whole history-plane?

Re: [osmosis-dev] Reading OSM History dumps

2010-08-25 Thread Peter Körner
Am 25.08.2010 15:26, schrieb Brett Henderson: In short it just hasn't been a high priority to change it. I was planning to share on FileInputStream/FileOutputStream level. You can feed a FileInputStream into the CopyManager as well as into a file, can't you? Maybe want to can copy the

Re: [osmosis-dev] Reading OSM History dumps

2010-08-25 Thread Peter Körner
. Will it be possible to eat an --bound-polygon stream from osmosis? Or will it just import the whole history-plane? Marco Am 25.08.2010 15:14, schrieb Peter Körner: Hi all After a little playing around I now got an idea of how I'm going to implement everything. I'll keep as close as possible at the regular simple

Re: [osmosis-dev] Reading multiple OSM extracts to a database

2010-11-01 Thread Peter Körner
Hi You could try to read both extracts with osmosis and use a merge task before writing them both to the database in one rush. This may result in overlap at the borders, depending on the data sources. Peter ___ osmosis-dev mailing list

Re: [osmosis-dev] piping pbf

2010-11-09 Thread Peter Körner
Did you try specifying /dev/stdin as filename? I think it just don't support piping on windows and doesn't support the - shorthand. Peter Am 09.11.2010 20:14, schrieb Chris66: is there any technical reason why osmosis can't read pbf from a pipe (STDIN) ?

Re: [osmosis-dev] pbf problems under windows

2010-12-13 Thread Peter Körner
Am 13.12.2010 19:13, schrieb Frederik Ramm: Hi, Scott Crosby wrote: If they do that conversion on windows, does that generate a pbf that has the same md5sum as the geofabrik generated file? (And if not, then I'd like both of those files!) I'll try to assemble a proper test case with the

Re: [osmosis-dev] pbf problems under windows

2010-12-15 Thread Peter Körner
Am 15.12.2010 10:39, schrieb Peter Körner: Am 15.12.2010 00:48, schrieb Frederik Ramm: I'll have to defer that to Henning - I am not sure if anyone has even built pbf2osm on Windows? A static cygwin build is here: http://toolserver.org/~mazder/temp/pbf2osm-win32.zip I'll try to convert

Re: [osmosis-dev] using osmosis to import full history planet

2011-03-08 Thread Peter Körner
Am 08.03.2011 11:47, schrieb Martijn van Exel: Who can offer any hints as to what to attempt next? Should I be looking at the schema or at the full-planet? Hi the experimental plugin has not been maintained for a couple of months and is not compatible with the 6er scheme. You should try an

Re: [osmosis-dev] using osmosis to import full history planet

2011-03-08 Thread Peter Körner
Am 08.03.2011 12:47, schrieb Martijn van Exel: Do you mean to say there is a history .jar in that build? I don't see one. Or do you mean that I can use the history plugin with that build? You can use the history jar you build during the last days with this version of osmosis. Please be

Re: [osmosis-dev] using osmosis to import full history planet

2011-03-10 Thread Peter Körner
Am 09.03.2011 12:52, schrieb Martijn van Exel: Dropping the osmosis-history.jar in lib/default and then running osmosis gives an error even on --read-xml (task does not exist) so this is apparently not the way to go. Should I change something else in the 0.37 build? Should the library go

Re: [osmosis-dev] Across border routing problems in 2 merged country OSM.PBF files

2011-04-18 Thread Peter Körner
Am 18.04.2011 11:23, schrieb Libor Striz: Hello, My application is not able to find any route between any sites across country border, if I use for map generation custom PBF, merged from 2 country PBFs. Are country PBFs able to rejoin at merging border roads ? In general it's no good idea to

Re: [osmosis-dev] Simple schema creation with osmosis-0.38

2011-06-22 Thread Peter Körner
Am 22.06.2011 18:04, schrieb bigspoon: ERROR: type hstore does not exist LINE 7: tags hstore For schema version 0.6 you'll need the hstore-new module of postgres. Depending on your OS there may be a package for it: http://packages.debian.org/de/sid/postgresql-8.4-hstore-new Peter

Re: [osmosis-dev] [OSM-talk] Osmosis replication fails

2011-12-19 Thread Peter Körner
Am 19.12.2011 13:19, schrieb Brett Henderson: You need to pick a sequence number by examining the timestamp property in the state files. Pick a timestamp in the hour replication state files that is earlier than the last timestamp received from the minute replication. It's a bit tedious. I

Re: [osmosis-dev] maybe error in osmosis!?

2012-05-18 Thread Peter Körner
Hi Am 16.05.2012 19:22, schrieb Masi Master: An area is an 'outer'-element from a multipolygon, and the 'outer' OR the multipolgon is tagged as *=residential, *=riverbank or something other. If someone delete the multipolygon or relevant tags (and tag the area with the old multipolygon-tags,

Re: [osmosis-dev] Tagfilter plugin: filter by key-values read from a file instead of comma separated values

2012-06-04 Thread Peter Körner
Hi Thank you for your contribution! Am 01.06.2012 15:05, schrieb Raluca Martinescu: For the*--node-key-value*and*--way-key-value*command line options I added also the possibility to read the key.value combinations from an external file, No bad idea.

Re: [osmosis-dev] Problem with PBF reader

2012-06-30 Thread Peter Körner
Hi Am 29.06.2012 22:01, schrieb WanMil: I started an investigation to find the problem. It is currently unknown if the problem is located on osmupdate or on osmosis site or if that's a different understanding of the PBF format. Maybe this could be clarified by verifying the obf's with osmium.

Re: [osmosis-dev] Usage of EntityMerger

2013-05-29 Thread Peter Körner
Hi just by looking at the code https://github.com/openstreetmap/osmosis/blob/master/osmosis-set/src/main/java/org/openstreetmap/osmosis/set/v0_6/EntityMerger.java?source=cc it looks like instanciating your EntityMerger creates two internal sinks (sortedEntityValidator0 and