Re: [Qgis-user] Image rendering in QGis
Hi Helen, QGIS up to version 1.8 cannot do resampling other than Nearest Neighbour, which results in terrible display quality, esp. if you zoom out. Zooming in should improve the image until you reach the native resolution. From version 1.9 (or 2.0) - to be probably released in early 2013, there are other image resampling methods like average, bilinear and cublic - which improves the image display quality considerably. You can set the resampling method separately for zooming above and beyond the native resolution. Unfortunately you will have to wait for approx. half a year until this version is released. There are two possible options for you: * Use QGIS 1.9 (nightly build) by installing it through the OSGeo4W installer or * Use a WMS (such as UMN Mapserver) to render the image and embed it through WMS Hope this helps, Andreas On Thu, 23 Aug 2012 16:46:38 +1200, Helen Widdicombe wrote: Hello everyone, I was given an image and a set of coordinates that should be displayed on the image. I have georeferenced the image OK, but when I load it into QGis, whether it is georeferenced or not, it is pixelated and looks terrible. Is there a setting I can change to smooth it out a bit? I asked my client for her original image, so hopefully I have not been sent a resampled copy. Maybe I was. Is there any way I can smooth it? Helen kali...@paradise.net.nz -- -- Andreas Neumann Böschacherstrasse 10A 8624 Grüt (Gossau ZH) Switzerland ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] KML Error when opening in QGIS
Am 23.08.12 09:17, schrieb WRoberts: Hi All, I have been opening and working with kml data in qgis for sometime and have had very few issues. Unfortunately I seem to have run into a problem with a file sent to from a colleague in the field. The kml in questions opens in GE no problem and even has a time feature whereby the start and end time is shown and the user can move the slider to see how and where the device was. Nice feature but I think it is introducing an error when attempting to open in QGIS. The kml is a track of a road and was collected using an android app called GPS essentials. The qgis error states *.kml is not a valid or recognized data source. ogrinfo returns :~$ ogr2ogr -f 'ESRI Shapefile' output.shp Track-082212_83453.kml ERROR 4: No layers in KML file: Track-082212_83453.kml. FAILURE: Unable to open datasource `Track-082212_83453.kml' with the following drivers. When I open the kml in gedit I get an xml type structure. What kind of data is stored in the kml? We recently had an issue that it may not contain points *and* lines together. Ogr2ogr expects either points, lines, or polygons, but not all together. Maybe your time data is notr recognized by teh ogr driver as well. Perhaps you can convert it to GPX format with gpsbabel. The gpx importer in Qgis allows data with timestamp. HTH, André Joost ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] QGIS1.8 on WIndows 7: QtCore
Hi, installing Q1.8 on a 64bit Windows 7 resulted in a new entry point / QtCore4.dll error. Is there a documented workaround to solve this ? The wroclaw-version sued to run happily on the affected Windows system :-/ Peter -- Dr. Peter Löwe peter.lo...@gmx.de ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] QGIS1.8 on WIndows 7: QtCore
On Thu, 2012-08-23 at 09:57 +0200, Peter Löwe wrote: Hi, installing Q1.8 on a 64bit Windows 7 resulted in a new entry point / QtCore4.dll error. Is there a documented workaround to solve this ? The wroclaw-version sued to run happily on the affected Windows system :-/ look for another copy of the same library in your system, especially in folders like system32. If you find anyone then rename it and you should be fine (obviously the evil program that installed the dll in that folder will stop to work). cheers -- Giovanni -- ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] Slow rendering of vrt
Hello all: I have a batch of over 100 raster tiles in ecw format. Each is 50 - 100 MB in size. When I choose 20 or so files to load they appear (render) very quickly - in a matter of a few seconds or less. If I create a vrt of that same batch of tiles, it takes a long time to first render - upwards of 15 - 30 seconds. Once the vrt is loaded response is excellent (zooming, etc). But that initial delay is a bit annoying. Anything I can do to improve it? (QGIS 1.8, Win 7 64 bit) Many thanks, Micha -- Micha Silver 052-3665918 ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] QGIS1.8 on WIndows 7: QtCore
Giovanni, there were actually five copies lurking in the system. Q works now like a charm. You made my day! Thanks, Peter Original-Nachricht Datum: Thu, 23 Aug 2012 09:11:37 +0100 Von: Giovanni Manghi giovanni.man...@faunalia.pt An: \\Peter Löwe peter.lo...@gmx.de CC: qgis-user@lists.osgeo.org Betreff: Re: [Qgis-user] QGIS1.8 on WIndows 7: QtCore On Thu, 2012-08-23 at 09:57 +0200, Peter Löwe wrote: Hi, installing Q1.8 on a 64bit Windows 7 resulted in a new entry point / QtCore4.dll error. Is there a documented workaround to solve this ? The wroclaw-version sued to run happily on the affected Windows system :-/ look for another copy of the same library in your system, especially in folders like system32. If you find anyone then rename it and you should be fine (obviously the evil program that installed the dll in that folder will stop to work). cheers -- Giovanni -- -- Dr. Peter Löwe peter.lo...@gmx.de ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Slow rendering of vrt
http://trac.osgeo.org/gdal/wiki/CatalogueForQIS it would be very nice to have this added as tool directly in QGIS... cheers -- Giovanni -- On Thu, 2012-08-23 at 11:27 +0300, Micha Silver wrote: Hello all: I have a batch of over 100 raster tiles in ecw format. Each is 50 - 100 MB in size. When I choose 20 or so files to load they appear (render) very quickly - in a matter of a few seconds or less. If I create a vrt of that same batch of tiles, it takes a long time to first render - upwards of 15 - 30 seconds. Once the vrt is loaded response is excellent (zooming, etc). But that initial delay is a bit annoying. Anything I can do to improve it? (QGIS 1.8, Win 7 64 bit) Many thanks, Micha -- Micha Silver 052-3665918 ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] GDI Kurse der Sourcepole AG Herbst 2012
Hi Please excuse the german language, but this posting is dicected to the german speaking QGIS Community All the best Horst -- Hallo zusammen Sourcepole bietet Grundlagen- und Aufbau-Kurse für den Betrieb von Geodaten-Infrastrukturen auf der Basis von PostgreSQL/PostGIS und Quantum GIS an. Das Kursangebot richtet sich sowohl an Einsteiger in die Thematik, als auch an Umsteiger. Informieren Sie sich über die Möglichkeiten GDI auf der Basis von FOSSGIS auf zu bauen. Nutzen Sie die Chance, direkt von den QGIS-Entwicklern, kompetente Weiterbildung zu geniessen. Detaillierte Informationen zu den Kursen, die im Herbst 2012 stattfinden, entnehmen Sie bitte dem Kursprogramm [1]. Die Anmeldung ist ab sofort online möglich. Wir freuen uns darauf Sie in Zürich begrüssen zu dürfen. Freundliche Grüsse Horst Düster [1] http://www.sourcepole.ch/kurse -- Freundliche Grüsse / Kind regards Dr. Horst Düster Managing Director Sourcepole AG - Linux Open Source Solutions Weberstrasse 5, 8004 Zürich, Switzerland Tel: +41 (0)44 440 77 11 Direkt: +41 (0)44 515 67 70 horst.dues...@sourcepole.ch http://www.sourcepole.ch www.sourcepole.ch/kurse - Das Kursangebot Herbst 2012 ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] simulation/prediction of acoustic noise in QGIS ?
Hi, I am looking for a QGIS module/plugin to predict noise maps based on distributed acoustic sources. There used to be a related GRASS5 module (r.noise) which is not around anymore, unfortunately. Are there any studies on such a subject done with QGIS ? Peter -- Dr. Peter Löwe peter.lo...@gmx.de ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Slow rendering of vrt
On 23/08/2012 11:33, Giovanni Manghi wrote: http://trac.osgeo.org/gdal/wiki/CatalogueForQIS Magic! Many thanks, and also to Andrea Peri for posting the python code. In windows I had to run it as: python computestats.py -approx filename.vrt it would be very nice to have this added as tool directly in QGIS... cheers -- Giovanni -- On Thu, 2012-08-23 at 11:27 +0300, Micha Silver wrote: Hello all: I have a batch of over 100 raster tiles in ecw format. Each is 50 - 100 MB in size. When I choose 20 or so files to load they appear (render) very quickly - in a matter of a few seconds or less. If I create a vrt of that same batch of tiles, it takes a long time to first render - upwards of 15 - 30 seconds. Once the vrt is loaded response is excellent (zooming, etc). But that initial delay is a bit annoying. Anything I can do to improve it? (QGIS 1.8, Win 7 64 bit) Many thanks, Micha -- Micha Silver 052-3665918 ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user This mail was received via Mail-SeCure System. -- Micha Silver 052-3665918 ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] loading Web Map Tile Service in QGIS
Hi, I'm trying to load MODIS Web Map Tile Service [0] in QGIS. Using the TWMS version 1.1.1 spec, it can read the capabilities request via the Add WMS Layer dialog. But I can't get any layer loaded, I get this error: Response: ?xml version='1.0' encoding=UTF-8 standalone=no ? !DOCTYPE ServiceExceptionReport SYSTEM http://wms.jpl.nasa.gov/exception_1_1_1.dtd ServiceExceptionReport version=1.1.1 ServiceException Cannot read data files /ServiceException /ServiceExceptionReport [0] http://earthdata.nasa.gov/wiki/main/index.php/Global_Imagery_Browse_Services [1] http://earthdata.nasa.gov/wiki/main/index.php/GIBS_Access_Methods#Service_Endpoints -- cheers, maning -- Freedom is still the most radical idea of all -N.Branden wiki: http://esambale.wikispaces.com/ blog: http://epsg4253.wordpress.com/ -- ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] DB Manager errors loadin shapefile to PostGIS
I'm obtaining the following errors when I try to load (dragdrop) a shapefile do PostGIS. I'm running PostGIS 1.5 on Postgresql 9.1. QGis 1.9 on Windows 7 64bit. The first error (ERROR1) I've supposed was an encoding issue and float overflow due to the coordinate fields in the DBF. The DB encoding is UTF-8. The error happens whichever encoding I choose. ERROR1 Error 7 Feature write errors: Creation error for features from #0 to #0. Provider errors was: PostGIS error while adding features: ERROR: numeric field overflow DETAIL: A field with precision 19, scale 11 must round to an absolute value less than 10^8. Only 0 of 20 features written I've opened the DBF with LibOffice to change encoding and format cells to lesser decimals. Now I get ERROR2. Considera that I don't have any reg2011 table on the DB when this happens. ERROR2 Error 7 Feature write errors: Creation error for features from #0 to #0. Provider errors was: PostGIS error while adding features: ERROR: new row for relation reg2011 violates check constraint enforce_geotype_geom Only 0 of 20 features written. The link to the original test shapefile is [1] giovanni [1] http://www.istat.it/it/files/2011/04/reg2011.zip ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] DB Manager errors loadin shapefile to PostGIS
I've just tried to load the corrected version (ERROR2) with shp2pgsql and it works fine. giovanni 2012/8/23 G. Allegri gioha...@gmail.com I'm obtaining the following errors when I try to load (dragdrop) a shapefile do PostGIS. I'm running PostGIS 1.5 on Postgresql 9.1. QGis 1.9 on Windows 7 64bit. The first error (ERROR1) I've supposed was an encoding issue and float overflow due to the coordinate fields in the DBF. The DB encoding is UTF-8. The error happens whichever encoding I choose. ERROR1 Error 7 Feature write errors: Creation error for features from #0 to #0. Provider errors was: PostGIS error while adding features: ERROR: numeric field overflow DETAIL: A field with precision 19, scale 11 must round to an absolute value less than 10^8. Only 0 of 20 features written I've opened the DBF with LibOffice to change encoding and format cells to lesser decimals. Now I get ERROR2. Considera that I don't have any reg2011 table on the DB when this happens. ERROR2 Error 7 Feature write errors: Creation error for features from #0 to #0. Provider errors was: PostGIS error while adding features: ERROR: new row for relation reg2011 violates check constraint enforce_geotype_geom Only 0 of 20 features written. The link to the original test shapefile is [1] giovanni [1] http://www.istat.it/it/files/2011/04/reg2011.zip ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Slow rendering of vrt
It would be nice to have this bultin to gdalbuildvrt (as an optin of course) - could the authors make a patch? Regards, Etienne On Thu, Aug 23, 2012 at 7:34 AM, Micha Silver mi...@arava.co.il wrote: On 23/08/2012 11:33, Giovanni Manghi wrote: http://trac.osgeo.org/gdal/wiki/CatalogueForQIS Magic! Many thanks, and also to Andrea Peri for posting the python code. In windows I had to run it as: python computestats.py -approx filename.vrt it would be very nice to have this added as tool directly in QGIS... cheers -- Giovanni -- On Thu, 2012-08-23 at 11:27 +0300, Micha Silver wrote: Hello all: I have a batch of over 100 raster tiles in ecw format. Each is 50 - 100 MB in size. When I choose 20 or so files to load they appear (render) very quickly - in a matter of a few seconds or less. If I create a vrt of that same batch of tiles, it takes a long time to first render - upwards of 15 - 30 seconds. Once the vrt is loaded response is excellent (zooming, etc). But that initial delay is a bit annoying. Anything I can do to improve it? (QGIS 1.8, Win 7 64 bit) Many thanks, Micha -- Micha Silver 052-3665918 ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user This mail was received via Mail-SeCure System. -- Micha Silver 052-3665918 ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Slow rendering of vrt
Selon Etienne Tourigny etourigny@gmail.com: It would be nice to have this bultin to gdalbuildvrt (as an optin of course) - could the authors make a patch? For a *byte* data type, which must be the common case, why wouldn't QGIS just use min=0 and max=255 when statistics are not computed ? Regards, Etienne On Thu, Aug 23, 2012 at 7:34 AM, Micha Silver mi...@arava.co.il wrote: On 23/08/2012 11:33, Giovanni Manghi wrote: http://trac.osgeo.org/gdal/wiki/CatalogueForQIS Magic! Many thanks, and also to Andrea Peri for posting the python code. In windows I had to run it as: python computestats.py -approx filename.vrt it would be very nice to have this added as tool directly in QGIS... cheers -- Giovanni -- On Thu, 2012-08-23 at 11:27 +0300, Micha Silver wrote: Hello all: I have a batch of over 100 raster tiles in ecw format. Each is 50 - 100 MB in size. When I choose 20 or so files to load they appear (render) very quickly - in a matter of a few seconds or less. If I create a vrt of that same batch of tiles, it takes a long time to first render - upwards of 15 - 30 seconds. Once the vrt is loaded response is excellent (zooming, etc). But that initial delay is a bit annoying. Anything I can do to improve it? (QGIS 1.8, Win 7 64 bit) Many thanks, Micha -- Micha Silver 052-3665918 ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user This mail was received via Mail-SeCure System. -- Micha Silver 052-3665918 ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] Settings for Attribute table in print composer not saved correctly?
I have inserted an attribute table in the print composer and set Maximum rows to 14 to display all 14 features in my shape file. And it works fine. But next time I open the project Maximum rows is displaying 13 and I am missing one of my features in the table? The problem seems to be related to setting maximum rows equal the number of features: If I set it to 10, saves and reopens it still says 10. Perhaps some coding restricting no of rows to be less or equal to number of features is wrong? - Regards Morten Qgis 1.8.0 Stand alone installer in Win7 64 bit -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Settings-for-Attribute-table-in-print-composer-not-saved-correctly-tp4997384.html Sent from the Quantum GIS - User mailing list archive at Nabble.com. ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Slow rendering of vrt
On Thu, Aug 23, 2012 at 11:00 AM, Even Rouault even.roua...@mines-paris.org wrote: Selon Etienne Tourigny etourigny@gmail.com: It would be nice to have this bultin to gdalbuildvrt (as an optin of course) - could the authors make a patch? For a *byte* data type, which must be the common case, why wouldn't QGIS just use min=0 and max=255 when statistics are not computed ? good question. Unless I am mistaken, min/max are set to 0/255 by default, unless QgsRasterDataProvider::bandStatistics() or QgsRasterLayer::bandStatistics() is called - which is probably what happens. I don't understand what is the problem, does the VRT load slowly initially, or is getting statistics rather slow? On the other hand, wouldn't a simple gdalinfo -stats file.vrt achieve the same as the linked python script, but easier to run? Etienne Regards, Etienne On Thu, Aug 23, 2012 at 7:34 AM, Micha Silver mi...@arava.co.il wrote: On 23/08/2012 11:33, Giovanni Manghi wrote: http://trac.osgeo.org/gdal/wiki/CatalogueForQIS Magic! Many thanks, and also to Andrea Peri for posting the python code. In windows I had to run it as: python computestats.py -approx filename.vrt it would be very nice to have this added as tool directly in QGIS... cheers -- Giovanni -- On Thu, 2012-08-23 at 11:27 +0300, Micha Silver wrote: Hello all: I have a batch of over 100 raster tiles in ecw format. Each is 50 - 100 MB in size. When I choose 20 or so files to load they appear (render) very quickly - in a matter of a few seconds or less. If I create a vrt of that same batch of tiles, it takes a long time to first render - upwards of 15 - 30 seconds. Once the vrt is loaded response is excellent (zooming, etc). But that initial delay is a bit annoying. Anything I can do to improve it? (QGIS 1.8, Win 7 64 bit) Many thanks, Micha -- Micha Silver 052-3665918 ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user This mail was received via Mail-SeCure System. -- Micha Silver 052-3665918 ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] After Qgis installation - GRASS6.4 doesn't start anymore
You should probably not be installing grass in /usr, this cause conflicts with packages installed though the package manager. Why are you building grass anyway? The packaged version should run fine. I recommend you use the ubuntugis-unstable ppa to install qgis, grass and qgis-grass. BTW the correct way to uninstall is sudo apt-get remove qgis - autoremove deletes unnecessary packages Etienne On Thu, Aug 23, 2012 at 8:16 AM, Johannes Radinger johannesradin...@gmail.com wrote: Hi, I successfully compiled and installed GRASS6.4 with make -j2 sudo checkinstall sudo ldconfig which is usually working perfectly. But after installing QGIS I can't start GRASS6.4 itself anymore. I try to launch it from the Terminal like: x@y:~$ grass64 Cleaning up temporary files ... Starting GRASS ... python: can't open file '/usr/lib/grass64/etc/wxpython/gis_set.py': [Errno 2] No such file or directory Received EXIT message from GUI. GRASS is not started. Bye. it seems that the QGIS installation somehow overwrites some settings/files that are needed for starting a pure GRASS session (with GUI). I am working on Ubuntu 12.04 and QGIS 1.8 is installed via the instructions from qgis.org: following lines were added to /etc/apt/sources.list: deb http://qgis.org/debian precise main deb-src http://qgis.org/debian precise main the installation itself was done with: sudo apt-get update sudo apt-get install qgis After uninstalling qgis with sudo apt-get autoremove qgis grass64 can be started again without any problems. Maybe this is a known issue, but are there any solutions? /johannes ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Slow rendering of vrt
Il 23/08/2012 10:33, Giovanni Manghi ha scritto: http://trac.osgeo.org/gdal/wiki/CatalogueForQIS it would be very nice to have this added as tool directly in QGIS... not a big job, sponsors are welcome -- Paolo Cavallini - Faunalia www.faunalia.eu Full contact details at www.faunalia.eu/pc Nuovi corsi QGIS e PostGIS: http://www.faunalia.it/calendario ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Slow rendering of vrt
On Thu, Aug 23, 2012 at 5:57 PM, Etienne Tourigny etourigny@gmail.com wrote: On Thu, Aug 23, 2012 at 11:00 AM, Even Rouault even.roua...@mines-paris.org wrote: It would be nice to have this bultin to gdalbuildvrt (as an optin of course) - could the authors make a patch? For a *byte* data type, which must be the common case, why wouldn't QGIS just use min=0 and max=255 when statistics are not computed ? good question. Unless I am mistaken, min/max are set to 0/255 by default, unless QgsRasterDataProvider::bandStatistics() or QgsRasterLayer::bandStatistics() is called - which is probably what happens. Default contrast enhancement in current master (may be changed in Options Rendering Rasters): Single band gray: Stretch to min / max Multiband color (byte/band): No stretch Multiband color (byte/band): Stretch to min / max Limits (min/max): Cumulative count cut. The min/max are calculated using 25 pixels sample, which should be fast. It would be useful to test the VRT without stats collected with current master. It would be possible to add another default contrast enhancement for Single band gray byte, but I believe that if the whole raster can be rendered in reasonable time, the min/max calculation must be also fast and contrast enhancement may be important even with byte data. Radim I don't understand what is the problem, does the VRT load slowly initially, or is getting statistics rather slow? On the other hand, wouldn't a simple gdalinfo -stats file.vrt achieve the same as the linked python script, but easier to run? Etienne Regards, Etienne On Thu, Aug 23, 2012 at 7:34 AM, Micha Silver mi...@arava.co.il wrote: On 23/08/2012 11:33, Giovanni Manghi wrote: http://trac.osgeo.org/gdal/wiki/CatalogueForQIS Magic! Many thanks, and also to Andrea Peri for posting the python code. In windows I had to run it as: python computestats.py -approx filename.vrt it would be very nice to have this added as tool directly in QGIS... cheers -- Giovanni -- On Thu, 2012-08-23 at 11:27 +0300, Micha Silver wrote: Hello all: I have a batch of over 100 raster tiles in ecw format. Each is 50 - 100 MB in size. When I choose 20 or so files to load they appear (render) very quickly - in a matter of a few seconds or less. If I create a vrt of that same batch of tiles, it takes a long time to first render - upwards of 15 - 30 seconds. Once the vrt is loaded response is excellent (zooming, etc). But that initial delay is a bit annoying. Anything I can do to improve it? (QGIS 1.8, Win 7 64 bit) Many thanks, Micha -- Micha Silver 052-3665918 ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user This mail was received via Mail-SeCure System. -- Micha Silver 052-3665918 ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Slow rendering of vrt
Author was experiencing this in 1.8, it would be nice if someone (ideally the author) could test the same with nightly master (1.9). Etienne On Thu, Aug 23, 2012 at 2:27 PM, Radim Blazek radim.bla...@gmail.com wrote: On Thu, Aug 23, 2012 at 5:57 PM, Etienne Tourigny etourigny@gmail.com wrote: On Thu, Aug 23, 2012 at 11:00 AM, Even Rouault even.roua...@mines-paris.org wrote: It would be nice to have this bultin to gdalbuildvrt (as an optin of course) - could the authors make a patch? For a *byte* data type, which must be the common case, why wouldn't QGIS just use min=0 and max=255 when statistics are not computed ? good question. Unless I am mistaken, min/max are set to 0/255 by default, unless QgsRasterDataProvider::bandStatistics() or QgsRasterLayer::bandStatistics() is called - which is probably what happens. Default contrast enhancement in current master (may be changed in Options Rendering Rasters): Single band gray: Stretch to min / max Multiband color (byte/band): No stretch Multiband color (byte/band): Stretch to min / max Limits (min/max): Cumulative count cut. The min/max are calculated using 25 pixels sample, which should be fast. It would be useful to test the VRT without stats collected with current master. It would be possible to add another default contrast enhancement for Single band gray byte, but I believe that if the whole raster can be rendered in reasonable time, the min/max calculation must be also fast and contrast enhancement may be important even with byte data. Radim I don't understand what is the problem, does the VRT load slowly initially, or is getting statistics rather slow? On the other hand, wouldn't a simple gdalinfo -stats file.vrt achieve the same as the linked python script, but easier to run? Etienne Regards, Etienne On Thu, Aug 23, 2012 at 7:34 AM, Micha Silver mi...@arava.co.il wrote: On 23/08/2012 11:33, Giovanni Manghi wrote: http://trac.osgeo.org/gdal/wiki/CatalogueForQIS Magic! Many thanks, and also to Andrea Peri for posting the python code. In windows I had to run it as: python computestats.py -approx filename.vrt it would be very nice to have this added as tool directly in QGIS... cheers -- Giovanni -- On Thu, 2012-08-23 at 11:27 +0300, Micha Silver wrote: Hello all: I have a batch of over 100 raster tiles in ecw format. Each is 50 - 100 MB in size. When I choose 20 or so files to load they appear (render) very quickly - in a matter of a few seconds or less. If I create a vrt of that same batch of tiles, it takes a long time to first render - upwards of 15 - 30 seconds. Once the vrt is loaded response is excellent (zooming, etc). But that initial delay is a bit annoying. Anything I can do to improve it? (QGIS 1.8, Win 7 64 bit) Many thanks, Micha -- Micha Silver 052-3665918 ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user This mail was received via Mail-SeCure System. -- Micha Silver 052-3665918 ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] loading Web Map Tile Service in QGIS
... and WPS. 2012/8/23 Yves Jacolin (free) yjaco...@free.fr Hello, I am not sure that QGIS support TMS service. Only WFS, WMS, WMS-C and WMTS services. Regards, Y. Le 23/08/2012 12:47, maning sambale a écrit : Hi, I'm trying to load MODIS Web Map Tile Service [0] in QGIS. Using the TWMS version 1.1.1 spec, it can read the capabilities request via the Add WMS Layer dialog. But I can't get any layer loaded, I get this error: Response: ?xml version='1.0' encoding=UTF-8 standalone=no ? !DOCTYPE ServiceExceptionReport SYSTEM http://wms.jpl.nasa.gov/**exception_1_1_1.dtdhttp://wms.jpl.nasa.gov/exception_1_1_1.dtd ServiceExceptionReport version=1.1.1 ServiceException Cannot read data files /ServiceException /ServiceExceptionReport [0] http://earthdata.nasa.gov/**wiki/main/index.php/Global_** Imagery_Browse_Serviceshttp://earthdata.nasa.gov/wiki/main/index.php/Global_Imagery_Browse_Services [1] http://earthdata.nasa.gov/**wiki/main/index.php/GIBS_** Access_Methods#Service_**Endpointshttp://earthdata.nasa.gov/wiki/main/index.php/GIBS_Access_Methods#Service_Endpoints -- Yves Jacolin __**_ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/**mailman/listinfo/qgis-userhttp://lists.osgeo.org/mailman/listinfo/qgis-user -- --- |\__ (:__)( |/ Soluciones Geoinformáticas Libres http://geotux.tuxfamily.org/ http://twitter.com/GeoTux2 ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Slow rendering of vrt
Hi Etienne, On Aug 23, 2012, at 5:57 PM, Etienne Tourigny etourigny@gmail.com wrote: On the other hand, wouldn't a simple gdalinfo -stats file.vrt achieve the same as the linked python script, but easier to run? the python script calculates approximated stats, so it works like gdalinfo -approx_stats file.vrt The problem was the -approx_stats option is not present in the documentation (either help online or using --help), then I wrote that few-lines script to achieve the task. Only now I'm looking at the gdalinfo.c code on the repo I know it's there since Jan 2007 (r10658)... BTW a ticket is needed to update the doc. On Thu, Aug 23, 2012 at 7:39 PM, Etienne Tourigny etourigny@gmail.com wrote: it would be nice if someone (ideally the author) could test the same with nightly master (1.9). +1, but I hope you're talking about the wiki page author :) I cannot do any test because I have no VRT files so big. Micha, could you try with QGis master and report here, please? Regards. Etienne On Thu, Aug 23, 2012 at 2:27 PM, Radim Blazek radim.bla...@gmail.com wrote: On Thu, Aug 23, 2012 at 5:57 PM, Etienne Tourigny etourigny@gmail.com wrote: On Thu, Aug 23, 2012 at 11:00 AM, Even Rouault even.roua...@mines-paris.org wrote: It would be nice to have this bultin to gdalbuildvrt (as an optin of course) - could the authors make a patch? For a *byte* data type, which must be the common case, why wouldn't QGIS just use min=0 and max=255 when statistics are not computed ? good question. Unless I am mistaken, min/max are set to 0/255 by default, unless QgsRasterDataProvider::bandStatistics() or QgsRasterLayer::bandStatistics() is called - which is probably what happens. Default contrast enhancement in current master (may be changed in Options Rendering Rasters): Single band gray: Stretch to min / max Multiband color (byte/band): No stretch Multiband color (byte/band): Stretch to min / max Limits (min/max): Cumulative count cut. The min/max are calculated using 25 pixels sample, which should be fast. It would be useful to test the VRT without stats collected with current master. It would be possible to add another default contrast enhancement for Single band gray byte, but I believe that if the whole raster can be rendered in reasonable time, the min/max calculation must be also fast and contrast enhancement may be important even with byte data. Radim I don't understand what is the problem, does the VRT load slowly initially, or is getting statistics rather slow? On the other hand, wouldn't a simple gdalinfo -stats file.vrt achieve the same as the linked python script, but easier to run? Etienne Regards, Etienne On Thu, Aug 23, 2012 at 7:34 AM, Micha Silver mi...@arava.co.il wrote: On 23/08/2012 11:33, Giovanni Manghi wrote: http://trac.osgeo.org/gdal/wiki/CatalogueForQIS Magic! Many thanks, and also to Andrea Peri for posting the python code. In windows I had to run it as: python computestats.py -approx filename.vrt it would be very nice to have this added as tool directly in QGIS... cheers -- Giovanni -- On Thu, 2012-08-23 at 11:27 +0300, Micha Silver wrote: Hello all: I have a batch of over 100 raster tiles in ecw format. Each is 50 - 100 MB in size. When I choose 20 or so files to load they appear (render) very quickly - in a matter of a few seconds or less. If I create a vrt of that same batch of tiles, it takes a long time to first render - upwards of 15 - 30 seconds. Once the vrt is loaded response is excellent (zooming, etc). But that initial delay is a bit annoying. Anything I can do to improve it? (QGIS 1.8, Win 7 64 bit) Many thanks, Micha -- Micha Silver 052-3665918 ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user This mail was received via Mail-SeCure System. -- Micha Silver 052-3665918 ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user -- Giuseppe Sucameli - Faunalia ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] loading Web Map Tile Service in QGIS
have you tried gdal tms support? The following VRT file can load openstreemap tms http://www.3liz.com/blog/rldhont/index.php?post/2012/07/17/OpenStreetMap-Tiles-in-QGIS Etienne On Thu, Aug 23, 2012 at 7:47 AM, maning sambale emmanuel.samb...@gmail.com wrote: Hi, I'm trying to load MODIS Web Map Tile Service [0] in QGIS. Using the TWMS version 1.1.1 spec, it can read the capabilities request via the Add WMS Layer dialog. But I can't get any layer loaded, I get this error: Response: ?xml version='1.0' encoding=UTF-8 standalone=no ? !DOCTYPE ServiceExceptionReport SYSTEM http://wms.jpl.nasa.gov/exception_1_1_1.dtd ServiceExceptionReport version=1.1.1 ServiceException Cannot read data files /ServiceException /ServiceExceptionReport [0] http://earthdata.nasa.gov/wiki/main/index.php/Global_Imagery_Browse_Services [1] http://earthdata.nasa.gov/wiki/main/index.php/GIBS_Access_Methods#Service_Endpoints -- cheers, maning -- Freedom is still the most radical idea of all -N.Branden wiki: http://esambale.wikispaces.com/ blog: http://epsg4253.wordpress.com/ -- ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] loading Web Map Tile Service in QGIS
Works fine here in QGIS master using this link http://map1.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi?SERVICE=WMTSrequest=GetCapabilities 2012/8/23 maning sambale emmanuel.samb...@gmail.com: Hi, I'm trying to load MODIS Web Map Tile Service [0] in QGIS. Using the TWMS version 1.1.1 spec, it can read the capabilities request via the Add WMS Layer dialog. But I can't get any layer loaded, I get this error: Response: ?xml version='1.0' encoding=UTF-8 standalone=no ? !DOCTYPE ServiceExceptionReport SYSTEM http://wms.jpl.nasa.gov/exception_1_1_1.dtd ServiceExceptionReport version=1.1.1 ServiceException Cannot read data files /ServiceException /ServiceExceptionReport [0] http://earthdata.nasa.gov/wiki/main/index.php/Global_Imagery_Browse_Services [1] http://earthdata.nasa.gov/wiki/main/index.php/GIBS_Access_Methods#Service_Endpoints -- cheers, maning -- Alexander Bruy ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Slow rendering of vrt
On Thu, Aug 23, 2012 at 3:31 PM, Giuseppe Sucameli sucam...@faunalia.it wrote: Hi Etienne, On Aug 23, 2012, at 5:57 PM, Etienne Tourigny etourigny@gmail.com wrote: On the other hand, wouldn't a simple gdalinfo -stats file.vrt achieve the same as the linked python script, but easier to run? the python script calculates approximated stats, so it works like gdalinfo -approx_stats file.vrt The problem was the -approx_stats option is not present in the documentation (either help online or using --help), then I wrote that few-lines script to achieve the task. I'll try to update that soon. Only now I'm looking at the gdalinfo.c code on the repo I know it's there since Jan 2007 (r10658)... BTW a ticket is needed to update the doc. On Thu, Aug 23, 2012 at 7:39 PM, Etienne Tourigny etourigny@gmail.com wrote: it would be nice if someone (ideally the author) could test the same with nightly master (1.9). +1, but I hope you're talking about the wiki page author :) I cannot do any test because I have no VRT files so big. sorry I meant the post author (Micha) Micha, could you try with QGis master and report here, please? Regards. Etienne On Thu, Aug 23, 2012 at 2:27 PM, Radim Blazek radim.bla...@gmail.com wrote: On Thu, Aug 23, 2012 at 5:57 PM, Etienne Tourigny etourigny@gmail.com wrote: On Thu, Aug 23, 2012 at 11:00 AM, Even Rouault even.roua...@mines-paris.org wrote: It would be nice to have this bultin to gdalbuildvrt (as an optin of course) - could the authors make a patch? For a *byte* data type, which must be the common case, why wouldn't QGIS just use min=0 and max=255 when statistics are not computed ? good question. Unless I am mistaken, min/max are set to 0/255 by default, unless QgsRasterDataProvider::bandStatistics() or QgsRasterLayer::bandStatistics() is called - which is probably what happens. Default contrast enhancement in current master (may be changed in Options Rendering Rasters): Single band gray: Stretch to min / max Multiband color (byte/band): No stretch Multiband color (byte/band): Stretch to min / max Limits (min/max): Cumulative count cut. The min/max are calculated using 25 pixels sample, which should be fast. It would be useful to test the VRT without stats collected with current master. It would be possible to add another default contrast enhancement for Single band gray byte, but I believe that if the whole raster can be rendered in reasonable time, the min/max calculation must be also fast and contrast enhancement may be important even with byte data. Radim I don't understand what is the problem, does the VRT load slowly initially, or is getting statistics rather slow? On the other hand, wouldn't a simple gdalinfo -stats file.vrt achieve the same as the linked python script, but easier to run? Etienne Regards, Etienne On Thu, Aug 23, 2012 at 7:34 AM, Micha Silver mi...@arava.co.il wrote: On 23/08/2012 11:33, Giovanni Manghi wrote: http://trac.osgeo.org/gdal/wiki/CatalogueForQIS Magic! Many thanks, and also to Andrea Peri for posting the python code. In windows I had to run it as: python computestats.py -approx filename.vrt it would be very nice to have this added as tool directly in QGIS... cheers -- Giovanni -- On Thu, 2012-08-23 at 11:27 +0300, Micha Silver wrote: Hello all: I have a batch of over 100 raster tiles in ecw format. Each is 50 - 100 MB in size. When I choose 20 or so files to load they appear (render) very quickly - in a matter of a few seconds or less. If I create a vrt of that same batch of tiles, it takes a long time to first render - upwards of 15 - 30 seconds. Once the vrt is loaded response is excellent (zooming, etc). But that initial delay is a bit annoying. Anything I can do to improve it? (QGIS 1.8, Win 7 64 bit) Many thanks, Micha -- Micha Silver 052-3665918 ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user This mail was received via Mail-SeCure System. -- Micha Silver 052-3665918 ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user -- Giuseppe Sucameli - Faunalia ___ Qgis-user mailing list Qgis-user@lists.osgeo.org
Re: [Qgis-user] loading Web Map Tile Service in QGIS
Ops, sorry. Layer added but it is blank 2012/8/23 Alexander Bruy alexander.b...@gmail.com: Works fine here in QGIS master using this link http://map1.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi?SERVICE=WMTSrequest=GetCapabilities -- Alexander Bruy ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] [GRASS-user] After Qgis installation - GRASS6.4 doesn't start anymore
On Thu, Aug 23, 2012 at 1:16 PM, Johannes Radinger johannesradin...@gmail.com wrote: Hi, I successfully compiled and installed GRASS6.4 with make -j2 sudo checkinstall sudo ldconfig which is usually working perfectly. But after installing QGIS I can't start GRASS6.4 itself anymore. I try to launch it from the Terminal like: x@y:~$ grass64 Cleaning up temporary files ... Starting GRASS ... python: can't open file '/usr/lib/grass64/etc/wxpython/gis_set.py': [Errno 2] No such file or directory Received EXIT message from GUI. GRASS is not started. Bye. it seems that the QGIS installation somehow overwrites some settings/files that are needed for starting a pure GRASS session (with GUI). Please check how many files remained in /usr/lib/grass64/. Perhaps QGIS removed it to install again GRASS (which failed)? What if you reinstall again GRASS6.4 with your make -j2 sudo checkinstall sudo ldconfig ? guessing, Markus ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] duplicate layout
i have to edit different layout having more or less same contents. they differ themselves just only for two layers. all the icons, noxes etc are the same. is it a way to duplicate a layout and change just ony few things i need? -- View this message in context: http://osgeo-org.1560.n6.nabble.com/duplicate-layout-tp4997448.html Sent from the Quantum GIS - User mailing list archive at Nabble.com. ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] qgis fonts
thank you for your reply. so if i have wel understood it is a virtual font that can be changed by sans serif, isn't it? -- View this message in context: http://osgeo-org.1560.n6.nabble.com/qgis-fonts-tp4997050p4997450.html Sent from the Quantum GIS - User mailing list archive at Nabble.com. ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] duplicate layout
use a QStackedWidget with appropriate controls/logic to swap widgets, or a QTabbedWidget BTW this is a message more suited for the developper's list. Etienne On Thu, Aug 23, 2012 at 5:19 PM, skampus stefano.cam...@regione.piemonte.it wrote: i have to edit different layout having more or less same contents. they differ themselves just only for two layers. all the icons, noxes etc are the same. is it a way to duplicate a layout and change just ony few things i need? -- View this message in context: http://osgeo-org.1560.n6.nabble.com/duplicate-layout-tp4997448.html Sent from the Quantum GIS - User mailing list archive at Nabble.com. ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] Qgis manual in spanish or portuguese?
I'm new in Qgis (I used mapinfo and gvsig), there are same manuals or tutorial in spanish or portuguese? Sorry for my english Thanks Pablo ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] duplicate layout
i think so... :-) thank you, anyway -- View this message in context: http://osgeo-org.1560.n6.nabble.com/duplicate-layout-tp4997448p4997473.html Sent from the Quantum GIS - User mailing list archive at Nabble.com. ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Qgis manual in spanish or portuguese?
yes, but not for last version see: http://www.qgis.org/en/documentation/manuals.html -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Qgis-manual-in-spanish-or-portuguese-tp4997472p4997474.html Sent from the Quantum GIS - User mailing list archive at Nabble.com. ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] loading Web Map Tile Service in QGIS
Specifically, save the xml file from Option 1) at: http://earthdata.nasa.gov/wiki/main/index.php/GIBS_Supported_Clients#Script-level_access_to_imagery Drag-and-drop it into QGIS and it will display fine. Of course, see the note at the bottom of the page: Requirements GDAL version 1.9.1 or greater with cURL support enabled Date: Thu, 23 Aug 2012 15:33:42 -0300 From: Etienne Tourigny etourigny@gmail.com To: maning sambale emmanuel.samb...@gmail.com Cc: qgis-user qgis-user@lists.osgeo.org Subject: Re: [Qgis-user] loading Web Map Tile Service in QGIS Message-ID: CA+TxYvOZzDX=zm975i_PcUB0zsEa-rCtu5s6rR-J=byw+nb...@mail.gmail.com Content-Type: text/plain; charset=ISO-8859-1 have you tried gdal tms support? The following VRT file can load openstreemap tms http://www.3liz.com/blog/rldhont/index.php?post/2012/07/17/OpenStreetMap- Tiles-in-QGIS Etienne On Thu, Aug 23, 2012 at 7:47 AM, maning sambale emmanuel.samb...@gmail.com wrote: Hi, I'm trying to load MODIS Web Map Tile Service [0] in QGIS. Using the TWMS version 1.1.1 spec, it can read the capabilities request via the Add WMS Layer dialog. But I can't get any layer loaded, I get this error: Response: ?xml version='1.0' encoding=UTF-8 standalone=no ? !DOCTYPE ServiceExceptionReport SYSTEM http://wms.jpl.nasa.gov/exception_1_1_1.dtd ServiceExceptionReport version=1.1.1 ServiceException Cannot read data files /ServiceException /ServiceExceptionReport [0] http://earthdata.nasa.gov/wiki/main/index.php/Global_Imagery_Browse_Servic es [1] http://earthdata.nasa.gov/wiki/main/index.php/GIBS_Access_Methods#Service_ Endpoints ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] Howto: load ArcGIS mapserver raster layers
Hi everyone, I don't think anyone around here has ever explained how to add raster ArcGIS mapserver layers from servers which provide a REST interface. As far as I know, there is no way to just load them with a url directly from the QGIS gui, but they can be handled by the GDAL WMS driver, and thus can be loaded in QGIS. Firstly (and the most difficult part) you need to find the URL for the REST service for your layer. E.g. you might want to use a layer that is available in the ESRI Maps for Personal Use web map at: http://www.arcgis.com/home/webmap/viewer.html?useExisting=1 Hopefully with a little googling you will be able to find the address where you can browse the ArcGIS services directory of your favourite ArcGIS server. In this case it is: http://server.arcgisonline.com/ArcGIS/rest/services/ Find the layer that you are after, and now you have two options: 1. You can create a GDAL service description XML file, and open it with QGIS. E.g. try this file: http://www.gdal.org/frmt_wms_arcgis_mapserver_tms.xml Or e.g. save the XML code pasted at http://trac.osgeo.org/mapserver/ticket/3804 and try it. 2. You can create a .vrt file (which requires less thinking), and open that with QGIS. E.g. find the raster layer you want in the ArcGIS services directory, and get the URL for its REST interface, which should be at the bottom of the page, under Supported Interfaces. The gdal utilities can just use this URL (since GDAL 1.9), so you can simply create a .vrt like this: gdalbuildvrt test.vrt http://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer?f=jsonpretty=true; Of course, you will need to check the restrictions on what you are legally allowed to do with any particular layer. And if you are wondering: as far as I know there is currently no way to load _vector_ ArcGIS mapserver layers, or ArcGIS globeserver or featureserver layers (except for manually writing a query URL. i.e. you can't use their REST services). Regards, Alister ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Howto: load ArcGIS mapserver raster layers
Hi Alistair, Listed at http://www.niwa.co.nz/ei/feeds/report there are a few Arc Server raster layers, they are ESRI Mapserver restful layers, but deliver OGC WMS. Such layers are as available as any other WMS data source, eg: http://boi.arc.niwa.co.nz/arcgis/services/climate/MedianAnnualTotalRainfall/MapServer/WMSServer I figure what you are describing is a way to access the ESRI native (as opposed to OGC compliant) services in QGIS using GDAL? Cheers, Brent Wood --- On Fri, 8/24/12, Alister Hood alister.h...@synergine.com wrote: From: Alister Hood alister.h...@synergine.com Subject: [Qgis-user] Howto: load ArcGIS mapserver raster layers To: qgis-user@lists.osgeo.org qgis-user@lists.osgeo.org Date: Friday, August 24, 2012, 12:43 PM Hi everyone, I don't think anyone around here has ever explained how to add raster ArcGIS mapserver layers from servers which provide a REST interface. As far as I know, there is no way to just load them with a url directly from the QGIS gui, but they can be handled by the GDAL WMS driver, and thus can be loaded in QGIS. Firstly (and the most difficult part) you need to find the URL for the REST service for your layer. E.g. you might want to use a layer that is available in the ESRI Maps for Personal Use web map at: http://www.arcgis.com/home/webmap/viewer.html?useExisting=1 Hopefully with a little googling you will be able to find the address where you can browse the ArcGIS services directory of your favourite ArcGIS server. In this case it is: http://server.arcgisonline.com/ArcGIS/rest/services/ Find the layer that you are after, and now you have two options: 1. You can create a GDAL service description XML file, and open it with QGIS. E.g. try this file: http://www.gdal.org/frmt_wms_arcgis_mapserver_tms.xml Or e.g. save the XML code pasted at http://trac.osgeo.org/mapserver/ticket/3804 and try it. 2. You can create a .vrt file (which requires less thinking), and open that with QGIS. E.g. find the raster layer you want in the ArcGIS services directory, and get the URL for its REST interface, which should be at the bottom of the page, under Supported Interfaces. The gdal utilities can just use this URL (since GDAL 1.9), so you can simply create a .vrt like this: gdalbuildvrt test.vrt http://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer?f=jsonpretty=true; Of course, you will need to check the restrictions on what you are legally allowed to do with any particular layer. And if you are wondering: as far as I know there is currently no way to load _vector_ ArcGIS mapserver layers, or ArcGIS globeserver or featureserver layers (except for manually writing a query URL. i.e. you can't use their REST services). Regards, Alister ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] loading Web Map Tile Service in QGIS
Thanks for all the reply. Alister's solution works. On Fri, Aug 24, 2012 at 8:15 AM, Alister Hood alister.h...@synergine.com wrote: Specifically, save the xml file from Option 1) at: http://earthdata.nasa.gov/wiki/main/index.php/GIBS_Supported_Clients#Script-level_access_to_imagery Drag-and-drop it into QGIS and it will display fine. Of course, see the note at the bottom of the page: Requirements GDAL version 1.9.1 or greater with cURL support enabled Date: Thu, 23 Aug 2012 15:33:42 -0300 From: Etienne Tourigny etourigny@gmail.com To: maning sambale emmanuel.samb...@gmail.com Cc: qgis-user qgis-user@lists.osgeo.org Subject: Re: [Qgis-user] loading Web Map Tile Service in QGIS Message-ID: CA+TxYvOZzDX=zm975i_PcUB0zsEa-rCtu5s6rR-J=byw+nb...@mail.gmail.com Content-Type: text/plain; charset=ISO-8859-1 have you tried gdal tms support? The following VRT file can load openstreemap tms http://www.3liz.com/blog/rldhont/index.php?post/2012/07/17/OpenStreetMap- Tiles-in-QGIS Etienne On Thu, Aug 23, 2012 at 7:47 AM, maning sambale emmanuel.samb...@gmail.com wrote: Hi, I'm trying to load MODIS Web Map Tile Service [0] in QGIS. Using the TWMS version 1.1.1 spec, it can read the capabilities request via the Add WMS Layer dialog. But I can't get any layer loaded, I get this error: Response: ?xml version='1.0' encoding=UTF-8 standalone=no ? !DOCTYPE ServiceExceptionReport SYSTEM http://wms.jpl.nasa.gov/exception_1_1_1.dtd ServiceExceptionReport version=1.1.1 ServiceException Cannot read data files /ServiceException /ServiceExceptionReport [0] http://earthdata.nasa.gov/wiki/main/index.php/Global_Imagery_Browse_Servic es [1] http://earthdata.nasa.gov/wiki/main/index.php/GIBS_Access_Methods#Service_ Endpoints -- cheers, maning -- Freedom is still the most radical idea of all -N.Branden wiki: http://esambale.wikispaces.com/ blog: http://epsg4253.wordpress.com/ -- ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] duplicate layout
Date: Thu, 23 Aug 2012 13:19:56 -0700 (PDT) From: skampus stefano.cam...@regione.piemonte.it To: qgis-user@lists.osgeo.org Subject: [Qgis-user] duplicate layout Message-ID: 1345753180491-4997448.p...@n6.nabble.com Content-Type: text/plain; charset=us-ascii i have to edit different layout having more or less same contents. they differ themselves just only for two layers. all the icons, noxes etc are the same. is it a way to duplicate a layout and change just ony few things i need? (In the composer) File-Save as template File-Load from template ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Howto: load ArcGIS mapserver raster layers
Yes, If the server provides WMS you wouldn't need to know about it. In this case, go to http://boi.arc.niwa.co.nz/arcgis/rest/services/OS2020-BoI/OS2020_BoI_AerialPhoto_Color/MapServer And you'll see at the bottom of the page that the supported interfaces are REST, SOAP and WMS. (WMS might be restfull, but it is obviously different from what ESRI call a REST interface) Look on the ESRI server I linked to and you'll see that only REST and SOAP are supported. A local example that only supports REST and SOAP is the Auckland Council GIS. Note that you could also connect to a WMS by using a GDAL service definition xml in the same way as I described, if you wanted to for some reason. Perhaps the reason would be simplicity - you could keep the xml files in a folder with all your other layers, and load them in all the same ways, rather than using the Add WMS layer dialog. I don't know how the QGIS WMS provider works - it might be interesting to compare the performance of one of those NIWA layers connecting to it in the three different ways: - QGIS WMS provider - WMS via a service definition xml - ArcGIS REST via a service definition xml -Original Message- From: pcr...@pcreso.com [mailto:pcr...@pcreso.com] Sent: Friday, 24 August 2012 2:05 p.m. To: Alister Hood Cc: qgis-user@lists.osgeo.org Subject: Re: [Qgis-user] Howto: load ArcGIS mapserver raster layers Hi Alistair, Listed at http://www.niwa.co.nz/ei/feeds/report there are a few Arc Server raster layers, they are ESRI Mapserver restful layers, but deliver OGC WMS. Such layers are as available as any other WMS data source, eg: http://boi.arc.niwa.co.nz/arcgis/services/climate/MedianAnnualTotalRainfal l/MapServer/WMSServer I figure what you are describing is a way to access the ESRI native (as opposed to OGC compliant) services in QGIS using GDAL? Cheers, Brent Wood --- On Fri, 8/24/12, Alister Hood alister.h...@synergine.com wrote: From: Alister Hood alister.h...@synergine.com Subject: [Qgis-user] Howto: load ArcGIS mapserver raster layers To: qgis-user@lists.osgeo.org qgis-user@lists.osgeo.org Date: Friday, August 24, 2012, 12:43 PM Hi everyone, I don't think anyone around here has ever explained how to add raster ArcGIS mapserver layers from servers which provide a REST interface. As far as I know, there is no way to just load them with a url directly from the QGIS gui, but they can be handled by the GDAL WMS driver, and thus can be loaded in QGIS. Firstly (and the most difficult part) you need to find the URL for the REST service for your layer. E.g. you might want to use a layer that is available in the ESRI Maps for Personal Use web map at: http://www.arcgis.com/home/webmap/viewer.html?useExisting=1 Hopefully with a little googling you will be able to find the address where you can browse the ArcGIS services directory of your favourite ArcGIS server. In this case it is: http://server.arcgisonline.com/ArcGIS/rest/services/ Find the layer that you are after, and now you have two options: 1. You can create a GDAL service description XML file, and open it with QGIS. E.g. try this file: http://www.gdal.org/frmt_wms_arcgis_mapserver_tms.xml Or e.g. save the XML code pasted at http://trac.osgeo.org/mapserver/ticket/3804 and try it. 2. You can create a .vrt file (which requires less thinking), and open that with QGIS. E.g. find the raster layer you want in the ArcGIS services directory, and get the URL for its REST interface, which should be at the bottom of the page, under Supported Interfaces. The gdal utilities can just use this URL (since GDAL 1.9), so you can simply create a .vrt like this: gdalbuildvrt test.vrt http://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServ er?f=jsonpretty=true Of course, you will need to check the restrictions on what you are legally allowed to do with any particular layer. And if you are wondering: as far as I know there is currently no way to load _vector_ ArcGIS mapserver layers, or ArcGIS globeserver or featureserver layers (except for manually writing a query URL. i.e. you can't use their REST services). Regards, Alister ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] qgis fonts
Am 23.08.2012 22:26, schrieb skampus: thank you for your reply. so if i have wel understood it is a virtual font that can be changed by sans serif, isn't it? It depends on your operating system and local language, which font is actually used: MS Shell Dlg maps to Microsoft Sans Serif if the machine default UI language is set to a language other than Japanese. MS Shell Dlg 2 simply uses the Tahoma font regardless of language. Greetings, Andre Joost ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user