imposm3/test/expire_tiles.osc

141 lines
4.5 KiB
XML

<?xml version='1.0' encoding='UTF-8'?>
<osmChange version="0.6" generator="Osmosis 0.41">
<!-- modify node -->
<modify>
<node id="10001" version="1" timestamp="2011-11-11T00:11:11Z" lon="1" lat="-1">
<tag k="amenity" v="shop"/>
</node>
</modify>
<!-- delete node -->
<delete>
<node id="10002" version="1" timestamp="2011-11-11T00:11:11Z" lon="2" lat="1" />
</delete>
<!-- create node -->
<create>
<node id="10003" version="1" timestamp="2011-11-11T00:11:11Z" lon="3" lat="1">
<tag k="amenity" v="cafe"/>
</node>
</create>
<!-- modify node to unmapped -->
<modify>
<node id="10004" version="1" timestamp="2011-11-11T00:11:11Z" lon="4" lat="-1">
<tag k="unmapped" v="node"/>
</node>
</modify>
<!-- modify way -->
<modify>
<way id="20151" version="1" timestamp="2011-11-11T00:11:11Z">
<nd ref="20101"/>
<nd ref="20102"/>
<tag k="highway" v="trunk"/>
</way>
</modify>
<!-- delete way -->
<delete>
<way id="20251" version="1" timestamp="2011-11-11T00:11:11Z" />
</delete>
<!-- modify way from node -->
<modify>
<node id="20301" version="1" timestamp="2011-11-11T00:11:11Z" lon="3.0001" lat="-2" />
<node id="20302" version="1" timestamp="2011-11-11T00:11:11Z" lon="3.0002" lat="-2" />
</modify>
<!-- create way -->
<node id="20401" version="1" timestamp="2011-11-11T00:11:11Z" lon="4.0001" lat="2" />
<node id="20402" version="1" timestamp="2011-11-11T00:11:11Z" lon="4.0002" lat="2" />
<way id="20451" version="1" timestamp="2011-11-11T00:11:11Z">
<nd ref="20401"/>
<nd ref="20402"/>
<tag k="highway" v="motorway"/>
</way>
<!-- create long way -->
<node id="20501" version="1" timestamp="2011-11-11T00:11:11Z" lon="5.00" lat="2" />
<node id="20502" version="1" timestamp="2011-11-11T00:11:11Z" lon="5.05" lat="2" />
<way id="20551" version="1" timestamp="2011-11-11T00:11:11Z">
<nd ref="20501"/>
<nd ref="20502"/>
<tag k="highway" v="motorway"/>
</way>
<!-- modify relation -->
<modify>
<relation id="30191" version="1" timestamp="2011-11-11T00:11:11Z">
<member type="way" ref="30151" role="outer"/>
<tag k="building" v="office"/>
<tag k="type" v="multipolygon"/>
</relation>
</modify>
<!-- delete relation -->
<delete>
<relation id="30291" version="1" timestamp="2011-11-11T00:11:11Z">
<member type="way" ref="30251" role="outer"/>
<tag k="building" v="true"/>
<tag k="type" v="multipolygon"/>
</relation>
</delete>
<!-- modify relation from way -->
<modify>
<way id="30351" version="1" timestamp="2011-11-11T00:11:11Z">
<nd ref="30301"/>
<nd ref="30304"/>
<nd ref="30303"/>
<nd ref="30302"/>
<nd ref="30301"/>
</way>
</modify>
<!-- modify relation from node -->
<modify>
<node id="30401" version="1" timestamp="2011-11-11T00:11:11Z" lon="4.0001" lat="-3" />
<node id="30402" version="1" timestamp="2011-11-11T00:11:11Z" lon="4.0002" lat="-3" />
<node id="30403" version="1" timestamp="2011-11-11T00:11:11Z" lon="4.0002" lat="-3.0001" />
<node id="30404" version="1" timestamp="2011-11-11T00:11:11Z" lon="4.0001" lat="-3.0001" />
</modify>
<!-- create polygon (box) -->
<create>
<node id="40101" version="1" timestamp="2011-11-11T00:11:11Z" lon="1.00" lat="4.00" />
<node id="40102" version="1" timestamp="2011-11-11T00:11:11Z" lon="1.05" lat="4.00" />
<node id="40103" version="1" timestamp="2011-11-11T00:11:11Z" lon="1.05" lat="4.05" />
<node id="40104" version="1" timestamp="2011-11-11T00:11:11Z" lon="1.00" lat="4.05" />
<way id="40151" version="1" timestamp="2011-11-11T00:11:11Z">
<nd ref="40101"/>
<nd ref="40102"/>
<nd ref="40103"/>
<nd ref="40104"/>
<nd ref="40101"/>
<tag k="building" v="yes"/>
</way>
</create>
<!-- create large polygon (outline) -->
<create>
<node id="40201" version="1" timestamp="2011-11-11T00:11:11Z" lon="2.0" lat="4.00" />
<node id="40202" version="1" timestamp="2011-11-11T00:11:11Z" lon="2.6" lat="4.00" />
<node id="40203" version="1" timestamp="2011-11-11T00:11:11Z" lon="2.6" lat="4.4" />
<node id="40204" version="1" timestamp="2011-11-11T00:11:11Z" lon="2.00" lat="4.4" />
<way id="40251" version="1" timestamp="2011-11-11T00:11:11Z">
<nd ref="40201"/>
<nd ref="40202"/>
<nd ref="40203"/>
<nd ref="40204"/>
<nd ref="40201"/>
<tag k="building" v="yes"/>
</way>
</create>
</osmChange>