I guess that at least a partial import of grid characteristics should be not very complicated for ocd version 9-11.
Proposal: add to function OcdFileImport::importGeoreferencing
something like
case 'd':
double grid = param_value.toDouble(&ok);
if (ok)
{
map->getGrid().setHorizontalSpacing(grid);
map->getGrid().setVerticalSpacing(grid);
map->getGrid().setUnit(MapGrid::MetersInTerrain); // MetersInTerrain is default unit
}
break;
Need a test file (or an existing ticket with test file).
I added three Ocad10 test maps, each with active grid, 100m, 250m and 500m grid size.
Following modification is working (thank you for the hints Kai):
Insert at line 263:
Last edit: Matthias Kühlewein 2015-07-02