[QGIS-Developer] Virtuel Fields are apparently stored as part of a style?

2020-05-05 Thread magerlin
I am working with virtual fields in Field Calculator as I need to have
columns updated based on data from a dbf file present in the project folder
whenever I open the project.

I have two different styles set up for the layer with virtual fields and
after having edited some of the formulas for the virtual fields I was very
puzzled on what was going on?

Until I realized that the formulas had only been changed for the style that
was used for showing the layer when I made the edits. For the other style
the formulas were not edited.

Is this intentional or an error?



-
Regards Morten

Currently using Qgis 3.10.0
Windows 10, 64bit
--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] OSGEO4W messing up Grass versions

2019-12-12 Thread magerlin
If I start QGIS with Grass by double clicking
"C:\OSGeo4W64\bin\qgis-bin-g7.exe" the Grass path is wrong.

If I start by double clicking on "C:\OSGeo4W64\bin\qgis-grass7.bat" the
Grass paths are OK.

On a colleagues PC he cannot start QGIS at all from the .exe but it works
well using the .bat.

Looks like the .exe files coming with the OSGeo4w version are faulty?



-
Regards Morten

Currently using Qgis 3.10.0
Windows 10, 64bit
--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] OSGEO4W messing up Grass versions

2019-12-11 Thread magerlin
Yes I run the ""QGIS with GRASS" and get this error when trying to run Grass
from within Processing Toolbox: 

*This algorithm cannot be run :-( 
The specified GRASS 7 folder "C:\OSGEO4~1\bin\bin" does not contain a valid
set of GRASS 7 modules. Please, go to the Processing settings dialog, and
check that the GRASS 7 folder is correctly configured*

I do not have a folder called "C:\OSGEO4~1\bin\bin". I have a folder called
"C:\OSGEO4~1\bin" which includes a grass76.bat file

In setting this path is included for the docs and it is existing:
C:\OSGeo4W64\apps\grass\grass76\docs\html



-
Regards Morten

Currently using Qgis 3.10.0
Windows 10, 64bit
--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Log file? - QGIS not starting

2019-11-26 Thread magerlin
Having problems installing QGIS on a colleagues brand new Win 10 PC.
I have recently installed without problems on my own identical PC.

We have tried 3.4 and 3.10 both as Standalone and from OSGeo4W.

But situation is the same: 

QGIS 3.4:
 
C:\Program Files\QGIS 3.4\apps\qgis-ltr\bin\Qgis_app.dll  
does exist on PC but the .env file does not



QGIS 3.10:
 

Here the .env file exists and contains this:

PATH=C:\OSGEO4~1\apps\qgis\bin;C:\OSGEO4~1\apps\grass\grass78\lib;C:\OSGEO4~1\apps\grass\grass78\bin;C:\OSGEO4~1\apps\Python37;C:\OSGEO4~1\apps\Python37\Scripts;C:\OSGEO4~1\apps\qt5\bin;C:\OSGEO4~1\apps\Python37;C:\OSGEO4~1\apps\Python37\Scripts;C:\OSGEO4~1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\WBem
GDAL_DATA=C:\OSGEO4~1\share\gdal
GDAL_DRIVER_PATH=C:\OSGEO4~1\bin\gdalplugins
GDAL_FILENAME_IS_UTF8=YES
GEOTIFF_CSV=C:\OSGEO4~1\share\epsg_csv
GISBASE=C:\OSGEO4~1\apps\grass\grass78
GRASS_PROJSHARE=C:\OSGEO4~1\share\proj
GRASS_PYTHON=C:\OSGEO4~1\bin\python3.exe
JPEGMEM=100
OSGEO4W_ROOT=C:\OSGEO4~1
PROJ_LIB=C:\OSGEO4~1\share\proj
PYTHONHOME=C:\OSGEO4~1\apps\Python37
QGIS_PREFIX_PATH=C:/OSGEO4~1/apps/qgis
QT_PLUGIN_PATH=C:\OSGEO4~1\apps\qgis\qtplugins;C:\OSGEO4~1\apps\qt5\plugins
VSI_CACHE=TRUE
VSI_CACHE_SIZE=100
O4W_QT_PREFIX=C:/OSGEO4~1/apps/Qt5
O4W_QT_BINARIES=C:/OSGEO4~1/apps/Qt5/bin
O4W_QT_PLUGINS=C:/OSGEO4~1/apps/Qt5/plugins
O4W_QT_LIBRARIES=C:/OSGEO4~1/apps/Qt5/lib
O4W_QT_TRANSLATIONS=C:/OSGEO4~1/apps/Qt5/translations
O4W_QT_HEADERS=C:/OSGEO4~1/apps/Qt5/include






-
Regards Morten

Currently using Qgis 3.10.0
Windows 10, 64bit
--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] OSGEO4W messing up Grass versions

