[MacPorts] #46690: gdal ogr not supported
#46690: gdal ogr not supported -------------------------------+-------------------------------- Reporter: barry.j.mcinnes@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: gdal ogr | Port: gdal -------------------------------+-------------------------------- We get this error on 10.9 and 10.10 Macports updated as of last week. Not sure if its a Macports install or user error, it seems to have been an issue with gdal 1.7 ? [mac27:~] bmcinnes% gdal-config --ogr-enabled yes [mac27:~] bmcinnes% gdalwarp -cutline /Users/blivneh/Research/NLDAS/Shapefiles_MAY2005/Original_Features/Mexican_Cuencas.shp -crop_to_cutline -dstnodata "-9999.0" del.mask.tiff del.mask.clipped.tiff ERROR 1: Request to load a cutline failed, this build does not support OGR features. [mac27:~] bmcinnes% gdal-config --version 1.11.1 [mac27:~] bmcinnes% which gdal-config /opt/local/bin/gdal-config [mac27:~] bmcinnes% port info gdal gdal @1.11.1_3 (gis) Variants: clang30, clang31, clang32, clang33, clang34, clang35, curl, dragonegg30, dragonegg31, dragonegg32, dragonegg33, dragonegg34, ecw, [+]expat, framework, gcc44, gcc45, gcc46, gcc47, gcc48, gcc49, geos, grib, hdf4, hdf5, jasper, llvm, lzma, mpich, mpich_devel, mrsid, mysql5, netcdf, odbc, opencl, openjpeg, openmpi, openmpi_devel, perf, poppler, postgresql81, postgresql82, postgresql83, postgresql84, postgresql90, postgresql91, postgresql92, postgresql93, spatialite, sqlite3, universal, xerces Description: GDAL is a translator library for raster geospatial data formats that is released under an X/MIT style Open Source license. As a library, it presents a single abstract data model to the calling application for all supported formats. The related OGR library (which lives within the GDAL source tree) provides a similar capability for simple features vector data. Homepage: http://www.gdal.org/ Library Dependencies: zlib, libpng, tiff, libgeotiff, jpeg, giflib, proj, expat Platforms: darwin License: MIT BSD Maintainers: vince@macports.org, openmaintainer@macports.org [mac27:~] bmcinnes% -- Ticket URL: <https://trac.macports.org/ticket/46690> MacPorts <https://www.macports.org/> Ports system for OS X
#46690: gdal @1.11.1_3: ogr not supported --------------------------------+--------------------- Reporter: barry.j.mcinnes@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: gdal | --------------------------------+--------------------- Changes (by larryv@…): * keywords: gdal ogr => * owner: macports-tickets@… => vince@… * cc: vince@… (removed) Old description:
We get this error on 10.9 and 10.10 Macports updated as of last week. Not sure if its a Macports install or user error, it seems to have been an issue with gdal 1.7 ?
[mac27:~] bmcinnes% gdal-config --ogr-enabled yes [mac27:~] bmcinnes% gdalwarp -cutline /Users/blivneh/Research/NLDAS/Shapefiles_MAY2005/Original_Features/Mexican_Cuencas.shp -crop_to_cutline -dstnodata "-9999.0" del.mask.tiff del.mask.clipped.tiff ERROR 1: Request to load a cutline failed, this build does not support OGR features.
[mac27:~] bmcinnes% gdal-config --version 1.11.1 [mac27:~] bmcinnes% which gdal-config /opt/local/bin/gdal-config [mac27:~] bmcinnes% port info gdal gdal @1.11.1_3 (gis) Variants: clang30, clang31, clang32, clang33, clang34, clang35, curl, dragonegg30, dragonegg31, dragonegg32, dragonegg33, dragonegg34, ecw, [+]expat, framework, gcc44, gcc45, gcc46, gcc47, gcc48, gcc49, geos, grib, hdf4, hdf5, jasper, llvm, lzma, mpich, mpich_devel, mrsid, mysql5, netcdf, odbc, opencl, openjpeg, openmpi, openmpi_devel, perf, poppler, postgresql81, postgresql82, postgresql83, postgresql84, postgresql90, postgresql91, postgresql92, postgresql93, spatialite, sqlite3, universal, xerces
Description: GDAL is a translator library for raster geospatial data formats that is released under an X/MIT style Open Source license. As a library, it presents a single abstract data model to the calling application for all supported formats. The related OGR library (which lives within the GDAL source tree) provides a similar capability for simple features vector data. Homepage: http://www.gdal.org/
Library Dependencies: zlib, libpng, tiff, libgeotiff, jpeg, giflib, proj, expat Platforms: darwin License: MIT BSD Maintainers: vince@macports.org, openmaintainer@macports.org [mac27:~] bmcinnes%
New description: We get this error on 10.9 and 10.10 Macports updated as of last week. Not sure if its a Macports install or user error, it seems to have been an issue with gdal 1.7 ? {{{ [mac27:~] bmcinnes% gdal-config --ogr-enabled yes [mac27:~] bmcinnes% gdalwarp -cutline /Users/blivneh/Research/NLDAS/Shapefiles_MAY2005/Original_Features/Mexican_Cuencas.shp -crop_to_cutline -dstnodata "-9999.0" del.mask.tiff del.mask.clipped.tiff ERROR 1: Request to load a cutline failed, this build does not support OGR features. [mac27:~] bmcinnes% gdal-config --version 1.11.1 [mac27:~] bmcinnes% which gdal-config /opt/local/bin/gdal-config [mac27:~] bmcinnes% port info gdal gdal @1.11.1_3 (gis) Variants: clang30, clang31, clang32, clang33, clang34, clang35, curl, dragonegg30, dragonegg31, dragonegg32, dragonegg33, dragonegg34, ecw, [+]expat, framework, gcc44, gcc45, gcc46, gcc47, gcc48, gcc49, geos, grib, hdf4, hdf5, jasper, llvm, lzma, mpich, mpich_devel, mrsid, mysql5, netcdf, odbc, opencl, openjpeg, openmpi, openmpi_devel, perf, poppler, postgresql81, postgresql82, postgresql83, postgresql84, postgresql90, postgresql91, postgresql92, postgresql93, spatialite, sqlite3, universal, xerces Description: GDAL is a translator library for raster geospatial data formats that is released under an X/MIT style Open Source license. As a library, it presents a single abstract data model to the calling application for all supported formats. The related OGR library (which lives within the GDAL source tree) provides a similar capability for simple features vector data. Homepage: http://www.gdal.org/ Library Dependencies: zlib, libpng, tiff, libgeotiff, jpeg, giflib, proj, expat Platforms: darwin License: MIT BSD Maintainers: vince@macports.org, openmaintainer@macports.org [mac27:~] bmcinnes% }}} -- -- Ticket URL: <https://trac.macports.org/ticket/46690#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#46690: gdal @1.11.1_3: ogr not supported --------------------------------+--------------------- Reporter: barry.j.mcinnes@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: gdal | --------------------------------+--------------------- Comment (by pixilla@…): barry.j.mcinnes: Is the shape file at a public url? I'd like to try your command on my systems. -- Ticket URL: <https://trac.macports.org/ticket/46690#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#46690: gdal @1.11.1_3: ogr not supported --------------------------------+--------------------- Reporter: barry.j.mcinnes@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: gdal | --------------------------------+--------------------- Comment (by barry.j.mcinnes@…): Thanks for looking at this"error" - from the User It's the zip file: Shapefiles_May2005.zip ftp://ftp.crwr.utexas.edu/pub/outgoing/PATINOC/RioGrandeInfo/ Once uncompressed it's in the directory: Original_Features/ Note: I realise that the shapefile is in an Equal_Area projection, while my target grid (attached) is in a lat-lon projection. -- Ticket URL: <https://trac.macports.org/ticket/46690#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#46690: gdal @1.11.1_3: ogr not supported --------------------------------+--------------------- Reporter: barry.j.mcinnes@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: gdal | --------------------------------+--------------------- Comment (by andy.aschwanden@…): I've got the same / a similar issue; running gdal_contour on any kind of file results in {{{ ERROR 6: GDALContourGenerate() unimplemented in a non OGR build }}} If I recall correctly, everything worked fine with gdal 1.10 and broke since the switch to 1.11. -- Ticket URL: <https://trac.macports.org/ticket/46690#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
#46690: gdal @1.11.1_3: ogr not supported --------------------------------+--------------------- Reporter: barry.j.mcinnes@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: gdal | --------------------------------+--------------------- Comment (by vince@…): I thought it was a bug with 1.11.1, but the same thing happens with 1.11.2. I’m going to look at it. -- Ticket URL: <https://trac.macports.org/ticket/46690#comment:10> MacPorts <https://www.macports.org/> Ports system for OS X
#46690: gdal @1.11.1_3: ogr not supported --------------------------------+--------------------- Reporter: barry.j.mcinnes@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: gdal | --------------------------------+--------------------- Comment (by vince@…): Well for some reason the vector code (OGR) is included in the .a but not in the .dylib. -- Ticket URL: <https://trac.macports.org/ticket/46690#comment:11> MacPorts <https://www.macports.org/> Ports system for OS X
#46690: gdal @1.11.1_3: ogr not supported --------------------------------+--------------------- Reporter: barry.j.mcinnes@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: gdal | --------------------------------+--------------------- Comment (by vince@…): Should be fixed in r133518, that bumps to 1.11.2. Please upgrade and tell me. -- Ticket URL: <https://trac.macports.org/ticket/46690#comment:12> MacPorts <https://www.macports.org/> Ports system for OS X
#46690: gdal @1.11.1_3: ogr not supported --------------------------------+--------------------- Reporter: barry.j.mcinnes@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: gdal | --------------------------------+--------------------- Comment (by andy.aschwanden@…): So far, I've tested gdal_contour which appears to work now. Thanks for fixing it! -- Ticket URL: <https://trac.macports.org/ticket/46690#comment:13> MacPorts <https://www.macports.org/> Ports system for OS X
#46690: gdal @1.11.1_3: ogr not supported --------------------------------+--------------------- Reporter: barry.j.mcinnes@… | Owner: vince@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: fixed | Keywords: Port: gdal | --------------------------------+--------------------- Changes (by vince@…): * status: new => closed * resolution: => fixed Comment: Okay. I assume this is fixed. Please reopen if you still get an unwanted behaviour. -- Ticket URL: <https://trac.macports.org/ticket/46690#comment:14> MacPorts <https://www.macports.org/> Ports system for OS X
#46690: gdal @1.11.1_3: ogr not supported --------------------------------+---------------------- Reporter: barry.j.mcinnes@… | Owner: vince@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: gdal | --------------------------------+---------------------- Changes (by barry.j.mcinnes@…): * status: closed => reopened * resolution: fixed => Comment: Finally got the user to retest - it give a different error now gdalwarp -cutline /Users/blivneh/Research/NLDAS/Shapefiles_MAY2005/Original_Features/Mexican_Cuencas.shp -crop_to_cutline -dstnodata "-9999.0" /Volumes/Drobo/blivneh/NLDAS/del.mask.tiff del.mask.clipped.tiff Cannot compute bounding box of cutline. -- Ticket URL: <https://trac.macports.org/ticket/46690#comment:15> MacPorts <https://www.macports.org/> Ports system for OS X
#46690: gdal @1.11.1_3: ogr not supported --------------------------------+--------------------- Reporter: barry.j.mcinnes@… | Owner: vince@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: invalid | Keywords: Port: gdal | --------------------------------+--------------------- Changes (by vince@…): * status: reopened => closed * resolution: => invalid Comment: This is not a compilation bug. Remove the .prj file from your shapefile and it should work. -- Ticket URL: <https://trac.macports.org/ticket/46690#comment:16> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts