Inverse cartographic problems: theory and first results