osm_create_object function

Create an OSM object