I want to open a USGS quadrangle (such as this) in QGIS 3, but I can't find documentation for how to do this.
2 Answers
If you drag and drop a GeoPDF into QGIS, because there is a raster layer, QGIS will try and rasterise the whole file, which takes a long time.
If you just want the vector layers - well, unfortunately there seems to be a problem with that particular GeoPDF (and others with the same date?)! The GDAL library claims not to be able to open it.
However, in general, you should be able to go to Layer -> Add Vector Layer, select the PDF and click Add. You will get a dialogue like the following:
You can then select the layers you want to add from the dialogue.
I used the Dennis, MA map, with QGIS 3.12.1
You can do similar via the command line using
ogr2ogr -f sqlite pdf.sqlite MA_Dennis_OE_N_20120522_TM_geo.pdf
- 4,787
- 6
- 26
Here's a workaround...
You can drag and drop the GeoPDF (such as this) in QGIS. It works but very slow, around 10 minutes to load the file. I do not understand why it's so slow.
Once loaded use the QGIS menu Layer > Save As... to export the file in GeoTIFF. Very very slow about one hour to export. Again I do not understand why it's so slow... the file is only 32.2 MB.
Once exported in GeoTIFF remove the GeoPDF file and the GeoTIFF is usable and very fast to manipulate like any GeoTIFF.
Done with QGIS 3.14.0
- 608
- 7
- 8
-
Not sure on your setup but it loaded in less than a minute on a high end laptop. The PDF has orthoimagey embedded which is making a large pdf. (QGIS 3.14.1 Windows 10 pro 16GB and using NVIDIA 1070 GTX for QGIS rendering.) – Mapperz Aug 12 '20 at 01:53
-
Have you try with this GeoPDF located at https://catalog.data.gov/dataset/usgs-us-topo-7-5-minute-map-for-siasconset-ma-20189fd44 ? – D Pilon Aug 12 '20 at 02:08
-
yes the linked geopdf was the one had used to see if it took so long. – Mapperz Aug 12 '20 at 04:11
-
Thank you for the update. There is a new answer giving more context. Still I do not understand why it's taking so much time. – D Pilon Aug 12 '20 at 12:28