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

Hi everyone , I'm developing an indoor positioning system for my college as an Android app without using GPS or wifi (just accelerometer & compass) , I'm really new to this but I started by trying to figure out how to generate a map for the building. I began by understanding the concepts of OSM (nodes, routes , closed ways , ect ,ect ..). Having finished the basic concepts of OSM , mapping is still kind of vague. I heard words like "tiles", "slippy tiles" , "rendering" , "vector data map" , so I'm little confused. So , what should be done after generating the .xml file using JOSM representing my map and how to use it ? If someone could give me some advise or some steps/terms that I should know , then I would be greatful.

asked 02 Sep '12, 13:19

aur's gravatar image

aur
6333
accept rate: 0%


Assuming that you are able to determine accurate position within the building based on accelerometer and compass:

What you have in josm is map data (vector). By rendering it becomes raster map (picture). For practical reasons the big map is split in multiple smaller pictures (tiles). Slippy tiles would mean that you can move the map without reloading all the tiles. (easier, way more storage space, no routing) Alternatively you could do the rendering on the fly directly from vector data (not that xml, some transformation needed). This would be vector map. (more CPU intensive, less storage, more flexible).

There are two options you can choose:
1. map and actual position are displayed, user is expected to find his way based on this. 2. nr.1 + user is given directions to reach the destination

For option 1 you would just display correctly aligned raster tiles and some mark for current position. If it is only limited to your college, you could use Maperitive to do the rendering and only concentrate on determining the position and displaying correct pieces of map around it.

Option 2 is not so easy to be described here.

permanent link

answered 03 Sep '12, 00:43

LM_1's gravatar image

LM_1
3.3k335188
accept rate: 10%

pretty nice explanation .. also I found a related article : http://goo.gl/a4WnY . we're trying to achieve sth like FootPath project : http://goo.gl/li2Fh so I think we would choose option 2 , just to make sure that I understood right : we should convert the generated .osm file into a vector map (for less storage) , and process that map according to the project ? any correction or additional info would be great

(03 Sep '12, 06:03) aur

If the building as a lot on steel or high current cables the compass in the smart phone or will be affected.

(03 Sep '12, 12:16) andy mackey

@andy mackey this is a considerable issue :) but right now we're trying to figure out how could we do the mapping right

(03 Sep '12, 13:25) aur
-1

Yes sure, OSM is the best way to learn to make a map for indoor positioning projects.

permanent link

answered 28 Apr '20, 10:36

Smith%20Hennry's gravatar image

Smith Hennry
-201
accept rate: 0%

-2

The very appreciating project, best of luck for your project.

permanent link

answered 07 Apr '20, 06:06

Smith%20Hennry's gravatar image

Smith Hennry
-201
accept rate: 0%

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:

×622
×181
×40

question asked: 02 Sep '12, 13:19

question was seen: 6,041 times

last updated: 28 Apr '20, 10:36

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