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

Hey, I am using JAVA EE for developing. Now I want to extract files from an .osm file for my project. This must happen automatized, wherefore I have to integrate this part into my project.

Is there a way to integrate and use osmosis in my project or will I have to write my own parser for the .osm files?

Thanks in advance, Sebastian

asked 30 Jun '15, 01:23

conansc's gravatar image

conansc
35225
accept rate: 0%


Osmosis can be used a library and called from within your Java code. Unfortunately, this way of using Osmosis is not yet documented well, but perhaps my example here can help you?

http://forum.openstreetmap.org/viewtopic.php?pid=213212#p213212

permanent link

answered 30 Jun '15, 17:55

Tordanik's gravatar image

Tordanik
12.0k15106147
accept rate: 35%

Thank you very much! This helped me a lot.

(30 Jun '15, 19:06) conansc

Hello Sebastian,

maybe you can find some more hints in the OSM wiki about Frameworks.

permanent link

answered 02 Jul '15, 16:24

stephan75's gravatar image

stephan75
12.6k556210
accept rate: 6%

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
×76
×1

question asked: 30 Jun '15, 01:23

question was seen: 3,370 times

last updated: 02 Jul '15, 16:24

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