Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OCD export: GDAL raster templates not exported #1643

Closed
dg0yt opened this issue May 25, 2020 · 0 comments
Closed

OCD export: GDAL raster templates not exported #1643

dg0yt opened this issue May 25, 2020 · 0 comments
Assignees
Milestone

Comments

@dg0yt
Copy link
Member

dg0yt commented May 25, 2020

Steps to reproduce

  1. Save a map with GeoTIFF template in OCD format.
  2. Close and reopen the map.

Actual behaviour

The template is missing in the map.

Expected behaviour

The template reference shall be saved and restored.

Additional information

Only instances of TemplateImage (and .ocd templates) are handled during OCD export. Instances of GdalTemplate need to be handled, too, at least if they refer to BMP, GIF, JPEG, PDF, PNG, or TIFF files.

Configuration

Mapper Version: v0.9.3 and earlier (new OCD export)

@dg0yt dg0yt added this to the v0.9.4 milestone May 25, 2020
@dg0yt dg0yt self-assigned this May 25, 2020
@dg0yt dg0yt added this to Open in OCD export/import via automation May 25, 2020
@dg0yt dg0yt moved this from Open to In progress in OCD export/import May 25, 2020
dg0yt added a commit that referenced this issue May 26, 2020
With multiple template classes in Mapper, matching the filename suffix
(extension) of template files decouples template selection from
template class implementation details.
Resolves GH-1643 (GDAL raster templates not exported).
@dg0yt dg0yt closed this as completed in 4f39f59 Jun 12, 2020
OCD export/import automation moved this from In progress to Done Jun 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

1 participant