2019-11-10 Thread magerlin
I downgraded to Grass 7.6.1 but Qgis is still missing the right path - I
still get the error message

"The specified GRASS 7 folder "C:\OSGeo4W64\bin\bin" does not contain a
valid set of GRASS 7 modules. Please, go to the Processing settings dialog,
and check that the GRASS 7 folder is correctly configured"

There is no such folder as "C:\OSGeo4W64\bin\bin".  There are Grass bat
files in the folder "C:\OSGeo4W64\bin"

But the Processing setting dialog does not any more include the path to
Grass - I can only tell where Grass docs are:


 

Where do I set the path to Grass in QGIS 3.10?



-
Regards Morten

Currently using Qgis 3.10.0
Windows 10, 64bit
--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] OSGEO4W messing up Grass versions

2019-11-09 Thread magerlin
Having installed QGIS on a new windows PC using OSGEO4W installs a QGIS
pointing to a wrong Grass version.

QGIS expects Grass 7.6.1 but Grass 7.8.0 is being installed:


 

Trying to run Grass from Processing gives this error:

 

The option to set the GRASS path does not exist anymore in the Processing
Provider settings.
Where do I change it?






-
Regards Morten

Currently using Qgis 3.10.0
Windows 10, 64bit
--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] v.net.centrality: Sorry, is not a valid parameter

2019-10-31 Thread magerlin
Thanks for clearing that up

I have made v.net.centrality run in QGIS 2.18 without any problems - even
though the setup is a little different in 2.18 as you do not need to provide
a point layer and you unfortunately cannot add costs on the network.



-
Regards Morten

Currently using Qgis 2.18.23 (OSGeo4) and Qgis 3.10.0 in parallel
Windows 7, 64bit
--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] v.net.centrality: Sorry, is not a valid parameter

2019-10-31 Thread magerlin
Yes you need to chose an output type yourself, but nomatter what I choose I
get the same error message.

I am running on windows and no matter what Grass procedure I run I get this
warning: 
WARNING: Concurrent mapset locking is not supported on Windows.
Do not know what it means or whether it is relevant in this case?


Error message from v.centrality.net:

QGIS version: 3.10.0-A Coruña
QGIS code revision: 6c816b4204
Qt version: 5.11.2
GDAL version: 2.4.1
GEOS version: 3.8.0-CAPI-1.13.1 
PROJ version: Rel. 5.2.0, September 15th, 2018
Processing algorithm…
Algorithm 'v.net.centrality' starting…
Input parameters:
{ '-a' : True, '-g' : False, 'GRASS_MIN_AREA_PARAMETER' : 0.0001,
'GRASS_OUTPUT_TYPE_PARAMETER' : 0, 'GRASS_REGION_PARAMETER' : None,
'GRASS_SNAP_TOLERANCE_PARAMETER' : -1, 'GRASS_VECTOR_DSCO' : '',
'GRASS_VECTOR_EXPORT_NOCAT' : False, 'GRASS_VECTOR_LCO' : '',
'arc_backward_column' : None, 'arc_column' : None, 'betweenness' : '',
'cats' : '', 'closeness' : 'closeness', 'degree' : 'degree', 'eigenvector' :
'', 'error' : 0.1, 'input' : 'C:\\@Temp\\net.shp|layername=net',
'iterations' : 1000, 'node_column' : None, 'output' :
'C:/@Temp/central.shp', 'points' : 'C:\\@Temp\\Poi.shp|layername=Poi',
'threshold' : 50, 'where' : '' }

