Skip to content

Can't import Grid with TransverseMercator Projection #125

@DrAndreasKoch

Description

@DrAndreasKoch

test.zip

I've tryed to import a grid which I have generated using the unidata Java binding for NetCDF. The grid uses geoX and geoY coordinates with a ETRS89/UTM32 coordinate reference system. The grid mapping is Transverse_Mercator. While GDAL is reading the grid correctly the importer throws an error: mil.army.usace.hec.vortex.geo.WktFactory createWkt - Projection TransverseMercator not supported.

It seams that unidata creates a ucar.unidata.geoloc.projection.TransverseMercator instance when reading the grid while mil.army.usace.hec.vortex.geo.WktFactory.createWkt() is checking only for ucar.unidata.geoloc.projection.proj4.TransverseMercatorProjection. So a check for ucar.unidata.geoloc.projection.TransverseMercator is missing inside the createWKT() method.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions