[Qgis-user] batch-saving raster files from QGIS

2015-04-28 Thread Torsten Lange
Hello, I would like to batch-write some raster files from a project to one common folder using a script. This is my function: def writeRaster(rasterObj, pathToFile, cols, rows, rasterExtentObj, rasterCRSObj): provider = myRaster.dataProvider() pipe = QgsRasterPipe()

Re: [Qgis-user] authentication when using 'Import Vector into PostGIS database (available connections)'

2015-04-28 Thread Torsten Lange
I Larissa, it's Postgresql complaining that no user name is provided for the request. Do you have a valid connection initialised befor between QGis and PostGIS? Torsten Am 28-Apr-2015 14:36:31 +0200 schrieb ju...@gbd-consult.de: Hello, I'm currently checking out 'Import Vector into PostGIS

Re: [Qgis-user] FGDC Geology Symbology for QGIS

2015-04-22 Thread Torsten Lange
have to do in addition? Torsten Am 22-Apr-2015 02:55:47 +0200 schrieb s.rev...@bigpond.com: From: Torsten Lange Hi, 1. Stefan, thank you for uploading the symbology. 2. A first time load symbology question: How do I import a new symbolgy or in what folder I have to put it? Thanks

Re: [Qgis-user] FGDC Geology Symbology for QGIS: placed on Sourceforge

2015-04-21 Thread Torsten Lange
Hi, 1. Stefan, thank you for uploading the symbology. 2. A first time load symbology question: How do I import a new symbolgy or in what folder I have to put it? Thanks, Torsten Am 21-Apr-2015 04:58:37 +0200 schrieb bobd...@gmail.com: Hi Stefan, Thanks for putting the files up on

Re: [Qgis-user] QGIS/ArcGIS python interference

2015-04-09 Thread Torsten Lange
** On 9 April 2015 at 22:02, Torsten Lange wrote: Hello qgis-user fellows, I would like to pose a more general question here, because obviously my previous mails seemed just too OT ;) Due to some severe problems when coincidently accessing/editing spatial data (not the same data

[Qgis-user] QGIS/ArcGIS python interference

2015-04-09 Thread Torsten Lange
Hello qgis-user fellows, I would like to pose a more general question here, because obviously my previous mails seemed just too OT ;) Due to some severe problems when coincidently accessing/editing spatial data (not the same data but in the same directory) with ArcGIS on remote (samba) drives

[Qgis-user] running external script from qgis plugin

2015-04-08 Thread Torsten Lange
Hi! It took me a (looong) while to call an external script from a QGIS plugin on my Windows machine at work. I'm not sure if this was a problem with the two Python interpreters - from QGIS and from ArcGIS or what so ever... It worked with no issues on my linux machine. The only way I managed

Re: [Qgis-user] Spatial join from WMS raster layer

2015-04-08 Thread Torsten Lange
Hi Joris, I'm not quite sure if this will work with wms-layers too. But I applied a plugin called 'point sampling tool' (I guess thats the name) to sample raster values at point locations. If you want a text based file, this would be a possible way:

[Qgis-user] run python script in win command shell - from QGIS plugin

2015-03-30 Thread Torsten Lange
Hi, I would like to start a python script from my QGIS plugin using the Windows command shell. But nothing happens... :-/ If run Python in a Windows command shell, this 3-liner of code actually works: import subprocess a = start python + rC:\path\to\myscript.py subprocess.call(a, shell=True)

[Qgis-user] plugin builder - exifread modul missing in photo2shape

2015-02-22 Thread Torsten Lange
Hi, I had my first contact to how to create my first simple qgis-plugin... It began with a fail, because 'exifread' couldn't be imported from photoimporter.py of photo2shape package. It was simply missing. Btw, for what purpose photo2shape is a required package here? Isn't exifread supposed to

Re: [Qgis-user] export map from map composer

2015-02-19 Thread Torsten Lange
- or Google and find some blog entries. This should help you get started. You can even manipulate page format/sizes in the serial print, if this is what you want. Good luck, Andreas On 09.02.2015 11:37, Torsten Lange wrote: Hi, is there a more easy way to export a map composition

[Qgis-user] export map from map composer

2015-02-09 Thread Torsten Lange
Hi, is there a more easy way to export a map composition to an image file? I see, that I can limit the map by changing the vertical/horizontal page extent. But if I want to prepare many simple map overviews of different sizes and aspect ratios for a report, I'd prefer to have a dialog saying -

Re: [Qgis-user] qgis shape files modified - arcview shows old

2015-02-06 Thread Torsten Lange
are not updated by QGIS and therefore the change became not visible back in ArcGIS. Hope it helps, Alexandre Neto On Fri, Feb 6, 2015 at 10:24 AM, Torsten Lange wrote: Hi, For a specific purpose we rely on an Arcview plugin. If I open shape files in Arcview that where modified in Qgis I always see

