Tag Info

New answers tagged

0

The format looks like AAIGrid, see How can I convert a ascii file to geotiff using Python? for an example. You can use gdal_translate to convert it to geotiff: gdal_translate -of "GTiff" fname.asc outname.tif The file extension .asc is important to tell gdal which format to use. Or use the python code from the linked question.


0

I believe that I have found an adequate solution that meets all of my requirements. Thanks to user30184's answer, which pointed me in the direction of ImageIO, I was able to find an alternative Java imaging library called Apache Commons Imaging. It is a pure-Java library that consists of a single small JAR file. It also supports both reading and writing of ...


1

Install OpenJUMP and study what all has been gathered into it I have never really understood what all the alternatives are. ImageIO-ext is probably utilising native GDAL binaries if such are available but at least most other alternatives are pure java. There is also one more alternative in OpenJUMP called "Sextante raster" which is also pure java. ...


0

I am having the same problem with extract in the latest two versions of R (3.1.1 and prior) on a Mac. I don't even have a function in my extract call: v<-extract(r,p, df=TRUE, cellnumbers=TRUE, small=TRUE, sp=FALSE) Warning message:In .local(x, y, ...) : argument df=TRUE is ignored if fun=NULL I get a list back despite my best efforts, but I ...


2

I am fairly sure that the error is associated with the FUN argument. R is case sensitive and the argument in extract is lowercase "fun". To understand how this works I would break down the components of the analysis rather than letting the extract function do all the heavy lifting. Understanding the specific components, in particular the resulting list ...


1

Under Settings -> Options, CRS tab, enable Prompt for CRS for new layers. Then you will be asked explicitely for the CRS, which should be the same as you georeferenced to in Arcgis. You might get a datum shift of up to 100m, as this is not stored by Arcgis. But QGIS has bundled the shift with the common projection definitions.


2

If you don't know the extent in coordinates of the prj file, you have to georeference the file manually using ground control points. This is rather comfortable if you have QGIS installed, and you can guess some details from the image. In some cases, you can build the extent manually if the filename follows a certain rule, like the one-degree-SRTM files do. ...


0

i worked on SRTMGeoTIFFReader and this is what i give All i want is the coordinate of 4 corner of my geotiff pic like this : Corner Coordinates: Upper Left ( 69.7357061, 29.87658367) Lower Left ( 69.7357061, 28.19226367) Upper Right ( 86.6125061, 29.87658367) Lower Right ( 86.6125061, 28.19226367) Center ( 781741.061, 2903442.367) have you any ...


2

Here is the source to the underlying Java library, prj2epsg, used behind the scenes on the webpage you list. Basically, it uses a Lucene index to get the best match between the WKT in your prj file and an underlying EPSG. As AndreJ has already said, this may not be 100% perfect, but Lucene excels at partial/fuzzy matching. gdalsrsinfo might be easier to get ...


2

There is no such tool working 100% perfectly, because there are many EPSG codes that share the same projection parameters. You can run gdalsrsinfo on any Geotiff or shapefile .prj file to get the proj string out of the definition. For some intelligent ways of guessing, follow the answers given here: Identifying Coordinate System of Shapefile when Unknown? ...


2

It's highly inefficient to merge mosaic using gdal merge. Instead, make a VRT (Virtual Dataset) and convert it to your favourite format.


0

thank you for your attention, i am newbie with geotiff and i'm sorry about my questions, i cant install php-gdal,and cant work with that , i think this plug in is for linux OS , but i worked on SRTMGeoTIFFReader and this is what i give i just want the coordinate of 4 corner of my geotiff pic like this : Corner Coordinates: Upper Left ( 69.7357061, ...


0

there is a php extension called php-gdal I found some install instructions: https://www.drupal.org/node/2133103 the main site: https://github.com/geonef/php5-gdal helpful? http://dl.maptools.org/dl/php_ogr/php_ogr_documentation.html I looked at scruss' suggestion: ( How to read GeoTIFF using PHP? ) and downloaded the code to take a look at. I'm not ...


2

Use listgeo http://www.remotesensing.org/geotiff/listgeo.html for saving the georeferencing info into a file and write it back to edited file with geotifcp http://www.remotesensing.org/geotiff/geotifcp.html.


0

This function 'ENVI_OUTPUT_TO_EXTERNAL_FORMAT' can solve your work if you have the license. The help can be found in http://www.exelisvis.com/docs/ENVI_OUTPUT_TO_EXTERNAL_FORMAT.html


1

As Andre mentioned in GRASS your LOCATION coordinate system must match the coordinate system of the data being input. You can create a new LOCATION when you input the original tiff file by using the location= parameter. For example: r.in.gdal input=E:\cdnh43e_v1.1r1.tif output=cdnh43e_v1 location=LCC Now run: g.region raster=cdnh43e_v1 to set your ...


2

In GRASS, location and dataset should share the same projection. On-the-fly-reprojection is only available in advanced GIS packages like QGIS or Arcgis. To change the projection, use gdalwarp to a different filename outside of GRASS.


1

GDAL solution. This is the base code. gdal_translate -of GTiff input.envi output.tif Here is the stack exchange answer to do all files in a folder. loop GDAL translate and here is the stack overflow solution. loop gdal translate



Top 50 recent answers are included