geodata: add some query function (not yet working)