osm2x3d
Open Earth View project - Open Street Map to 3D formats converter
Last updated 4 years ago by clement_igonet .
LGPL-3.0 · Repository · Original npm · Tarball · package.json
$ cnpm install osm2x3d 
SYNC missed versions from official npm registry.

Intro

This module aims to convert Open Street Map XML data to 3D scene.
Available output data formats:

  • GeoJSON
  • X3D

Library

The project is divided into several tools:

  • OsmToGeoJSon: convert XML OSM data to extended GeoJSON data
  • GeoJsonToJsonX3d: convert extended GeoJSON data to JSON X3D data
                  __________________
                 |                  |
   XML OSM   --->| JsonOsmToGeoJSon | ---> GeoJSON
                 |__________________|
                  __________________
                 |                  |
   GeoJSON   --->| GeoJsonToJsonX3d | ---> JSON X3D
                 |__________________|

Installation

$ npm install

Web server

To start the web server:

$ web_server.sh

Test

Requests:

$ wget "localhost:8081/3dtile?format=x3djson&xtile=77196&ytile=98527&zoom=18" -O x3djson.json
$ wget "localhost:8081/3dtile?format=geojson&xtile=154394&ytile=197054&zoom=19" -O ESB19_geojson.json

Automated tests

$ test/osm2x3dTester.sh

Unit Tests

$ test/unit/OsmToGeoJsonMocha.js
$ test/unit/GeoJsonToX3dJsonMocha.js

Current Tags

  • 0.0.17                                ...           latest (4 years ago)

17 Versions

  • 0.0.17                                ...           4 years ago
  • 0.0.16                                ...           4 years ago
  • 0.0.15                                ...           4 years ago
  • 0.0.14                                ...           4 years ago
  • 0.0.13                                ...           4 years ago
  • 0.0.12                                ...           4 years ago
  • 0.0.11                                ...           4 years ago
  • 0.0.10                                ...           4 years ago
  • 0.0.9                                ...           4 years ago
  • 0.0.8                                ...           4 years ago
  • 0.0.7                                ...           4 years ago
  • 0.0.6                                ...           4 years ago
  • 0.0.5                                ...           4 years ago
  • 0.0.4                                ...           4 years ago
  • 0.0.3                                ...           4 years ago
  • 0.0.2                                ...           4 years ago
  • 0.0.1                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 17
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |