Re: [Qgis-user] QGIS 3 errors after install on macOS 10.13.4

2018-05-25 Thread William Kyngesburye
Cool.

> On May 25, 2018, at 8:04 PM, Reg Maltais  wrote:
> 
> Huh, pip3 told me they weren’t installed. I went in and deleted the 
> directories manually, reran the installer and the logs show them getting 
> installed correctly. QGIS opens without error now, and processing is 
> available now.
> 
> Thank you so much for all the help. I think things are good to go now.
> 
>> On May 25, 2018, at 8:53 PM, William Kyngesburye > > wrote:
>> 
>> I don't think there are separate pip sub packages, they should be in the 
>> main packages.  What do the postinstall lines say for owslib and psycopg2?
>> 
>>> On May 25, 2018, at 7:01 PM, Reg Maltais >> > wrote:
>>> 
>>> They aren’t present in their folders:
>>> 
>>> Bellerophon:~ goatsweater$ ls 
>>> /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/owslib/
>>> __pycache__ feature swe
>>> coveragemap waterml
>>> Bellerophon:~ goatsweater$ ls 
>>> /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/psycopg2/
>>> __pycache__ tests
>>> 
>>> Not sure what happened to them. pip3 install tells me they don’t exist: No 
>>> matching distribution found for owslib.csw
>>> 
 On May 25, 2018, at 5:42 PM, William Kyngesburye >>> > wrote:
 
 the submodules are just parts inside their main folders in site-packages, 
 and these are part of what QGIS needs.  Very strange that QGIS can't see 
 them.
 
> On May 25, 2018, at 4:19 PM, Reg Maltais  > wrote:
> 
> I can see the main package folders if I do ls 
> /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/
> 
> psycopg2 and owslib are both there, but I obviously need some submodules. 
> I was playing with plugins at FOSS4GNA , so it’s not entirely clear to me 
> if those are base packages that should have been installed or the result 
> of me installing something from plugin manager and I need to pip3 install 
> them.
> 
> 
> 
>> On May 25, 2018, at 5:09 PM, William Kyngesburye 
>> mailto:kyngch...@kyngchaos.com>> wrote:
>> 
>> Those are harmless warnings, I'm actually telling it to ignore the cache 
>> anyways.
>> 
>> As long as each one is installed or "already satisfied", it's good.  But 
>> your errors say at least psycopg2 and owslib are missing.
>> 
>>> On May 25, 2018, at 4:04 PM, Reg Maltais >> > wrote:
>>> 
>>> QGIS postinstall says I don’t own my own things.
>>> 
>>> May 25 16:52:07 Bellerophon installd[636]: PackageKit: Executing script 
>>> "./postinstall" in 
>>> /private/tmp/PKInstallSandbox.nFIKY6/Scripts/org.qgis.qgis-3.bYGzlJ
>>> May 25 16:52:07 Bellerophon installd[636]: ./postinstall: The directory 
>>> '/Users/goatsweater/Library/Caches/pip/http' or its parent directory is 
>>> not owned by the current user and the cache has been disabled. Please 
>>> check the permissions and owner of that directory. If executing pip 
>>> with sudo, you may want sudo's -H flag.
>>> May 25 16:52:07 Bellerophon installd[636]: ./postinstall: The directory 
>>> '/Users/goatsweater/Library/Caches/pip' or its parent directory is not 
>>> owned by the current user and caching wheels has been disabled. check 
>>> the permissions and owner of that directory. If executing pip with 
>>> sudo, you may want sudo's -H flag.
>>> May 25 16:52:07 Bellerophon installd[636]: ./postinstall: Looking in 
>>> links: .
>>> May 25 16:52:07 Bellerophon installd[636]: ./postinstall: Requirement 
>>> already satisfied: pyyaml in 
>>> /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages
>>>  (3.12)
>>> 
>>> Disk Utility first aid tells my disk is ok though, so not sure what’s 
>>> going on there.
>>> 
>>> 
 On May 25, 2018, at 9:09 AM, William Kyngesburye 
 mailto:kyngch...@kyngchaos.com>> wrote:
 
 what about the postinstall lines for the qgis install?
 
> On May 24, 2018, at 8:54 PM, Reg Maltais  > wrote:
> 
> I installed GDAL, then QGIS and then looked into the site-packages 
> folder and osgeo and a bunch of other packages are there. Postinstall 
> looks good:
> 
> May 24 21:52:51 Bellerophon installd[636]: PackageKit: Executing 
> script "./postinstall" in 
> /private/tmp/PKInstallSandbox.Gpc2bQ/Scripts/org.maptools.proj-framework-yosemite.ziZfZS
> May 24 21:52:52 Bellerophon installd[636]: ./postinstall: Processing 
> /Library/Frameworks/PROJ.framework/Versions/4B/Resources/pyproj-1.9.5.1-cp36-none-macosx_10_6_intel.whl
> May 24 21:52:52 Bellerophon instal

[Qgis-user] Problem with processing and GRASS algorithms in QGIS 3

2018-05-25 Thread Stephen
Hi everyone,

I'm porting some PyQGIS 2 code to 3.

This post is a continuation of the issue I first mentioned in this post
to the list:

http://lists.osgeo.org/pipermail/qgis-user/2018-May/042343.html

I've since upgraded from 3.0.1 to 3.0.2. (Previously working code did
not work with 3.1 master.)

My code contains the following statement:
> grid_r_raster_layer = processing.run("grass7:v.to.rast", {'input': grid_v, 
> 'type': 0, 'use': 1,
> 'GRASS_REGION_PARAMETER': extent,
> 'output': file_grid_r,
> 'GRASS_REGION_CELLSIZE_PARAMETER': 
> 0.008333,
> 'GRASS_SNAP_TOLERANCE_PARAMETER': -1,
> 'GRASS_MIN_AREA_PARAMETER': 0.000100},
>  feedback=QgsProcessingFeedback())['output']

'grid_v' is a QgsVectorLayer object and 'file_grid_r' a string
containing a path:

 type(grid_v)
> 
 grid_v.isValid()
> True
 print(file_grid_r)
> /tmp/processing_3951f631a6664dd2ac1924f0536a7dd0/5b088658e2ff22

If I execute this code in the pycharm debugger, I get this output:

> Traceback (most recent call last):
>   File 
> "/usr/share/qgis/python/plugins/processing/algs/grass7/Grass7Algorithm.py", 
> line 384, in processAlgorithm
> Grass7Utils.executeGrass(self.commands, feedback, self.outputCommands)
>   File 
> "/usr/share/qgis/python/plugins/processing/algs/grass7/Grass7Utils.py", line 
> 367, in executeGrass
> startupinfo=si if isWindows() else None
>   File "/usr/lib64/python3.5/subprocess.py", line 676, in __init__
> restore_signals, start_new_session)
>   File "/usr/lib64/python3.5/subprocess.py", line 1211, in _execute_child
> executable = os.fsencode(executable)
>   File "/usr/lib64/python3.5/os.py", line 864, in fsencode
> raise TypeError("expect bytes or str, not %s" % type(filename).__name__)
> TypeError: expect bytes or str, not NoneType

(This is progress! In 3.0.1, I didn't get any traceback at all.)

The problem would appear to be in Grass7Utils.py (or be triggered there;
perhaps my input is faulty). Here's the code around line 367 (first line
is 359, last is 379)

> with subprocess.Popen(
> command,
> shell=True if isMac() else False,
> stdout=subprocess.PIPE,
> stdin=subprocess.DEVNULL,
> stderr=subprocess.STDOUT,
> universal_newlines=True,
> env=grassenv,
> startupinfo=si if isWindows() else None
> ) as proc:
> for line in iter(proc.stdout.readline, ''):
> if 'GRASS_INFO_PERCENT' in line:
> try:
> 
> feedback.setProgress(int(line[len('GRASS_INFO_PERCENT') + 2:]))
> except:
> pass
> else:
> if 'r.out' in line or 'v.out' in line:
> grassOutDone = True
> loglines.append(line)
> feedback.pushConsoleInfo(line)

The offending statement in subprocess.py is this:

> self._execute_child(args, executable, preexec_fn, close_fds,
> pass_fds, cwd, env,
> startupinfo, creationflags, shell,
> p2cread, p2cwrite,
> c2pread, c2pwrite,
> errread, errwrite,
> restore_signals, start_new_session)

('executable' is None in this case, which seems wrong, but I have no
clue where it comes from.)

The problem is not, as far as I can tell, in GRASS. The batch job gets
generated and when I run it manually, it works fine:

> /tmp/processing_b02dc280166f49e0af77208296099ea5/grassdata $ export 
> GRASS_BATCH_JOB="$PWD/grass_batch_job.sh"
> /tmp/processing_b02dc280166f49e0af77208296099ea5/grassdata $ grass72
> Cleaning up temporary files...
> Starting GRASS GIS...
> Executing 
> 
>  ...
> Projection information updated
> Over-riding projection check
> Check if OGR layer  contains polygons...
>  100%
> WARNING: Writing column  with integer 64 as integer 32
> WARNING: Writing column  with integer 64 as integer 32
> Importing 48 features (OGR layer )...
>  100%
> -
> Building topology for vector map ...
> Registering primitives...
> 61 primitives registered
> 180 vertices registered
> Building areas...
>  100%
> 0 areas built
> 0 isles built
> Attaching islands...
> Attaching centroids...
>  100%
> Number of nodes: 63
> Number of primitives: 61
> Number of points: 0
> Number of lines: 61
> Number of boundaries: 0
> Number of centroids: 0
> Number of areas: 0
> Number of isles: 0
> Writing raster map...
>  100%
> v.to.rast complete.
> Checking GDAL data type and nodata value...
>  100%
> Using GDAL data type 

Re: [Qgis-user] Plugins repository unavailable for 2.18?

2018-05-25 Thread Eric Fielding
I also see a blank page in Google Chrome browser at that URL.



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
___
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] Plugins repository unavailable for 2.18?

2018-05-25 Thread Mike Hyslop
And I see this error:

XML Parsing Error: not well-formed
Location: https://plugins.qgis.org/plugins/plugins.xml/?qgis=2.18
Line Number 6817, Column 553:
--

On Fri, May 25, 2018 at 2:07 PM 0x906  wrote:

> This comes up empty (blank page) for me.
>
>
> > On May 25, 2018, at 1:58 PM, Richard Duivenvoorde 
> wrote:
> >
> > On 25-05-18 18:41, Fielding, Eric J (329A) wrote:
> >> Hello,
> >>
> >> Has something changed about the plugins repository for version 2.18? I
> >> have not yet upgraded to version 3.x, and sometime in the last month or
> >> so the plugins repository
> >> (https://plugins.qgis.org/plugins/plugins.xml/?qgis=2.18) has stopped
> >> working for me.
> >
> > Nope, nothing changed. We have had a one-time hickup in the service in
> > last days. But those files are now (double) cached: by ourselves and by
> > Cloudflare.
> >
> > IF it fails can you then check in a browser if
> > https://plugins.qgis.org/plugins/plugins.xml/?qgis=2.18
> > also fails and let us know?
> >
> > Regards,
> >
> > Richard Duivenvoorde
> >
> > ___
> > 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 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 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] Plugins repository unavailable for 2.18?

2018-05-25 Thread 0x906
This comes up empty (blank page) for me.


> On May 25, 2018, at 1:58 PM, Richard Duivenvoorde  wrote:
> 
> On 25-05-18 18:41, Fielding, Eric J (329A) wrote:
>> Hello,
>> 
>> Has something changed about the plugins repository for version 2.18? I
>> have not yet upgraded to version 3.x, and sometime in the last month or
>> so the plugins repository
>> (https://plugins.qgis.org/plugins/plugins.xml/?qgis=2.18) has stopped
>> working for me.
> 
> Nope, nothing changed. We have had a one-time hickup in the service in
> last days. But those files are now (double) cached: by ourselves and by
> Cloudflare.
> 
> IF it fails can you then check in a browser if
> https://plugins.qgis.org/plugins/plugins.xml/?qgis=2.18
> also fails and let us know?
> 
> Regards,
> 
> Richard Duivenvoorde
> 
> ___
> 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 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] Plugins repository unavailable for 2.18?

2018-05-25 Thread Richard Duivenvoorde
On 25-05-18 18:41, Fielding, Eric J (329A) wrote:
> Hello,
> 
> Has something changed about the plugins repository for version 2.18? I
> have not yet upgraded to version 3.x, and sometime in the last month or
> so the plugins repository
> (https://plugins.qgis.org/plugins/plugins.xml/?qgis=2.18) has stopped
> working for me.

Nope, nothing changed. We have had a one-time hickup in the service in
last days. But those files are now (double) cached: by ourselves and by
Cloudflare.

IF it fails can you then check in a browser if
https://plugins.qgis.org/plugins/plugins.xml/?qgis=2.18
also fails and let us know?

Regards,

Richard Duivenvoorde

___
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] Plugins repository unavailable for 2.18?

2018-05-25 Thread 0x906
I do have problem since yesterday, even tho the 3.x is working good.


> On May 25, 2018, at 12:41 PM, Fielding, Eric J (329A) 
>  wrote:
> 
> Hello,
>  
> Has something changed about the plugins repository for version 2.18? I have 
> not yet upgraded to version 3.x, and sometime in the last month or so the 
> plugins repository (https://plugins.qgis.org/plugins/plugins.xml/?qgis=2.18 
> ) has stopped 
> working for me.
>  
> Thanks,
> ++Eric Fielding
>  
> -- 
> Eric Fielding
> Jet Propulsion Lab 
> 4800 Oak Grove Drive  
> Pasadena, CA   91109
> USA
>  
>  
> ___
> 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 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] Plugins repository unavailable for 2.18?

2018-05-25 Thread Fielding, Eric J (329A)
Hello,

Has something changed about the plugins repository for version 2.18? I have not 
yet upgraded to version 3.x, and sometime in the last month or so the plugins 
repository (https://plugins.qgis.org/plugins/plugins.xml/?qgis=2.18) has 
stopped working for me.

Thanks,
++Eric Fielding

--
Eric Fielding
Jet Propulsion Lab
4800 Oak Grove Drive
Pasadena, CA   91109
USA


___
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] GEOS-Verarbeitungsfehler: Ein oder mehrere Eingabeobjekte haben ungültige Geometrien.

2018-05-25 Thread Luigi Pirelli
We faced the problem and was related with geometry generation necessary to
place labels or other symbology elements. Nothing that was possibile to
(always) workaround

nyall already fixed in master to avoid this log messages in this particular
case. Sometimes it really slow down the rendering.

here the discussion:

http://osgeo-org.1560.x6.nabble.com/Re-Strange-style-rendering-GEOS-errors-can-you-confirm-td5362500.html

can you check if changing syle remove the geos errors?

regards

Luigi Pirelli

**
* LinkedIn: https://www.linkedin.com/in/luigipirelli
* Stackexchange: http://gis.stackexchange.com/users/19667/luigi-pirelli
* GitHub: https://github.com/luipir
* Mastering QGIS 2nd Edition:
*
https://www.packtpub.com/big-data-and-business-intelligence/mastering-qgis-second-edition
* Hire me: http://goo.gl/BYRQKg
**

2018-05-25 17:18 GMT+02:00 Andreas Sauter :

> Hi Guys, In the current version 2.18.20 I often have the problem that the
> following error message appears when intersecting two shapes: GEOS
> processing error: One or more input objects have invalid geometries. Even
> after intensive review, no geometry errors could be found. This would
> also be very unusual, because the same geometries have always been smoothly
> intersected in the last three years in all previous QGIS versions ... Can
> you help me? Best regards Andreas
>
> ---
>
> Hallo Leute,
>
> bei der aktuellen Version 2.18.20 habe ich häufiger das problem, dass beim
> Verschnitt zweier Shapes folgende Fehlermeldung erscheint: 
> GEOS-Verarbeitungsfehler:
> Ein oder mehrere Eingabeobjekte haben ungültige Geometrien.
>
> Auch nach intensiver Überprüfung konnten keine Geometriefehler gefunden
> werden. Wäre auch ungewöhnlich, da die selben Geometrien in allen
> vorherigen QGIS-Versionen in den letzten drei Jahren immer reibungslos
> verschnitten werden konnten...
>
> Könnt ihr mir helfen?
>
> Viele Grüße
>
> Andreas
>
>
> ___
> 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 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] GEOS-Verarbeitungsfehler: Ein oder mehrere Eingabeobjekte haben ungültige Geometrien.

2018-05-25 Thread Claas Leiner

Hi!

Alternative

Toolbox > GRASS > v.overlay

that runs with every geometry

Greatings, Claas

--
-
GKG-Kassel - Dr.-Ing. Claas Leiner
QGIS-Support und mehr

Geodatenservice, Kartenwerkstatt &
GIS-Schule Kassel

Wilhelmshöher Allee 304 E
34131 Kassel
Tel. 0561/56013445
claas.lei...@gkg-kassel.de

http://www.gkg-kassel.de

Unterstützen Sie QGIS
QGIS-DE e.V. | http://qgis.de
QGIS Projekt | http://qgis.org/de/site/
___
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] GEOS-Verarbeitungsfehler: Ein oder mehrere Eingabeobjekte haben ungültige Geometrien.

2018-05-25 Thread Tobias Wendorff
Hi Andreas,

I often have these problems with fine geometries, too. I'm just
running "fix geometry" on it and I've never seen an actual change
on the data (I've posted about this on the mailinglist some weeks
ago).

Since I never tracked down the actual change in my geometries,
it might be some rounding issues or wrong polygon directions
on multi-polygons when working with different GIS systems / versions?

Best regards,
Tobias


Am Fr, 25.05.2018, 17:18 schrieb Andreas Sauter:
> Hi Guys, In the current version 2.18.20 I often have the problem that
> the following error message appears when intersecting two shapes: GEOS
> processing error: One or more input objects have invalid geometries.
> Even after intensive review, no geometry errors could be found. This
> would also be very unusual, because the same geometries have always been
> smoothly intersected in the last three years in all previous QGIS
> versions ... Can you help me? Best regards Andreas
>
> ---
>
> Hallo Leute,
>
> bei der aktuellen Version 2.18.20 habe ich häufiger das problem, dass
> beim Verschnitt zweier Shapes folgende Fehlermeldung erscheint:
> GEOS-Verarbeitungsfehler: Ein oder mehrere Eingabeobjekte haben
> ungültige Geometrien.
>
> Auch nach intensiver Überprüfung konnten keine Geometriefehler gefunden
> werden. Wäre auch ungewöhnlich, da die selben Geometrien in allen
> vorherigen QGIS-Versionen in den letzten drei Jahren immer reibungslos
> verschnitten werden konnten...
>
> Könnt ihr mir helfen?
>
> Viele Grüße
>
> Andreas
>
> ___
> 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 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] How do I pass parameters to grass7 algorithms with Processing.run?

2018-05-25 Thread Stephen
Hi Nyall, everyone,

I built 3.1 master d5ffc5a2d9, and now I'm getting failures in parts of
my code that previously worked, plus no error messages.

If I walk through the code, exceptions get raised silently. Do I need to
turn on debugging somewhere?

Here's an example of what I see in the pycharm debugger:

> QSettings::value: Empty key passed
> QSettings::value: Empty key passed
> Computing population...
> sys:1: ResourceWarning: unclosed  family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, 
> laddr=('127.0.0.1', 42474), raddr=('127.0.0.1', 33003)>
> 
> Process finished with exit code 1



On 14.05.2018 11:51, Nyall Dawson wrote:
> On 14 May 2018 at 19:30, Stephen  wrote:
> 
>> Without a useful error message, it's very difficult to troubleshoot this
>> on my own.
> 
> Is this on master? The error messages have been greatly improved for
> 3.2, so I'd be interested to see what results you get there.
> 
> Nyall
> 

___
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] GEOS-Verarbeitungsfehler: Ein oder mehrere Eingabeobjekte haben ungültige Geometrien.

2018-05-25 Thread Andreas Sauter
Hi Guys, In the current version 2.18.20 I often have the problem that 
the following error message appears when intersecting two shapes: GEOS 
processing error: One or more input objects have invalid geometries. 
Even after intensive review, no geometry errors could be found. This 
would also be very unusual, because the same geometries have always been 
smoothly intersected in the last three years in all previous QGIS 
versions ... Can you help me? Best regards Andreas


---

Hallo Leute,

bei der aktuellen Version 2.18.20 habe ich häufiger das problem, dass 
beim Verschnitt zweier Shapes folgende Fehlermeldung erscheint: 
GEOS-Verarbeitungsfehler: Ein oder mehrere Eingabeobjekte haben 
ungültige Geometrien.


