Re: [osmosis-dev] Latest osc change file returns empty xml.

2020-11-14 Thread Frederik Ramm
; As the update interval for Geofabrik is 24 hours, should I amend this > value in the configuration.txt file to suit: > maxInterval = 3600 It does not make a difference; any maxInterval between 1 and 86400 should behave the same, as each would pick exactly one update per run. Bye Frederik --

Re: [osmosis-dev] Osmosis java.lang.IndexOutOfBoundsException

2019-11-15 Thread Frederik Ramm
as we did before. This tripped up osmosis and also older versions of osm2pgsql (<= 0.94). The pbf files are replaced with old-style, compatible files now. Nightly updates and bz2 files were not affected since they don't use the PBF format. Bye Frederik -- Frederik Ramm ## eMail frede.

Re: [osmosis-dev] osmosis wrongly claims to see UTF8 problem

2017-01-11 Thread Frederik Ramm
Hi, On 01/11/2017 10:30 AM, Frederik Ramm wrote: > SEVERE: Thread for task 1-read-xml-change failed I was a bit over-eager in shortening the stack trace. Full detail: org.openstreetmap.osmosis.core.OsmosisRuntimeException: Unable to parse xml file x.osc. publicId=(null), systemId=(n

[osmosis-dev] osmosis wrongly claims to see UTF8 problem

2017-01-11 Thread Frederik Ramm
(build 1.8.0_111-8u111-b14-2ubuntu0.16.04.2-b14) OpenJDK 64-Bit Server VM (build 25.111-b14, mixed mode) I have uploaded the two .osc files here: http://www.remote.org/frederik/tmp/osmosis-bug-try-read-xml-change-write-null-change-on-these-files-which-differ-only-by-one-line.zip I'd be interested i

Re: [osmosis-dev] Reading file over http

2016-06-19 Thread Frederik Ramm
> Osmosis? Osmosis includes bzip2 support so it could decode the .bz2 itself but since Java bzip2 is much slower than the standalone commandline program, the version with bzip2 in the pipe is usually recommended. Bye Frederik -- Frederik Ramm ## eMail frede...@remote.org ## N49°00'09

Re: [osmosis-dev] Supplying postgres port to osmosis commands

2014-10-10 Thread Frederik Ramm
Hi, On 10/10/2014 10:49 PM, Walter Nordmann wrote: just call osmosis with host=localhost:15432 Oh dear, that was probably the reason the port thing was never implemented - because it is so simple to embed it in the host. Should have thought about that sooner ;) Bye Frederik -- Frederik Ramm

Re: [osmosis-dev] Error on a node modified and deleted in the same changeset

2013-11-06 Thread Frederik Ramm
on a website explaining that the diffs generated by Geofabrik are not meant for direct consumption by osmosis with a big value on maxInterval ? I'll do that. Bye Frederik -- Frederik Ramm ## eMail frede...@remote.org ## N49°00'09 E008°23'33

Re: [osmosis-dev] Error on a node modified and deleted in the same changeset

2013-07-09 Thread Frederik Ramm
if that problem is worse than the one we have now! Bye Frederik -- Frederik Ramm ## eMail frede...@remote.org ## N49°00'09 E008°23'33 ___ osmosis-dev mailing list osmosis-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/osmosis-dev

[osmosis-dev] Un-Redacting Stuff

2013-01-28 Thread Frederik Ramm
. There might be more... Bye Frederik -- Frederik Ramm ## eMail frede...@remote.org ## N49°00'09 E008°23'33 ___ osmosis-dev mailing list osmosis-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/osmosis-dev

Re: [osmosis-dev] Remove entities in a bounding box leave other intact

2012-01-16 Thread Frederik Ramm
0.800E+01 0.2000E+01 0.800E+01 0.8000E+01 0.200E+01 0.8000E+01 0.200E+01 0.2000E+01 END END Bye Frederk -- Frederik Ramm ## eMail frede...@remote.org ## N49°00'09 E008°23'33

[osmosis-dev] full OSM mirror with Osmosis

2011-10-07 Thread Frederik Ramm
Hi, is there anyone on this list who runs a full OSM replication server with Osmsois (i.e. import a full history planet file, keep both historic and current tables, and regularly apply diffs, all using the apidb schema)? I would be interested in timings for initial import and diff

Re: [osmosis-dev] --used-node performance and a possible way to improve it

2011-06-08 Thread Frederik Ramm
plane code that stitches pipelines together etc. ... maybe the approach you are sketching would also allow one to somehow hack together shortcuts that would allow the building blocks to be used without anything not necessary for the task at hand. Bye Frederik -- Frederik Ramm ## eMail frede

Re: [osmosis-dev] Improving completeWays/completeRelations performance

2011-02-18 Thread Frederik Ramm
Igor, On 02/18/11 11:40, Igor Podolskiy wrote: just a random thought: what's wrong with using --dataset-bounding-box? Importing the planet file into a database and doing a bunch of queries against is equivalent to creating a single disk buffer for all bb tasks (the database _is_ the disk

Re: [osmosis-dev] Improving completeWays/completeRelations performance

2011-02-18 Thread Frederik Ramm
Scott, On 02/18/11 14:15, Scott Crosby wrote: I used two bitsets for every output file. One indicating which nodes were already output and another (built when processing ways) indicating what node ID's were missed and will need to be grabbed on the next pass. I have another two pair of bitsets

Re: [osmosis-dev] pbf problems under windows

2010-12-14 Thread Frederik Ramm
on the same file in windows? I'll have to defer that to Henning - I am not sure if anyone has even built pbf2osm on Windows? Bye Frederik -- Frederik Ramm ## eMail frede...@remote.org ## N49°00'09 E008°23'33 ___ osmosis-dev mailing list osmosis

Re: [osmosis-dev] pbf problems under windows

2010-12-13 Thread Frederik Ramm
have development environment on windows to do any experiments of my own. Same here although I might be able to conjure something up on an old laptop. Bye Frederik -- Frederik Ramm ## eMail frede...@remote.org ## N49°00'09 E008°23'33 ___ osmosis

Re: [osmosis-dev] pbf problems under windows

2010-12-13 Thread Frederik Ramm
Hi, Peter Körner wrote: I planned to do sth. for this tomorrow: Download the current europe.osm.bz2, convert it to pbf. Download the current europe.osm.pbf Great. - User aighes on talk-de seems to be trying out the same with today's files. Bye Frederik -- Frederik Ramm ## eMail frede

Re: [osmosis-dev] proper usage of osmosis when writing changes to osm api db

2010-12-09 Thread Frederik Ramm
Frederik -- Frederik Ramm ## eMail frede...@remote.org ## N49°00'09 E008°23'33 ___ osmosis-dev mailing list osmosis-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/osmosis-dev

Re: [osmosis-dev] Improve relation extraction handling

2010-11-22 Thread Frederik Ramm
] junit.framework.TestListener: addError(testProcessBoundContainer1, null) [junit] junit.framework.TestListener: endTest(testProcessBoundContainer1) Bye Frederik -- Frederik Ramm ## eMail frede...@remote.org ## N49°00'09 E008°23'33 ___ osmosis-dev mailing list

[osmosis-dev] Improve relation extraction handling

2010-11-07 Thread Frederik Ramm
improvement at a relatively low cost. 1. Any comments? 2. Anyone done something like that already? 3. Is any of Osmosis' internal storage mechanisms suitable for buffering relations in this way or do I have to invent something new? Bye Frederik -- Frederik Ramm ## eMail frede...@remote.org

Re: [osmosis-dev] No Default pipes available?

2010-07-30 Thread Frederik Ramm
Hi, Markus wrote: bin\osmosis.bat -–wxc update.osm.gz You'd have to do a bin\osmosis.bat --rri --simc --wxc update.osm.gz or if you want to apply it to a planet file directly, bin\osmosis.bar --rri --simc --rx planet.old.osm.gz --ac --wx planet.new.osm.gz Bye Frederik

Re: [osmosis-dev] Project Restructure

2010-07-06 Thread Frederik Ramm
Brett, Brett Henderson wrote: I haven't created a 0.36 detailed usage page on the wiki yet but will do so before releasing. There are a few other random goodies in the latest development release that I'd like to release in the near future. Will there be significant changes in ordinary

Re: [osmosis-dev] Error while applying updates to planet.osm

2010-06-23 Thread Frederik Ramm
steps while still testing the process. Bye Frederik -- Frederik Ramm ## eMail frede...@remote.org ## N49°00'09 E008°23'33 ___ osmosis-dev mailing list osmosis-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/osmosis-dev

Re: [osmosis-dev] bounding-box does not support data provided by default pipe

2010-06-12 Thread Frederik Ramm
. That perl script either supports 0.4 in its current form, or maybe you'll have to check out an older version from SVN. Bye Frederik -- Frederik Ramm ## eMail frede...@remote.org ## N49°00'09 E008°23'33 ___ osmosis-dev mailing list osmosis-dev

Re: [osmosis-dev] postGIS: bbox columns?

2010-05-22 Thread Frederik Ramm
in importing, not quicker in using)? I.e. you won't have a linestring to base your GIST index on if you use that as intended. Bye Frederik -- Frederik Ramm ## eMail frede...@remote.org ## N49°00'09 E008°23'33 ___ osmosis-dev mailing list osmosis-dev

Re: [osmosis-dev] Unable to write String to the store

2010-05-22 Thread Frederik Ramm
=-Djava.io.tmpdir=/my/pretty/little/tempdir before you run it. Bye Frederik -- Frederik Ramm ## eMail frede...@remote.org ## N49°00'09 E008°23'33 ___ osmosis-dev mailing list osmosis-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/osmosis-dev

Re: [osmosis-dev] Can't load osm file to PostGRESql

2010-05-04 Thread Frederik Ramm
Hi, Ibrahim Bouchrika wrote: Your idea seams nifty, although it's giving an error on the --rx command. I don't know Osmosis well enough to figure out where the error comes from. Is it just an error in the syntax or is it because of the osm-file? Caused by: org.xml.sax.SAXParseException:

Re: [osmosis-dev] problems importing .osm files into postgis

2010-05-03 Thread Frederik Ramm
. Bye Frederik -- Frederik Ramm ## eMail frede...@remote.org ## N49°00'09 E008°23'33 ___ osmosis-dev mailing list osmosis-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/osmosis-dev

Re: [osmosis-dev] Cryptic error message

2010-04-24 Thread Frederik Ramm
version of all tasks by adding -0.5 to their name (--bounding-box-0.5 etc.) Bye Frederik -- Frederik Ramm ## eMail frede...@remote.org ## N49°00'09 E008°23'33 ___ osmosis-dev mailing list osmosis-dev@openstreetmap.org http://lists.openstreetmap.org

Re: [osmosis-dev] Osmosis Release 0.35

2010-04-22 Thread Frederik Ramm
Brett, Brett Henderson wrote: There are no major new features, just an assortment of bugs That's how we love our Osmosis ;-) Bye Frederik ___ osmosis-dev mailing list osmosis-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/osmosis-dev

Re: [osmosis-dev] planet import time

2010-04-16 Thread Frederik Ramm
Hi, Jens Lehmann wrote: A solution would be to include it in the planet or provide it as a separate file, which can be loaded into the database. Well it isn't even in our central database so it would have to be computed at the time we dump the planet file which already is an expensive

Re: [osmosis-dev] Osmosis use case

2010-03-26 Thread Frederik Ramm
Hi, Walschlager, Gerard wrote: I appreciate your quick response! I am not surprised by your answer. Any idea on how much disk space would be required by a PostGIS database that would hold the entire planet.osm file data? I think it would be between 100 and 150 GB for either schema; but only

Re: [osmosis-dev] Osmosis use case

2010-03-26 Thread Frederik Ramm
Hi, Walschlager, Gerard wrote: You mentioned that osm2pgsql needs more RAM (16GB+ during import). Do you know how much RAM would be required for normal lookup and rendering usage with either slim or non-slim usage? For normal lookup it doesn't make a difference. It should run on a 4 GB

Re: [osmosis-dev] Osmosis use case

2010-03-26 Thread Frederik Ramm
Hi, Walschlager, Gerard wrote: The bottom line for my investigation of mapping tools is that I need to have a local database of the world to perform lookups and rendering of maps on a standard Windows based desktop computer in a reasonably quick fashion (i.e. pan/zoom operations complete in 1

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

2010-03-24 Thread Frederik Ramm
. Bye Frederik -- Frederik Ramm ## eMail frede...@remote.org ## N49°00'09 E008°23'33 ___ osmosis-dev mailing list osmosis-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/osmosis-dev

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

2010-03-24 Thread Frederik Ramm
still serving active connections to the old database. Bye Frederik -- Frederik Ramm ## eMail frede...@remote.org ## N49°00'09 E008°23'33 ___ osmosis-dev mailing list osmosis-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/osmosis-dev

Re: [osmosis-dev] help by merge 4 files

2010-01-30 Thread Frederik Ramm
org.openstreetmap.osmosis.core.OsmosisRuntimeException: Pipeline entities are not sorted This seems to be the problem. If you insert a --sort (with some Osmosis versions you may need --sort-0.6 after *each* --rx spec then it should work. Bye Frederik -- Frederik Ramm ## eMail frede...@remote.org ## N49°00'09 E008°23'33

Re: [osmosis-dev] [RFE] Add bounding shape to OSM dumps

2010-01-21 Thread Frederik Ramm
to | |+-+ || | || | |+-+ | | Even if you know where the clipping boundary is, you cannot extend the object towards that boundary properly because you are missing the nodes beyond the boundary. Bye Frederik -- Frederik Ramm ## eMail frede...@remote.org ## N49°00'09 E008°23'33

Re: [osmosis-dev] Crash on processing nodes?

2010-01-10 Thread Frederik Ramm
Hi, Simon Nuttall wrote: 2010/1/10 Simon Nuttall simon.nutt...@gmail.com: I think both these points are more a message for geofabrik.de than me because I'm using the diff's downloaded from their site. Sorry, I wasn't clear, I meant to say that CycleStreets uses the ireland and

Re: [osmosis-dev] Closed ways - polygons?

2009-12-21 Thread Frederik Ramm
Frederik -- Frederik Ramm ## eMail frede...@remote.org ## N49°00'09 E008°23'33 ___ osmosis-dev mailing list osmosis-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/osmosis-dev

Re: [osmosis-dev] Closed ways - polygons?

2009-12-21 Thread Frederik Ramm
which do not have to be closed themselves, they only have to form a closed ring. It will certainly be hard (but certainly not impossible) to do this with SQL alone. Bye Frederik -- Frederik Ramm ## eMail frede...@remote.org ## N49°00'09 E008°23'33

Re: [osmosis-dev] Replication Changes

2009-11-19 Thread Frederik Ramm
probably not live long because its inventor would be likely to lose interest. Yet you produced something that profoundly influences the way most of us work with OSM. Hats off to that! Bye Frederik -- Frederik Ramm ## eMail frede...@remote.org ## N49°00'09 E008°23'33

Re: [osmosis-dev] duplication of nodes on apply-change

2009-11-16 Thread Frederik Ramm
resposible for this because I recently changed the sorting function to treat something with version=x+1 as larger than something with version=x, instead of equal? (SVN r18230, change to EntityByTypeThenIdComparator...) Bye Frederik -- Frederik Ramm ## eMail frede...@remote.org ## N49°00'09 E008

[osmosis-dev] Relations with 65k members

2009-11-11 Thread Frederik Ramm
in question were an error in somebody's automated import and have been meanwhile fixed by Lennard (they contained the same element over and over). Bye Frederik -- Frederik Ramm ## eMail frede...@remote.org ## N49°00'09 E008°23'33 ___ osmosis-dev

Re: [osmosis-dev] Relations with 65k members

2009-11-11 Thread Frederik Ramm
Hi, Frederik Ramm wrote: I thought about simply patching Osmosis to use an integer but was informed by Jon Burgess that osm2pgsql (which is next in my toolchain) would carp on 65k members as well Turns out osm2pgsql in its default config allows only up to 32767 members. Bye Frederik

Re: [osmosis-dev] Sorting (and test whining)

2009-10-26 Thread Frederik Ramm
Hi, Brett Henderson wrote: This was necessary in order to process replicate diffs which sometimes contain the same object twice, causing the old implementation to complain about change streams not being sorted (as being sorted, for Osmosis, means that every object has to be greater than

Re: [osmosis-dev] [OSM-dev] [OSM-talk] osmosis Problem with bounding-polygon and v0.6?

2009-04-24 Thread Frederik Ramm
Hi, Karl Newman wrote: If the fault does lie with the bzip2 code, then I'm surprised you're the only one that's reported a problem so far. Nobody in their right mind lets Osmosis compress or decompress bz2 ;-) Bye Frederik ___ osmosis-dev mailing