New answers tagged

2

I found the solution (maybe this will help someone), I have to write the Spatial reference into the CRS variable, then netcdf can recognize all projection info which is defined. crso.spatial_ref = str(srs) str(srs) gives me: crs#spatial_ref=PROJCS["Azimuthal_Equidistant", GEOGCS["WGS 84", DATUM["WGS_1984", SPHEROID["WGS ...


3

Ciao, an observation on number VS size of files. Opening more than 10 to 20 file to respond to a request would hinder scalability of WMS and WCS. On the other side having Geotiff that are too large (hard to say but >> 20gb as a start) would make the internal structure too big for fast serving. As such you need to balance size and # of files to read on each ...


2

Based on the advice in "GeoServer on Steroids" I would aim for a mosaic of GeoTiffs. Page 8 clearly states to choose a mosaic when: A single file gets too big (inefficient seeks, too much metadata to read, etc..) Single granules can be large Use Tiling + Overviews + Compression on granules but suggests moving to pyramids when ...


3

The GDAL section of the Options from the Settings menu will tell you which raster file formats GDAL in your QGIS can load. I can't find a corresponding list for OGR (vector) drivers, but the popup on the "Load Vector Layer" probably has all the file-based ones:


1

I had the same problem in the new 64-bit environment. It is just a matter of changing the color style in the raster tab from pseudo to RGB. Trust that they have a similar setting in the 32-bit environment.


2

Your values aren't in 0,255 since they are UInt16. You can try rescaling to 0,255 (GDAL works it out by default from input min/max and output default 0,255): gdal_translate -b 1 -b 2 -b 3 -mask "none" "input.tif" "output.tif" -scale Note you can add params if the defaults aren't sensible: -scale [src_min src_max [dst_min dst_max]] ...


2

I'm still a little unclear on what you are trying to do but if all you need is to simply reproject the native bounds to WGS84 (as GeoServer does) then the following code will work for you: String wkt = "PROJCS[\"unnamed\"," + " GEOGCS[\"WGS 84\"," + " DATUM[\"WGS_1984\"," + " SPHEROID[\"WGS ...


1

Solved: I must use the source CRS from the GDALINFO output, since it is a custom reference. And the Target CRS is the EPSG4326. And then: DirectPosition dpLc = env.getLowerCorner(); DirectPosition dpUc = env.getUpperCorner(); DirectPosition destLc = new DirectPosition2D(); DirectPosition destUc = new DirectPosition2D(); MathTransform transform = ...


0

I was having the same issue with the package installed following the Kyngchaos website. I installed GIS 2.8 via Homebrew following this tutorial and now I'm able to import GeoTiff files. Summary of the installation process: brew install postgresql brew install python export PYTHONPATH=/usr/local/lib/python2.7/site-packages:$PYTHONPATH pip install numpy ...


1

You have Georeferenced images that you want to Rectify. There doesn't seem to be a command line Tool that mimics the one on the Georeferencing Toolbar, Rectify. I found a script, by Rob, that reads the control Points from the .tif.aux.xml file and passes this info to the Warp command, outputing a warped image. Please see the script at the end of this post, ...


0

The answer to the question is there's no need to convert the data to a bitmap format at run time. You can pass the data obtained by the RasterIO function to your opencv functions. This question is for when I worked in a company as an apprentice. The time when I didn't know anything about GDAL. So I've asked the question generally and it did not receive much ...


1

ArcGIS supports a number of methods to georeference an image. IMHO its a matter of taste, what methods are associated with georeferencing, and what with "undoing" projection or distortion. The simplest of them, the affine or 1st Order Polynomial supports translation, rotation, and scaling. This one is parameterized by the numbers saved in a "world file", ...



Top 50 recent answers are included