Tag Info

New answers tagged

0

What about file system permissions for your data directory? Is your servlet container like Tomcat or jetty able to read AND write files in the directory? I had the same error using linux. After correcting the permissions for that specific directory (chown -R tomcat7:tomcat ) everything was fine.


1

You can a nice tutorial about basic imagery on SAGA at this link: http://dst-iget.in/tutorials/IGET_RS_001/IGET_RS_001%20Introduction%20to%20SAGA.pdf


0

Thanks! Ok the function works fine, only a question. I need also to export as geotiff, but argis answer that Runtime error <type 'exceptions.TypeError'>: PageLayoutObject: Error in executing ExportToTIFF I've read in other topic that some options is only available if the export is maked in data frame, not in page layout. In the Data Driven I've set ...


1

Your output image will have more pixels than the sum of your input images, but this does not explain the large difference. I suggest that you look at the characteristics of your images based on gdalinfo in order to see what compression is used and check that the extents are correct. (assuming your input images have the same size, it makes 20000 * 12000 ...


2

Building on what @David mentioned you may use open source gdal library using python module to get image extent like this: import gdal from gdalconst import * data = gdal.Open('C:/Temp/myimage.tif',GA_ReadOnly) geoTransform = data.GetGeoTransform() minx = geoTransform[0] maxy = geoTransform[3] maxx = minx + geoTransform[1]*data.RasterXSize miny = maxy + ...


1

I would use a Python snippet to do this via the Python window. The following is adapted from the ESRI help page on data-driven pages: mxd = arcpy.mapping.MapDocument("CURRENT") for page_number in range(1, mxd.dataDrivenPages.pageCount + 1): mxd.dataDrivenPages.currentPageID = page_number print "Exporting page {0} of ...


3

You can export to other formats, however you will have to use python/arcpy module: How to export Data Driven Pages to other formats using ArcMap: You can use a simple arcpy.mapping script to export Data Driven Pages to formats other than PDF. This example shows how to export Data Driven Pages to a series of PNG image files. mxd = ...


2

gdal_translate -of GTiff C:\temp\input\a.img C:\temp\output\a.tif and the batch option GDAL_translate: converting ESRI GRID to Geotiff in batch '-of GTiff' this part is probably not even required as this is the default but will do no harm.


3

From the GDAL formats: JPEG/LZW/PACKBITS/DEFLATE/CCITTRLE/CCITTFAX3/CCITTFAX4 You've done JPEG, LZW, PackBits and Deflate for the byte and multi-byte data types. Fax G4 is still a valid monochrome (1-bit) compression that I encounter from time to time.. mostly though space is not a concern so images are 8bit or more; I don't think I've ever seen a G3 TIFF. ...


1

I like the QGIS answer, that's one way to get GDAL, and probably the least confusing. The question was for ArcGis or ENVI, I can't comment on ENVI but in ArcGis use the Raster to Other Format tool which is available from ArcCatalog by selecting the rasters, right clicking, and selecting Raster to Other Format (multiple) from the popup menu. Select the ...


1

You make no mention of the Coordinate System for your raster data so I suspect that it is different from that used by Google Earth. The Google Earth projection page says: Google Earth uses Simple Cylindrical projection with a WGS84 datum for its imagery base. Use the Properties of your raster dataset(s) to check the coordinate system(s) being used. ...


-1

Install qgis, it uses gdal and the user interface it isn't so different from Esri sw


0

Thanks Michael, basically the same as what you pointed out - I hadn't looked at the full list of gdal tools. I used: gdal_edit -a_nodata 50 which is documented here. (50 is an arbitrary value) This seems to do the trick as long as the raster in question doesn't have valuable data on RGB=50,50,50. Still a bug in qgis but this workaround seems to do the ...


2

You can enforce real nodata on the file using GDAL translate utility, look in your QGIS install location bin\ folder. GDAL_Translate -of GTIFF -a_nodata value InTiff OutTiff Substitute your own value for value. NoData does not have to be the highest or lowest value in the file you can set it to any value. Only one value is supported though so if you have ...



Top 50 recent answers are included