Re: [Qgis-user] Importing USGS DEMs
Works fine for me. The link should have a lower case 'f' in the file name. You need to uncompress the file before trying to use it in qgis, but if you have gdal compiled with dem support, you should be good to go. John On Jun 27, 2009, at 1:12 PM, Brook Milligan wrote: I am having trouble importing USGS DEMs into qgis. One example of a problem file is at: http://rgisedac.unm.edu/elevation/dem10m/32105F5dem.zip How should this type of file be handled in order to successfully import it? Thanks for your help. Cheers, Brook ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Importing USGS DEMs
Brook, Likely, you need to set the color options in the layer properties. I'm not too familiar with how you do that correctly, but maybe someone else will suggest the right steps. I'm using a build from trunk and it sets the color table correctly for me. You might try the 1.1.0 version if it is available for you OS. Cheers, John On Jun 27, 2009, at 1:48 PM, Brook Milligan wrote: John C. Tull writes: Works fine for me. The link should have a lower case 'f' in the file name. You need to uncompress the file before trying to use it in qgis, but if you have gdal compiled with dem support, you should be good to go. http://rgisedac.unm.edu/elevation/dem10m/32105F5dem.zip Sorry about the wrong case. Unzipped it is an upper case F. Perhaps, I wasn't clear enough. I downloaded the file, unzipped it, and tried to import it into qgis v1.0.2. All I get is a gray rectangle (although the histogram of gray scale values seems reasonable). Here is the configuration of gdal: gdal-config --formats gxf gtiff hfa aigrid aaigrid ceos ceos2 iso8211 xpm sdts raw dted mem jdem envisat elas fit vrt usgsdem l1b nitf bmp pcidsk airsar rs2 ilwis rmf rik leveller sgi idrisi wcs bsb gif jpeg png pcraster My read of this is that gdal does have dem support. I have compiled both gdal and qgis from source. Are there any configuration options that I need to be paying attention to? Thanks for your help. Cheers, Brook ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Importing USGS DEMs
John C. Tull writes: Likely, you need to set the color options in the layer properties. I'm not too familiar with how you do that correctly, but maybe someone else will suggest the right steps. Yes, it seems that I can display the data using the 'pseudocolor' or 'freak out' (what exactly is that?) color maps. The 'grayscale' color map just gives a solid gray rectangle, whereas the 'colormap' option gives just a blank background. I would prefer a simple grayscale image. Any suggestions on how to accomplish this with qgis 1.0.2 compiled from source? Thanks for your help. Cheers, Brook ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Importing USGS DEMs
It works fine for me in qgis 1.0.2 as well as 1.2.0. What version of gdal? Mine is 1.6.0. My layer properties are set to single gray band using band 1 and a grayscale colormap. Also, the contrast enhancement setting is Stretch to MinMax. John On Jun 27, 2009, at 3:01 PM, Brook Milligan wrote: John C. Tull writes: Likely, you need to set the color options in the layer properties. I'm not too familiar with how you do that correctly, but maybe someone else will suggest the right steps. Yes, it seems that I can display the data using the 'pseudocolor' or 'freak out' (what exactly is that?) color maps. The 'grayscale' color map just gives a solid gray rectangle, whereas the 'colormap' option gives just a blank background. I would prefer a simple grayscale image. Any suggestions on how to accomplish this with qgis 1.0.2 compiled from source? Thanks for your help. Cheers, Brook ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user