Skip to content

Two demos for collect GIS data. Firstly, collect POI data using Baidu API. Secondly, collect streetview data from Tencent.

Notifications You must be signed in to change notification settings

husi253/CollectGISData

 
 

Repository files navigation

Methods for Collectinng POI data and Street View data

Collect POI Using Baidu API

I use Baidu Place API to do this. http://lbsyun.baidu.com/index.php?title=webapi/guide/webservice-placeapi

Usage

Modify the parameter in the main function in the bottom of the code.

  • Set the query key word. I recommend to follow the categories of Baidu. http://lbsyun.baidu.com/index.php?title=lbscloud/poitags
  • Set the boundary of the region. The region should be a rectangle region followed by minLat,minLon,maxLat,maxLon. For example: region="39.915,116.405,39.975,116.415"
  • Change the length of square's side, the smaller the more accuracy while slower. For example: location = LocationDivide(region, 0.01)

Collect Street View Using Baidu API

I use an arctoolbox: CreatePointsLines.tbx to do this.

Usage

  • Import network / road polyline data in ArcGIS.
  • Use CreatePointsLines toolbox to generate points along with the polylines with equal distance.
  • Compute points' coordinates and then export them into a csv file.
  • Set the csv file path to download the pictures.

About

Two demos for collect GIS data. Firstly, collect POI data using Baidu API. Secondly, collect streetview data from Tencent.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%