OpenStreetMap 로고 OpenStreetMap

House addresses

xrisnik님이 English로 2022년 5월 7일에 게시함.

I got tired of adding addresses to hundreds of houses, so reluctantly decided to research custom presets. What a pleasure it turned out to be - I recommend it. Here is all it took:

<?xml version="1.0" encoding="UTF-8"?>

<!--
* Put this file in ~/snap/josm/common/  [This is specific to Ubuntu Linux]
* Add to JOSM by selecting  Edit / Preferences / Tagging Presets
* and then press '+' on the top-right, then specify the path to this file.
-->

<presets 
  author="xrisnik" 
  version="1.0" 
  shortdescription="Presets File" 
  description="Setting residential building and address in JOSM">

  <item name="Residence + address" type="closedway">

    <label text="Edit"/>

    <space />

    <combo key="building" text="Residence type" values="detached,terrace,semidetached_house,apartments" display_values="Detached,Terrace,Semi,Apartments" default="detached"/>

    <text key="addr:housenumber" text="Number" default="" delete_if_empty="true"/>

    <text key="addr:street" text="Street" default="" delete_if_empty="true"/>

    <space />

  </item>

</presets>
이메일 아이콘 Bluesky 아이콘 Facebook 아이콘 LinkedIn 아이콘 마스토돈 아이콘 텔레그램 아이콘 X 아이콘

토론

2022년 5월 7일 16:02Strubbl님의 의견

Thanks for sharing <3

2022년 5월 9일 18:36vorpalblade님의 의견

How are you getting the addresses?

If they are from an address database, please consider the JOSM MapWithAI plugin (it will automatically merge address points with buildings, you can turn this off if you don’t like it).

If they are from street-level imagery, good for you. :)

2022년 5월 11일 06:22Lejun님의 의견

Hey thanks for the preset. But have you looked into the HouseNumberTaggingTool?

2022년 5월 11일 06:34xrisnik님의 의견

Clearly, I should have searched available plugins… It seems that there are already very good options available. Still, it was quite satisfying to learn how to do a custom preset!

2022년 5월 11일 14:30Lejun님의 의견

Ha, been there, done that. The only complain I’d have with this plugin is the lack of custom fields. I used it to map camping ground with pitch sites and while those are numbered, one can’t use addr but ref (I still made it possible by marking with a stupid tag before using the find tool for a mass edit of the addr key).

댓글을 남기려면 로그인하세요