Auch nach intensiver Überprüfung konnten keine Geometriefehler gefunden 
werden. Wäre auch ungewöhnlich, da die selben Geometrien in allen 
vorherigen QGIS-Versionen in den letzten drei Jahren immer reibungslos 
verschnitten werden konnten...


Könnt ihr mir helfen?

Viele Grüße

Andreas

___
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] QGIS - line symbolisation? New start at each node/vertex [Marketing Mail]

2018-05-25 Thread Elstermann, Mike
Found it:
After Dissolve it works (my Test-Dissolve was wrong)

mikeE.

Von: Qgis-user  Im Auftrag von Elstermann, 
Mike
Gesendet: Freitag, 25. Mai 2018 13:14
An: 'qgis-user@lists.osgeo.org' (qgis-user@lists.osgeo.org) 

Betreff: [Qgis-user] QGIS - line symbolisation? New start at each node/vertex 
[Marketing Mail]

It seems as if QGIS starts the symbolisation of lines anew at each node/vertex. 
It would be better to just continue drawing, see graphic on 
http://www.geoobserver.de/qgis_line_symb1.png
Anybody have an idea?

Best regards, mikeE.
___
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] QGIS - line symbolisation? New start at each node/vertex

2018-05-25 Thread Elstermann, Mike
It seems as if QGIS starts the symbolisation of lines anew at each node/vertex. 
It would be better to just continue drawing, see graphic on 
http://www.geoobserver.de/qgis_line_symb1.png
Anybody have an idea?

Best regards, mikeE.
___
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] QGIS 3 clipping raster with a polygon - problem

2018-05-25 Thread David Addy
I have upgraded to 3.0.3 and tried to clip another file. Oh Joy! It worked.
However I was a bit disconcerted by the GDAL readout at the bottom of the
box which described output to a temp file even though I had specified a new
filename and location. However, the new file name was actually applied.
Here is the dialogue box. You can see that the GDAL commands no longer
contain all the double slashes of previous.
 



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
___
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] click on raster outline to make it visible

2018-05-25 Thread Reginald
Found the solution for defining the action:

from PyQt4.QtCore import QFileInfo;
fileName ="[%"Locatie"%]";
fraw = fileName.encode('string_escape').replace('','\\')
fileInfo = QFileInfo(fileName);
baseName = fileInfo.baseName();
qgis.utils.iface.addRasterLayer(fraw, baseName);

With this code I can click in the combobox in the attributetable and the
rasterlayer loads in the layerpanel.
It would be nice if I could just click on the outline in the map and get the
same result 



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
___
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] click on raster outline to make it visible

2018-05-25 Thread Reginald
My code now looks like this :


 
resulting in the following error:
 
Ongeldige Laag: GDAL provider Cannot open GDAL dataset
'F:\\Ingelmunster\riolering\\infraxscans\tif2/333-Meulebekestraat_Lammekensknokstraat_Bollewerpstraat_Leon_Bekaertstraat_Ringlaan_Mandesweg_GP_deel2.tif':
`'F:\\Ingelmunster\riolering\\infraxscans\tif2/333-Meulebekestraat_Lammekensknokstraat_Bollewerpstraat_Leon_Bekaertstraat_Ringlaan_Mandesweg_GP_deel2.tif''
does not exist in the file system, and is not recognized as a supported
dataset name



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
___
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] click on raster outline to make it visible

2018-05-25 Thread Michel Stuyts
I tried the following in the Python console:
 test="F:\Ingelmunster\riolering\infraxscans\tif2/331-Meulebekestraat_Leon_Bekaertstraat_Mandesweg_GP_deel2.tif"
 print(test)
F:\Ingelmunster
iolering\infraxscans
if2/331-Meulebekestraat_Leon_Bekaertstraat_Mandesweg_GP_deel2.tif
 testraw = "%r"%test
 print(testraw)

'F:\\Ingelmunster\riolering\\infraxscans\tif2/331-Meulebekestraat_Leon_Bekaertstraat_Mandesweg_GP_deel2.tif'

Would this be a solution?

Michel



-Oorspronkelijk bericht-
Van: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] Namens Reginald
Verzonden: vrijdag 25 mei 2018 10:31
Aan: qgis-user@lists.osgeo.org
Onderwerp: Re: [Qgis-user] click on raster outline to make it visible

Hi Michel,

It would be a solution to escape all the suspicous characters, but I would 
prefer it if the string could be treated as a raw string. I tried placing r in 
front of it but that didn't work. I guess it is the way that the actions are 
implemented that creates this problem.
The location path was the result of the raster> Index tiles algorithm.

Regards,



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
___
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 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] click on raster outline to make it visible

2018-05-25 Thread Reginald
Hi Michel,

It would be a solution to escape all the suspicous characters, but I would
prefer it if the string could be treated as a raw string. I tried placing r
in front of it but that didn't work. I guess it is the way that the actions
are implemented that creates this problem.
The location path was the result of the raster> Index tiles algorithm.

Regards,



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
___
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] click on raster outline to make it visible

2018-05-25 Thread Michel Stuyts
It looks like the \r in the path is interpreted as a carriage return and the \t 
as a tab and so a part of the path is missing for GDAL. Maybe you can try to 
replace the \ by \\.  

Info on Escape Sequences: 
- 
http://python-reference.readthedocs.io/en/latest/docs/str/escapes.html 
- http://en.cppreference.com/w/cpp/language/escape

I also notice a mix of \ and / in the paths. I don't know if that can cause 
problems.

Michel

-Oorspronkelijk bericht-
Van: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] Namens Reginald
Verzonden: vrijdag 25 mei 2018 10:02
Aan: qgis-user@lists.osgeo.org
Onderwerp: Re: [Qgis-user] click on raster outline to make it visible

Hello,

I have defined an action with the following python code:

from PyQt4.QtCore import QFileInfo
fileName ="[%"Locatie"%]";
fileInfo = QFileInfo(fileName);
baseName = fileInfo.baseName();
qgis.utils.iface.addRasterLayer(fileName, baseName);

The problem that I’m having is that the string stored in the Locatie field gets 
interpreted.
In a path name like
F:\Ingelmunster\riolering\infraxscans\tif2/331-Meulebekestraat_Leon_Bekaertstraat_Mandesweg_GP_deel2.tif
\t creates a tab spacing and \r removes a character.

Ongeldige Laag: GDAL provider Cannot open GDAL dataset F:\Ingelmunster 
iolering\infraxscans
if2/335-Meulebekestraat_Lammekensknokstraat_Bollewerpstraat_Bekaertstraat_Ringlaan_GP_deel3.tif:
`F:\Ingelmunster iolering\infraxscans
if2/335-Meulebekestraat_Lammekensknokstraat_Bollewerpstraat_Bekaertstraat_Ringlaan_GP_deel3.tif'
does not exist in the file system, and is not recognized as a supported dataset 
name.

How can I load the rasterfile with the filename that is stored in the Locatie 
field into qgis?
Is there any comprehensive tutorial on actions?

Regards,




--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
___
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 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] click on raster outline to make it visible

2018-05-25 Thread Reginald
Hello,

I have defined an action with the following python code:

from PyQt4.QtCore import QFileInfo
fileName ="[%"Locatie"%]";
fileInfo = QFileInfo(fileName);
baseName = fileInfo.baseName();
qgis.utils.iface.addRasterLayer(fileName, baseName);

The problem that I’m having is that the string stored in the Locatie field
gets interpreted.
In a path name like
F:\Ingelmunster\riolering\infraxscans\tif2/331-Meulebekestraat_Leon_Bekaertstraat_Mandesweg_GP_deel2.tif
 
\t creates a tab spacing and \r removes a character.

Ongeldige Laag: GDAL provider Cannot open GDAL dataset F:\Ingelmunster
iolering\infraxscans
if2/335-Meulebekestraat_Lammekensknokstraat_Bollewerpstraat_Bekaertstraat_Ringlaan_GP_deel3.tif:
`F:\Ingelmunster iolering\infraxscans
if2/335-Meulebekestraat_Lammekensknokstraat_Bollewerpstraat_Bekaertstraat_Ringlaan_GP_deel3.tif'
does not exist in the file system, and is not recognized as a supported
dataset name.

How can I load the rasterfile with the filename that is stored in the
Locatie field into qgis?
Is there any comprehensive tutorial on actions?

Regards,




--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
___
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