def geom_to_xml_element(geom):
if geom.srs.srid != <NUM_LIT>:<EOL><INDENT>raise NotImplementedError("<STR_LIT>")<EOL><DEDENT>return geojson_to_gml(json.loads(geom.geojson))<EOL>
Transform a GEOS or OGR geometry object into an lxml Element
    for the GML geometry.