Hi!

Mit:

java -jar ./osmosis.jar --read-xml file="osnabrueck-20080119.old.osm" --read-xml file="osnabrueck-20080119.osm" --derive-change --write-xml-change file="osnabrueckdiff.osc"

bekomme ich jetzt ein diff File (http://wiki.openstreetmap.org/index.php/OsmChange), was die Sache zumindest schonmal wesentlich übersichtlicher macht, im Nürnberger Beispiel von 5MB auf 5KB geschrumpft.


Ich hab die Differenz von Nürnberg der letzten Stunde (oder so) mal drangehängt. Jetzt habe ich einen "Haufen Zeug" das sich seit dem letzten Dump geändert hat, aber das einzige was mir einfällt um das "sichtbar" zu machen, ist den neueren Dump in JOSM zu laden und dann nach den geänderten id's aus dem Diff zu suchen - was aber irgendwie mehr als umständlich und auf die Dauer so wohl nicht wirklich handhabbar ist.

Hat jemand ne Idee wie man diese (oder ähnliche) Diff's visuell behandeln/editieren könnte?

Gibt's da vielleicht schon was schöneres als den Texteditor der persönlichen Wahl?

Gruß ULFL

P.S: Klar, möglich wäre natürlich jetzt mit diesen Erkenntnissen ein JOSM Plugin zu schreiben, aber das wäre schon noch ein Haufen Arbeit ...
<?xml version='1.0' encoding='UTF-8'?>
<osmChange version="0.5" generator="Osmosis 0.24">
  <modify version="0.5" generator="Osmosis 0.24">
    <node id="33030703" timestamp="2008-01-19T12:15:50Z" lat="49.4935866" lon="11.1213027"/>
    <node id="33030706" timestamp="2008-01-19T12:15:50Z" lat="49.4936322" lon="11.1229078"/>
    <node id="60588828" timestamp="2008-01-19T12:15:50Z" lat="49.4986404" lon="11.1283527"/>
    <node id="60588829" timestamp="2008-01-19T12:15:50Z" lat="49.4986912" lon="11.1281183"/>
    <node id="60588833" timestamp="2008-01-19T12:15:50Z" lat="49.4988102" lon="11.1279001"/>
    <node id="60588834" timestamp="2008-01-19T12:15:50Z" lat="49.4989501" lon="11.1276708"/>
  </modify>
  <create version="0.5" generator="Osmosis 0.24">
    <node id="239717063" timestamp="2008-01-19T12:15:47Z" lat="49.4976219" lon="11.1299704"/>
    <node id="239717065" timestamp="2008-01-19T12:15:47Z" lat="49.49781" lon="11.1296737"/>
    <node id="239717070" timestamp="2008-01-19T12:15:47Z" lat="49.4979604" lon="11.129469"/>
    <node id="239717073" timestamp="2008-01-19T12:15:47Z" lat="49.4981609" lon="11.1291347"/>
    <node id="239717075" timestamp="2008-01-19T12:15:47Z" lat="49.4983531" lon="11.1288548"/>
    <node id="239717080" timestamp="2008-01-19T12:15:47Z" lat="49.4985955" lon="11.1285874"/>
    <node id="239717083" timestamp="2008-01-19T12:15:47Z" lat="49.4997181" lon="11.1277644"/>
    <node id="239717086" timestamp="2008-01-19T12:15:48Z" lat="49.4997769" lon="11.1280956"/>
    <node id="239717090" timestamp="2008-01-19T12:15:48Z" lat="49.4998579" lon="11.128412"/>
    <node id="239717093" timestamp="2008-01-19T12:15:48Z" lat="49.4995194" lon="11.126846"/>
    <node id="239717096" timestamp="2008-01-19T12:15:48Z" lat="49.4993781" lon="11.1257333"/>
    <node id="239717100" timestamp="2008-01-19T12:15:48Z" lat="49.4991043" lon="11.1247266"/>
    <node id="239717103" timestamp="2008-01-19T12:15:48Z" lat="49.4989807" lon="11.1239495"/>
    <node id="239717105" timestamp="2008-01-19T12:15:48Z" lat="49.4988482" lon="11.1231635"/>
    <node id="239717110" timestamp="2008-01-19T12:15:48Z" lat="49.4987334" lon="11.1228015"/>
    <node id="239717113" timestamp="2008-01-19T12:15:48Z" lat="49.5009835" lon="11.1280721"/>
  </create>
  <modify version="0.5" generator="Osmosis 0.24">
    <way id="7694595" timestamp="2008-01-19T12:15:50Z">
      <nd ref="60586359"/>
      <nd ref="60586360"/>
      <nd ref="239717110"/>
      <nd ref="60586358"/>
      <nd ref="33030706"/>
      <nd ref="33030709"/>
      <nd ref="33030712"/>
      <nd ref="33030715"/>
      <tag k="highway" v="track"/>
      <tag k="surface" v="unpaved"/>
      <tag k="tracktype" v="grade2"/>
    </way>
    <way id="8086543" timestamp="2008-01-19T12:15:51Z">
      <nd ref="60586380"/>
      <nd ref="60586381"/>
      <nd ref="60588821"/>
      <nd ref="60588824"/>
      <nd ref="60588825"/>
      <nd ref="239717080"/>
      <nd ref="60588828"/>
      <nd ref="60588829"/>
      <nd ref="60588833"/>
      <nd ref="60588834"/>
      <nd ref="60588837"/>
      <nd ref="60588838"/>
      <nd ref="60588840"/>
      <tag k="highway" v="track"/>
      <tag k="surface" v="unpaved"/>
      <tag k="tracktype" v="grade2"/>
    </way>
    <way id="8086544" timestamp="2008-01-19T12:15:51Z">
      <nd ref="239717113"/>
      <nd ref="60588842"/>
      <nd ref="60588840"/>
      <tag k="highway" v="track"/>
      <tag k="surface" v="unpaved"/>
      <tag k="tracktype" v="grade4"/>
    </way>
  </modify>
  <create version="0.5" generator="Osmosis 0.24">
    <way id="22278661" timestamp="2008-01-19T12:15:49Z">
      <nd ref="60586378"/>
      <nd ref="239717063"/>
      <nd ref="239717065"/>
      <nd ref="239717070"/>
      <nd ref="239717073"/>
      <nd ref="239717075"/>
      <nd ref="239717080"/>
      <tag k="highway" v="track"/>
    </way>
    <way id="22278662" timestamp="2008-01-19T12:15:49Z">
      <nd ref="239717110"/>
      <nd ref="239717105"/>
      <nd ref="239717103"/>
      <nd ref="239717100"/>
      <nd ref="239717096"/>
      <nd ref="239717093"/>
      <nd ref="60588837"/>
      <nd ref="239717083"/>
      <nd ref="239717086"/>
      <nd ref="239717090"/>
      <tag k="highway" v="track"/>
    </way>
  </create>
</osmChange>
_______________________________________________
Talk-de mailing list
Talk-de@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk-de

Antwort per Email an