Magnetoculus Database Builder Construction de bases de données pour Magnetoculus

Functions
OSMCityRegister Namespace Reference

## Functions
def | merc_x (lon)
def | merc_y (lat)
def | RegisterOSMCity (session, engine, filename, type)
| Register a city described by a .osm file into the database. More...

## Function Documentation

## ◆ merc_x()

def OSMCityRegister.merc_x | ( |  | lon | ) |

## ◆ merc_y()

def OSMCityRegister.merc_y | ( |  | lat | ) |

## ◆ RegisterOSMCity()

def OSMCityRegister.RegisterOSMCity | ( |  | session,
|  |  | engine,
|  |  | filename,
|  |  | type
| ) |  |

Register a city described by a .osm file into the database.

It extracts only the polygons (i.e. vertices), it keeps no other information.