Tag Info

New answers tagged

1

-a_srs just assigns the given SRS into metadata but nothing else. I believe this is what you did already and I don't know any better way for doing it: gdalbuildvrt -a_srs epsg:4326 ortho_4326.vrt ortho-*.tif gdalwarp -of VRT -s_srs epsg:4326 -t_srs epsg:3857 ortho_4326.vrt ortho_3857.vrt. There is one exception, if your final goal is to use VRT as a ...


0

Looking into your file, it has GCP points, and longitude and latitude subdatasets. But unfortuately the image is interrupted, and for the empty pixels, the coordinate values are also set to NODATA -9999. This makes the GCP interpolation impossible. A save way would be to save the subdataset to VRT format and eliminate the GCP with NODATA values, but these ...


2

there's two tasks here extract the geotag info from the EXIF in your photos rendering that info on your geotiff (or over it, as a separate point layer) From the wording, it sounds like you want to render this directly into a geotiff. This is a bit tricky. If you really do want to go down this route you'll probably need to code. I'd recommend the simpler ...


1

Try r.out.gdal. First, at the layer properties, you can see the raster data type of the original raster. Afterward, at the Modules List of next image, you have the parameters used by me for exporting the raster as *.tif. At the next image you can see that the process was successfully finished. The resulting raster (it was as I expected; without the ...


0

So, I succeed to georeference a tif file with GDAL with the use of 4 gcps (ground control points). To do this reprojection, I use gdal in command line. First, use gdal translate like this : gdal_translate -of GTiff -gcp 0 0 -6.848326 45.501053 -gcp 6862 0 -6.490975 45.501503 -gcp 0 1379 -6.762872 45.377363 -gcp 6862 1379 -6.545354 45.382523 ...


3

Use the ASCII to Raster tool. import arcpy arcpy.ASCIIToRaster_conversion("/path/to/file.asc", "/path/to/output.tif", "INTEGER") Note: A GeoTIFF is just a TIFF file with some extra metadata tags, and the only file extension that should be used for TIFFS in ArcGIS is .tif, not .tiff or .geotiff.


1

Openlayers and leaflet usually render tiles in World Mercator EPSG:3857. So you have to reproject your source file into that projection using gdalwarp, then start the tiling.


1

from this topic: QGIS just installed - styles do not work properly I had a similar error with pseudocolor properties on macboook air mid 2011 OS x 10.10.4 This solved my problem: updated matplotlib using terminal reinstalled QGIS 2.8 Wien instead of QGIS 2.10 (http://www.kyngchaos.com/software/qgis)


0

To be short, this effect is due to the fact that the geotiff is stretched to 8 bits before rendering ( I am guessing you are using JPEG as an output format). The easiest thing to do is to apply a contrast stretch upfront to bring the image to 8 bit and then publish to GeoServer. This is also going to be more performant. FYI in GeoServer 2.8 we are going to ...


0

The WGS84 geoid is not a sphere with a constant radius, but rather an ellipsoid. According to https://en.wikipedia.org/wiki/World_Geodetic_System, the ellipsoid has a = 6378137 m and b = 6356752 m. It seems that without OTFR the distance is calculated using the sphere, and with OTFR using the ellipsoid.


0

The wikipedia page for the BUFR format suggests some libraries that can be used to convert the data. (but some of the links seem to be outdated) Perhaps some of those libraries could be used to convert the data to a desired format (or to some other format that can then be converted to Geotiff/others using GDAL/OGR)?


0

It seems to me your question has two parts--1) what do the tags tell you about the coordinate system, and an implied 2) how to extract positional data based on the image's coordinate system. TAGS: L_Holcombe is right, in that the PCS (projected coordinate system) holds an EPSG code for the coordinate system that is supposed to describe the image. I prefer ...


2

Draw the area(s) you want to hide from the image and save as vectors into shapefile or other format if you prefer. Then use the gdal_rasterize utility http://www.gdal.org/gdal_rasterize.html which burns fixed, non-transparent pixels into your image and removes permanently image data below the polygons. Here is an example. The map is a RGB tiff image with ...


0

First of all, you are using a Polygon symbolizer (for vector data) on a GeoTiff (raster data), which won't work. On the raster data, if it is a single channel raster, you GeoTiff will have a value that represents NoData (usually a very large negative value like -9999 - QGIS can tell you what it is). From your pictures, I believe you want NoData to appear ...


0

To convert GeoTIFF to XYZ you can simply use: gdal_translate -of XYZ geotiff.tif geotiffas.xyz From python for all tif files in the directory: def main(my_path): import os import subprocess # What/Where to load and save source_directory = my_path target_directory = my_path # Create dir for processed files if not ...



Top 50 recent answers are included