Attempting to use v.external for direct layer read
Attempting to use v.external for direct layer read
g.proj -c proj4="+proj=longlat +datum=WGS84 +no_defs"
v.external input="C:\@Temp\net.shp" layer="net"
output="vector_5dba985f06fbb16" --overwrite -o
v.external input="C:\@Temp\Poi.shp" layer="Poi"
output="vector_5dba985f09e9b17" --overwrite -o
g.region n=9.327649580604518 s=9.271627488192191 e=38.7617967871377
w=38.74138436843244
v.net -s input=vector_5dba985f06fbb16 points=vector_5dba985f09e9b17
output=net5dba985f0b22318 operation=connect threshold=50.0
v.db.connect -o map=net5dba985f0b22318 table=vector_5dba985f09e9b17 layer=2
v.net.centrality input=net5dba985f0b22318 degree="degree"
closeness="closeness" iterations=1000 error=0.1 -a
output=output94c0c01b65de4586878116ac9fa984ae --overwrite
v.out.ogr type="point" input="output94c0c01b65de4586878116ac9fa984ae"
output="C:/@Temp/central.shp" format="ESRI_Shapefile" layer=1 --overwrite
Cleaning up temporary files...
Starting GRASS GIS...
WARNING: Concurrent mapset locking is not supported on Windows
Executing

...
C:\Users\map\Documents>chcp 1252 1>NUL
C:\Users\map\Documents>g.proj -c proj4="+proj=longlat +datum=WGS84 +no_defs"
Default region was updated to the new projection, but if you have multiple
mapsets `g.region -d` should be run in each to update the region from the
default
Projection information updated
C:\Users\map\Documents>v.external input="C:\@Temp\net.shp" layer="net"
output="vector_5dba985f06fbb16" --overwrite -o
Over-riding projection check
Building topology for vector map ...
Using external data format 'ESRI Shapefile' (feature type 'linestring')
Registering primitives...
One primitive registered
43 vertices registered
v.external complete. Link to vector map  created.
C:\Users\map\Documents>v.external input="C:\@Temp\Poi.shp" layer="Poi"
output="vector_5dba985f09e9b17" --overwrite -o
Over-riding projection check
Building topology for vector map ...
Using external data format 'ESRI Shapefile' (feature type 'point')
Registering primitives...
334 primitives registered
334 vertices registered
v.external complete. Link to vector map  created.
C:\Users\map\Documents>g.region n=9.327649580604518 s=9.271627488192191
e=38.7617967871377 w=38.74138436843244
C:\Users\map\Documents>v.net -s input=vector_5dba985f06fbb16
points=vector_5dba985f09e9b17 output=net5dba985f0b22318 operation=connect
threshold=50.0
Copying features...
100
Building topology for vector map ...
Registering primitives...
Copying attributes...
WARNING: Unable to create index
WARNING: Unable to copy table  for layer 1 from
 to 
WARNING: Failed to copy attribute table to output map
Building topology for vector map ...
Registering primitives...
v.net complete. 9 lines (network arcs) written to output.
C:\Users\map\Documents>v.db.connect -o map=net5dba985f0b22318
table=vector_5dba985f09e9b17 layer=2
WARNING: Table  does not exist in database
<$GISDBASE/$LOCATION_NAME/$MAPSET/sqlite/sqlite.db>
The table  is now part of vector map
 and may be deleted or overwritten by GRASS modules
WARNING: Cannot create index
Select privileges were granted on the table
C:\Users\map\Documents>v.net.centrality input=net5dba985f0b22318
degree="degree" closeness="closeness" iterations=1000 error=0.1 -a
output=output94c0c01b65de4586878116ac9fa984ae --overwrite
Building graph...
Registering arcs...
1..3..5..7..9..11..13..15..17..19..21..23..25..27..29..31..33..35..37..39..41..43..45..47..49..51..53..55..57..59..61..63..65..67..69..71..73..75..77..79..81..83..85..87..89..91..93..95..97..99..100
Flattening the graph...
Graph was built
Computing degree centrality measure
Computing betweenness and/or closeness centrality measure
0..9..18..27..36..45..54..63..72..81..90..Writing data int

[QGIS-Developer] v.net.centrality: Sorry, is not a valid parameter

2019-10-31 Thread magerlin
In trying to use v.net.centrality I get the error "Sorry,  is not a
valid parameter"

I have tried several settings when running but keep on getting this error -
cannot figure out from where the word  origins - it must be
something internal in the script as I am not using this word.

Data sample is here:  Poi.zip
  






-
Regards Morten

Currently using Qgis 2.18.23 (OSGeo4) and Qgis 3.10.0 in parallel
Windows 7, 64bit
--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] GDAL Points along lines in processing cannot open Geopackage

2019-10-18 Thread magerlin
It tries a load of drivers to opgen Geopackage but fails:





-
Regards Morten

Currently using Qgis 2.18.23 (OSGeo4) and Qgis 3.8.0 in parallel
Windows 7, 64bit
--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Accessing Processing Toolbox makes QGIS hang

2019-08-13 Thread magerlin
From one specific project file accessing "Processing Toolbox" makes QGIS
hang.
If I start on a new project I have no problems.

The project includes Geopackages and background maps from QuickMap Services.
A lot of different stuff has been in and out of the project like an MSQL
connection and WFS connections, but these are not in the project anymore. 

I am suspecting that project files are not always cleaned 100% when deleting
layers?

Anybody got a clue on what can trigger this behaviour from Processing - it
is quite a big project, would prefer not to start it all over



-
Regards Morten

Currently using Qgis 2.18.23 (OSGeo4) and Qgis 3.8.0 in parallel
Windows 7, 64bit
--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] Any ways to make the browser show files on network?

2019-07-23 Thread magerlin
Ah - very fine. I had actually been looking for a way to manually add a path



-
Regards Morten

Currently using Qgis 2.18.23 (OSGeo4) and Qgis 3.8.0 in parallel
Windows 7, 64bit
--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Any ways to make the browser show files on network?

2019-07-23 Thread magerlin
Where I work somebody decided to use sharepoint as our document handling
system - I will save you for my opinion on that!

But it means that typically my GIS layers are stored at places like:
\\files\Projects\11000382XX\1100038233\GIS\Layers\

And I se no way of getting to there in the QGIS browser window?

And as the "Change data source" for a layer is based on the browser I cannot
use this feature.

I can map the network drive but with many people working on the same data I
need to assure that they will map it the same way as the mapping will be
stored in the project file.



-
Regards Morten

Currently using Qgis 2.18.23 (OSGeo4) and Qgis 3.8.0 in parallel
Windows 7, 64bit
--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] prj files not used when adding layer by drag and drop

2019-07-16 Thread magerlin
I have a shapefile with projection defined in a prj file.

If I open it using the menu it is shown as expected with no questions about
projection.

If I drag and drop the shp file onto the canvas I am asked to choose the
projection (from scratch - prj file apparently not read).

The actual shapefile has no qpr file 



-
Regards Morten

Currently using Qgis 2.18.23 (OSGeo4) and Qgis 3.8.0 in parallel
Windows 7, 64bit
--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] Locked layers and styles in layouts - where to see used layers?

2019-07-08 Thread magerlin
The code return just an empty string but it pointed me at looking at the
variables in the lower right corner, from where I can read it "manually"

 



-
Regards Morten

Currently using Qgis 2.18.23 (OSGeo4) and Qgis 3.8.0 in parallel
Windows 7, 64bit
--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Locked layers and styles in layouts - where to see used layers?

2019-07-08 Thread magerlin
I am going to reuse an old project file with 20 layouts which each are
different based on what layers are locked in the layout.

But now the background map source is going to be changed so I have to unlock
layers in all 20 layouts to make them show the new background map. 

But then I will loose the information on what layers should be locked (ie.
included) in each layout.

Anywhere I can see what layers are included/locked in each layout?

Final solution may be to open the project file in an XML editor - it must be
stored there somewhere

I should probably have used "map themes" but it is to late now..



-
Regards Morten

Currently using Qgis 2.18.23 (OSGeo4) and Qgis 3.4.2 in parallel
Windows 7, 64bit
--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] Package Layers Processing algorithm to include styling?

2019-06-17 Thread magerlin
NICE!



-
Regards Morten

Currently using Qgis 2.18.23 (OSGeo4) and Qgis 3.4.2 in parallel
Windows 7, 64bit
--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Package Layers Processing algorithm to include styling?

2019-06-17 Thread magerlin
The "Package Layers" Processing algorithm is a nice tool to pack and store a
big project in one Geopackage.

