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

I've got a local installation of the osm3s running and it works fine with data from openstreetmap.

I would like to use my own custom 3D data. I've got an entire 3D model of a city in Microstation. It's in wireframes. I can set the projection to WGS84 and export it to KML and then convert it with ogr2osm. But when I try to populate the database for osm3s it return with "no elements found".

Looking at the .osm-file does show a lot of nodes etc.

What to do?

asked 04 Jul '14, 14:51

haasor's gravatar image

haasor
16224
accept rate: 0%


Does your generated OSM file contain negative id values (which is the default for ogr2osm)? This will most likely cause some undesired side effects when loading using update_database for Overpass API, such as strange node ids (e.g. "18446744073707268155").

Apart from that I can't really reproduce your issue. I converted some polygons from a PostGIS db to a shape file and then converted this via ogr2osm to an OSM file and loaded the file into Overpass API (latest github version) via update_database. I could query some of the nodes, although their id was completely screwed. This needs to be adjusted in the ogr2osm script.

I believe you need to provide much more details like version of the programs involved, sample OSM snippets, log files etc.

permanent link

answered 04 Jul '14, 21:14

mmd's gravatar image

mmd
5.7k15388
accept rate: 37%

edited 04 Jul '14, 21:24

This is the top from the generated XML/OSM file: http://pastie.org/9366804

(08 Jul '14, 08:30) haasor

Programs involved are Microstation V8i, export to DXF, converted into osm via ogr2osm and loading into overpass-api/osm3s.

(08 Jul '14, 08:35) haasor

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:

×37
×6
×4
×4

question asked: 04 Jul '14, 14:51

question was seen: 3,125 times

last updated: 08 Jul '14, 08:35

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