Skip to content

simpleLoc/IndoorMapParser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IndoorMapParser

C++ parser for indoor XML map format

How to use

#include "indoorMapParser.h"
#include "indoorSvgListener.h"

int main(int argc, char *argv[])
{
    Indoor::Map::MapParser p;

    // Read a map file
    std::shared_ptr<Indoor::Map::Map> map = p.readMapFromFile("example.xml");

    // Export map as svg
    auto svg = std::make_shared<Indoor::Map::SvgListener>();
    p.readFromFile("example.xml", svg);
    svg->saveSvgToFile("example.svg");
}

About

C++ parser for indoor XML map format

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages