GithubHelp home page GithubHelp logo

isabella232 / azuremapscreator Goto Github PK

View Code? Open in Web Editor NEW

This project forked from azure-samples/azuremapscreator

0.0 0.0 0.0 23 KB

Samples for Azure Maps Creator

License: MIT License

Python 100.00%

azuremapscreator's Introduction

Azure Maps Creator Tools

Features

This project framework provides the following features:

  • Uploads DWG files to Azure Maps Creator

Getting Started

Please Note: This script works with Python3

Installation

  1. Download Python3.6 via this link.

  2. Run the downloaded installer. When the installer opens, remember to select the checkbox to add Python to PATH

  3. Once done, open PowerShell / Command Line and run the command pip install requests

Upload DWG Zip file

To upload your zipped DWG files to Azure Maps Creator, simply download and run the PowerShell script DWGZipUploader.py and parse the following arguments as seen below.

python DWGZipUploader.py --subscriptionKey YOUR_SUBSCRIPTION_KEY --zipFile PATH_TO_YOUR_ZIP_FILE

You should see a log like the one below if the process completes succesfully without errors.

Reading zip file...
Uploading DWG Zip file...
DWG Upload accepted.
Checking upload status...
DWG upload successful.
Obtaining UDID...
UDID obtained.
Converting DWG...
DWG Conversion started...
DWG conversion successful
Dataset generation started...
Dataset generated successfully.
Tileset generation started...
Tileset generated successfully.
Generated Map data saved to 'AzureMapData.json'
Generated Map saved to 'Map.html'

Once done, the process will save a AzureMapsData.json and Maps.html in the same folder as the script. To view the generated Map, simply open Maps.html in the browser. All the values returned by the Azure Maps Creator APIs are contained in the AzureMapsData.json

azuremapscreator's People

Contributors

microsoft-github-operations[bot] avatar microsoftopensource avatar rovin-ms avatar

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.