When I execute a grassgis alogrithm in Qgis I always get following error:     'ascii' codec can't encode character u'\xfc' in position 23: ordinal   not in range(128) See log for more details   and      This algorithm cannot be run :-(  It seems that GRASS GIS 7 is not   correctly installed and configured in your system. Please install it   before running GRASS GIS 7 algorithms.   In processing opitions I set the path for grassgis to  C:\OSGeo4W64\apps\grass\grass-7.2.0, same for grassgis docs.  There is no option for setting the path to msys.  I reinstalled whole OSGeo4W with coustom options and installed all available options. No result.
122917
Windows 7, OsGeo4W pack installed including QGIS 2.4.0 and GRASS.  In QGIS when I try to execute a GRASS geoprocessing algorithm I get this popup:     Missing dependency. This algorithm cannot be run :-(    This algorithm requires GRASS GIS 7 to be run. Unfortunately, it seems that GRASS GIS 7 is not installed in your system, or it is not correctly configured to be used from QGIS   Click here to know more about how to install and configure GRASS GIS 7 to be used with QGIS   The link doesn't help. I get the same message at my computer at work with QGIS 2.2.0  The GRASS plugins are activated under geoprocessing settings.  Do I need to configure something?    When I run MSYS I get this:
7145
Is it possible/legal to somehow encode CR/LF characters into a CSV file?  (as part of a CSV standard?)  If so how should i encode CR/LF?
122012
I have a huge amount of data in the form of CSV containing UTM coordinates as X and Y and an elevation value as Z information. I need to convert these data into a DEM as GeoTIFF for further analysis. In this case, a huge amount means 16 m. lines, with one point in X, Y and Z per line. The points are equally distributed, therefore an interpolation is not needed; each point just needs to be converted into a raster cell.  The original data came without separator, with fixed column widths. I already figured out how to convert the file syntax to use a separator instead of fixed widths and eliminate all space characters, using the stream text editor sed. From here on, normally my workflow would be to import the data into ArcGIS by creating a feature class from the X, Y and Z data and as a second step, converting the point shapefile into a GeoTIFF, using the Point to Raster tool. However, the file I currently have is way too big for this process.  Instead of the above described workflow, I was looking for an efficient alternative and discovered GDAL. However, in gdal_translate, the closest supported format I can find in the supported filetype list, is ASCII grid but no comma separated XYZ. Another difficulty is, that I have UTM coordinates, while most examples seem to use decimal degree coordinates. However, I need to stay within the UTM system (or at least, my output GeoTIFF needs to be in a UTM coordinate system).  So I am looking for a way to convert the CSV XYZ into a GeoTIFF, using GDAL, but so far wasn't able to find examples dealing with this exact problem. I would be very happy for some hints or even code examples.
54688
I have a shapefile loaded in GeoServer 2.8 and accessed by OpenLayers 2.13. This layer is in UTF-8 encoding and has some english and non-english records. When i use english fields in cql-filter - as follows, but no differnce between WMS and WFS request- GeoServer filters data very well  and returns the result.    layer1 = new ol.layer.Image({             title: 'Ostan',             source: new ol.source.ImageWMS({                 url: 'http://localhost:8080/geoserver/wms',                 params: {                     LAYERS: 'ws:layer1',                     VERSION: '1.1.1',                     CQL_FILTER: "NAME_ENG = 'sommy'"                 }             })         });   But if i try to use a field which contains non-english data in cql-filter, GeoServer returns no data. My webpage has following meta, as well:   &lt;meta content="text/html; charset=utf-8" http-equiv="content-type" /&gt;   When i check geoserver log, i see some messy characters instead of my non-english string in cql-filter.
110758
It is quite common for paper topographic maps to label the map graticule with ordinate values in a mixture of superscript and standard digits, eg. ⁴123⁰⁰⁰ to emphasise the significant digits.  The QGIS Map composer allows graticules (termed grids) to be drawn on the map, and the ordinate labels to be customised, but does not recognise HTML tags such as &lt;sup&gt;.  Is there any other way to achieve this effect?
107967
I am trying to clip a .tif file using the extent of a polygon (.shp). I am using the conventional Raster/Extraction/Clipper tool in QGIS 2.18.10. After choosing the appropriate settings, I get the following message:   ERROR 1: Attempt to create ADRG dataset with an illegal data type (Float32), only Byte supported by the format.   I am asking the exact same question as  in , which was marked as a duplicate for no apparent reason. The referred answer fails to address the issue. My raster is already in a supported format (Float32), and when changing the pixel depth with gdal_translate to other supported formats (e.g. Int32), I still get the this error.  Any thoughts?
5106
I am having trouble loading csv files into layers using QgsVectorLayer().  I know this looks like a repeat, but I have carefully read     and    but still cannot get it work.  An example of my data file, test.csv:  Index,y,x 0,37.7646618,-122.4960858 1,37.777494,-122.416311 2,37.717707,-122.3997056 3,37.732284,-122.498118 4,37.749998,-122.392333   My code:  import os import urllib  import pathlib from qgis.core import QgsVectorLayer  local_path = 'C:\dev\FCMS_conflation\data\TMC_nodes.csv' node_layer = 'test'  abspath = os.path.abspath(local_path) params = {'delimiter': ',',           'decimalPoint': '.',           'xField': longitude,           'yField': latitude}  uri = "%s?%s" %(pathlib.Path(abspath).as_uri(), urllib.unquote(urllib.urlencode(params)))  layer = QgsVectorLayer(uri, node_layer, "delimitedtext")   The formatted URI looks like:  [] uri &gt;&gt;&gt; 'file:///C:/dev/FCMS_conflation/data/TMC_nodes.csv?decimalPoint=.&amp;delimiter=,&amp;xField=longitude&amp;yField=latitude'   I have tried many variations of the parameters, including the crs and type. But no matter what I try, I cannot create a valid layer.  [] layer.isValid() &gt;&gt;&gt; False   I have verified that I can add the file using the QGIS gui. I even tried using the uri provided by layer.metadata from within the Python plugin.   I am using QGIS 2.10.1 on Windows 7 64-bit machine.
83537
I need to print a map with coordinates in the format of Degree, Minute and second. CRS is set to WGS 84 (EPSG 3857) for both layers and on the project properties it is set to enable transformation on the fly. But then, when in map composer I get the following coordinates, which make no sense to me.
70192
I have QGIS 1.8.0 installed via OSGeo Installer and work on win 7. All I need is to upload the shapefile to the database via this plugin. Unfortunately I am receiving an error:  Something's wrong: ["'shp2pgsql' is not recognized as an internal or external command,\n", 'operable program or batch file.\n']   How to install and configure shp2pgsql to make this plugin work fine?
123507
I have done it many times (clipping a raster with a polygon layer or by extension) but today I got an error for the first time and I don't know how to solve it. I am always using the same type of raster layers. When running the clipping tool I got the following message:  gdal_translate -of GTiff -ot Byte -projwin 410282.185971 4694950.41162 410783.882475 4694524.96815 -co COMPRESS=DEFLATE -co PREDICTOR=1 -co ZLEVEL=6 -co TFW=YES "C:/Users/FERRAN ALA/Desktop/Justificació Fontanals/QGIS/Topo 1_5000/bt5mv20sd0f283077st1r031.sid" "C:/Users/FERRAN ALA/Desktop/Justificació Fontanals/QGIS/background/image.tif"   GDAL command output:     'ascii' codec can't encode character u'\xf3' in position 201: ordinal not in range(128) See log for more details   Does anybody know what that is?
23589
I'm trying to use QgsVectorLayer() function to add delimited text layer in QGIS. So I have a txt file (T_1999_1_2.txt) in path: "D:\PATRICIA\DOCUMENTOS\ESTACOES METEOROLOGICAS\DADOS METEOROLOGICOS\T" and I want to create a shapefile named: T_1999_1_2.shp. The txt file structure is:     par;num;ano;mes;dia;D;btq   3;705;1999;1;2;-999,9;S;40,43885833;-8,43994167   3;619;1999;1;2;25,0;A;41,70972;-8,02699   3;718;1999;1;2;104,0;A;39,78055278;-8,82096667   3;766;1999;1;2;28,0;A;38,76620278;-9,12749444   3;560;1999;1;2;333,0;A;40,71492778;-7,89591667   3;669;1999;1;2;-999,9;S;39,83950000;-7,47866944   3;848;1999;1;2;-999,9;S;38,48486667;-7,47291667   3;555;1999;1;2;8,0;A;41,70655556;-8,80210833   I have tried to run the script but appears the same window error ("Error in file. File cannot be opened or delimiter parameters are not valid") My sript is the following one:  uri = "D:\PATRICIA\DOCUMENTOS\ESTACOES METEOROLOGICAS\DADOS METEOROLOGICOS\T\T_1999_1_2.txt?delimiter=%s&amp;xField=%s&amp;yField=%s" % (";", "x", "y")  vlayer = QgsVectorLayer(uri, "D:\PATRICIA\IG\QGIS\FWI\T\T_1999_1_2.shp", "delimitedtext")   I don't understand, why it doesn't work.
27792
I am working on Python plugins for QGIS. I set my variables as   PATH :=C:\OSGeo4W\apps\qgis;%PATH% PYTHONPATH:=C:\OSGeo4W\apps\qgis\python   But when I try to run my .py file in IDLE I get an error saying:  Traceback (most recent call last):  File "C:\rt_sql_layer_working\DlgQueryBuilder.py", line 30, in from qgis.core import * ImportError: DLL load failed: The specified module could not be found.   What should I set for the PATH variable??
106025
The problem   I have tens of thousands of small polygons for which I want to create buffer/doughnuts for, but I don’t get the units right. I want meters and not degrees, and changing to (what I think is) the right CRS my layer doesn’t longer show. The polygons are small farming plots. I work in QGIS 3.4.15.   Let me take you through it  I start by adding a vector layer. I opt for ‘Directory’ as a source type (Encoding: UTF-8 by default) and under Source (Type: UK. NTF2 by default) I point to the folder in which I store the shapefile.   The default CRS is set to EPSG:4326 – WGS 84, for both layer and the project (checked in bottom right), and unit is thus in degrees. I add the layer world map (EPSG:4326 – WGS 84 by default) by taping “world” in the coordinate box in the middle bottom, I also add Open street map (EPSG:3857 – WGS 84 / Pseudo-Mercator by default) from XYZ Tiles. The polygons appear nicely on the map considering some are just adjacent to the nearby lake, many nicely adjacent to roads, etc.   When attempting to do buffers the distance is obviously set to degrees. I have tried to change the CRS, both for the layer(s) and the projects, but without luck. After researching (e.g. here: ) I believe that the correct CSR would be Arc 1960 / UTM zone 36S EPSG:21036 (it is my understanding that either 36N or 36S would work as the polygons appear both south and north of, but close enough to the equator). When setting the mentioned CRS for my polygon layer, the polygons disappear from the map, and remain gone even after setting the project CSR (by bottom right) to the same. It seems that whenever I try with different CRS in UTM, the layer doesn’t show. Does this mean that the polygons are somehow not compatible with units in meter? Is there an issue with importing the .prj file?  Other things I've tried:   I have made a good attempt searching for solutions. I have ensured that the polygon layer is on top of the layers list. I have ensured the file names are identical and tried all different suitable CRS I can think of. I have seen similar questions been solved by saving the .shp 'as', but I don't think that's my issue as it's already a .shp file. Can it be the case that I need to perform a datum transformation? I gave it a shot using a transformation code (1122) provided by above link, but then the polygons were projected on the Antarctica on the world map, so obviously something went quite wrong...   Note that when I have changed to what I believe is the right CRS I can execute buffers in units of meters, however, they do not appear on the window…
115757
System Properties      This environment variable is too large. This dialog allows setting values up to 2047 characters long.   I use/have used a lot of software, and my PATH has grown as a result. When I try to add new paths, I get the above message. As a workaround, I'm editing my user path, but prefer not to.
10699
Using QGIS v. 1.9 (1.7 does not seem to be available for Ubuntu Linux 12.04), do the following:   Create new project, specify coordinate system by clicking on button in bottom right hand corner, enable on the fly CRS transformation, set projection to WGS 84 / UTM Zone 18S. Pass mouse over project window and UTM coordinates appear in coordinates window in status bar at the bottom. Add delimited text layer in decimal degrees. When asked for projection, specify same projection as in (1). Points in the layer are plotted but, mousing over the map, the coordinates in the coordinates window are now in decimal degrees (even though the projection is set to UTM).   Is there something I am missing here? I have tried doing this in so many ways, so many times, but the result is always the same. I seem to be setting the projection correctly but only decimal degrees show in the coordinates window.  With thanks, Martin
116844
I have a polygon shapefile storing hexadecimal color codes in a specific attribute.    gid    |   label   |   color ---------+-----------+------------ 1        | Crops     | #FF5F2C 2        | Forest    | #00FF00 3        | Pond      | #0000FF 4        | Forest    | #00FF00   I was looking for a way to say QGIS to read these values in order to style the polygons with them. I can't find anything about this.   I hoped it would be possible without deeping into the Python Console (which still frightens me...).
50360
I'm trying to convert a DXF 2010 file to KML using ogr2ogr:  ogr2ogr -f "KML" outfile.kml infile.dxf   In the file, $INSUNITS is 6, that's meters, if I'm correct? The problem is that DXF is not georeferenced, and I get errors like:  ERROR 1: Latitude -1113854.310000 is invalid. Valid range is [-90,90]. This warning will not be issued any more Warning 1: Longitude -684136.440000 has been modified to fit into range [-180,180]. This warning will not be issued any more   I'm pretty new to this stuff, and in the last weeks I haven't found documentation that's explaining what I'm doing wrong. Can I add a suggested lat/lon as a parameter to ogr2ogr? Is it actually possible to do a conversion DXF to KML?