Skip to content

Conversion issue with GEOPDF's on MACOS #216

@DlanTaylor

Description

@DlanTaylor

I have an application that runs on Both Windows and MacOS, it uses GDAL to convert GEOPDF, GEOTIFF and PNG/JPEG to MBTILES. Everything seems to work fine on Windows, however I am having issues converting GEOPDF's on Mac. Most GEOPDF's I have tried fail to convert and the big problem is that they are failing silently so I am having trouble debugging this to figure out why they are failing. It just shuts down as soon as translate is called. Their are a few GEOPDF's that work correctly so it's not entirely broken but probably close to 75% of the ones I've tried fail on MAC but they all convert correctly on Windows. Nothing I've seen in the metadata of these files suggest anything immediately concerning that would cause a problem, I am hoping someone one here could help me out. Not sure if this is a configuration issue, a bug, or perhaps a limitation of the driver that was packaged with this library. I have tried setting Gdal.UseExceptions() but it still fails silently.

I am using the latest MaxRev Universal runtime in a ASP Net core Application.
Not doing anything fancy with the translation options just setting output to MBTILES and Tile format to PNG.

Here are some links to GEOPDF's I tested. All work on Windows.

Working:
https://www.blm.gov/sites/default/files/documents/files/Maps_GeoPDF_Unit-13-Federal-Subsistence_Sourdough-Controlled-Use.pdf
https://www.blm.gov/sites/blm.gov/files/documents/files/Maps_GeoPDF_Unit-22B-Federal-Subsistence_Seward-Peninsula-MuskOx.pdf
https://www.blm.gov/sites/default/files/documents/files/ES_JupiterInletLighthouse_ONA.pdf

Not Working:
https://www.blm.gov/documents/alaska/public-room/map/blm-ak-federal-subsistence-gmu-20e-map-chicken-walker-fork-jack-wade
https://www.blm.gov/documents/alaska/public-room/map/blm-ak-federal-subsistence-gmu-20e-taylor-hwy-logging-cabin-creek
https://www.blm.gov/documents/alaska/public-room/map/blm-ak-federal-subsistence-gmu-20e-map-taylor-hwy-obrien

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions