[Qgis-user] processing and temporary files on osgeo4w
Hello I have problem with my batch. I need create topographic wetness index over really big tiff. I prepared some grid and created in graphical modeler batch to clip piece of raster by square vector, add some buffer, create topographic wetness index and clip output by original square. I have some simple python loop over all features in generated grid and save data. My problem is in temporary files created by processing, because they are really big. I tried delete id from python after every iteration of my script, but files looks be in use (they aren`t). Is some way to remove temporary files from qgis? Thanks Je; -- Jelen Starší čeledín datovýho chlíva ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] Problem with GDAL / clip raster by mask layer in processing
Hi I have this problem. When I`m using graphical modeler and clip raster by mask layer in gdal batch is "None" after name of layer (or after BBox coords). gdalwarp -ot Float32 -q -of GTiff -dstnodata - -tr 5.0 -5.0 -tap -cutline C:\Users\BRMICH~1\AppData\Local\Temp\processingb8336a047ad948baa3e04a741135330d\3938c93cc94d4b4bad111c352385f116\OUTPUT.shp None -co COMPRESS=DEFLATE -co PREDICTOR=1 -co ZLEVEL=6 -co BIGTIFF=YES C:/Users/BRMichalek/data/DMR.tif C:\Users\BRMICH~1\AppData\Local\Temp\processingb8336a047ad948baa3e04a741135330d\67484b255fc94a3092f09c70885cd8df\OUTPUTALGGDALOGRCLIPRASTERBYMASKLAYER1.tif Batch is generated by module. I mean, that this "None" is placehloder for CRS. I Use Qgis 2.14 installed on win with osgeo4w. Is there way, how i can edit my model to get this out? Because with this option gdal batch fall. Thank Je; -- Jelen Starší čeledín datovýho chlíva ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Joining polygons
Really? I`m doing this in postgis by uninon, dump, point on surface and st_within. 2016-11-29 12:31 GMT+01:00 Joris Hintjens: > Thanks for you input, but this does not work. It makes 1 multi polygon, > not multiple polygons. It asks an attribute to separate the polygons, but I > have no useful attributes that differ in the right way. > > Joris > > Op 29 nov. 2016, om 15:21 heeft Leknín Řepánek > het volgende geschreven: > > > > vector -> geoprocessing tools -> dissolve > > > > On Tue, Nov 29, 2016 at 12:11:24PM +0100, Joris Hintjens wrote: > >> Hello, > >> I have a shapefile with polygons that I want to join if they touch. > They have > >> no useful property to group them. How can I do that? > >> > >> My goal: group parcels within house blocks to 1 polygon. So that my > layer of > >> parcels becomes a layer of house blocks. > >> see a sample at > >> https://dl.dropboxusercontent.com/u/23700421/ > >> Schermafbeelding%202016-11-29%20om%2012.07.16.png > >> > >> Joris > > > >> ___ > >> Qgis-user mailing list > >> Qgis-user@lists.osgeo.org > >> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user > >> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user > > > > -- Jelen Starší čeledín datovýho chlíva ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] Qgis and composite type fields in attribute table
Hello Is there a some simple way (without programing plugin) how to display and edit fields from postgre which have composite type? Thanks Je; -- Jelen Starší čeledín datovýho chlíva ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] Problem with qgs functions created in plugin
Hello there I have one problem with my plugin, I had create function for calculating some fields in plugin. Functions are defined in separated module and it is imported in plugin file (I had try import on start and in run function in my plugin. All works, but if i try unload plugin, qgis fail on sigsegv. I think, that I should delete this functions in unload, but I don`t know, how it should be done. Thanks for your advices. Je; -- Jelen Starší čeledín datovýho chlíva ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] Mongoloid plugin
https://github.com/jeleniste/mongoloid Maybe will somebody interested in messing up around mongodb. There is first version of my plugin for displaying geojsons from mongo into qgis memory layer. -- Jelen Starší čeledín datovýho chlíva ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Storing data to postgis from Qgis
In db manager you can import data in new table or add features to an existing table. Or you can add empty column to a table, select in qgis desktop, open atribute table, display selected features on top and edit empty column by your atributes. 2014-12-30 6:10 GMT+01:00 David Kramer dav...@gmail.com: Leknin, Thanks for the reply. I've followed your recipe and indeed I can paste my selected features as a new memory layer (thanks Jan) and then import the layer via db manager into postgis. This is tremendously useful, but is not quite what I'm looking for. I don't really want to create a new table, I really want to just select a few fields out of my newly selected layer and save those as a row in an already created table. For example, let's assume I have a table that lists franchises the states that they do business in and the columns: 'Franchise Name'| 'States' | 'geom' === Alice's Restaurant | NY, NJ, PA| ... Joe's Burgers | CA, NV, OR | ... To add a new row to the table I'd like to go into qgis, select the states for a franchise (from a layer of states), save that as a memory layer. Then I'd like to have a save function which allows me to enter the franchise name. It would save only the name, the states and the geometry as a row in the table. Make sense? Is this possible from the GUI or do I need to write a plugin in pyQGIS? Thx David ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Question on Symbology and PostGIS
Maybe the problem is, than in char variable you should have fix count of chars. 2014-12-29 0:27 GMT+01:00 Randal Hale rjh...@northrivergeographic.com: On second thought - screenshot overshot the limit for the listserv. no - it wasn't really erroring out - just refusing to cooperate. I hope this screenshot Attaches properly. It categorizes properly in the Layer Properties. Lets try this - https://www.dropbox.com/s/kz11etd72o6c4mx/category.bmp?dl=0 The field called spacing is attributed properly. If I turn off the teal point all of them go off. It all seems to hinge on varchar vs char. I checked the error log and it's clean. Nothing out of the ordinary. I'm on Ubuntu 14.04 QGIS 2.6, POSTGIS=2.1.3 r12547, and PostgreSQL 9.3.5 Randy On 12/28/2014 06:22 PM, Randal Hale wrote: no - it wasn't really erroring out - just refusing to cooperate. I hope this screenshot Attaches properly. The field called spacing is attributed properly. If I turn off the teal point all of them go off. It all seems to hinge on varchar vs char. I checked the error log and it's clean. Nothing out of the ordinary. I'm on Ubuntu 14.04 QGIS 2.6, POSTGIS=2.1.3 r12547, and PostgreSQL 9.3.5 Randy On 12/28/2014 05:59 PM, Leknín Řepánek wrote: What was in error console written? On Sun, Dec 28, 2014 at 05:34:28PM -0500, Randal Hale wrote: This might be something I should know. I have a point layer in postgres/postgis. It has three fields: name (varchar), CID ( primary key), and one called spacing (char). I tried to symbolize the point layer on the spacing attribute - it wouldn't. I made another field in postgis and called it spacing1 and made it varchar and it was no problem at all. Will QGIS not catergorically symbolize on a char field in postgis? Not a big deal as I can work around it - just curious though. Randy -- - Randal Hale North River Geographic Systems, Inchttp://www.northrivergeographic.com423.653.3611 rjh...@northrivergeographic.com twitter:rjhale http://about.me/rjhalehttp://www.northrivergeographic.com/spatial-connect ___ Qgis-user mailing listQgis-user@lists.osgeo.orghttp://lists.osgeo.org/mailman/listinfo/qgis-user -- - Randal Hale North River Geographic Systems, Inchttp://www.northrivergeographic.com423.653.3611 rjh...@northrivergeographic.com twitter:rjhale http://about.me/rjhalehttp://www.northrivergeographic.com/spatial-connect -- - Randal Hale North River Geographic Systems, Inchttp://www.northrivergeographic.com423.653.3611 rjh...@northrivergeographic.com twitter:rjhale http://about.me/rjhalehttp://www.northrivergeographic.com/spatial-connect ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Storing data to postgis from Qgis
Use As new memory layer 2014-12-29 20:25 GMT+01:00 Leknín Řepánek godzilalal...@gmail.com: Edit copy features paste features as new layer import layer from db manager On Mon, Dec 29, 2014 at 11:09:12AM -0800, David Kramer wrote: noob question, apologies in advance I'm using Qgis as a front end to postgis. I can load layers from postgis and visualize them just fine in Qgis. I'd like to select some features from a layer and store the results back in a table in postgis. So for example I would load a table of states, select several of them in Qgis using the selection tool and then store say the state names back to a table in postgis. This is part of a workflow that needs to be done on a regular basis, so extra credit for making it repeatable without too much setup overhead each time. I'd appreciate a pointer to any documentation/examples of how this could be done. Thanks David ___ 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 server returns map from another project, that is defined in URL
Have a nice day I have problem with qgis server (2.2). I have a few projects in my folders and qgis doesn't use project specify in my url. For example i had folder called projects with two files. red.qgs a green.qgs with the same layer (from postgis), but with differenet symbology (fill color). i use for first time url like this http://nejakejservr.cz/cgi-bin/qgis_mapserv.fcgi?MAP=/mnt/data/projects/red.qgsREQUEST=GetMapBBOX=-615170.147011,-1003827.798116,-614613.882202,-1003027.916641CRS=EPSG:5514WIDTH=400HEIGHT=300LAYERS=testSTYLES=,,FORMAT=image/pngDPI=96 And I obtain red filled polygons (as is specified in red.qgs project). If i use this. http://nejakejservr.cz/cgi-bin/qgis_mapserv.fcgi?MAP=/mnt/data/projects/green.qgsREQUEST=GetMapBBOX=-615170.147011,-1003827.798116,-614613.882202,-1003027.916641CRS=EPSG:5514WIDTH=400HEIGHT=300LAYERS=testSTYLES=,,FORMAT=image/pngDPI=96 I should obtain layer from green.qgs project, but i obtain red filled polygons from project i had use before. I had use qgis (2.4) on my desktop for this wms, but with the same problem. I get lazers from first used project. Why? How I can change this? Thanks Je; ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Qgis server returns map from another project, that is defined in URL
Thanks No, this problem is not in browser, becouse we had try it on more computers in the same time. And I opened it in qgis (wms)... Je; 2014-07-24 20:27 GMT+02:00 Alex Mandel tech_...@wildintellect.com: On 07/24/2014 09:56 AM, Jan Michálek wrote: Have a nice day I have problem with qgis server (2.2). I have a few projects in my folders and qgis doesn't use project specify in my url. For example i had folder called projects with two files. red.qgs a green.qgs with the same layer (from postgis), but with differenet symbology (fill color). i use for first time url like this http://nejakejservr.cz/cgi-bin/qgis_mapserv.fcgi?MAP=/mnt/data/projects/red.qgsREQUEST=GetMapBBOX=-615170.147011,-1003827.798116,-614613.882202,-1003027.916641CRS=EPSG:5514WIDTH=400HEIGHT=300LAYERS=testSTYLES=,,FORMAT=image/pngDPI=96 And I obtain red filled polygons (as is specified in red.qgs project). If i use this. http://nejakejservr.cz/cgi-bin/qgis_mapserv.fcgi?MAP=/mnt/data/projects/green.qgsREQUEST=GetMapBBOX=-615170.147011,-1003827.798116,-614613.882202,-1003027.916641CRS=EPSG:5514WIDTH=400HEIGHT=300LAYERS=testSTYLES=,,FORMAT=image/pngDPI=96 I should obtain layer from green.qgs project, but i obtain red filled polygons from project i had use before. I had use qgis (2.4) on my desktop for this wms, but with the same problem. I get lazers from first used project. Why? How I can change this? Thanks Je; Could it be your browser is caching the page since the url is the same and only the parameters are changing? Try clearing your cache and starting with the green url. Thanks, Alex ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Qgis server returns map from another project, that is defined in URL
One more interesting thing, I'm able to select layers from wms, if they have the same names. Maybe is solution for me select unique name for all layers in my projects. 2014-07-24 20:34 GMT+02:00 Jan Michálek godzilalal...@gmail.com: Thanks No, this problem is not in browser, becouse we had try it on more computers in the same time. And I opened it in qgis (wms)... Je; 2014-07-24 20:27 GMT+02:00 Alex Mandel tech_...@wildintellect.com: On 07/24/2014 09:56 AM, Jan Michálek wrote: Have a nice day I have problem with qgis server (2.2). I have a few projects in my folders and qgis doesn't use project specify in my url. For example i had folder called projects with two files. red.qgs a green.qgs with the same layer (from postgis), but with differenet symbology (fill color). i use for first time url like this http://nejakejservr.cz/cgi-bin/qgis_mapserv.fcgi?MAP=/mnt/data/projects/red.qgsREQUEST=GetMapBBOX=-615170.147011,-1003827.798116,-614613.882202,-1003027.916641CRS=EPSG:5514WIDTH=400HEIGHT=300LAYERS=testSTYLES=,,FORMAT=image/pngDPI=96 And I obtain red filled polygons (as is specified in red.qgs project). If i use this. http://nejakejservr.cz/cgi-bin/qgis_mapserv.fcgi?MAP=/mnt/data/projects/green.qgsREQUEST=GetMapBBOX=-615170.147011,-1003827.798116,-614613.882202,-1003027.916641CRS=EPSG:5514WIDTH=400HEIGHT=300LAYERS=testSTYLES=,,FORMAT=image/pngDPI=96 I should obtain layer from green.qgs project, but i obtain red filled polygons from project i had use before. I had use qgis (2.4) on my desktop for this wms, but with the same problem. I get lazers from first used project. Why? How I can change this? Thanks Je; Could it be your browser is caching the page since the url is the same and only the parameters are changing? Try clearing your cache and starting with the green url. Thanks, Alex ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Qgis server returns map from another project, that is defined in URL
Maybe is the problem in fact that i was creating this projects by cloning one with using sed etc for changing database schemes etc tj. layer id are the same in more projects. 2014-07-24 21:24 GMT+02:00 Jan Michálek godzilalal...@gmail.com: One more interesting thing, I'm able to select layers from wms, if they have the same names. Maybe is solution for me select unique name for all layers in my projects. 2014-07-24 20:34 GMT+02:00 Jan Michálek godzilalal...@gmail.com: Thanks No, this problem is not in browser, becouse we had try it on more computers in the same time. And I opened it in qgis (wms)... Je; 2014-07-24 20:27 GMT+02:00 Alex Mandel tech_...@wildintellect.com: On 07/24/2014 09:56 AM, Jan Michálek wrote: Have a nice day I have problem with qgis server (2.2). I have a few projects in my folders and qgis doesn't use project specify in my url. For example i had folder called projects with two files. red.qgs a green.qgs with the same layer (from postgis), but with differenet symbology (fill color). i use for first time url like this http://nejakejservr.cz/cgi-bin/qgis_mapserv.fcgi?MAP=/mnt/data/projects/red.qgsREQUEST=GetMapBBOX=-615170.147011,-1003827.798116,-614613.882202,-1003027.916641CRS=EPSG:5514WIDTH=400HEIGHT=300LAYERS=testSTYLES=,,FORMAT=image/pngDPI=96 And I obtain red filled polygons (as is specified in red.qgs project). If i use this. http://nejakejservr.cz/cgi-bin/qgis_mapserv.fcgi?MAP=/mnt/data/projects/green.qgsREQUEST=GetMapBBOX=-615170.147011,-1003827.798116,-614613.882202,-1003027.916641CRS=EPSG:5514WIDTH=400HEIGHT=300LAYERS=testSTYLES=,,FORMAT=image/pngDPI=96 I should obtain layer from green.qgs project, but i obtain red filled polygons from project i had use before. I had use qgis (2.4) on my desktop for this wms, but with the same problem. I get lazers from first used project. Why? How I can change this? Thanks Je; Could it be your browser is caching the page since the url is the same and only the parameters are changing? Try clearing your cache and starting with the green url. Thanks, Alex ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Qgis server returns map from another project, that is defined in URL
Yes, I changed layer id and everuthing works OK. 2014-07-24 22:27 GMT+02:00 Paolo Cavallini cavall...@faunalia.it: Exactly. Known bug, or limitation. On 24 luglio 2014 22:25:20 CEST, Jan Michálek godzilalal...@gmail.com wrote: Maybe is the problem in fact that i was creating this projects by cloning one with using sed etc for changing database schemes etc tj. layer id are the same in more projects. 2014-07-24 21:24 GMT+02:00 Jan Michálek godzilalal...@gmail.com: One more interesting thing, I'm able to select layers from wms, if they have the same names. Maybe is solution for me select unique name for all layers in my projects. 2014-07-24 20:34 GMT+02:00 Jan Michálek godzilalal...@gmail.com: Thanks No, this problem is not in browser, becouse we had try it on more computers in the same time. And I opened it in qgis (wms)... Je; 2014-07-24 20:27 GMT+02:00 Alex Mandel tech_...@wildintellect.com: On 07/24/2014 09:56 AM, Jan Michálek wrote: Have a nice day I have problem with qgis server (2.2). I have a few projects in my folders and qgis doesn't use project specify in my url. For example i had folder called projects with two files. red.qgs a green.qgs with the same layer (from postgis), but with differenet symbology (fill color). i use for first time url like this http://nejakejservr.cz/cgi-bin/qgis_mapserv.fcgi?MAP=/mnt/data/projects/red.qgsREQUEST=GetMapBBOX=-615170.147011,-1003827.798116,-614613.882202,-1003027.916641CRS=EPSG:5514WIDTH=400HEIGHT=300LAYERS=testSTYLES=,,FORMAT=image/pngDPI=96 And I obtain red filled polygons (as is specified in red.qgs project). If i use this. http://nejakejservr.cz/cgi-bin/qgis_mapserv.fcgi?MAP=/mnt/data/projects/green.qgsREQUEST=GetMapBBOX=-615170.147011,-1003827.798116,-614613.882202,-1003027.916641CRS=EPSG:5514WIDTH=400HEIGHT=300LAYERS=testSTYLES=,,FORMAT=image/pngDPI=96 I should obtain layer from green.qgs project, but i obtain red filled polygons from project i had use before. I had use qgis (2.4) on my desktop for this wms, but with the same problem. I get lazers from first used project. Why? How I can change this? Thanks Je; Could it be your browser is caching the page since the url is the same and only the parameters are changing? Try clearing your cache and starting with the green url. Thanks, Alex -- Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user -- http://faunalia.eu/ Sent from mobile, sorry for being short ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] (no subject)
You must compile gdal with OGDI library, replace your gdal in qgis with this new gdal. 2014-04-01 15:01 GMT+02:00 Thomas Ferris tmfer...@yahoo.com: Hello, I'm new to QGIS. I was hoping that someone can answer a very basic question for me. Can QGIS display Digital Nautical Chart (DNC) data in Vector Product Format (VPF) from the National Geospatial Intelligence Agency of the United States government? Here's a web page describing these DNCs. https://www1.nga.mil/ProductsServices/NauticalHydrographicBathymetricProduct/Pages/DigitalNauticalChart.aspx The Supported Data Formats page under the User Manual section of the QGIS website provides the following link: http://www.gdal.org/ogr/ogr_formats.html This page says that the OGDI libray, which is necessary for VPF data, is not compiled into the OGR library by default. This is why I'm asking the question. Thank You in advance, Mark ___ 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] Problems with svg symbols on qgis server
We have it on the Gentoo (I`m not sure, but i think, that we have newest version - 2), i tried all logical posibilities of placing svg files, absolute path in qgs file etc. With the svg files placed in /usr/share/qgis/svg, just like on my arch linux desktop it doesn`t work. Maybe it is rules issue (im not admin of this server), but xserver didn`t run on our server with high probability, it is only web server. This script I found in old mailing lists. Server didn`t crash, my polygons are returned without fill. I will ask our admin to run xserver and will see. Thanks Je; 2013/12/9 Andreas Neumann a.neum...@carto.net Hi, On what operating system are you and what version are you using? It seems to be a path-issue and not an X-Server issue. If it was an X-Server issue your QGIS server would just crash - but it looks like your maps are drawn, but without SVG symbols. Did you try to copy the SVG symbols to a path where the standard SVG symbols are located? E.g. /usr/local/share/qgis/svg on Linux? Regarding XServer: I use the package vnc4server on my Ubuntu Server along with a small start-script I got from Jürgen. Let me know if you need this. Andreas Am 09.12.2013 21:11, schrieb Leknín Řepánek: Good evening I have a problem with using svg polygon fill on qgis server. My polygons aren`t filled. I tried absolute path (in my desktop solution I`m changing svg symbol using table variable). Relative path to qgis project location and original qgis svg location. Nothing isn`t working for me. I found in older posts on this list, i need running xserver on server with qgis server (so much servers :D), but it is old post and I don`t know, if I actually need this on this new version. Our server works on gentoo. Thanks Je; ___ 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