8000 省市区的code为啥不做成通用的编码? · Issue #10 · zhifenx/JFCitySelector · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

省市区的code为啥不做成通用的编码? #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
tang786472181 opened this issue Jun 28, 2020 · 4 comments
Open

省市区的code为啥不做成通用的编码? #10

tang786472181 opened this issue Jun 28, 2020 · 4 comments

Comments

@tang786472181
Copy link

有看到省市的code码的格式,跟标准的格式不一致,有考虑过其他人使用的场景吗?现在后台存储code不会只存储区的code,你的省市格式需要别人再转换一次,为啥不一开始就用标准的那一套

@zhifenx
Copy link
Owner
zhifenx commented Jun 28, 2020

@tang786472181 你说的通用编码(标准格式)是指? 能举个例子吗?

@zhifenx
Copy link
Owner
zhifenx commented Jun 29, 2020

@tang786472181 你是说区划代码用完整的12位数字是吧?

@tang786472181
Copy link
Author

不好意思,才看到,是的,通用型的编码不是6位数来着吗,例如北京的procode是110000,天津是120000,依次类推,这样子的话,别人使用就不需要在做映射了呀

@zhifenx
Copy link
Owner
zhifenx commented Jun 29, 2020

嗯,明白了,看了一下国家统计局的区划代码现在使用的是12数字。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0