Re: [Qgis-user] Field calculator : How to fill column with several conditions?

2015-02-06 Thread Torsten Lange
This worked for my test example: CASE WHEN ID = 10 and test = 100 THEN 500 END Torsten Am 06-Feb-2015 21:49:34 +0100 schrieb lcel...@cci-paris-idf.fr: Dear all, I know the synthax in order to fill one field with only one condition (field calculator):

[Qgis-user] qgis shape files modified - arcview shows old

2015-02-06 Thread Torsten Lange
Hi, For a specific purpose we rely on an Arcview plugin. If I open shape files in Arcview that where modified in Qgis I always see the version from befor it was modified. So, as a workaround I save the file to a new shape file, then every thing is ok. ArcGis doesn't show this odd behavior.

Re: [Qgis-user] dxf2shp - keep property

2015-02-05 Thread Torsten Lange
know you can export those properties in columns if you export from AutoCAD. Nicolas Cadieux M.Sc. Les Entreprises Archotec inc. 8548, rue Saint-Denis Montral H2P 2H2 Tlphone: 514.381.5112 Fax: 514.381.4995 Le 2015-02-05 02:49, Torsten Lange-2 [via OSGeo.org] a crit : Hi, Does anyone

[Qgis-user] dxf2shp - keep property

2015-02-04 Thread Torsten Lange
Hi, Does anyone knows a workaround that keeps feature properties of a dxf-file? Specifically, I have isolines with a property elevation that is to keep for labeling purpose in the map. Dxf2shp plugin, as well as Grass v.in.dxf and Saga dxf modules seem not to provide this functionality. Thank

Re: [Qgis-user] point sampling tool QGIS 2.6

2015-01-23 Thread Torsten Lange
Tlphone: 514.381.5112 Fax: 514.381.4995 Le 2015-01-22 08:40, Torsten Lange a crit : Hi, hi Nicolas, took a bit longer to come back to the issue. I have QGis 2.6 under Windows. It straightly refuses to accept the point-sampling-tool. Version is 0.38, which seams to be the last version

[Qgis-user] point sampling tool QGIS 2.6

2015-01-15 Thread Torsten Lange
Hi, I wonder, where I could find a working point sampling tool for QGis 2.6. The respective python plugin only works with QGis 2.x. Also didn't find one in the menu. The only processing tool seem to have the needed func is Saga Add grid values to points. However, can't manage to get a point

Re: [Qgis-user] MOD operator in SQL

2014-12-15 Thread torsten . lange
Hi, try Field % 10 = 0 Torsten -- Originalnachricht-- Hello everybody, i have a problem with SQL, i need a function in QGIS similar to MOD in ArcGIS. In ArcGIS i use MOD here: MOD ( field, 10)=0 The result are the multiples of 10. Thanks for the answer -- Atte.

[Qgis-user] layer query with modulo (source File Geodatabase)

2014-11-28 Thread Torsten Lange
Hi, I've loaded a big set of contour lines with 5 m stepping from an ArcGIS File Geodatabase. From time to time I need to modulo out the 5 m lines in the viewer (showing only 10 m steps). Given a column contour this should work (shouldn't it?): contour % 10 = 0 However, it returns 0 lines

[Qgis-user] slow dissolve

2014-11-28 Thread Torsten Lange
Hi, Since I work with QGIS the dissolve function tends to be very slow for me. E.g., it takes ours to dissolve a layer of 15000 polygons. ArcGIS in contrast, does the job in a couple of minutes. Usually, it doesn't take too long in our house until one of our ArcGIS licences is freed to solve

Re: [Qgis-user] layer query with modulo (source File Geodatabase)

2014-11-28 Thread Torsten Lange
schrieb sig.up...@gmail.com: Hi Torsten That sentence is right, both for filter or for ruled based styling. Perhaps contour is a text column... Regards Carlos Cerdn 2014-11-28 4:11 GMT-05:00 Torsten Lange : Hi, I've loaded a big set of contour lines with 5 m stepping from an ArcGIS File

Re: [Qgis-user] Re: Annoying CRS-Problem with EPSG 31468 / 2167: Conclusions?

2012-03-22 Thread Torsten Lange
Am Donnerstag 22 März 2012, 16:35:18 schrieb bernhard.stro...@jena.de: Am 22.03.2012 16:05, schrieb Bernd Vogelgesang: So, the problem was now described thoroughly, but what are the conclusions now? There is already a ticket open http://hub.qgis.org/issues/4977 although I have no idea

[Qgis-user] vector to raster