But I really miss, to have the styles saved in the Geopackage too - will it
be possible?

Regards Morten



-
Regards Morten

Currently using Qgis 2.18.23 (OSGeo4) and Qgis 3.4.2 in parallel
Windows 7, 64bit
--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] Sometimes qgz files opens just as a completely blank project

2019-01-09 Thread magerlin
Saving the empty looking project as a new qgz file only using Ascii
characters and then reopening this new project brings back the content :-)

So you are right - using non Ascii characters seems to be the problem.

Il will file an issue on this.



-
Regards Morten

Currently using Qgis 2.18.23 (OSGeo4) and Qgis 3.4.2 in parallel
Windows 7, 64bit
--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Label engine only using integer part of size etc.

2019-01-07 Thread magerlin
It appears to me that in QGIS 3.4.3 (Win7) the label engine only use the
integer part of sizes at least when it comes to size of buffer and the
distance for cartographic placement:

Increasing numbers from 1mm to 1.5 mm makes no difference, first when
reaching 2.0 mm a difference is seen



-
Regards Morten

Currently using Qgis 2.18.23 (OSGeo4) and Qgis 3.4.2 in parallel
Windows 7, 64bit
--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] Any ways to avoid offsets being shown in printed map legend?

2018-12-18 Thread magerlin
I would love to be able to sponsor the development, but I work in a large
company who is "engaged" with ESRI, so if I ask for funding I will just get
the answer: We already pay to Esri, so use ArcGIS :-(

And I have no knowledge on python 

While talking about legends in print composer I sometimes find it hard to
get it to update like if I have added a new category on a layer.

Ticking auto update will add all layers to the print composer and I almost
never show all layers in printed maps (I ususally exclude background maps
like google Maps etc.) . Normal workaround is to add the layer a second time
to the print composer legend and redoo any edits :-(

Sometimes also turning feature class count on and off does the trick



-
Regards Morten

Currently using Qgis 2.18.23 (OSGeo4) and Qgis 3.4.2 in parallel
Windows 7, 64bit
--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] Marker line y offset

2018-12-18 Thread magerlin
Really fun stuff arises when you then use the arrows to increase width (in
steps of 0.2 *mm*)

Explaining somebody why you are using a linewidth of 0.46 mm, well eh
you know:

1/10th of an inch + 0.2 mm isn't that a natural width to choose :-)

The used increments of 0.20 mm indicates by the way, that default width
should be 0.20 mm and not 0.25 mm to give nicer looking values when
incrementing like 1,0 mm and not 1.05 mm.



-
Regards Morten

Currently using Qgis 2.18.23 (OSGeo4) and Qgis 3.4.2 in parallel
Windows 7, 64bit
--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Any ways to avoid offsets being shown in printed map legend?

2018-12-17 Thread magerlin
When mapping things like bus routes it can be handy to offset routes if more
than one route uses the same road.

But I see no way to avoid the offsets also being shown in the legend off
"printed" maps (or created pdf's, png's etc).

I have just had a case, where my client says "you need to clean up those
miss-alignments in the map-legend".

I can get almost there if I hardcode the offset using "data defined
override", but this solution only corrects the Layers panel and the "Legend
panel" in print composer - It has no effect on the legend in the print
composer canvas and final printed map...



-
Regards Morten

Currently using Qgis 2.18.23 (OSGeo4) and Qgis 3.4.2 in parallel
Windows 7, 64bit
--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] Marker line y offset

2018-12-17 Thread magerlin
Me too - I have always found it strange but thought I have misunderstood
something?

I have also always wondered why the default line width is 0.26 mm and not
0.25.
I guess it is 1/10th of an inch, but since we are talking mm, why mess it up
with inches? 



-
Regards Morten

Currently using Qgis 2.18.23 (OSGeo4) and Qgis 3.4.2 in parallel
Windows 7, 64bit
--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Sometimes qgz files opens just as a completely blank project

2018-12-14 Thread magerlin
I have several times encountered that when I reopen a QGIS3 project
previously stored as a QGZ file it just shows a completely blank project
(and no kind of error messages).

I can then use 7zip to unzip the qgz file and extract a fully functional qgs
file showing my whole project as it should look  :-) 

An example of a qgz files showing a blank project is here:

