You are not logged in.
- Topics: Active | Unanswered
Announcement
Please create new topics on the new site at community.openstreetmap.org. We expect the migration of data will take a few weeks, you can follow its progress here.***
Pages: 1
#1 2014-11-27 15:00:41
- imattuk
- Member
- Registered: 2014-10-18
- Posts: 6
Overpass turbo error
Hi all,
I am running the following query in overpass turbo
<!--
This has been generated by the overpass-turbo wizard.
The original search was:
“highway”
-->
<osm-script output="xml" timeout="25">
<!-- gather results -->
<union>
<!-- query part for: “highway” -->
<query type="way">
<has-kv k="highway" regv="(trunk|primary|secondary|tertiary|residential)"/>
<bbox-query {{bbox}}/>
</query>
</union>
<!-- print results -->
<print mode="body"/>
<recurse type="way-node"/>
<print mode="body" order="quadtile"/>
</osm-script>
and the error i get when i try and parse the data I receive is (using osmosis)
Exception in thread "Thread-1" org.openstreetmap.osmosis.core.OsmosisRuntimeException: Way 3869312 does not have a version attribute as OSM 0.6 are required to have. Is this a 0.5 file?
I have been using the data from overpass successfully for a while now, but I must be constructing my query differently. Can anyone help me please get the version information too so that Osmosis will parse it?
Offline
#2 2014-11-27 15:10:54
- rayquaza
- Member

- From: DE-BW
- Registered: 2012-11-18
- Posts: 2,007
Re: Overpass turbo error
You must print with mode="meta" to have enough data for JOSM, I guess it's the same for Osmosis.
Offline
Pages: 1