I have downloaded this dataset, what I believe is an ArcGrid Raster, from this site. However, I ideally would like the data to be in a file geodatabase format so that I can access it using GeoPandas in Python. I am on a Mac and don't have access to a Windows machine, so I don't have the ability to export this in ArcMap as the tutorial that I found here suggests.

Is there a way I can convert this without using ArcMap / using software on MacOS?

  • 1
    It's curious that USGS uses the format name "ArcGRID_with_attribs" since no such name exists. There is an ArcGIS (ArcInfo) Grid format, but this is a raster, which cannot be loaded into (or out of) file geodatabase without ArcGIS, and it cannot be manipulated with GeoPandas (which works with vectors). GDAL can probably read a grid raster, and numpy manipulate it. You'd have to convert the raster to vector before using it with GeoPandas. – Vince Nov 5 '20 at 12:56
  • 1
    If you want to work with this raster in python on a Mac change the download options to download a geotiff and then work with it using GDAL, numpy, rasterio, or other raster libraries. Skip the file geodatabase and GeoPandas - those are tools for working with vector data, not raster data. – ycartwhelen Nov 5 '20 at 13:08
  • @Vince I wonder if "ArcGRID_with_attribs" is an integer grid that has had a raster attribute table built for it. – PolyGeo Nov 6 '20 at 0:37
  • 1
    @PolyGeo No RAT, just a dBase-III file (.dbf) with what the RAT would have contained – Vince Nov 6 '20 at 2:26
  • I've never used GeoPandas so I might be completely wrong but I thought Geopanadas was just for vector data? So even if you imported the raster into a file geodatabase you would not be able to use it anyway? – Hornbydd Nov 7 '20 at 22:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.