Skip to content

error loading FEMA shapefile with GDAL 3.0.4 #18

@cseppan

Description

@cseppan

With the original fema_bsf_2002bnd.prj file, running ogr2ogr fails:

ogr2ogr -f "PostgreSQL" "PG:dbname=surrogates user=pgsurg host=localhost" data/emiss_shp2017/FEMA/fema_bsf_2002bnd.shp -lco PRECISION=NO -nlt PROMOTE_TO_MULTI -nln public.fema_test -overwrite
ERROR 1: PROJ: proj_as_proj_string: Unsupported conversion method: Lambert_Conformal_Conic

ogr2ogr --version
GDAL 3.0.4, released 2020/01/28

Changing the DATUM name in the fema_bsf_2002bnd.prj file from "Sphere" to "D_Sphere" seems to fix the problem:

PROJCS["Lambert_Conformal_Conic",GEOGCS["WRF_Sphere",DATUM["Sphere",SPHEROID[...

PROJCS["Lambert_Conformal_Conic",GEOGCS["WRF_Sphere",DATUM["D_Sphere",SPHEROID[...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions