Stream: general

Topic: Iekštelpu kartēšana - plāni


view this post on Zulip Rihards Olups (Dec 08 2024 at 16:26):

Iekštelpu kartēšana (indoor mapping) īpaši noder lielākās ēkās - piem., tirdzniecības centros.
Tas ļauj labāk novietot ieejas, veikalus utt, kad tos var izvietot relatīvi pret gaiteņiem.
Bet grūti tā precīzi iezīmēt, jo īpaši lielās platībās.
Ideja - evakuācijas plāni var noderēt, jo tos var palikt apakšā JOSM un precīzāk sazīmēt.

view this post on Zulip HellMap (Dec 08 2024 at 16:32):

JOSM vai tad tagad ir image rectification kā native vai plugins?

view this post on Zulip Rihards Olups (Dec 08 2024 at 16:32):

Es lietoju PicLayer pluginu: https://wiki.openstreetmap.org/wiki/JOSM/Plugins/PicLayer .

view this post on Zulip AmOosm (Dec 09 2024 at 06:31):

Mēģināju tā darīt kaut kad, bet man nešķita evakuācijas plānu bildes diezgan precīzas.

view this post on Zulip Rihards Olups (Dec 09 2024 at 21:04):

Ha, interesanti. Cik neprecīzas bija, vai nāk prātā kāds konkrēts piemērs?

view this post on Zulip Rihards Olups (Dec 09 2024 at 21:42):

Lai gan principā jā, te uzliekot plānu uz kadastra kontūras ir redzamas būtiskas nobīdes. Kadastra precizitāte gan arī potenciāli apšaubāma.
plāns vs kadastrs

view this post on Zulip Rihards Olups (Dec 09 2024 at 21:45):

Nu labi, te laikam kadastrs tomēr šķībs :)
plāns > kadastrs

view this post on Zulip UrSuS (Dec 10 2024 at 07:50):

Vai internetā ir iespējams tos evakuācijas plānus dabūt?

view this post on Zulip UrSuS (Dec 10 2024 at 07:51):

Man kādreiz bija vēlme atjaunot lidostu

view this post on Zulip Rihards Olups (Dec 10 2024 at 07:54):

Nē, domāju, ka nav.
Sanāk fotografēt tikai.

view this post on Zulip HellMap (Dec 10 2024 at 10:49):

Un lidostā nedrīkst fotografēt!!!!!

view this post on Zulip HellMap (Dec 10 2024 at 10:50):

https://lv.wikipedia.org/wiki/Att%C4%93ls:Lidostas_%22R%C4%ABga%22_termin%C4%81%C4%BCa_pl%C4%81ns.jpg Kaut kas tāds jau drošvien nav precīzi

view this post on Zulip AmOosm (Dec 10 2024 at 10:56):

Rihards Olups said:

Ha, interesanti. Cik neprecīzas bija, vai nāk prātā kāds konkrēts piemērs?

Ir ļoti iespējams, ka problēma bija saistīta ar to, ka es nemācēju pareizi izmantot PicLayer, taču man nesakrita plāns ar ortofoto. (Cik daudz vairs neatceros, jo tas jau bija pirms kāda laika)

view this post on Zulip AmOosm (Dec 10 2024 at 10:59):

HellMap said:

Un lidostā nedrīkst fotografēt!!!!!

Pēdējoreiz esot lidostā es sabildēju vairākas vietas, lai pēc tam sakartētu. Neviens man neko neteica :P

view this post on Zulip HellMap (Dec 20 2024 at 16:45):

Pamēģināju beidzot PicLayer. Jā, ērti
image.png

view this post on Zulip UrSuS (Dec 20 2024 at 17:14):

@HellMap pārsteidzi :grinning_face_with_smiling_eyes:

view this post on Zulip HellMap (Dec 20 2024 at 17:18):

Ko tad es tādu īpašu izdarīju?

view this post on Zulip HellMap (Dec 20 2024 at 17:20):

(Adresi dāvinājumiem nosūtīšu PM :melting_face: )

view this post on Zulip UrSuS (Dec 20 2024 at 17:20):

Man šodien facebook lidar reklamēja lidaru

view this post on Zulip UrSuS (Dec 20 2024 at 17:20):

https://www.facebook.com/share/v/181mVu96jz/

3DMakerpro Eagle LiDAR Scanner 🚀Turning Views into Data, Reality into Virtuality ✅Extensive Scanning Range: Precisely captures spatial data up to 140...

view this post on Zulip UrSuS (Dec 20 2024 at 17:21):

HellMap said:

Ko tad es tādu īpašu izdarīju?

Pic layer neesi izmantojis

view this post on Zulip HellMap (Dec 20 2024 at 17:22):

Ā, nu es parasti MapWarper lietoju, jo manas bildes parasti ar vienkāršu rectify nevar uztaisīt no kaut kādas teritorijas plāksnes, ko kāds ar roku kaut kad zīmējis...

view this post on Zulip HellMap (Dec 20 2024 at 17:28):

Ja drons pakaļ pats lidotu un tas visur būtu legāli, tad varbūt. Man viņu notrieks, kad garām Ādažiem braukšu :upside_down:

view this post on Zulip Rihards Olups (Dec 22 2024 at 14:05):

HellMap said:

Pamēģināju beidzot PicLayer. Jā, ērti
image.png

Drošvien jau atradi, bet šādā situācijā noder transparency fonam, vai JOSM layer transparency.

view this post on Zulip HellMap (Dec 22 2024 at 14:21):

Rihards Olups said:

Drošvien jau atradi, bet šādā situācijā noder transparency fonam, vai JOSM layer transparency.

Jā, tas screenshot's jau bija pēc tam, kad visu pabeidzu. Bez transparency es pat nestādos, kā to izdarīt. Varbūt ja pati bilde ir ar transparency

view this post on Zulip Andris Liepiņš (Mar 22 2025 at 09:12):

Tirdzniecības centri viens pēc otra tiek pabeigti un karte kļūst pilnīgāka. Viens pats laika gaitā sakartēju veikalus Akropolē Rīgā, Dolē un Molā un šodien sakartēju veikalus Rīgā Plazā. Veikalus-saliņas (kuri man ļoti nepatīk) gan mēdzu izlaist.

view this post on Zulip HellMap (Mar 22 2025 at 10:53):

Kas ir "veikali-saliņas"? Tie, kas ārpus t.c. telpām koridoros?

view this post on Zulip Andris Liepiņš (Mar 22 2025 at 11:45):

Veikali iekšā tirdzniecības centrā pa vidu koridoriem. Rīga Plaza, Akropole Rīga, Akropole Alfa ir tādi.

view this post on Zulip markalex (Oct 06 2026 at 16:21):

I tried playing around with indoor mapping. It's significantly more tedious than I expected.
I take plan from site, put into josm with piclayer Rihards mentioned, and map on top of it.
So far I mapped Domina and started Origo.
Both plans were not 1-to-1 with shapes on Cadastr. Plus, Origo has this setup where "groud level" on opposite sides is different (roof of Rimi is a pedestrian area/platform)

I don't get corridors for now: in Domina I created one large multipolygon but it's not rendered at indoor=, so I guess it was wrong thing to do.
Plus same as Andris, I don't have much love for those island-shops, so leaving them out.

view this post on Zulip markalex (Oct 06 2026 at 16:23):

And, if somebody is curious, on Origo site there map is unwieldy, so I just opened inspector in browser, copied svg tag for it, pasted into rando svg tag to png converter site and use that picture as layer.
Maybe it might give idea for somebody in future :))

view this post on Zulip HellMap (Oct 06 2026 at 16:30):

Yep, those plans are most often just schematics and not actually to scale. Good luck :upside_down:

view this post on Zulip markalex (Oct 06 2026 at 16:36):

I mean they look almost to scale, at least comparing to layout from memory.
Issue is that they are a tine bit off in different parts, and it might make it difficult to align all parts at the same time.
I'm doing some not-so-educated guessing and averaging, but for purposes of OSM it's 100% good enough

view this post on Zulip Colby (Oct 06 2026 at 16:59):

comaps is working on indoor stuff incase that helps with motivation
https://www.comaps.app/news/2026-09-30/this-month-in-comaps-september-2026/

A roundup of all the latest news from this month in CoMaps

view this post on Zulip markalex (Oct 06 2026 at 17:01):

Cool stuff. Pity cycling infra visibility seems low on their priority table, but this cool too

view this post on Zulip kaposts (Oct 06 2026 at 18:04):

@markalex With regards to Origo. I was making an attempt at that as well. But if you were working on that as well we should better coordinate our work so that there aren't too much conflicts. Had some fun figuring out all the level=-1 connections.

image.png
image.png
image.png
image.png
Didn't do any direct tracing over the plans published in Origo website (or other Centrālā stacija plans which can be found online) since those plans aren't published using suitable license. Only careful note taking and deriving positions from satellite pictures, and the 2x2 grid which is more or less used by middle section. If you start with windows there are 15 of them 4m wide each and make a grid. The major columns and walls more or less aligned with this grid and the shops are between columns. Ceiling windows floor outlines are also clues, recently finished 3d parts and almost every floor in Origo has unique shape.

As for ground level differences osm wiki for simple indoor is quite clear that level=0 should be lowest one which has access to street level. As for the part which connects to platform there is no reason why outdoor paths (on the platform) can't connect to doors/indoor corridors at level=1/2. Another interesting aspect is level height mismatch between Stacija and mall buildings. Floors in Origo section are slightly taller than Stacija, the platform connects to level=2 in Stacija, but level=1 in Origo side. Inside level=1 stacija connects to level=1 in Origo.

Corridors/multipolygons and island shops. I would say -> just map the majority of island shops as point features. I have even seen some people argue that regular shops (indoor or not) should also be mapped as point features inside rooms/buildings, not directly on rooms since the shops change more frequently than rooms. Instead of messing with multipolygons there is always an option split them into hole free shapes. 2 side by side indoor=area or indoor=corridor have no walls in between so it shouldn't be an issue for rendering or routing. And logically from the perspective of how you would describe it in common language corridor is usually a straight thing so splitting larger floors into multiple corridors wouldn't be so bad. It has additional side benefit of minimizing impact of changes -> when shops get merged or split into smaller ones only connected corridor would be modified instead of whole floor.

view this post on Zulip markalex (Oct 06 2026 at 18:23):

kaposts said:

@markalex With regards to Origo. I was making an attempt at that as well. But if you were working on that as well we should better coordinate our work so that there aren't too much conflicts. Had some fun figuring out all the level=-1 connections.

image.png
image.png
image.png
image.png
Didn't do any direct tracing over the plans published in Origo website (or other Centrālā stacija plans which can be found online) since those plans aren't published using suitable license. Only careful note taking and deriving positions from satellite pictures, and the 2x2 grid which is more or less used by middle section. If you start with windows there are 15 of them 4m wide each and make a grid. The major columns and walls more or less aligned with this grid and the shops are between columns. Ceiling windows floor outlines are also clues, recently finished 3d parts and almost every floor in Origo has unique shape.

As for ground level differences osm wiki for simple indoor is quite clear that level=0 should be lowest one which has access to street level. As for the part which connects to platform there is no reason why outdoor paths (on the platform) can't connect to doors/indoor corridors at level=1/2. Another interesting aspect is level height mismatch between Stacija and mall buildings. Floors in Origo section are slightly taller than Stacija, the platform connects to level=2 in Stacija, but level=1 in Origo side. Inside level=1 stacija connects to level=1 in Origo.

Corridors/multipolygons and island shops. I would say -> just map the majority of island shops as point features. I have even seen some people argue that regular shops (indoor or not) should also be mapped as point features inside rooms/buildings, not directly on rooms since the shops change more frequently than rooms. Instead of messing with multipolygons there is always an option split them into hole free shapes. 2 side by side indoor=area or indoor=corridor have no walls in between so it shouldn't be an issue for rendering or routing. And logically from the perspective of how you would describe it in common language corridor is usually a straight thing so splitting larger floors into multiple corridors wouldn't be so bad. It has additional side benefit of minimizing impact of changes -> when shops get merged or split into smaller ones only connected corridor would be modified instead of whole floor.

It seems you are way into more details at this moment, so I yield priority to you. I can save my setup and continue later (if need be) without any problems, so please proceed.
But please sync up data if you already started, as I uploaded first batch of changes today.

Re levels: I meant this highlighted part. It's currently not a part of the building, because from outside it doesn't seem to be, and also it is not marked on cadastr. But Rimi is indeed there, and pedestrian area seen on aerial is actually on the roof of Rimi.
image.png

With corridors - I've seen that approach you describe been used in Alfa. I just found it weird looking and proceeded with one large corridor. I guess it so happened that by doing that I was way to clever and way too dumb at the same time =)
Since I won't be touching Origo for now, I'll go back to Domina and rework its corridors into a bunch of holeless shapes. And maybe actually add its second floor)

view this post on Zulip markalex (Oct 06 2026 at 18:32):

Oh, and re license: Since their plan and Cadastr (witch I trust in this situation to be most accurate source of truth) don't align really good, I think(!) I have to do enough of creative work to warrant fair use.

view this post on Zulip kaposts (Oct 06 2026 at 18:36):

Ok, i'll carefully transfer the parts that I currently have on top of latest version. I'd have to partially redo them anyways due conflicts with stuff that Anrijs Tērauds recently changed. What happens for the shops in Origo half will see, since my approach won't work too well for that. No plans to count tiles there.

view this post on Zulip kaposts (Oct 06 2026 at 18:44):

On the topic of indoor mapping in general. Saw that you had left some of the old walls around rooms in centrālā stacijas. Rooms already imply walls. So manual walls are rarely needed. Mostly for the cases that have bunch of indoor=area indoor=corridor side by with some walls but not fully surrounded by them.

view this post on Zulip kaposts (Oct 06 2026 at 23:05):

Looks like indoor= still hasn't fixed the object duplication/cache bug. Domina will look like a mess for a while. In Alfa it still shows ghosts from changes that were done more than month ago.


Last updated: Oct 26 2026 at 11:30 UTC