NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

I am trying to compile a map, I added fake version and fake author with osmconvert. But I am getting this error. Btw I am using latest stable. The command I have used:

bin/osmosis --rx file="engineering-raw-auth-version.osm" --mapfile-writer file=engineering-base-drawing.map type=hd tag-conf-file=tag-mapping.xml tag-values=true

```` org.openstreetmap.osmosis.core.OsmosisRuntimeException: Cannot begin reading in Add stage, must call complete first. at org.openstreetmap.osmosis.core.store.RandomAccessObjectStore.initializeReadingStage(RandomAccessObjectStore.java:156) at org.openstreetmap.osmosis.core.store.RandomAccessObjectStore.createReader(RandomAccessObjectStore.java:181) at org.openstreetmap.osmosis.core.store.IndexStore.createReader(IndexStore.java:151) at org.openstreetmap.osmosis.core.store.IndexedObjectStore.createReader(IndexedObjectStore.java:96) at org.mapsforge.map.writer.HDTileBasedDataProcessor.complete(HDTileBasedDataProcessor.java:132) at org.mapsforge.map.writer.osmosis.MapFileWriterTask.complete(MapFileWriterTask.java:104) at org.openstreetmap.osmosis.xml.v0_6.XmlReader.run(XmlReader.java:53) at java.base/java.lang.Thread.run(Thread.java:834)

Aug 18, 2022 3:30:15 PM org.openstreetmap.osmosis.core.Osmosis main SEVERE: Execution aborted. org.openstreetmap.osmosis.core.OsmosisRuntimeException: One or more tasks failed. at org.openstreetmap.osmosis.core.pipeline.common.Pipeline.waitForCompletion(Pipeline.java:146) at org.openstreetmap.osmosis.core.Osmosis.run(Osmosis.java:92) at org.openstreetmap.osmosis.core.Osmosis.main(Osmosis.java:37) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:330) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:238) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) at org.codehaus.classworlds.Launcher.main(Launcher.java:47) ````

asked 18 Aug '22, 13:35

baranacikgoz's gravatar image

baranacikgoz
76447
accept rate: 100%

edited 18 Aug '22, 13:58

Two questions:

1) What osmosis command did you actually run?

2) What is your end goal? I'm not sure what "compile a map" means, and it may be there is a better way to do whatever it is that you are trying to do.

(18 Aug '22, 13:46) SomeoneElse ♦

Sorry, the command was I use:

bin/osmosis --rx file="engineering-raw-auth-version.osm" --mapfile-writer file=engineering-base-drawing.map type=hd tag-conf-file=tag-mapping.xml tag-values=true

(18 Aug '22, 13:58) baranacikgoz

I just removed the type=hd and it worked.

permanent link

answered 18 Aug '22, 14:00

baranacikgoz's gravatar image

baranacikgoz
76447
accept rate: 100%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×252

question asked: 18 Aug '22, 13:35

question was seen: 607 times

last updated: 18 Aug '22, 14:00

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum