[mkgmap-dev] Handling of refs