Giter Club home page Giter Club logo

pcr's Introduction

介绍

2017年最新全国省市区数据库。包含名称、城市代码、上级代码、级别、邮编。

在应用程序中,省市区级联选择是比较常用的功能,在多数情况下,需要集成到自己的系统中,而不是调用一些地图提供方的API。 我创建这个库有以下目的:

  1. 一个中心的库,对数据提供持续更新。
  2. 让开发能够便捷的将地址选择功能集成到自己的系统中。

为什么命名为pcr?

只是为了简单,pcr代表Provice, City, Region。

使用

  1. xls文件为邻接模型数据

  2. 你也可直接下载嵌套模型数据, 我已通过pcr-shell将邻接模型转换为嵌套集模型

贡献

为了让数据尽量准确,任何时候,如果你发现数据有遗漏,请让我知道,我会更新其为最新状态。

下一步

  1. PHP脚本将其转换为SQL表结构。

采用不同的算法。

  • 嵌套集模型
  • 省市区每个单独表模型
  1. 一个的PHP库,封装实现省市区级联操作功能。

  2. 与Symfony集成。

  3. 一个专门的网站,提供一下支持。

  • 让大家可维护数据
  • 也可以XSL,JSON,CSV格式下载。
  • 提供三种模型的SQL结构化数据

额外

使用pcr-shell可将excel转换为sqlite数据库文件

更改日志

参见CHANGELOG

版权

你可将本数据用于任何用途,无需经过我的授权。

pcr's People

Contributors

videni avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.