Skip to content

lewa-j/osm2vmf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Screenshot

This is a console program that imports *.osm XML text file, and exports vmf, obj and map . Currently, it uses information only about buildings.

Since only convex polygons can be used in vmf/map, the program uses the polygon decomposition algorithm created by Mark Bayazit.

How to use it

  1. Export osm data from https://www.openstreetmap.org

  2. Execute osm2vmf.exe with path to file as argument

    Optional arguments:

    -obj

    -map

    -novmf

  3. Open created vmf file in imageVHE 4.x or imageHammer++ (map file in imageVHE 3.x, imageJACK or imageTrenchBroom)

  4. Add some entities

  5. Compile and run map

About

OpenStreetMap to Valve Map Format converter

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages