AMAP-Building-Crawler Gao De Map 3D Building Information Reptile Project

amap-building-crawler

A crawler project for fetching 3d building data from amap and tramsform its to GeoJSON.
High German map 3D building information crawler project for crawling The 3D building data of AutoNavi Map and export it to GeoJSON data format

Doc

1. Clone remote codes to local, then use the yarn command to install the project in local directory.

2. Execute mkdir dist in the project root directory (do not need to do this if the directory already exists).

3. Rewrite the latitude and longitude range in index.js file where you want to crawl the data (upper left corner & bottom right corner).

const lnglatRange = [
[118.01307678222655, 24.596143627409358],
[118.15830230712889, 24.452462684995407],
];

4. Execute yarn start in the project root directory, the retrieved data will be stored in the dist directory as a .geojson file.

Instructions

1. Clone the code to the local, use the yarn command to install the project in the root directory

2. Execute mkdir dist in the project root directory (if the directory already exists, no need)

3. Modify the latitude and longitude range of the coordinates that need to be crawled in the index.js file:

// Required The latitude and longitude range to crawl (upper left corner, lower right corner) const lnglatRange = [
[118.01307678222655, 24.596143627409358],
[118.15830230712889, 24.452462684995407],
];

4 . Execute yarn start in the project root directory, and the crawled .geojson data will be stored in the dist directory

Leave a Comment

Your email address will not be published.