Knudepunkter_ogt_påstigere_v3.qgz

  

and when I unzip it with 7zip I get this fully functional qgs file:

Knudepunkter_ogt_påstigere_v3.qgs

  



-
Regards Morten

Currently using Qgis 2.18.23 (OSGeo4) and Qgis 3.4.2 in parallel
Windows 7, 64bit
--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] Wrong line widths in legend when saving layout as pdf

2018-12-13 Thread magerlin
You saved my day :-)

I must accidently have hit CTRL+5 in Acroplot Matrix which I can read turns
line weights on/off.

I did not know of such an option and would never have found it!

Line widths are back :-)





-
Regards Morten

Currently using Qgis 2.18.23 (OSGeo4) and Qgis 3.4.2 in parallel
Windows 7, 64bit
--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] Wrong line widths in legend when saving layout as pdf

2018-12-12 Thread magerlin
I have realized it depends on what PDF-viewer I use for seeing the results.

In Adobe Reader the line widths are right, in Acroplot Matrix they are
wrong.???

Have used Acroplt Matrix for a long time and never experienced this problem
before.



-
Regards Morten

Currently using Qgis 2.18.23 (OSGeo4) and Qgis 3.4.2 in parallel
Windows 7, 64bit
--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] Wrong line widths in legend when saving layout as pdf

2018-12-04 Thread magerlin
Started by doing a very simple test project:  Test.zip
  
and installed 3.2.2.

In this project I get wrong line width in pdf *both* in map and in legend
nomatter whether I use version 3.4.2, 3.2.2 or 2.18.26.

My original project still shows right line width in the map and wrong in the
legend in version 3.4.2 while it is wrong in both map and template in
version 2.18.26. 





-
Regards Morten

Currently using Qgis 2.18.23 (OSGeo4) and Qgis 3.4.2 in parallel
Windows 7, 64bit
--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Wrong line widths in legend when saving layout as pdf

2018-12-03 Thread magerlin
In QGIS 3.4.2 I have problems when saving a layout as PDF: The line widths
are wrong in the PDF. When saving to all other formats the line widths are
right.

Saved as PDF:
 

Saved in other formats:
 



-
Regards Morten

Currently using Qgis 2.18.23 (OSGeo4) and Qgis 3.4.2 in parallel
Windows 7, 64bit
--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] QGIS 3 does not allow to embed layers from qgz project files

2018-10-12 Thread magerlin
Done



-
Regards Morten

Currently using Qgis 2.18.23 (OSGeo4) and Qgis 3.2.2 in parrallel
Windows 7, 64bit
--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] QGIS 3 does not allow to embed layers from qgz project files

2018-09-11 Thread magerlin
In Qgis 3 "Embed Layers and Groups" only allows to embed from qgs files, not
qgz:

 

I can write *.qgz myself in the filename field and the qgz files appear but
Qgis crashes when I try to use one of them:

Crash ID: 4bbda773b0ca13ca0a43c40842995c035e0b436b


Stack Trace


QgsLayerTreeModel::index2node :
QgsLayerTreeViewIndicator::QgsLayerTreeViewIndicator :
QAbstractItemView::viewportEvent :
QCoreApplicationPrivate::sendThroughObjectEventFilters :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QApplication::event :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QEventDispatcherWin32Private::sendTimerEvent :
QEventDispatcherWin32::processEvents :
TranslateMessageEx :
TranslateMessage :
QEventDispatcherWin32::processEvents :
qt_plugin_query_metadata :
QEventLoop::exec :
QDialog::exec :
QgisApp::embedLayers :
QMetaObject::activate :
QAction::activate :
QMenu::actionGeometry :
QMenu::actionGeometry :
QMenu::mouseReleaseEvent :
QWidget::event :
QMenu::event :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QApplicationPrivate::sendMouseEvent :
QSizePolicy::QSizePolicy :
QSizePolicy::QSizePolicy :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QGuiApplicationPrivate::processMouseEvent :
QWindowSystemInterface::sendWindowSystemEvents :
QEventDispatcherWin32::processEvents :
TranslateMessageEx :
TranslateMessage :
QEventDispatcherWin32::processEvents :
qt_plugin_query_metadata :
QEventLoop::exec :
QCoreApplication::exec :
main :
BaseThreadInitThunk :
RtlUserThreadStart :




