Tag Info

New answers tagged

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 ...


1

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


2

If the min value is consistent - like a no data value, you might be able to use the snodata option and specify the value you want ignore. As listed in the doc for gdal_contour


2

gdal_Calc.py can do that, a reclass Something like.. gdal_calc.py -A filename.tiff --outfile=filename.tiff --calc="A*(A>3)" --NoDataValue=0 --calc="1*(A<3) See this one gdal_calc.py raster reclass equivalent of ArcGIS reclass or r.reclass in grass


0

"Georeferencing from GeoTIFF is supported in the form of one tiepoint and pixel size, a transformation matrix, or a list of GCPs." http://gdal.org/frmt_gtiff.html The 6 value transform will be the usual way for most simple cases, the other crucial part is the CRS. Still, TIFF and GeoTIFF are quite complex containers so this is a big simplification. This ...



Top 50 recent answers are included