Giter Site home page Giter Site logo

cd-medical-hospital's Introduction

成都车管所指定的驾照体检医院

医院数据来自于成都车管所-体检医院地址公布的数据。

使用

通过hospital.php脚本抓取医院数据,将地址转换为地图坐标。

/PATH/TO/php -f /PATH/TO/hospital.php

http://www.cdcgs.cn/Hospital/HospitalInfo.aspx 页面抓取医院的名称和地址; 数据分析是使用simplehtmldom库实现的,感谢作者的分享。 然后通过百度地图的提供的web服务接口,使用医院地址获取地图坐标 输出自组织的JSON格式数据,将输出数据放置于map.html,类似下面的位置。

 //标注点数组
var markerArr = [{title:"武警四川省总队成都医院",content:"成都市石人南路21号",point:"104.03402|30.677974",isOpen:0,icon:{w:23,h:25,l:46,t:21,x:9,lb:12}}

cd-medical-hospital's People

Contributors

potterhe avatar

Watchers

James Cloos avatar  avatar  avatar

Forkers

guoyu07

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.