QGIS Info
QGIS Version: 3.2.2-Bonn
QGIS code revision: 26842169e9
Compiled against Qt: 5.9.2
Running against Qt: 5.9.2
Compiled against GDAL: 2.2.4
Running against GDAL: 2.2.4



System Info
CPU Type: x86_64
Kernel Type: winnt
Kernel Version: 6.1.7601






-
Regards Morten

Currently using Qgis 2.18.23 (OSGeo4) and Qgis 3.2.2 in parrallel
Windows 7, 64bit
--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Is any work being done on problems with Qlonglong fields?

2016-08-22 Thread magerlin
OK - thanks for info.

I will start opening issues then.



-
Regards Morten

Currently using Qgis 2.16.1 (OSGeo4),
Windows 7, 64bit
--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Is-any-work-being-done-on-problems-with-Qlonglong-fields-tp5281463p5281702.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] Is any work being done on problems with Qlonglong fields?

2016-08-22 Thread magerlin
At least in Win7 64 bit many plugins either ignore Qlonglong fields or regard
them as text.

It is quite annoying to have to store attributes as Real to be able to work
in Qgis - especially since you have to add decimals as real 10.0
automatically is being converted to Qlonglong. And if you create a field as
short integer next time you open the shape file it is being regarded as
Qlonglong.

Post in Qgis User

  

I am unfortunately not a programmer so I cannot participate in solving
this





-
Regards Morten

Currently using Qgis 2.16.1 (OSGeo4),
Windows 7, 64bit
--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Is-any-work-being-done-on-problems-with-Qlonglong-fields-tp5281463.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] Error in QGIS or not proper KML format?

2015-12-08 Thread magerlin
When I recieve KML files from af public state bureau the point coordinates
are written like this in the kml file:


8.43307284569448, 55.478226574306


When opening it in Qgis all points get a y coordinate of zero. Removing the
blank between the "," and the y coordinate 55.478 solves the problem. Google
Earth can open the files without problems.

Shall I claim the producer for not writing proper KLM or is it an error in
Qgis (or OGR or whatever is used for reading KLM)?



-
Regards Morten

Currently using Qgis 2.12.1 (OSGeo4),
Windows 7, 64bit
--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Error-in-QGIS-or-not-proper-KML-format-tp5240377.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Status on Windows 64 bit versus 32 bit?

2015-12-02 Thread magerlin
I now downloaded the 64 bit standalone installer and installed this 64 bit
version too.

It is just as quick as the above described 32 bit version (whích is also the
standalone version)

So it is apparently NOT a 32/64 bit question but a standalone/OsGeo4W
question?



-
Regards Morten

Currently using Qgis 2.12.1 (OSGeo4),
Windows 7, 64bit
--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Status-on-Windows-64-bit-versus-32-bit-tp5239542p5239546.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] Status on Windows 64 bit versus 32 bit?

2015-12-02 Thread magerlin
I have been using Qgis 64 bit in Win7 for a long time (installed using
OsGeo4W) with no problems.

No I have experienced this (using Qgis 1.12.1):

* Opening a certain project in Qgis 64 bit version takes 1 minut
* Opening the same project on the same PC in Qgis 32 bit version takes only
14 seconds

So now I think: Shold I quit the 64 bit version?

The actual quite "heavy" project loads some Esri Geodatabases (.gdb) - can
there be special issues with that?


I am working on a Lenovo 64bit PC with a 7 core CPU and 16GB ram.



-
Regards Morten

Currently using Qgis 2.12.1 (OSGeo4),
Windows 7, 64bit
--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Status-on-Windows-64-bit-versus-32-bit-tp5239542.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] Anybody in for making a simple plugin to produce simple SVG web-gis?

2014-03-05 Thread magerlin
I do not know how to make plugins - can anybody put these very simple tasks
into a plugin:

http://osgeo-org.1560.x6.nabble.com/Very-simple-webgis-in-just-one-single-svg-file-tp5105612.html

  



-
Regards Morten

Today using Qgis 2.2 Standalone,
Windows 7, 64bit
--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Anybody-in-for-making-a-simple-plugin-to-produce-simple-SVG-web-gis-tp5107674.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer