Skip to content

Wrapper around polygon-city-cli to convert a directory of CityGML files into GeoJSON footprint indexes and 3D models (obj & collada)

Notifications You must be signed in to change notification settings

polygon-city/polygon-city-cli-multi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Polygon City CLI Multi-File

Wrapper around polygon-city-cli to convert a directory of CityGML files into GeoJSON footprint indexes and 3D models (obj & collada)

Requirements

  1. npm and Node v5 (https://nodejs.org/dist/v5.2.0/node-v5.2.0.pkg)
  2. Redis (http://redis.io/download#installation)
  3. A Mapzen Elevation Service key (https://mapzen.com/developers)

Installation

$ npm install polygon-city-cli-multi@latest -g

Usage

Processing a new CityGML file:

$ polygon-city-multi -c <epsg_code> -E <mapzen_elevation_key> -o /path/to/obj/output/directory /path/to/cityGml/input/directory

Resuming previous unfinished jobs:

$ polygon-city-multi resume

Step-by-step example

  1. Run npm install polygon-city-cli-multi -g
  2. Start a local Redis server (using port 6379)
  3. Download some CityGML data from Linz, Austria
  4. Take note of the EPSG code used for the Linz dataset (EPSG:31255)
  5. Run the command line tool:
$ polygon-city-multi -c 31255 -E "your_mapzen_elevation_key" -o /path/to/obj/output/directory /path/to/cityGml/input/directory

About

Wrapper around polygon-city-cli to convert a directory of CityGML files into GeoJSON footprint indexes and 3D models (obj & collada)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published