Admin boundary import / Import data sempadan pentadbiran

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…

I admit that “life has got in my way” dedicated for OpenStreetMap in these few recent months. I’ll try to complete bit by bit, but then again, please just remind me to complete this import. Can’t promise any ETAs though.

Ok, I believe that all Malaysian OSMers will looking forward for your update. Life is more important but since OSM is a public project, someone (like us) will need to sacrifice our time to this. Anyway, you can just do this when you are free too…

Sorry to disturb, but I still dont see any progress till February 2020, hope that you can spend your precious time to finish these tasks, your works are appreciated.:slight_smile:

Sorry for the intermittent on/off progress. Quick update: I’ve already imported the district borders of the state of Pahang.