Admin boundary import / Import data sempadan pentadbiran

Bernard,
This is my observation. Historically, a district by default will always have a majlis daerah (municipal services I think). At certain point, a town grew big enough that it has its own services, thus having a majlis perbandaran ( town/city services). If this town/city (usually a district capitol) gets big enough like Petaling Jaya, or lies close to the district border, then the city services boundary will overlap with other majlis daerah.

So, one is adminstrative boundary, a true district in a sense, something that is indicated in land deeds etc. The other is more of a distinction of who provide services to which areas.

1 Like

+1 like what user:kucai says.

It’s admin_level=10 if we are going to follow the Wiki. Nominatim would somehow derive these boundaries to describe a location inside these boundaries, unfortunately.

You can view Selangor daerah, mukim and seksyen information from below document:

http://www.mygeoportal.gov.my/sites/default/files/UPI/KOD%20DAN%20NAMA%20SEMPADAN%20PENTADBIRAN%20TANAH_SELANGOR.pdf

according to this document(page 3, Jadual 1), the level of boundary in malaysia is:

1.state
2.division/district/jajahan
3.mukim/pekan/bandar/pulau/kampung/land district
4.seksyen/presint
5.lot

if follow malaysia authority classification, PBT is same level with Mukim,
what do you think?

If we are going to say PBT boundary is the same level as mukims, then I can see some problem. Theoretically if the mukim boundaries will be mapped, it will be admin_level=8.

E.g. in Kedah, where Kuala Muda district is under Majlis Perbandaran Sungai Petani. Kuala Muda district has mukims under it as well, so both will be overlapping.

Currently admin_level=7 is exclusively for use in Kucing Subdistrict. Since Majlis Perbandaran/Bandaraya could also cover multiple mukims, maybe, then it would be higher than the mukim.

Thanks again for the provided documentation.

Selangor is special case, The district’s borders were recently modified during the detachment of Kuala Lumpur in the 1980s so use PBT. Melaka is 2010 and same. Penang no problem and Seberang Perai border just follow the Perai River and Junjung River. Johor may refer to Selangor as they have 10 district and 16 PBT. I think the newer minister will study for this and we should follow PBT first (except Penang) as they are law enforcement agencies in the area/district.

and we ahould use 5 for PBT like Seberang Perai…

So, I go Raya first. But of course: feel free to discuss more details either to support or oppose this import. This has been also linked to the Facebook group.

So far:

  • Selangor: PBT boundaries, another kind of import is do-able, but probably admin_level could be refined. Personally I’m suggesting admin_level=7 because some PBTs happen to handle different places, even overlapping with other districts

  • Kedah: PBT boundary coincides with the district boundaries; district boundary import should refine rough district boundaries from an out-of-copyright map

  • Penang: “no problem” from user:angys

  • Melaka: PBT boundaries at admin_level=6; will join the import process with Selangor

  • From the Facebook poll, one vote for yes to import

  • No decision yet: Kelatan’s jajahans, Negeri Sembilan and Pahang. My personal take is that Kelantan’s jajahan is also good to be imported.

Unfortunately, these are all the available data, provided by Sinar Project. Please hope that one day, the government’s stand on open data could be better.

Note: admin_level refers to the hierarchy of the degree of a kind of boundary i.e.:

  • 3rd admin level: currently not reserved

  • 4th admin level: negeri (state)

  • 5th admin level: bahagian Sabah & Sarawak (Sabah dan Sarawak divisions)

  • 6th admin level: daerah (district)

  • 7th admin level: from the Wiki, something like Kuching District

  • 8th admin level: mukim (county)

  • 9th admin level: currently not reserved

  • 10th admin level: PBT boundaries, again, this is what have been described in the Wiki.

This can be changed accordingly, suitable to reflect the reality.

What’s next if the majority has decided it’s a good thing to proceed? Well, I would have to post an update on the Imports mailing list as well, and perform some other import formalities. I’ll be using the JOSM editor to make this import.

100% Support!:wink:

How about https://wiki.openstreetmap.org/wiki/Tag:boundary%3Dpolitical (Parliamentary Constituency Border like Bukit Bendera…)

Long time no update. I’m in the process, getting an explicit yes from Sinar Project to import the data.

Okay, that one, I try to import district boundaries first, then PBT boundary. Other boundary, I have to check first how they are mapped in other countries.

Wednesday update: got a reply from Sinar Project, and they said it’s all clear. Now I have to prepare for all formalities: let the upper hands know that this import could go.

This is a snippet from the e-mail exchange with them:

How about now?

I admit that there’s a hiatus for a month or so, but I’ve been working on this when I’ve got the time.

Mid-August update: preparing a sample upload file in the OSM file format. Not fun, I tell all of you. :stuck_out_tongue:

So, I’ve decided to improve details on state boundaries in Peninsular Malaysia (except the Johor-Singapore boundary). District boundaries for Kedah, Penang, Kelantan and Pahang would be imported as well. Selangor and Melaka would get the PBT boundaries.

Wiki page is up, so the last thing is to be scrutinised further, if any, in the imports mailing list.

It’s almost ready.

@angys: I don’t think I want to import electoral boundary data. Things can change by the next general election (could be 4 or 5 years).

Update: Just started working on this import. Hopefully it’ll be done sooner or later. Started with Kedah/Perlis.

Sunday, March 10 update: That’s Penang and Kedah, completed. Perlis and Perak now with improved boundary. The next move would be some clean up across Kelantan first, then proceed with import.

Thank you very much for your update :). And I had noticed that Kuantan-Kemaman boundary very not accurate as Jabor (which is belongs to Terengganu), located in the Pahang side.

I would suggest you to do a Terengganu District update with Pahang and Kelantan boundary, at lease make it more accurate, thank you. (Same situation at Genting Highlands, actually most of all buildings are in Pahang):rolleyes:

I’ll try to complete this import from up north to down south. After Kelantan, it would be Pahang and then maybe Melaka. Then go up north again (Negeri Sembilan first) before trying my best to deal with Selangor('s local council boundaries)…

Yeah, wish me luck though.

Hopefully there’s a way getting open and free/libre data for (sub)districts of Perak, Terengganu, Johor, Selangor, Sabah and Sarawak.

Sunday night, 17th March:

Kelantan’s district import is done, and some improvements to Perak’s, Terengganu’s and Pahang’s border were made.

How abou now? Hope this import can be continued…