2011-11-23 Thread Torsten Lange
Hi, I need to create a raster from vector (contour lines or points). If I choose output file it says The file ... could not be found. Do I miss something? Thank you, Torsten ___ Qgis-user mailing list Qgis-user@lists.osgeo.org

[Qgis-user] extract elevation at selected locations

2011-09-28 Thread Torsten Lange
Hi, is there a way to produce a point set or a text file with x,y,z from raster elevations and point locations (shp)? I use QGis 1.7. Thank you, Torsten ___ Qgis-user mailing list Qgis-user@lists.osgeo.org

Re: [Qgis-user] extract elevation at selected locations

2011-09-28 Thread Torsten Lange
Thank you, it works well! Torsten Am Mittwoch 28 September 2011, 14:18:05 schrieben Sie: You can use point sampling plugin. There is a faster python script using gdal: http://gis-lab.info/en/extract-values-rasters.html (you can translate it using google translator.) Hi, is there

Re: [Qgis-user] bessel ellipsoid 1841

2011-09-27 Thread Torsten Lange
the geodetic reference(s) was used in Germany along the 19th century. giovanni 2011/9/26 Torsten Lange tla...@gwdg.de Hello, I have a historical map from 1855 from the Muensterland Basin, Germany. The map shows geographic coordinates, thus my colleague said most likely

[Qgis-user] bessel ellipsoid 1841

2011-09-26 Thread Torsten Lange
Hello, I have a historical map from 1855 from the Muensterland Basin, Germany. The map shows geographic coordinates, thus my colleague said most likely it's Bessel 1841 ellipsoid. QGis offers: Unknown datum based upon the Bessel 1841 ellipsoid EPSG:4004 +proj=longlat +ellps=bessel +no_defs

Re: [Qgis-user] elevation profile

2011-08-25 Thread Torsten Lange
Thank you for the trick! Just for those who actually need the raster values along a line could also use the tool Profile from Line. Cheers, Torsten From the main menu, Plugins Fetch Python plugins ... A new window will appear. Click on Repositories tab, Add 3rd party repositories Click

[Qgis-user] elevation profile

2011-08-24 Thread Torsten Lange
Hi, I managed to load an Aster digital elevation raster (QGis 1.7). What I actually need is an elevation profile along a line. So far I couldn't find the right tool for it. Is there or not? Thank you, Torsten ___ Qgis-user mailing list

Re: [Qgis-user] free DEM data in QGis

2011-08-03 Thread Torsten Lange
it to drape other data over so you can do 3D I'm not sure if QGIS could do that or if it would be the best solution - there are other open-source GIS's for that. Hope that helps. Jonathan From: Torsten Lange tla...@gwdg.de To: Qgis-user@lists.osgeo.org Date: 02/08/2011

[Qgis-user] free DEM data in QGis

2011-08-02 Thread Torsten Lange
Hi! I'm novice to use free DEM data. I work on a medium (~60km) scale area in Germany. It's basically about geology. As don't need accurate DEM data for the time being I read through google that gtopo30 or (even better ?) DTED data from German Aerospace Center may be utilized, which are all

Re: [Qgis-user] object labels

2011-07-27 Thread Torsten Lange
, but also for map tips and perhaps symbolization. Until then you have to do it yourself. Andreas On Tue, 26 Jul 2011 22:51:34 +0200, Torsten Lange wrote: Hi, Is there a way just to print - lets say - the first four letters of a objects name? Or must I create a new row

[Qgis-user] object labels

2011-07-26 Thread Torsten Lange
Hi, Is there a way just to print - lets say - the first four letters of a objects name? Or must I create a new row for that? Thank you, Torsten ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] object labels

2011-07-26 Thread Torsten Lange
huu...! I meant creating a new column instead of a new row. Torsten Am Dienstag 26 Juli 2011, 22:51:34 schrieb Torsten Lange: Hi, Is there a way just to print - lets say - the first four letters of a objects name? Or must I create a new row for that? Thank you, Torsten

[Qgis-user] digitizing a map unprojected and cartesic

2010-09-03 Thread Torsten Lange
Hi, I need to georeference some geological cross sections to load them into a 3D modeling software, which uses a simple, unprojected, orthogonal coordinate system. But I always have to define a specific projection, which at least in one case distort the map too strong. Is there a any chance in

Re: [Qgis-user] qgis 1.5 lenny

2010-05-11 Thread Torsten Lange
Am Dienstag, 11. Mai 2010 07:39:44 schrieb Niccolo Rigacci: On Tue, May 11, 2010 at 12:02:29AM +0200, tla...@gwdg.de wrote: Hmm, not sure. The only conflict I saw was package postgresql-8.3-postgis depends on libgeos-c1(=3.0.0) and qgis depends on libgeos-c1(=3.2.0). I upgraded libgeos-c1