Re: [Qgis-user] QGIS Input Form for PostGIS

2017-08-09 Per discussione Neumann, Andreas
Hi Jakob, 

Thank you for this additional information. With this at hand, I am
cc'ing Matthias and Nyall - both of them much more knowledgeable about
the internals of QGIS with respect to relations and PostgreSQL. 

I know that Matthias is working on improving the performance of
relations and their corresponding relation widgets - but I am not sure
if the work is only in the master branch (QGIS 3.x) or already in 2.18.
@Matthias can you please have a look at this thread and comment? 

The table sizes you mention are perhaps larger than average, but QGIS
should be able to handle them. If not, I consider it a bug or an issue. 

If you have the opportunity to test the same setup in a QGIS 3 nightly,
I would be interested if the situation improved over QGIS 2.18. You can
get the latest QGIS 2.99 (3x) version by running the OSGEO4W installer
(see http://www.qgis.org/en/site/forusers/alldownloads.html#windows) and
choosing qgis-dev. This can be installed in parallel with 2.18 on a
production system. 

If you want something that works NOW with 2.18 - it may be worth testing
the "Data Driven Input Mask" that Bernhard mentioned. This should do all
the "heavy" stuff definitely in the database, and not on the client. See
http://plugins.qgis.org/plugins/DataDrivenInputMask/ 

I hope that Matthias and/or Nyall can comment more on the issue. 

Andreas 

On 2017-08-09 09:32, Jakob Miksch wrote:

> Hello, 
> 
> thanks for the response! 
> 
> ## What means "big" (how many records are you dealing with)? 
> 
> These are the sizes (number of records) of the main tables: 
> 
> - location (points) ~ 450 000 
> 
> - event ~ 150 000 
> 
> - occurrence ~ 270 000 
> 
> ## I know this sounds silly - but are your tables properly indexed (you 
> 
> don't have to index primary keys, but other columns that are used in 
> 
> relations need an index) 
> 
> There are indexes for the foreign keys of the main tables. Also all 
> "controlled vocabulary" columns are indexed. 
> 
> Th referencing tables are usually smaller than 500 records. 
> 
> ## What exact QGIS version are you using? 2.18.x - in the about dialogue 
> 
> you can find this, including the exact github version string 
> 
> I tried it with: 
> 
> - Ubuntu 16.04 (in virtual machine on Windows 10): 2.18.11 
> https://github.com/qgis/QGIS/commit/29548e7 
> 
> - Windows 10: 2.18.11 https://github.com/qgis/QGIS/commit/29548e7 
> 
> ## How I set everything up 
> 
> I created "relations" (location-event and event-occurrence) in the project 
> properties. 
> 
> In the "fields" tab of the layers properties I also changed respective "edit 
> widgets" to "Relation Reference". 
> 
> For the controlled vocabulary I changed the "edit widgets" to "Value 
> Relation" (I used the Autoform plugin https://github.com/sourcepole/AutoForm 
> for it and checked it manually) 
> 
> I kept "Attribute editor layout" with the "Autogenerate" setting. 
> 
> ## What I want to have: 
> 
> I want to be able to add new events (and occurrences) to locations. 
> 
> ## What happens: 
> 
> When I want to create a new **location**, I have to wait for a few minutes. 
> Then the input window pops up, but I cannot access it because QGIS has 
> frozen. 
> 
> When I want to create a new **event**, an empty window opens, QGIS freezes 
> and nothing happens for many minutes. 
> 
> When I want to create a new **occurrence**, the table opens slowly, but I can 
> enter all necessary values and store it to the database. 
> 
> ## Question: 
> 
> Can QGIS handle tables of the sizes mentioned above? 
> 
> Do you have an idea, what I could have done wrong? 
> 
> I could also provide more information and maybe even a minimal example. 
> 
> Thanks and best regards, 
> 
> Jakob 
> 
> FROM: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] ON BEHALF OF 
> Andreas Neumann
> SENT: fredag 4. august 2017 09.39
> TO: qgis-user@lists.osgeo.org
> SUBJECT: Re: [Qgis-user] QGIS Input Form for PostGIS 
> 
> Hi Jakob, 
> 
> I don't think there is much background information or documentation available 
> on relations. 
> 
> The obvious questions to you are: 
> 
> - What means "big" (how many records are you dealing with)? 
> 
> - I know this sounds silly - but are your tables properly indexed (you don't 
> have to index primary keys, but other columns that are used in relations need 
> an index) 
> 
> - What exact QGIS version are you using? 2.18.x - in the about dialogue you 
> can find this, including the exact github version string 
> 
> - if we can't help you further, it may help to see your create table 
> statements (including all indexes) 
> 
> Andreas 
> 
> On 03.08.2017 11:47, Jakob Miksch wrote: 
> 
>> Hello, 
>> 
>> I have a (rather big) Postgres/PostGIS database that basically looks like 
>> this: https://ibb.co/bK7PKv 
>> 
>> I want to use QGIS for editing and inserting data. 
>> 
>> I already found these ressources: 
>> 
>> https://docs.qgis.org/2.18/en/docs/user_manual/working_with_vector/vector_properties.html#fields-properties

Re: [Qgis-user] Area Calculations - what the h... is going on?

2017-07-06 Per discussione Neumann, Andreas
Noticed that the issue in this thread was specific to geometries
containing CompoundCurve geometries. Not sure if you use them? 

Andreas 

On 2017-07-06 17:16, Neumann, Andreas wrote:

> Hi Morten, 
> 
> Sounds familiar - see 
> http://osgeo-org.1560.x6.nabble.com/Area-calculation-issues-td5305669.html 
> 
> Perhaps you have an older version of 2.18 without the bug fix? Note that 
> there is now version 2.8.10 with numerous bug fixes since 2.18.3 (which you 
> seem to use). 
> 
> Andreas 
> 
> On 2017-07-06 16:38, magerlin wrote:
> 
>> I normally use $area in the field calculator to calculate areas of polygon
>> but now this is really weird.
>> 
>> I have 5 polygons in the same shape file and tries to calculate the areas -
>> but two of the polygon get areas of about 100 times as big as they should be
>> while the 3 remaining polygons get ok areas. If I use area($geometry)
>> instead I get OK areas:
>> 
>> <http://osgeo-org.1560.x6.nabble.com/file/n5326908/Area_Calc.png> 
>> 
>> According to the field calculator:
>> $area: The area calculated by this function respects both the current
>> project's ellipsoid setting and area unit settings
>> 
>> Area($geometry):  Calculations are always planimetric in the Spatial
>> Reference System (SRS) of this geometry, and the units of the returned area
>> will match the units for the SRS.
>> 
>> According to the "Topology Checker" the topology of the polygons are OK.
>> 
>> The file is here (EPSG: 32634): 
>> Test_Area.zip
>> <http://osgeo-org.1560.x6.nabble.com/file/n5326908/Test_Area.zip>  
>> 
>> -
>> Regards Morten
>> 
>> Currently using Qgis 2.18.3 (OSGeo4),
>> Windows 7, 64bit
>> --
>> View this message in context: 
>> http://osgeo-org.1560.x6.nabble.com/Area-Calculations-what-the-h-is-going-on-tp5326908.html
>> Sent from the QGIS - User mailing list archive at Nabble.com.
>> ___
>> 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] Area Calculations - what the h... is going on?

2017-07-06 Per discussione Neumann, Andreas
Hi Morten, 

Sounds familiar - see
http://osgeo-org.1560.x6.nabble.com/Area-calculation-issues-td5305669.html


Perhaps you have an older version of 2.18 without the bug fix? Note that
there is now version 2.8.10 with numerous bug fixes since 2.18.3 (which
you seem to use). 

Andreas 

On 2017-07-06 16:38, magerlin wrote:

> I normally use $area in the field calculator to calculate areas of polygon
> but now this is really weird.
> 
> I have 5 polygons in the same shape file and tries to calculate the areas -
> but two of the polygon get areas of about 100 times as big as they should be
> while the 3 remaining polygons get ok areas. If I use area($geometry)
> instead I get OK areas:
> 
>  
> 
> According to the field calculator:
> $area: The area calculated by this function respects both the current
> project's ellipsoid setting and area unit settings
> 
> Area($geometry):  Calculations are always planimetric in the Spatial
> Reference System (SRS) of this geometry, and the units of the returned area
> will match the units for the SRS.
> 
> According to the "Topology Checker" the topology of the polygons are OK.
> 
> The file is here (EPSG: 32634): 
> Test_Area.zip
>   
> 
> -
> Regards Morten
> 
> Currently using Qgis 2.18.3 (OSGeo4),
> Windows 7, 64bit
> --
> View this message in context: 
> http://osgeo-org.1560.x6.nabble.com/Area-Calculations-what-the-h-is-going-on-tp5326908.html
> Sent from the QGIS - User mailing list archive at Nabble.com.
> ___
> 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] Generate Text Labels for USA National Map?

2017-07-05 Per discussione Neumann, Andreas
Hi Jeshua, 

If your want to use the label positions in an iOS app, it might be more
useful to use the PAL label placement algorithm that is used in QGIS to
place the labels dynamically in your iOS app? 

Not sure if the licence would be compatible though. iOS is quite
problematic in combination with OpenSource software. 

Andreas 

On 2017-07-05 23:41, Jeshua Lacock wrote:

>> On Jul 5, 2017, at 2:32 AM, Bernhard Ströbl  wrote:
>> 
>> - I assume you want to have QGIS create label texts for all your data in one 
>> go.
> 
> Hi Bernhard,
> 
> That would be ideal.
> 
>> If that is the case this is a misunderstanding of what labels are (in QGIS): 
>> QGIS creates (and places) the labels at run-time for the map extract 
>> currently on display. Labels thus are no features of their own (GIS only 
>> knows points/lines/polygons) but a way to display GIS features (like e.g. 
>> color, outline etc.)
> 
> I was afraid that might be the case. :'(
> 
>> - This means the labels are valid for this particular map extract in this 
>> particular scale. E.g. imagine a lake (= one polygon) that expands on two 
>> map extracts, it will be labeled in both => one feature, two labels
> 
> Understood. I was thinking of generating text at say 4 different scales.
> 
>> - Thus the label text is only within QGIS, export may be possible with 
>> dxf-export
> 
> Is it possible to script or automate setting the view extents and exporting?
> 
>> - IMHO it doesn't make sense to try to use the labels outside of QGIS; what 
>> is your intended final result? Which software are you planning to use for 
>> creating your final result?
> 
> Initially it will be a custom iOS app (with planned android and possibly 
> desktop computer versions). I might offer printed hard copies too at some 
> point.
> 
>> - There will be map extracts with "many" labels (city centres) and map 
>> extracts with "few" labels (boondocks).
> 
> Yes, that is why I was looking for something that already can deal with 
> crowded text versus re-inventing the wheel.
> 
>> - QGIS can prevent overlapping labels; in placement you can assign a 
>> priority to the labels of this layer (so e.g. rivers are always labeled 
>> whereas streets only if not in conflict with rivers)
> 
> Nice.
> 
>> - The rule based labelling works _within_ a layer; a rule is a logical 
>> statement about the feature to be labeled. The logic can be based on the 
>> feature's attribute values or geometry (e.g. label only lakes larger than x)
> 
> So essentially, I would want all the text on one layer - so point text 
> doesn't overlap with say road or river text, correct?
> 
>> - points are vector features, too, so there is no real difference between 
>> labelling points, lines or polygons.
> 
> Great.
> 
>> - Be sure to have read the doc: 
>> http://docs.qgis.org/2.14/en/docs/user_manual/working_with_vector/vector_properties.html#labels-menu#
> 
> Thanks for the link and help!
> 
> Best,
> 
> Jeshua Lacock
> Founder/Engineer
> <3DTOPO.com>
> GlassPrinted.com
> 
> ___
> 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] Loading Postgis FDW tables

2017-07-05 Per discussione Neumann, Andreas
Hi, 

I have troubles loading FDW layers (in my case postgres_fdw linked from
another DB on the same server). I get an error message stating that the
layer is an "invalid layer". In pgAdmin the respective user can access
and display the data and it is correctly registered in the
public.geometry_columns view. 

Do you have any idea why FDW tables shouldn't be loadable in QGIS? 

Thanks, 

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 server getprint request / layer order

2017-06-29 Per discussione Neumann, Andreas
hm - then it sounds like a different issue to what I had. 

Can you please create an issue report with a sample project and steps to
reproduce? 

Andreas 

On 2017-06-29 16:32, lars lingner wrote:

> Hello Andreas,
> 
> Am 29.06.2017 um 16:03 schrieb Neumann, Andreas: 
> 
>> Hi Lars,
>> 
>> Regarding @xvfb: you don't need specifically xvfb, but any XServer. xvfb
>> is just one way of satisfying this requirement. Any XServer would do ...
>> It is a requirement of the qt library, if you want to output to PDF.
> 
> Thanks for clarification.
> 
>> 
>> 
>> Regarding layer order:
>> 
>> I had a similar issue - but it was the same layer order problem in
>> GetMap and GetPrint. I am surprised that the issue only surfaces in
>> GetPrint for you - are you sure?
> 
> Yes, I testet it multiple times with a clean project file and a small
> set of data.
> It is only the getprint request with QGis-Server which puts the polygons
> on top.
> 
>> See the fix
>> at 
>> https://github.com/qgis/QGIS/commit/6b5a997df578a7996dc95e93690fe0a3d24e089b
>> 
>> So if you use QGIS server 2.18 which was compiled before April 18,
>> please install a newer version and see if the issue is fixed for you?
> 
> I can give it a try, but I have to build a new package first. Or maybe
> [1 [1]] will help, it is 2.18.9 but from 22-Jun-2017.
> 
> Since I'm using 2.18.10 from [2 [2]] I'm not sure if the patch you mentioned
> should be already included here. The file date shows 24-Jun-2017.
> 
> Lars
> 
> [1]
> http://qgis.org/debian-nightly-release/pool/main/q/qgis/qgis-server_2.18.9+git20170622+6cfd1a0+26zesty_amd64.deb
> [2]
> http://qgis.org/debian/pool/main/q/qgis/libqgis-server2.18.10_2.18.10+26zesty_amd64.deb
> 
> ___
> 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

  

Links:
--
[1]
http://qgis.org/debian-nightly-release/pool/main/q/qgis/qgis-server_2.18.9+git20170622+6cfd1a0+26zesty_amd64.deb
[2]
http://qgis.org/debian/pool/main/q/qgis/libqgis-server2.18.10_2.18.10+26zesty_amd64.deb___
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 server getprint request / layer order

2017-06-29 Per discussione Neumann, Andreas
Hi Lars, 

Regarding @xvfb: you don't need specifically xvfb, but any XServer. xvfb
is just one way of satisfying this requirement. Any XServer would do ...
It is a requirement of the qt library, if you want to output to PDF. 

 

Regarding layer order: 

I had a similar issue - but it was the same layer order problem in
GetMap and GetPrint. I am surprised that the issue only surfaces in
GetPrint for you - are you sure? 

See the fix at
https://github.com/qgis/QGIS/commit/6b5a997df578a7996dc95e93690fe0a3d24e089b


So if you use QGIS server 2.18 which was compiled before April 18,
please install a newer version and see if the issue is fixed for you? 

Greetings, 

Andreas 

On 2017-06-29 14:43, lars lingner wrote:

> Hello,
> 
> I've set up a qgis server and trying to get the getprint-Request
> working. After first trouble getting a output at all, I discovered at a
> blog post [1 [1]], xvfb is needed by QGis-Server.
> 
> Using a QGis print template I'm able to request a map. But all polygon
> layers are rendered on top. This happens when the map name or group name
> is used in the request.
> Requesting all layers by name, the order is right.
> 
> I compared the QGis logfile for a request with group name and all layer
> names and it is the same. The layer names are in the right order, if the
> order in the log is actually showing render order.
> 
> Using the template in QGis-Desktop the output has the correct layer
> order. Only the getprint Request isn't working the way I thought it should.
> 
> WMS requests are working, no problem with layer order here.
> 
> I tested it with OSM Data and a new QGis project file, downloaded 4
> layers (points,lines,multilines,polygons) and put them in a group.
> I'm using QGis 2.18.10 on Ubuntu with PostgreSQL and Shapefiles as source.
> 
> The getProjectSettings request is listing the layers also in the right
> order.
> 
> How can I debug this further? I coulnd find anything in the web or db
> server log nor in QGis logfile. Had anybody else this kind of issue and
> probably a solution?
> 
> [1] https://www.itopen.it/qgis-server-setup-notes/
> 
> ___
> 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

  

Links:
--
[1] https://www.itopen.it/qgis-server-setup-notes/___
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] relation_aggregate issue with virtual fields

2017-06-26 Per discussione Neumann, Andreas
Hi, 

I use a relation_aggregate expression with the following syntax: 

relation_aggregate( relation:='Erdwärmesonden',
aggregate:='sum',expression:="anzahl_sonden") 

In the output preview this works fine and I get an expected result,
however, if I use the same expression in a virtual field, I always get
NULL values. 

Any idea why this happens? 

Thanks, 

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] Python Code of functions in expression builder

2017-06-26 Per discussione Neumann, Andreas
Hi Benjamin, 

What ist the exact name of the expression? Are you sure it is a Python
expression? If it is a built-in expression it is most likely implemented
in C++. 

Andreas 

On 2017-06-26 11:22, fuenfer-koenigstein.benja...@swm.de wrote:

> Hi, 
> 
> I'm looking for the python code of the geometry function „project" that 
> shifts points by azimuth and distance. I couldn't find this in 
> .qgis2/python/plugins/refFunctions (Windows). Any idea where I can find it? 
> 
> Thanks! 
> 
> Regards 
> 
> Benjamin 
> 
> VON: Neumann, Andreas [mailto:a.neum...@carto.net] 
> GESENDET: Freitag, 23. Juni 2017 11:15
> AN: Fuenfer-Koenigstein.Benjamin G-PRA
> CC: qgis-user@lists.osgeo.org
> BETREFF: Re: [Qgis-user] Python Code of functions in expression builder 
> 
> Hi Benjamin, 
> 
> Of course they can be found in the Python folder ;-) 
> 
> Go to .qgis2 (in Windows in the user profile folder, in Linux/OSX in the home 
> folder), then to "python/plugins/qgsexpressionsplus" or 
> "python/plugins/refFunctions". 
> 
> Self-written custom Python functions end up in "python/expressions" and your 
> chosen filename when you created the expressions. 
> 
> Andreas 
> 
> On 2017-06-23 10:55, fuenfer-koenigstein.benja...@swm.de wrote:
> 
>> Hi all, 
>> 
>> I'm looking for the folder where the python files of functions available in 
>> expression builder are installed. I want to get some inspiration for a 
>> special custom function I have to write. Thanks for any help! 
>> 
>> Best regards 
>> 
>> Benjamin 
>> 
>> ___
>> 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] [QGIS-Developer] Geodesic Measure Tool With Bearing Information

2017-06-12 Per discussione Neumann, Andreas
+1 for getting these improvements in QGIS core, rather than in a plugin.


fyi: https://map.geo.admin.ch/ has an interesting "all-in-one" measure
tool, which could server as an inspiration for QGIS. 

If you start with a new measure line, you first get a circle with
distance and bearing. It also shows markers with labels along the line
with round distances (e.g. 500m, 1000m, etc.). If you close the polygon
by going back to the first vertex, it autosnaps and shows the area. So
it is really just one single tool, but it helps to show distances,
bearings and areas - along with an elevation profile. 

Greetings, 

Andreas 

On 2017-06-12 10:27, Nyall Dawson wrote:

> On 10 June 2017 at 02:30, C Hamilton  wrote: 
> 
>> Several weeks ago I had proposed a geodesic measure tool that also includes
>> the bearing from point A to B and bearing from B to A. Nyall suggested that
>> this capability be added to the QGIS measure tool. The question is would you
>> want this with the QGIS measure tool or should it be a separate plugin?
> 
> My strong vote would be towards extending the QGIS measure tool. To me
> that's a better solution then requiring users to download a plugin,
> and having to reimplement all the (complex) logic of the measure tool
> again in a python plugin.
> 
>> 1. Where the current measure tool has 'Segments' there would be two more
>> columns with 'Bearing to' and 'Bearing from'.
> 
> Sounds good!
> 
>> 2. I would like to see a check box or selection widget of some sort that
>> chooses between using Geodesic math or the current method of calculating the
>> distances which I am still unsure on how it is doing its calculations.
> 
> If you expand down the info box you'll get a detailed description of
> exactly how QGIS is calculating the distances. Is there something
> missing there?
> 
>> Right now it could use the Vincinty algorithms in QGIS to calculate the
>> distances, but eventually I would like to see the geographiclib algorithms
>> used.
> 
> I'd start with the bearing changes (since they are self contained, and
> the methods for calculating bearing are already present in the QGIS
> api). Then using geographiclib could be discussed as a separate set of
> changes, to be decided on its own merit. If you mix these two changes
> it's likely to get bogged down as one or other part of the changes are
> debated.
> 
>> If this is of interest then I will attempt to get a QGIS development
>> environment running to help make the changes to the core measure tool;
>> otherwise, I will just create a plugin to do this. If I create a plugin I
>> will use the geographiclib python library to do the calculations.
>> 
>> Thoughts?
> 
> Go the core! Let us know if you need help setting up a dev
> environment. It's actually much easier for 3.0 then it was for 2.x
> (especially on windows).
> 
> Nyall
> ___
> QGIS-Developer mailing list
> qgis-develo...@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer___
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] Selecting displaced symbols

2017-06-01 Per discussione Neumann, Andreas
Hi Nyall, 

Can you please estimate the time it takes to finish this old commit? I
think it would be really nice to have in QGIS 3. It always bothered me
(and my users) that we can't click on the displaced symbols. 

How about QGIS server? Could your improvement also benefit QGIS server?
In the Web-GIS it is particularly hard to understand for users, why they
can't pick on displaced symbols. 

Maybe we can find someone to finance this improvement. 

Thanks, 

Andreas 

On 2017-06-01 01:20, Nyall Dawson wrote:

> On 30 May 2017 at 19:11, Neumann, Andreas <a.neum...@carto.net> wrote: 
> 
>> Hi Martin,
>> 
>> As far as I know, picking is totally independent of the rendering. So the
>> "Info tool" doesn't know about the displacement renderer. I know it is not
>> ideal, but it is a technical limitation and there are no known workarounds.
> 
> Well - there's this half finished commit I wrote but never merged:
> https://github.com/nyalldawson/QGIS/commit/2405c9cc2c9d07bd0975d60ce36db5c5e8d8b612
> 
> I can't remember exactly why I didn't complete this. I think it was
> written during feature freeze once and I never got around to verifying
> that it didn't cause regressions in the rendering speed after freeze
> was lifted. From memory it worked well for info tool and rotate point
> symbol tool.
> 
> From the commit message:
> 
> "Register rendered point features into a spatial index so that we can
> later retrieve features by their actual rendered location.
> (The rendered location may be different in numerous circumstances, eg
> when using the displacement renderer, or when marker symbols
> have an offset set)
> This index could then be used to later retrieve the features for a
> specific canvas coordinate, for use eg in identify tool, rotate point
> symbols, etc."
> 
> Theoretically this could be cleaned up, finished off and tested, and
> then later extended to apply to selections also.
> 
> 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

Re: [Qgis-user] Selecting displaced symbols

2017-05-30 Per discussione Neumann, Andreas
Hi Martin, 

As far as I know, picking is totally independent of the rendering. So
the "Info tool" doesn't know about the displacement renderer. I know it
is not ideal, but it is a technical limitation and there are no known
workarounds. 

You can, however, display the central point (with a separate symbol) so
the user knows where to pick. Also, you can easily access each
individual point by changing the identify mode to "Layer choice" - where
you get a pull-down menu and you can identify each individual point by
its "display attribute". 

Maybe a dev knows a solution to this problem - but currently I think
there are no known workarounds.  

Andreas 

On 2017-05-30 03:39, Martin Bain wrote:

> Hi, 
> 
> I have the familiar situation of a layer with multiple points at the same 
> coordinates.  The points have data defined SVG symbols 
> 
> I'm using the Point Displacement renderer to overcome having overlapping 
> symbols.  This definitely makes for an improved appearance.  
> 
> However if you want to use the info tool or the select tool you cant click on 
> the displaced symbol.  You can only select all points via the central point. 
> 
> Is there a trick to select a point by its offset symbol instead of the true 
> coordinates?  I have half a memory of reading something about this once 
> before but maybe I imagined it :P 
> 
> I would prefer to leave the points in their original position - the data is 
> of traffic accidents, provided by the state government. 
> 
> Thank you, 
> 
> Martin. 
> This email is intended for the named recipient only. The information it 
> contains may be confidential. If you are not the intended recipient you must 
> not reproduce or distribute any part of this email, disclose its contents to 
> any other party or take any action in reliance on it. If you have received 
> this email in error, please contact the sender immediately and delete the 
> message.
> 
> ___
> 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] QGIS Composer Rewrite and Layout Engine crowdfund – half, way there!

2017-05-22 Per discussione Neumann, Andreas
Hi Bernd, 

The german user group is already very supportive - and they also have
limited funds. They are QGIS.ORG silver sponsor and financially
supported the last developer meeting this May in Essen. I think they are
also aware of the print composer crowd funding. It is more the
organizations (e.g. public administrations, companies) who are not yet
sponsor who we try to reach out to ;-) The user groups can help in that
process by reminding their members and professional users who rely on
QGIS as part of the business processes. 

Andreas 

On 2017-05-22 13:23, Bernd Vogelgesang wrote:

> Am 22.05.2017, 13:03 Uhr, schrieb Neumann, Andreas <a.neum...@carto.net>:
> 
>> Hi Bernd et al, 
>> 
>> I don't want to advertise the micro-donations too much. And please don't 
>> send 10 cents or so ;-) 
>> 
>> Seriously - the microdonations are fine and well-meant, but with 
>> micro-donations you can't finance 30k. At least this is fact from other 
>> crowd funding campaigns in the past. 
>> 
>> BTW: at 
>> https://qgisblog.files.wordpress.com/2017/02/qgis-org-donationsandsponsorshipanalysis2016-2.pdf
>>  you can see the ratio of donations and sponsorships. Donations make a 
>> little more than a quarter of the QGIS.ORG income - three quarters is from 
>> sponsorships. However, we are very grateful for any contribution, no matter 
>> the size. 
>> 
>> Andreas
> 
> Of course you are right. I will try and see if sth can be managed over the 
> german user group to lift the work from you guys. 
> 
> Cheers 
> Bernd 
> 
> On 2017-05-22 11:58, Bernd Vogelgesang wrote: 
> Am 22.05.2017, 11:52 Uhr, schrieb Neumann, Andreas <a.neum...@carto.net>: 
> 
> Hi Jonathan, 
> 
> One way to contribute smaller amounts is to donate to QGIS.ORG (see 
> http://www.qgis.org/en/site/getinvolved/donations.html) - either through wire 
> transfer or PayPal and mention "QGIS composer rewrite" in the payment 
> instructions. For Paypal, just forward your payment confirmation to 
> fina...@qgis.org and mention that you want to contribute this amount to the 
> "QGIS composer rewrite" crowd funding campaign. 
> 
> I'd be happy to aggregate such donations (marked as contributions and forward 
> them to Nyall. The minimum amount is just to reduce bureaucracy and the loss 
> of payment fees (payments to Australia often come with a hefty payment fee - 
> maybe not from the uk, but from many other countries). QGIS.ORG would be 
> happy to step in in this case and relieve Nyall from such bureaucracy. 
> 
> Thanks and greetings, 
> 
> Andreas Neumann
> QGIS.ORG treasurer 
> 
> Ahh, 
> this could have been mentioned much earlier! 
> Await my micro-donation ;) 
> 
> Cheers 
> Bernd 
> 
> On 2017-05-22 11:35, Jonathan Webb wrote: I looked at the Crowdfund page & 
> the minimum donation is 200 euros.
> 
> Is there way local usergroups or some other method that could aggregate 
> donations from smaller users that are below this threshold?
> 
> Cheers,
> Jonathan
> 
> -- 
> Jonathan Webb 
> Freelance GIS Specialist 
> 07941 921905 
> http://www.jwebbgis.co.uk
> http://uk.linkedin.com/in/jwebbgis 
> ___
> 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

-- 
Bernd Vogelgesang
Siedlerstraße 2
91083 Baiersdorf/Igelsdorf
Tel: 09133-825374 
___
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 

-- 
Bernd Vogelgesang
Siedlerstraße 2
91083 Baiersdorf/Igelsdorf
Tel: 09133-825374 
___
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] QGIS Composer Rewrite and Layout Engine crowdfund – half, way there!

2017-05-22 Per discussione Neumann, Andreas
Hi Bernd et al, 

I don't want to advertise the micro-donations too much. And please don't
send 10 cents or so ;-) 

Seriously - the microdonations are fine and well-meant, but with
micro-donations you can't finance 30k. At least this is fact from other
crowd funding campaigns in the past. 

BTW: at
https://qgisblog.files.wordpress.com/2017/02/qgis-org-donationsandsponsorshipanalysis2016-2.pdf
you can see the ratio of donations and sponsorships. Donations make a
little more than a quarter of the QGIS.ORG income - three quarters is
from sponsorships. However, we are very grateful for any contribution,
no matter the size. 

Andreas 

On 2017-05-22 11:58, Bernd Vogelgesang wrote:

> Am 22.05.2017, 11:52 Uhr, schrieb Neumann, Andreas <a.neum...@carto.net>: 
> 
>> Hi Jonathan, 
>> 
>> One way to contribute smaller amounts is to donate to QGIS.ORG (see 
>> http://www.qgis.org/en/site/getinvolved/donations.html) - either through 
>> wire transfer or PayPal and mention "QGIS composer rewrite" in the payment 
>> instructions. For Paypal, just forward your payment confirmation to 
>> fina...@qgis.org and mention that you want to contribute this amount to the 
>> "QGIS composer rewrite" crowd funding campaign. 
>> 
>> I'd be happy to aggregate such donations (marked as contributions and 
>> forward them to Nyall. The minimum amount is just to reduce bureaucracy and 
>> the loss of payment fees (payments to Australia often come with a hefty 
>> payment fee - maybe not from the uk, but from many other countries). 
>> QGIS.ORG would be happy to step in in this case and relieve Nyall from such 
>> bureaucracy. 
>> 
>> Thanks and greetings, 
>> 
>> Andreas Neumann
>> QGIS.ORG treasurer
> 
> Ahh, 
> this could have been mentioned much earlier! 
> Await my micro-donation ;) 
> 
> Cheers 
> Bernd 
> 
> On 2017-05-22 11:35, Jonathan Webb wrote: I looked at the Crowdfund page & 
> the minimum donation is 200 euros.
> 
> Is there way local usergroups or some other method that could aggregate 
> donations from smaller users that are below this threshold?
> 
> Cheers,
> Jonathan
> 
> -- 
> Jonathan Webb 
> Freelance GIS Specialist 
> 07941 921905 
> http://www.jwebbgis.co.uk
> http://uk.linkedin.com/in/jwebbgis 
> ___
> 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

-- 
Bernd Vogelgesang
Siedlerstraße 2
91083 Baiersdorf/Igelsdorf
Tel: 09133-825374 
___
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] QGIS Composer Rewrite and Layout Engine crowdfund – half, way there!

2017-05-22 Per discussione Neumann, Andreas
Hi Jonathan, 

One way to contribute smaller amounts is to donate to QGIS.ORG (see
http://www.qgis.org/en/site/getinvolved/donations.html) - either through
wire transfer or PayPal and mention "QGIS composer rewrite" in the
payment instructions. For Paypal, just forward your payment confirmation
to fina...@qgis.org and mention that you want to contribute this amount
to the "QGIS composer rewrite" crowd funding campaign. 

I'd be happy to aggregate such donations (marked as contributions and
forward them to Nyall. The minimum amount is just to reduce bureaucracy
and the loss of payment fees (payments to Australia often come with a
hefty payment fee - maybe not from the uk, but from many other
countries). QGIS.ORG would be happy to step in in this case and relieve
Nyall from such bureaucracy. 

Thanks and greetings, 

Andreas Neumann
QGIS.ORG treasurer 

On 2017-05-22 11:35, Jonathan Webb wrote:

> I looked at the Crowdfund page & the minimum donation is 200 euros.
> 
> Is there way local usergroups or some other method that could aggregate 
> donations from smaller users that are below this threshold?
> 
> Cheers,
> Jonathan
> 
> -- 
> Jonathan Webb 
> Freelance GIS Specialist 
> 07941 921905 
> http://www.jwebbgis.co.uk
> http://uk.linkedin.com/in/jwebbgis 
> ___
> 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] Tiff with jpeg compression

2017-05-08 Per discussione Neumann, Andreas
Hi Randal, 

A crash is always a  bug, in my opinion, even if your file isn't
optimized. 

Note, that the correct parameter is "tiled=yes" not "tiles=yes". Not
sure if this helps. 

Fyi - here is one of my examples with gdal_warp: 

gdalwarp -of GTiff -wm 500 --config GDAL_CACHEMAX 500 -multi -wo
NUM_THREADS=2 -wo OPTIMIZE_SIZE=TRUE -srcnodata "255 255 255" -dstnodata
'255 255 255' -t_srs 'EPSG:2056' -co 'BIGTIFF=YES' -co 'TILED=YES' -co
'COMPRESS=JPEG' -co 'JPEG_QUALITY=85' -co 'PHOTOMETRIC=YCBCR' -co
'SPARSE_OK=TRUE' Originaldaten/*.tif DOP2011_LV95.tif 

the PHOTOMETRIC=YCBCR is specifically to be used for aerial images or
satellite images. 

Of course, for good performance, you also need the pyramids: 

gdaladdo -r cubic --config BIGTIFF_OVERVIEW YES --config
COMPRESS_OVERVIEW JPEG --config JPEG_QUALITY 85 --config
PHOTOMETRIC_OVERVIEW YCBCR --config INTERLEAVE_OVERVIEW PIXEL
DOP2016_LV95.tif 2 4 8 16 32 64 128 256 

Hope this helps, 

Andreas 

On 2017-05-08 15:29, Randal Hale wrote:

> * QGIS: 2.18.7 
> * GDAL 2.1.3
> 
> I have a tiff file. I decided to jpeg compress it for some help with the 
> size. 
> 
> I did: gdal_translate -co compress=jpeg -co tiles=yes oldfile.tif 
> newfile_jpg.tif 
> 
> When I open the file in QGIS (2.18.7) on linux it crashes immediately. 
> 
> When opened on windows if the file is small it takes about a minute but 
> displays. If I compress a larger tiff (compressed size is 1.1 gb) QGIS on 
> windows crashes. 
> 
> I checked for bugs and there seems to be a jpeg bug out there: 
> https://issues.qgis.org/issues/16049 
> 
> If I do this with compress=deflate,  QGIS is happy. 
> 
> Anyway - file a bug report? or I'm doing the compression incorrectly? Randy
> 
> -- 
> -
> Randal Hale
> North River Geographic Systems, Inc
> http://www.northrivergeographic.com
> 423.653.3611 rjh...@northrivergeographic.com
> twitter:rjhale
> 
> ___
> 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] R.sun and the irradiation calc

2017-05-05 Per discussione Neumann, Andreas
Hi Pedro, 

I suggest you ask this on the GRASS mailing list. 

Andreas 

On 2017-05-05 13:15, Pedro Alcoba Gómez wrote:

> Hello everyone, 
> 
> I have a question about the calculation of irradiation for a study area in 
> QGIS. 
> 
> This calculation was performed using the GRASS r.sun model integrated in 
> QGIS. 
> 
> As input data I use an MDE, and a layer of slopes (in degrees) and 
> orientations calculated from the MDE. 
> 
> After performing in analysis, and comparing the irradiation data for the 
> month of January and August, I get higher levels for January. 
> 
> The study area is located in the southwest of Spain EPSG: 25830 ETRS1989 30N 
> 
> In my opinion the result is unreal, since the highest irradiation rates 
> obtained in the northern hemisphere correspond to the summer months. Does 
> anyone have any idea that it may be going wrong? 
> 
> A greeting and thanks in advance 
> 
> --
> Atte. Pedro Alcoba Gómez 
> ___
> 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] QGIS web client & Joins

2017-05-05 Per discussione Neumann, Andreas
Hi Julian, 

I am really puzzled. So you say that QGIS as the WMS shows all
attributes, including the joined ones? And it does not work on Web
Client? 

If this is the case - can you please share the address of this QGIS
server and tell me which attributes are joined? 

QGIS web client is simply an extended WMS client. It doesn't know and
care about joins. When they appear in a GetFeatureInfo Request (or WFS)
they should also work in QGIS web client. 

If this fails in QGIS web client I it will most likely also fail in web
client II. 

Andreas 

On 2017-05-05 11:25, Julian Bogdani wrote:

> Thank you, 
> Actually the was is working correctly and all attributes are available, both 
> shape file attributes and joined ones. 
> It seems then it is a qgs web client problem. 
> Probably I should upgrade to the II version... 
> 
> Any hint? 
> 
> - 
> 
> BraDypUS 
> Communicating Cultural Heritage 
> http://bradypus.net 
> i...@bradypus.net 
> brady...@pec.it 
> 
> On 5 May 2017, at 10:37, Neumann, Andreas <a.neum...@carto.net> wrote: 
> 
> Hi Julian, 
> 
> The QGIS bug/issue system was recently migrated. If it was an issue on QGIS 
> web client I, it was removed. QGIS web client I is not being worked on any 
> more. It is succeeded by QGIS web client II and the issue queue of that is at 
> https://github.com/qgis/qwc2-demo-app/issues 
> 
> Andreas 
> 
> On 2017-05-05 10:30, BraDypUS. Communicating Cultural Heritage wrote: 
> Yes, I had a preview of the issue in Google, but the ussue itself has been 
> (re)moved. 
> I'll check bettee the wms service. 
> Thank you 
> 
> Il 05 Mag 2017 10:26 AM, "Neumann, Andreas" <a.neum...@carto.net> ha scritto:
> 
> Hi Julian, 
> 
> The issue you mention doesn't exist. 
> 
> I doubt that this is a QGIS web client issue. Did you test with QGIS as WMS 
> client? Does it work there? 
> 
> If it doesn't work there either, than this is can most likely be a 
> "path-issue" (absolute vs. relativ paths) or a QGIS server issue.  
> 
> Andreas 
> 
> On 2017-05-05 08:53, Julian Bogdani wrote: 
> Hello,
> I'm having an issue with joins in a webGIS project using Qgis as a map server 
> and Qgis web client.
> I have an external table (sqlite) correctly joined to a shape file on my 
> desktop project, but the joined attributes do not show on the web project. I 
> thought the sqlite could be the problem so I tried with CSV and DBF, so I 
> guess it's not a file type problem.
> 
> Are joins supported? I did not find any docs on this. I see somebody else had 
> this problem before, but the qgis issue had been moved 
> (https://hub.qgis.org/issues/5324 [1])..
> 
> Thank you
> 
> -
> Julian Bogdani
> jbogd...@gmail.com
> http://bradypus.net [2]
> 
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user [3]
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user [3]

  

Links:
--
[1] https://hub.qgis.org/issues/5324
[2] http://bradypus.net/
[3] 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] QGIS web client & Joins

2017-05-05 Per discussione Neumann, Andreas
Hi Julian, 

The QGIS bug/issue system was recently migrated. If it was an issue on
QGIS web client I, it was removed. QGIS web client I is not being worked
on any more. It is succeeded by QGIS web client II and the issue queue
of that is at https://github.com/qgis/qwc2-demo-app/issues 

Andreas 

On 2017-05-05 10:30, BraDypUS. Communicating Cultural Heritage wrote:

> Yes, I had a preview of the issue in Google, but the ussue itself has been 
> (re)moved. 
> I'll check bettee the wms service. 
> Thank you 
> 
> Il 05 Mag 2017 10:26 AM, "Neumann, Andreas" <a.neum...@carto.net> ha scritto:
> 
> Hi Julian, 
> 
> The issue you mention doesn't exist. 
> 
> I doubt that this is a QGIS web client issue. Did you test with QGIS as WMS 
> client? Does it work there? 
> 
> If it doesn't work there either, than this is can most likely be a 
> "path-issue" (absolute vs. relativ paths) or a QGIS server issue.  
> 
> Andreas 
> 
> On 2017-05-05 08:53, Julian Bogdani wrote: 
> Hello,
> I'm having an issue with joins in a webGIS project using Qgis as a map server 
> and Qgis web client.
> I have an external table (sqlite) correctly joined to a shape file on my 
> desktop project, but the joined attributes do not show on the web project. I 
> thought the sqlite could be the problem so I tried with CSV and DBF, so I 
> guess it's not a file type problem.
> 
> Are joins supported? I did not find any docs on this. I see somebody else had 
> this problem before, but the qgis issue had been moved 
> (https://hub.qgis.org/issues/5324 [1])..
> 
> Thank you
> 
> -
> Julian Bogdani
> jbogd...@gmail.com
> http://bradypus.net
> 
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user [2]
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user [2]

  

Links:
--
[1] https://hub.qgis.org/issues/5324
[2] 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] QGIS web client & Joins

2017-05-05 Per discussione Neumann, Andreas
Hi Julian, 

The issue you mention doesn't exist. 

I doubt that this is a QGIS web client issue. Did you test with QGIS as
WMS client? Does it work there? 

If it doesn't work there either, than this is can most likely be a
"path-issue" (absolute vs. relativ paths) or a QGIS server issue.  

Andreas 

On 2017-05-05 08:53, Julian Bogdani wrote:

> Hello,
> I'm having an issue with joins in a webGIS project using Qgis as a map server 
> and Qgis web client.
> I have an external table (sqlite) correctly joined to a shape file on my 
> desktop project, but the joined attributes do not show on the web project. I 
> thought the sqlite could be the problem so I tried with CSV and DBF, so I 
> guess it's not a file type problem.
> 
> Are joins supported? I did not find any docs on this. I see somebody else had 
> this problem before, but the qgis issue had been moved 
> (https://hub.qgis.org/issues/5324)..
> 
> Thank you
> 
> -
> Julian Bogdani
> jbogd...@gmail.com
> http://bradypus.net
> 
> ___
> 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] Alternative labels on each iteration?

2017-03-17 Per discussione Neumann, Andreas
Hi Tobias, 

You don't need regex. There is a replacement table: see
https://www.youtube.com/watch?v=xaepblv3uMU 

But I think the replacements will always apply, not just in the case
there is no space for the full label. 

Andreas 

On 2017-03-17 10:13, Tobias Wendorff wrote:

> Seems like this is not supported right now.
> 
> Substitutions really need regex or expression functionality :(
> 
> -- 
> Von einem iPhone gesendet und wird daher Fehler enthalten...
> 
> Am 16.03.2017 um 01:25 schrieb Tobias Wendorff 
> :
> 
>> Hi there!
>> 
>> In ArcGIS, Mapnik and Mapserver it is possible to use alternative fields for 
>> labeling on each iteration. This makes it possible to use abbreviations when 
>> the full label does not fit in the map.
>> 
>> Is this also possible in QGIS? Perhaps even driven by Python?
>> 
>> ArcGIS has the nice feature to manually browse through each label variant 
>> for label editing.
>> 
>> Best regards,
>> Tobias 
>> 
>> -- 
>> Von einem iPhone gesendet und wird daher Fehler enthalten...
>> ___
>> 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] Embed layers and groups

2017-03-10 Per discussione Neumann, Andreas
Hi Harrissou, 

Thanks for tackling this in the documentation. 

Some remarks: 

- embedded layers are shown with "italic" labels in the layer tree to
distinguish them from regular layers. 

- all layer properties are "read only", not only styling and labeling,
but also any other properties, like field aliases, display values,
actions, etc. That's why the layer properties can't be shown to avoid
that the user changes stuff which can't be saved in the project. 

- if the master project uses an alternative rendering order (defined in
the layer order panel of the master project), the layer ordering in the
project where the layers are embedded can only be retained "en bloc" and
only if you embed the parent group and not individual layers 

It may even be that you'll have to also activate the alternative
rendering order in the client project if you want to retain, but I am
not 100% sure. I just remember that it gave me headaches with the layer
rendering order in the past, because it was a bit buggy. Should work
well meanwhile though. 

Andreas 

On 2017-03-10 12:05, DelazJ wrote:

> Hi,
> 
> Actually it's not a new feature. Has been there since (available in 1.8 
> documentation 
> http://docs.qgis.org/1.8/en/docs/user_manual/introduction/general_tools.html#nesting-projects)
>  And as you can see, the documentation has neither been improved since. Given 
> your discussion I tried to put some highlights on the feature and any review 
> is welcome https://github.com/qgis/QGIS-Documentation/issues/1748 I'm more a 
> default style user than an embedded layer one so if I miss some advantages in 
> this feature please, let me know.
> 
> Laurence, I didn't check if you had reported the issues yet, otherwise I 
> think removal of some items can be added:
> - Layer menu --> Labeling
> - when right-clicking an embedded layer --> Style.
> 
> Given that the Layer Properties dialog is not availbale, there are some 
> actions like "Set Scale visibility of layer", "Set layer CRS", "Filter" (that 
> belong to the Properties --> General menu) that make me fail to understand 
> the real scope of an embedded layer. Are they supposed to be grayed too or 
> not? What kind of changes are really allowed on such a layer or what is 
> really kept from the "source" file?
> 
> Thanks,
> Harrissou 
> 
> 2017-03-09 21:07 GMT+01:00 Laurence Béchet <bechet.laure...@gmail.com>:
> 
> Thanks Andrea. I'll create them. 
> These are not big issues and easy to work around as a user. 
> 
> I agree with you this new embedded layers feature is awesome and for little 
> mapping projects like Ark in the Park they are very useful as I have my 
> layout already ready and just need to add what i want to plots: bird 
> territories or past control results or . Also if something in the layout 
> changes (new track, pest control grid altered) I only need to modify the 
> 'master' map and it is propagated to all the other maps. Worth a try!
> 
> Kind regards
> Laurence
> ARK IN THE PARK Volunteer Co-Ordinator
> Cascades Ranger Station
> Falls Road, Waitakere
> Phone:  (09) 810 7014
> www.arkinthepark.org.nz [1]  www.forestandbird.org.nz [2]  
> 
> On 9/03/2017 10:58 p.m., Neumann, Andreas wrote: 
> 
> Hi Laurence, 
> 
> I can confirm both issues. 
> 
> Embedded groups show empty (without the layers, only the groups are 
> displayed) in QGIS 3 and they are stylable in the styling dock in 2.18 when 
> they shouldn't be stylable. 
> 
> However, if your restyle embedded layers in the styling dock, they are, of 
> course not saved back to the original layers. This would be dangerous and 
> probably unwanted in most cases. 
> 
> The styling dock is fairly new and probably the devs where not aware about 
> the embedded layers feature. 
> 
> Can you please issue bug reports for both issues? 
> 
> Embedded layers and groups are probably not used that much in the wild, but I 
> find them incredibly useful. It is one of my favourite QGIS feature and saves 
> you tons of work if you can re-use background layers from other projects, 
> while still being able to identify these layers or snap to them. 
> 
> Unfortunately, many users and devs are not aware of this feature and it 
> doesn't get much attention. 
> 
> Thanks, 
> 
> Andreas 
> 
> On 2017-03-08 22:10, Laurence Béchet wrote: Hi,
> 
> I'm trying to use the embed layers and groups feature. 
> I'm running on Windows8 pro 64bits. 
> I have created a new project and I am loading a group of layers which are my 
> background (streams, lakes, etc ..) in a main project.
> 
> QGIS 2.18.4 QGIS code revision 59c1d21:
> I get the group loaded nicely. As expected, I cannot ac

Re: [Qgis-user] Real Mask functionality in QGIS?

2017-03-09 Per discussione Neumann, Andreas
So this is a spatial filter of features in layer A based on the spatial
relation with features in layer B - right? 

Without clipping? 

How do you deal with inside/outside if the features partially intersect?


Isn't this exactly what the "Extract by Location" function in QGIS does?
You can find that in the processing toolbox. 

Andreas 

On 2017-03-09 11:42, hilpers wrote:

> Thanks for your reply and of course to all the others replying
> 
> I am not talking about actually changing the data but setting spatial
> filters, that enable the user to only hide features falling outside of the
> geometries of a layer or an entire layer. So I am talking about hiding
> features of other layers based on a spatial relationship to a target layer -
> a mask
> 
> Thanks again
> 
> --
> View this message in context: 
> http://osgeo-org.1560.x6.nabble.com/Real-Mask-functionality-in-QGIS-tp5311464p5311560.html
> Sent from the QGIS - User mailing list archive at Nabble.com.
> ___
> 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] Real Mask functionality in QGIS?

2017-03-09 Per discussione Neumann, Andreas
Hi Hilpers, 

Ok - so if I understand this correctly you want a on-the-fly clip, not a
mask. Right? 

A mask is only covering/hiding/selectively drawing geometry, but not
changing geometry. A clip is changing the geometry. See also
https://en.wikipedia.org/wiki/Mask_(computing) [1]vs.
http://pro.arcgis.com/en/pro-app/tool-reference/analysis/clip.htm  

A mask is typically just about drawing features not about manipulating
geometries as processing does. 

We need to use precise terms here. 

Andreas 

On 2017-03-08 21:08, hilpers wrote:

> Hello everyone,
> 
> I regularly face the issue that I want to set masks for layers of my choice
> based on one layer´s geometry.
> I know there is a plugin available which handles labels *but not* the
> geometry of layers to be masked.
> 
> In my oppinion a mask should make geometries / raster cells outside the
> specified mask disappear. The user should also be able to exclude layers
> from being masked. After searching for more than a year, I want to ask how
> you handle this pretty common scenario. Furthermore, four years after the
> last discussion about masks here on QGIS Nabble I also want to ask, whether
> developers are planning to incorporate this feature in V3. 
> 
> It would be great to have that masking capability option within the layer
> options or even the projects settings.
> 
> Thanks 
> 
> --
> View this message in context: 
> http://osgeo-org.1560.x6.nabble.com/Real-Mask-functionality-in-QGIS-tp5311464.html
> Sent from the QGIS - User mailing list archive at Nabble.com.
> ___
> 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

  

Links:
--
[1] https://en.wikipedia.org/wiki/Mask_(computing)
___
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] Embed layers and groups

2017-03-09 Per discussione Neumann, Andreas
Hi Laurence, 

I can confirm both issues. 

Embedded groups show empty (without the layers, only the groups are
displayed) in QGIS 3 and they are stylable in the styling dock in 2.18
when they shouldn't be stylable. 

However, if your restyle embedded layers in the styling dock, they are,
of course not saved back to the original layers. This would be dangerous
and probably unwanted in most cases. 

The styling dock is fairly new and probably the devs where not aware
about the embedded layers feature. 

Can you please issue bug reports for both issues? 

Embedded layers and groups are probably not used that much in the wild,
but I find them incredibly useful. It is one of my favourite QGIS
feature and saves you tons of work if you can re-use background layers
from other projects, while still being able to identify these layers or
snap to them. 

Unfortunately, many users and devs are not aware of this feature and it
doesn't get much attention. 

Thanks, 

Andreas 

On 2017-03-08 22:10, Laurence Béchet wrote:

> Hi,
> 
> I'm trying to use the embed layers and groups feature. 
> I'm running on Windows8 pro 64bits. 
> I have created a new project and I am loading a group of layers which are my 
> background (streams, lakes, etc ..) in a main project.
> 
> QGIS 2.18.4 QGIS code revision 59c1d21:
> I get the group loaded nicely. As expected, I cannot access the properties if 
> I double click on the layer. However, if I have the layer styling panel open, 
> I can change the style ... I have not checked what happens to the main 
> project.  Question 1: Is this normal? 
> 
> QGIS version 2.99.0-Master QGIS code revision 5a543e4: 
> The group appears in the layers panel but none of the layers are displayed. 
> Question 2: Is this normal?
> 
> Kind regards
> Laurence Bechet
> 
> ARK IN THE PARK Volunteer Co-Ordinator
> Cascades Ranger Station
> Falls Road, Waitakere
> Phone:  (09) 810 7014
> www.arkinthepark.org.nz [1]  www.forestandbird.org.nz [2]  
> 
> ___
> 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

  

Links:
--
[1] http://www.arkinthepark.org.nz
[2] http://www.forestandbird.org.nz
___
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] Export label styles

2017-03-09 Per discussione Neumann, Andreas
Hi Maven, 

There is QGIS server - which deploys the map exactly as it looks like in
QGIS Desktop. 

In a perfect world, one could also deploy to other servers, but the
symbology engines of QGIS Desktop and Geoservers are different. And up
to now, QGIS does a bad job exporting the symbology and label settings
to SLD (required by Geoserver). However, it is up for the users who want
to use both projects together, to come up with time or funding to solve
this issue. 

A feature request is not enough to get this solved - even when the
feature request is quite old. 

The QGIS devs are buried with feature requests - and usually the devs
like to have bread and butter for their breakfasts - so naturally the
improvements that are paid get priority. 

Andreas 

On 2017-03-09 03:57, maven apache wrote:

> QGIS is a wonderful tool for processing data and styleing the features. 
> 
> However when tried to publish the map to geoserver , I found that I can only 
> export the styles defined in the `Style` tab, the styles defined in the 
> `Label` tab are not exported.  
> 
> I am so surprised that does it make any sense to publish a map without any 
> label? After google I found this: "http://hub.qgis.org/issues/8925;  A 
> feature requested 4 years ago , still have no improvement over the past 
> years. So I wonder how do you use qigs to deploy your map? 
> ___
> 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] Real Mask functionality in QGIS?

2017-03-08 Per discussione Neumann, Andreas
Hi Hilpers, 

Is this about label and symbol backgrounds? 

We have a QEP about that (see
https://github.com/qgis/QGIS-Enhancement-Proposals/issues/63) and an
offer from Oslandia. 

Can you please review this QEP and let us know if it matches your needs?


If yes - would you be able to contribute financially? It is quite
complex to implement this and I have to collect around 18k EUR to
finance it. So I would be interested in financial contributions. 

Thank you for your reply, 

Andreas 

On 2017-03-08 21:08, hilpers wrote:

> Hello everyone,
> 
> I regularly face the issue that I want to set masks for layers of my choice
> based on one layer´s geometry.
> I know there is a plugin available which handles labels *but not* the
> geometry of layers to be masked.
> 
> In my oppinion a mask should make geometries / raster cells outside the
> specified mask disappear. The user should also be able to exclude layers
> from being masked. After searching for more than a year, I want to ask how
> you handle this pretty common scenario. Furthermore, four years after the
> last discussion about masks here on QGIS Nabble I also want to ask, whether
> developers are planning to incorporate this feature in V3. 
> 
> It would be great to have that masking capability option within the layer
> options or even the projects settings.
> 
> Thanks 
> 
> --
> View this message in context: 
> http://osgeo-org.1560.x6.nabble.com/Real-Mask-functionality-in-QGIS-tp5311464.html
> Sent from the QGIS - User mailing list archive at Nabble.com.
> ___
> 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] QGIS-Webclient

2017-03-07 Per discussione Neumann, Andreas
Hi Bernd, 

QGIS web client (version 1) is end of life. 

Please have a look at version 2 - see
https://github.com/qgis/qwc2-demo-app 

The issue list is at https://github.com/qgis/qwc2-demo-app/issues - for
installation see the readme in the above github page and you can ask
questions in the QWC2 mailing list: see at the bottom of
http://www.qgis.org/en/site/getinvolved/mailinglists.html#qgis-mailinglists
for mailing list subscriptions. 

Alternatively you could have look at the LizMap project:
https://www.3liz.com/lizmap.html 

Regarding your other question: yes, QGIS web client 2 and LizMap are
both designed to work with QGIS Server - because they use proprietary
QGIS server extensions that go beyond the OGC WMS standard - e.g. for
printing and transportation of project settings. 

Hope this helps, 

Andreas 

On 2017-03-07 16:20, Bernd Laskowski wrote:

> Hi all,
> 
> whats the best way to start with qgis-webclient?
> 
> Is the qgis-Server the base of qgis-webglient?
> 
> Exists an actual tutorial (windows server or/and linux)?
> 
> Regards
> Bernd
> 
> ___
> 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] [Qgis-developer] Changing behaviour of "show selected features" mode for attribute table

2017-03-06 Per discussione Neumann, Andreas
Hi Nyall, 

I am fine with your proposal. 

In fact, the current behaviour as you described it, can be regarded as a
bug. I agree with you. 

Andreas 

On 2017-03-07 05:28, Nyall Dawson wrote:

> Hi all,
> 
> I'd like to raise discussion about changing the behaviour of the "show
> selected features" mode in the attribute table.
> 
> Over the last couple of weeks I've pushed fixes to both 3.0 and
> (shortly) 2.18 to improve the performance of the attribute table when
> this mode is selected (Thanks to Faunalia and ENEL for sponsoring
> this!). With these changes *only* the selected features are fetched
> from providers to show in the attribute table, vs the current
> behaviour of fetching *everything* and then filtering out to the
> selection. It makes a huge difference for working with large layers.
> 
> Now - there's one last piece of this I'd like to land, but it changes
> the behaviour of this mode. Currently if you have the table set to
> "show selected features", but there's nothing selected, then ALL
> features are shown.
> 
> This kills the benefit of setting the table to show in this mode. If
> you accidentally open the table for a large layer with no selection,
> it'll force every feature to be fetched again.
> 
> I'd like to change this, so that no selection = nothing shows in the
> table. This means that users can safely set the attribute table to
> always show in "selected features" mode and be confident that they'll
> never hit the situation where every feature is fetched (unless of
> course they have selected *every* feature!).
> 
> Does anyone object to this change landing for 3.0 and 2.18?
> 
> Nyall
> ___
> Qgis-developer mailing list
> qgis-develo...@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

  ___
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] Is there any way to constrain the resources QGis uses?

2017-02-09 Per discussione Neumann, Andreas
Hi Ian, 

You can limit the nr of CPU cores it uses for rendering: 

Settings --> Options --> Rendering --> Render layers in parallel / Max
cores 

I don't think you can limit memory consumption with QGIS settings. 

Andreas 

On 2017-02-09 14:31, Ian Turton wrote:

> I know that sounds like something you wouldn't want to do but we have a 
> number of users sharing a VM and if the first QGis started manages to grab 
> all (or even most) of the available memory it prevents the other users from 
> being able to start QGis let alone use it. 
> 
> Cheers 
> 
> Ian
> -- 
> Ian Turton 
> ___
> 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] Print one map for every category in layer with fixed extent

2017-02-02 Per discussione Neumann, Andreas
Hi Stefan, 

It is possible without the help of Python. 

You would have to split up the species into layers. 

Then create an atlas layer that is the geometry you want joined with
every possible layer. You can use QGIS virtual layers for that which you
can define in DB manager. Or use a Postgis view for it. 

So for each geographic unit you want to print you need a combination
with each layer you want. 

E.g. 

Province 1 - Species 1 

Province 1 - Species 2 

Province 1 - Species 3 

Province 2 - Species 1 

Province 2 - Species 2 

Province 2 - Species 3 

In this layer, the geometry is redundant, but since you can use Postgis
views or virtual layers, it is only virtually redundant. 

- 

Finally, in print composer you would use data-defined layers or
visibility presets based on attributes in the atlas coverage layers. 

I did exactly that - print an Atlas for several districts in my city and
a loop of historic maps. For each district I printed around 15 different
historic time snapshots (old maps). 

Hope this helps to get started. 

Andreas 

On 2017-02-02 11:21, Blumentrath, Stefan wrote:

> Dear all, 
> 
> In a project I like to produce a sort of species distribution atlas, where I 
> like to print out (export to image) a map from the print composer for every 
> species recorded within one and the same municipality. 
> 
> So, the map extent should not change and layout is fixed too. With these 
> things fixed, I want to get a map for each single species mapped and thus 
> also legend entries change. The species are in one single layer, but I could 
> also split them if that makes it easier. 
> 
> Is there a function in Atlas for that which I overlooked or a plugin or the 
> like. 
> 
> If not, is there any Python code I could repurpose for that? Found only this 
> [1] and [2], where [1] does not work… 
> 
> But before I start looking into a pygqis solution I like to make sure that 
> this feature does not exist yet… 
> 
> This is a not uncommon use case in ecology btw., so a built in function would 
> be neat. 
> 
> I am grateful for any hint. 
> 
> Kind regards, 
> 
> Stefan 
> 
> [1] 
> http://gis.stackexchange.com/questions/183589/using-pyqgis-to-create-images-from-the-qgis-print-composer-each-showing-a-differ
>  [1] 
> 
> [2] 
> http://kartoza.com/en/blog/how-to-create-a-qgis-pdf-report-with-a-few-lines-of-python/
>  [2] 
> 
> ___
> 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

  

Links:
--
[1]
http://gis.stackexchange.com/questions/183589/using-pyqgis-to-create-images-from-the-qgis-print-composer-each-showing-a-differ
[2]
http://kartoza.com/en/blog/how-to-create-a-qgis-pdf-report-with-a-few-lines-of-python/___
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] show vertexes during editing session

2017-02-01 Per discussione Neumann, Andreas
Hi Reginald, 

See Settings --> Options --> Tabs "Digitizing". Perhaps for some reasons
the markes are set to "none". 

You can also choose to display markers only for selected polygons. 

I don't know about a shortcut to toggle visibility of the markers -
sounds useful. 

Andreas 

On 2017-02-01 10:51, Reginald Carlier wrote:

> Hi, 
> 
> Is there a similar way as in ArcMap to visualize the vertexes of a polygon? 
> In ArcMap, by pressing 'v' I can see the vertexes during an edit session, so 
> I know where to snap to. 
> 
> How can I visualize the vertexes in QGIS during an edit session? 
> 
> Regards, 
> 
> Reginald Carlier
> Deskundige GIS 
> 
> ___
> 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] New mailing list for QGIS Web Client 2 (QWC2)

2017-01-13 Per discussione Neumann, Andreas
yeah - I know it is not easy. 

Maybe parts of this page (e.g. titles, but not the URL) could be
corrected? 

Andreas 

On 2017-01-13 16:17, Jeff McKenna wrote:

> Hi Andreas,
> 
> (I saw this email coming, as I pressed 'send' on my initial email on this ha)
> 
> The issue with that is that the url will also change, breaking all of the 
> existing links to this great search page. (see the text of the url here -> 
> http://osgeo-org.1560.x6.nabble.com/Quantum-GIS-f4099105.html)
> 
> I wondered if I shouldn't have sent that initial email, and, here we are :)
> 
> Short story: yes am aware of the naming issue.  But I am not sure what to do 
> about it.
> 
> -jeff
> 
> On 2017-01-13 11:10 AM, Neumann, Andreas wrote: Hi Jeff,
> 
> While you are at it: could we also rename "QuantumGIS" --> "QGIS" on
> this page?
> 
> I will add a note about the search interface to our mailinglist page. I
> think this will help some users.
> 
> Andreas
> 
> On 2017-01-13 15:48, Jeff McKenna wrote:
> 
> Hi Harrissou,
> 
> Good catch, I'll request that QGIS-Translations also be added.
> 
> -jeff
> 
> On 2017-01-13 10:18 AM, DelazJ wrote: Hi,
> Jeff, actually not all QGIS lists are available in Nabble. We miss
> QGIS-Translations (see
> http://osgeo-org.1560.x6.nabble.com/Qgis-community-team-QGIS-Translations-listnot-available-in-Nabble-tt5301305.html)
> Any way to make it available?
> 
> Thanks,
> Harrissou
> 
> 2017-01-13 14:50 GMT+01:00 Jeff McKenna <jmcke...@gatewaygeomatics.com 
> <mailto:jmcke...@gatewaygeomatics.com>
> <mailto:jmcke...@gatewaygeomatics.com
> <mailto:jmcke...@gatewaygeomatics.com>>>:
> 
> Also a reminder that all of these QGIS mailing lists can be easily
> searched through Nabble (one single search will hit all lists at
> once, very nicely):
> http://osgeo-org.1560.x6.nabble.com/Quantum-GIS-f4099105.html
> <http://osgeo-org.1560.x6.nabble.com/Quantum-GIS-f4099105.html>
> 
> -jeff
> 
> On 2017-01-13 7:57 AM, Neumann, Andreas wrote:
> 
> Hi all,
> 
> QGIS Web Client 2 (QWC2) is the second generation QGIS web
> client and is
> now in late alpha/early beta stage. This second version uses modern
> libraries (OpenLayers3, React, nodejs) and is fully responsive.
> You can
> use the same version for traditional desktop web clients and touch
> devices (phones/tablets). The initial version was developed from
> Sourcepole, but now is open to everyone for contributions. QWC2
> is based
> on the Mapstore2 project from GeoSolutions.
> 
> There is a new mailing list about QWC2 at
> https://lists.osgeo.org/mailman/listinfo/qgis-qwc2
> <https://lists.osgeo.org/mailman/listinfo/qgis-qwc2>, where you can:
> 
> - get help for initial setup
> 
> - discuss issues and further development of QWC2
> 
> You can find the QWC2 repo at
> https://github.com/qgis/qwc2-demo-app
> <https://github.com/qgis/qwc2-demo-app> with
> instructions about installation. Feel free to come up with pull
> requests
> about further installation hints, should you find some improvements.
> 
> If you have bug and feature requests, please create a new issue
> at https://github.com/qgis/qwc2-demo-app/issues
> <https://github.com/qgis/qwc2-demo-app/issues>
> 
> The reason why we split this mailing list from the regular QGIS-user
> mailing list, is that discussions will at time be quite
> technical and
> web-centric, with server setup, Apache, javascript, etc. - not
> the usual
> stuff of the QGIS Desktop mailing list.
> 
> With tomorrows website update, the list info should also appear
> at
> http://www.qgis.org/en/site/getinvolved/mailinglists.html#qgis-mailinglists
> <http://www.qgis.org/en/site/getinvolved/mailinglists.html#qgis-mailinglists>
> 
> Greetings,
> 
> Andreas

___
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 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] New mailing list for QGIS Web Client 2 (QWC2)

2017-01-13 Per discussione Neumann, Andreas
Hi Jeff, 

While you are at it: could we also rename "QuantumGIS" --> "QGIS" on
this page? 

I will add a note about the search interface to our mailinglist page. I
think this will help some users. 

Andreas 

On 2017-01-13 15:48, Jeff McKenna wrote:

> Hi Harrissou,
> 
> Good catch, I'll request that QGIS-Translations also be added.
> 
> -jeff
> 
> On 2017-01-13 10:18 AM, DelazJ wrote: 
> 
>> Hi,
>> Jeff, actually not all QGIS lists are available in Nabble. We miss
>> QGIS-Translations (see
>> http://osgeo-org.1560.x6.nabble.com/Qgis-community-team-QGIS-Translations-listnot-available-in-Nabble-tt5301305.html)
>> Any way to make it available?
>> 
>> Thanks,
>> Harrissou
>> 
>> 2017-01-13 14:50 GMT+01:00 Jeff McKenna <jmcke...@gatewaygeomatics.com
>> <mailto:jmcke...@gatewaygeomatics.com>>:
>> 
>> Also a reminder that all of these QGIS mailing lists can be easily
>> searched through Nabble (one single search will hit all lists at
>> once, very nicely):
>> http://osgeo-org.1560.x6.nabble.com/Quantum-GIS-f4099105.html
>> <http://osgeo-org.1560.x6.nabble.com/Quantum-GIS-f4099105.html>
>> 
>> -jeff
>> 
>> On 2017-01-13 7:57 AM, Neumann, Andreas wrote:
>> 
>> Hi all,
>> 
>> QGIS Web Client 2 (QWC2) is the second generation QGIS web
>> client and is
>> now in late alpha/early beta stage. This second version uses modern
>> libraries (OpenLayers3, React, nodejs) and is fully responsive.
>> You can
>> use the same version for traditional desktop web clients and touch
>> devices (phones/tablets). The initial version was developed from
>> Sourcepole, but now is open to everyone for contributions. QWC2
>> is based
>> on the Mapstore2 project from GeoSolutions.
>> 
>> There is a new mailing list about QWC2 at
>> https://lists.osgeo.org/mailman/listinfo/qgis-qwc2
>> <https://lists.osgeo.org/mailman/listinfo/qgis-qwc2>, where you can:
>> 
>> - get help for initial setup
>> 
>> - discuss issues and further development of QWC2
>> 
>> You can find the QWC2 repo at
>> https://github.com/qgis/qwc2-demo-app
>> <https://github.com/qgis/qwc2-demo-app> with
>> instructions about installation. Feel free to come up with pull
>> requests
>> about further installation hints, should you find some improvements.
>> 
>> If you have bug and feature requests, please create a new issue
>> at https://github.com/qgis/qwc2-demo-app/issues
>> <https://github.com/qgis/qwc2-demo-app/issues>
>> 
>> The reason why we split this mailing list from the regular QGIS-user
>> mailing list, is that discussions will at time be quite
>> technical and
>> web-centric, with server setup, Apache, javascript, etc. - not
>> the usual
>> stuff of the QGIS Desktop mailing list.
>> 
>> With tomorrows website update, the list info should also appear
>> at
>> http://www.qgis.org/en/site/getinvolved/mailinglists.html#qgis-mailinglists
>> <http://www.qgis.org/en/site/getinvolved/mailinglists.html#qgis-mailinglists>
>> 
>> Greetings,
>> 
>> Andreas
> 
> ___
> 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 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] New mailing list for QGIS Web Client 2 (QWC2)

2017-01-13 Per discussione Neumann, Andreas
Hi all, 

QGIS Web Client 2 (QWC2) is the second generation QGIS web client and is
now in late alpha/early beta stage. This second version uses modern
libraries (OpenLayers3, React, nodejs) and is fully responsive. You can
use the same version for traditional desktop web clients and touch
devices (phones/tablets). The initial version was developed from
Sourcepole, but now is open to everyone for contributions. QWC2 is based
on the Mapstore2 project from GeoSolutions. 

There is a new mailing list about QWC2 at
https://lists.osgeo.org/mailman/listinfo/qgis-qwc2, where you can: 

- get help for initial setup 

- discuss issues and further development of QWC2 

You can find the QWC2 repo at https://github.com/qgis/qwc2-demo-app with
instructions about installation. Feel free to come up with pull requests
about further installation hints, should you find some improvements. 

If you have bug and feature requests, please create a new issue at
https://github.com/qgis/qwc2-demo-app/issues  

The reason why we split this mailing list from the regular QGIS-user
mailing list, is that discussions will at time be quite technical and
web-centric, with server setup, Apache, javascript, etc. - not the usual
stuff of the QGIS Desktop mailing list. 

With tomorrows website update, the list info should also appear at
http://www.qgis.org/en/site/getinvolved/mailinglists.html#qgis-mailinglists
 

Greetings, 

Andreas 

  ___
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] Custom dash pattern broken when used inside a line pattern fill

2017-01-09 Per discussione Neumann, Andreas
In addition it seems like the thicker the custom dashed line is, the
more ugly rendering artefacts appear at the change between a dash and a
space. 

Is this a qt bug or a QGIS bug? 

Andreas 

On 2017-01-09 14:36, Neumann, Andreas wrote:

> Hi, 
> 
> My colleague experimented with custom dash patterns inside a line pattern 
> fill. We discovered that this feature is seriously broken, both in 2x and 3x. 
> Both on Windows and Linux. 
> 
> We made sure that the cap style is set to "flat" and then applied a custom 
> dash pattern inside a line pattern fill, with equal length (say 3mm length 
> dash, 3mm length space). The result as it appears is more like a longer dash, 
> then a space, then a shorter dash and a space. Certainly not what we defined. 
> If you change to a longer dash, say 20mm dash, 3mm space, the spaces totally 
> disappear. 
> 
> Is there maybe a unit problem when rendering custom dashes inside a line 
> pattern? It looks like the total length of the custom dash pattern doesn't 
> equal the sum of the individual dash/space patterns. 
> 
> Can others confirm my issue? 
> 
> Thanks, 
> 
> Andreas
> 
> ___
> 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 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] Custom dash pattern broken when used inside a line pattern fill

2017-01-09 Per discussione Neumann, Andreas
Hi, 

My colleague experimented with custom dash patterns inside a line
pattern fill. We discovered that this feature is seriously broken, both
in 2x and 3x. Both on Windows and Linux. 

We made sure that the cap style is set to "flat" and then applied a
custom dash pattern inside a line pattern fill, with equal length (say
3mm length dash, 3mm length space). The result as it appears is more
like a longer dash, then a space, then a shorter dash and a space.
Certainly not what we defined. If you change to a longer dash, say 20mm
dash, 3mm space, the spaces totally disappear. 

Is there maybe a unit problem when rendering custom dashes inside a line
pattern? It looks like the total length of the custom dash pattern
doesn't equal the sum of the individual dash/space patterns. 

Can others confirm my issue? 

Thanks, 

Andreas

  ___
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] QGIS to manage cadastre

2017-01-08 Per discussione Neumann, Andreas
Hi Nyall, 

There is a little bit of overlap of people involved, but it is mostly
different people. But they will build upon the experience made in the
qWat/QGEP projects. And I hope they can also contribute back to the core
project. 

One technique they will try to use is the new QGIS project generator
that Matthias is currently developing - a tool that can generate a QGIS
project based on a configuration with YAML files and a data model out of
a PostgreSQL database. Still early days for this development - but
hopefully it will be a success. The idea is to save parts of the tedious
work, such as setting up relations, constraints, etc. Stuff that is
already defined in the database / data model. Probably a topic to
discuss at the next dev meeting. 

Greetings,
Andreas 

On 2017-01-09 01:21, Nyall Dawson wrote:

> On 6 January 2017 at 06:31, Andreas Neumann  wrote: 
> 
>> In fact, a swiss company is starting to work on a solution for managing
>> cadastral data in colombia, on top of QGIS and Postgis - but it is at the
>> very beginning. If you want to join that effort, I can put you in touch.
> 
> Would I be right in guessing that this is modeled after the QWAT/QGEP
> projects? If so, it sounds great. Lots of fantastic stuff has flowed
> into QGIS upstream as a result of QWAT/QGEP.
> 
> Nyall

  ___
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] QGIS to manage cadastre

2017-01-05 Per discussione Neumann, Andreas
Hi, 

I think import of Cadastre data is not trivial, but several solutions in
several countries already exist. Next to the below menti9oned
QGISCadastrePlugin in France, there is the norGIS ALKIS import in
Germany (see http://www.norbit.de/74/ or the PostNAS project). In
Switzerland there are official data models and Open Source
importer/exporter available either with ili2db
(https://github.com/claeis/ili2db) or through OGR. 

The original question, however, was about also editing/managing
cadastral data, which is more complex, and as I said, requires a
long-term investment and collaboration of several partners. It would,
however, certainly doable on top of QGIS and PostGIS. 

Andreas 

On 2017-01-05 22:23, Tumasgiu Rossini wrote:

> Hi,
> 
> Here is a plugin used in France to handle cadastral data :
> 
> https://github.com/3liz/QgisCadastrePlugin 
> 
> 2017-01-05 20:09 GMT+01:00 N :
> 
>> Hi 
>> 
>> I would like to know if there is any country that uses QGIS to manage the 
>> cadastral maps of the country. 
>> 
>> ArcGIS seems to be what other countries are using for Cadastre. 
>> 
>> Can QGIS be used to manage the cadastre of a country?? 
>> ___
>> Qgis-user mailing list
>> Qgis-user@lists.osgeo.org
>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user [1]
>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user [1]
> 
> ___
> 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

  

Links:
--
[1] http://lists.osgeo.org/mailman/listinfo/qgis-user
___
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] Tool to copy the content of the map canvas to the clipboard

2016-12-21 Per discussione Neumann, Andreas
I agree. It would be nice to have this in QGIS core. 

Andreas 

On 2016-12-21 09:44, Richard Duivenvoorde wrote:

> On 12/20/2016 09:43 PM, Larry Shaffer wrote: 
> 
>> 2016-12-20 18:23 GMT+01:00 Bo Victor Thomsen
>> >:
>> 
>> Hi List-members -
>> 
>> Is there in Qgis a function / button / menu-item / short-cut /
>> plugin to make a simple bitmap copy of the current content of
>> the map-canvas and save it to the clipboard ? My users need this
>> to make a copy of the map and paste into MS-Word or other software.
>> 
>> While not part of the QGIS app, one could use this PyQGIS snippet to do
>> so (tested quickly on macOS 10.11.6 under QGIS 2.14) from the PyQGIS
>> console:
>> 
>> from PyQt4.QtGui import *
>> QApplication.clipboard().setImage(QImage(QPixmap.grabWidget(iface.mapCanvas(
>> 
>> This avoids having to re-render the QGraphicsView (QgsMapCanvas) to a
>> paint device, like an image. Code can be wrapped in a plugin, then have
>> some key bindings applied (would need some more PyQt).
> 
> Tested here on Linux: working fine too!!
> 
> I think this looks like a nice (easy?) feature request to make this core 
> functionality?
> 
> - right-click menu on mapcanvas with:
> - save Map to Clipboard
> (- set size of MapCanvas to...) I know this is also often needed...
> 
> - one or two buttons to do this?
> 
> While a plugin works for older versions, I think it should not be needed for 
> a teacher/user to hear: install QGIS and add the following plugins (while 
> that is actually what I often have to say)
> 
> I think I could even try to do this :-)
> 
> Regards,
> 
> Richard Duivenvoorde
> 
> ___
> 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 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] suddenly unable to open shape files

2016-11-28 Per discussione Neumann, Andreas
Hi Mira, 

It is highly unlikely that any data can corrupt/modify QGIS as a
software. It could crash it, but it can't modify binaries/libraries of
QGIS. 

Not knowing about your situation - are you sure that your whole system
was in a healthy state? Perhaps one harddisk or partition was full? That
could explain such a behaviour. 

Andreas 

On 2016-11-28 10:10, Mira Kattwinkel wrote:

> Dear all,
> 
> maybe that's of interest for someone else: I solved the problem by completely 
> removing QGIS and all its configuration files (using 'synaptic' on Linux and 
> some manually) and reinstalling it.
> I guess the problem emerged from a very large Grass mapset (about 2000 raster 
> and vector files). Could it be that this messed up something internally that 
> it even affected shape files outside of this folder?
> 
> Cheers,
> Mira
> 
> On 25/11/16 18:17, Nicolas Cadieux wrote: Zip me the file if it's not 
> confidential.  I can test it.
> 
> Le 25 nov. 2016 à 12:07, Mira Kattwinkel [via OSGeo.org ] 
> <[hidden email] > a écrit :
> 
> Hello Nicola
> 
> Thanks for the suggestion but this is not the problem. I did not move
> any files and it happens with whatever shape file I try.
> 
> Mira
> 
> On 25/11/16 17:58, Nicolas Cadieux wrote:
> 
> Hi,
> 
> Perhaps you moved or copied the shape files and forgot to move the
> accompanied files (3 to 8 files with different extensions like .shx
> .dbf .shp .prj)?  If you just move the .shp and not the others, this
> is will create errors.  The .shx contains the geometries.  You may get
> this kind of message if you try to drag and drop the .shx and not the
> .shp in QGiS.
> 
> .tiff will not crash because it's a lone file.
> 
> Nicolas
> 
> Le 25 nov. 2016 à 11:36, Mira Kattwinkel [via OSGeo.org 
> ] <[hidden email]
> > a écrit :
> 
> Dear list
> 
> I have been working with QGIS 2.14 and now 2.18 for a while on Linux
> Mint 17. Suddenly, I cannot open shape files any more. When trying to
> load them I get the message: "Layer is not valid: The layer XX.shp is
> not a valid layer and can not be added to the map."  In the log message
> panel under ogr it says: "Data source is invalid (Unable to open XX.shx
> or XX.SHX.Try --config SHAPE_RESTORE_SHX true to restore or create it)"
> 
> Additionally, I cannot open GRASS files any more (which also used to
> work fine) and get the error:" Error reading database file from:
> /usr/share/qgis/resources/srs.db Because of this the projection selector
> will not work..." and then QGIS crashes.
> 
> Interestingly, I can open shape files from my file browser (it starts
> QGIS and loads the file) but then I cannot add another one. Raster
> (GeoTif) data are also fine.
> 
> I have no idea what's causing this. I have tried removing and
> reinstalling QGIS (version 2.18 and 2.14) without any success.
> 
> Can anybody give me any hint what might have corrupted my system?
> 
> Thanks a lot,
> Mira
> 
> ___
> Qgis-user mailing list
> [hidden email] 
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
> 
> 
> If you reply to this email, your message will be added to the
> discussion below:
> http://osgeo-org.1560.x6.nabble.com/suddenly-unable-to-open-shape-files-tp5297446.html
>  >>
> To start a new topic under Quantum GIS - User, email [hidden email]
> 
> To unsubscribe from Quantum GIS - User, click here.
> NAML
> 
>  >> 
> 
> View this message in context: Re: suddenly unable to open shape files
> 
>  > Sent from the Quantum GIS - User mailing list archive
> 
> at Nabble.com .
> 
> ___
> Qgis-user mailing list
> [hidden email] 
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
 -- Dr. Mira Kattwinkel
Quantitative Landscape Ecology
Institute for Environmental Sciences
University of Koblenz-Landau
Fortstraße 7
76829 Landau
Germany
Phone: + 49 6341 280-31553
Office: Building I, Room 2.02

___
Qgis-user mailing list
[hidden email] 
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: 

Re: [Qgis-user] Creating parent feature with geometry from child feature

2016-11-08 Per discussione Neumann, Andreas
Hi Nicolas, 

We have similar issues in our projects.  

It looks like a bug to me that the default value is called that many
times. 

Matthias: any comments on that? Or can you explain why this happens and
how this can be potentially fixed? 

Greetings, 

Andreas 

On 2016-11-08 17:50, Nicolas Boisteault wrote:

> Logs confirm the issue : 
> 
> First time form opened : 
> 
> 2016-11-08 17:45:03 CET [15733-1] user@carto LOG: statement: SELECT 
> nextval('public.station_gid_seq'::regclass)
> 2016-11-08 17:45:03 CET [15733-2] user@carto LOG: statement: SELECT 
> nextval('public.station_gid_seq'::regclass)
> 2016-11-08 17:45:03 CET [15733-3] user@carto LOG: statement: SELECT 
> nextval('public.station_gid_seq'::regclass)
> 2016-11-08 17:45:03 CET [15733-4] user@carto LOG: statement: SELECT 
> nextval('public.station_gid_seq'::regclass)
> 2016-11-08 17:45:03 CET [15733-5] user@carto LOG: statement: SELECT 
> nextval('public.station_gid_seq'::regclass)
> 2016-11-08 17:45:03 CET [15733-6] user@carto LOG: statement: SELECT 
> nextval('public.station_gid_seq'::regclass)
> 2016-11-08 17:45:03 CET [15733-7] user@carto LOG: statement: SELECT 
> nextval('public.station_gid_seq'::regclass)
> 2016-11-08 17:45:03 CET [15733-8] user@carto LOG: statement: SELECT 
> nextval('public.station_gid_seq'::regclass)
> 2016-11-08 17:45:03 CET [15733-9] user@carto LOG: statement: SELECT 
> nextval('public.station_gid_seq'::regclass)
> 2016-11-08 17:45:03 CET [15733-10] user@carto LOG: statement: SELECT 
> nextval('public.station_gid_seq'::regclass)
> 2016-11-08 17:45:03 CET [15733-11] user@carto LOG: statement: SELECT 
> nextval('public.station_gid_seq'::regclass) 
> 
> Second time form opened : 
> 
> 2016-11-08 17:47:10 CET [15733-48] user@carto LOG: statement: SELECT 
> nextval('public.station_gid_seq'::regclass)
> 2016-11-08 17:47:10 CET [15733-49] user@carto LOG: statement: SELECT 
> nextval('public.station_gid_seq'::regclass)
> 2016-11-08 17:47:10 CET [15733-50] user@carto LOG: statement: SELECT 
> nextval('public.station_gid_seq'::regclass)
> 2016-11-08 17:47:10 CET [15733-51] user@carto LOG: statement: SELECT 
> nextval('public.station_gid_seq'::regclass)
> 2016-11-08 17:47:10 CET [15733-52] user@carto LOG: statement: SELECT 
> nextval('public.station_gid_seq'::regclass)
> 2016-11-08 17:47:10 CET [15733-53] user@carto LOG: statement: SELECT 
> nextval('public.station_gid_seq'::regclass)
> 2016-11-08 17:47:10 CET [15733-54] user@carto LOG: statement: SELECT 
> nextval('public.station_gid_seq'::regclass)
> 2016-11-08 17:47:10 CET [15733-55] user@carto LOG: statement: SELECT 
> nextval('public.station_gid_seq'::regclass)
> 2016-11-08 17:47:10 CET [15733-56] user@carto LOG: statement: SELECT 
> nextval('public.station_gid_seq'::regclass)
> 2016-11-08 17:47:10 CET [15733-57] user@carto LOG: statement: SELECT 
> nextval('public.station_gid_seq'::regclass)
> 2016-11-08 17:47:10 CET [15733-58] user@carto LOG: statement: SELECT 
> nextval('public.station_gid_seq'::regclass) 
> 
> If someone can confirm this issue I'll open a ticket. 
> 
> Le 2016-11-08 17:27, Nicolas Boisteault a écrit : 
> 
> What is weird is that every time I open the form it increments sequence of 11 
> NOT 1. So I guess nextval is called 11 times! I'll try to log that. I'm using 
> QGIS 2.18. 
> 
> Le 2016-11-08 16:35, Matthias Kuhn a écrit : 
> Yes, every time you open a form, a new gid is retrieved (nextval is
> executed) what makes the counter go up very fast.
> 
> Another thing that could need some attention (it might have changed with
> https://github.com/qgis/QGIS/pull/3733 but I didn't check in detail).
> 
> Matthias
> 
> On 11/08/2016 04:19 PM, Nicolas Boisteault wrote: Matthias,
> 
> Thank you for the tip.
> 
> It works without transactional editing.
> 
> I enabled it to test and I like the fact that observation layer is
> automatically put in editable state when I put station layer as
> editable. It is very convenient for users. I'll modify the foreign
> key constraint and will tell if it works for me.
> 
> Now I have an issue which is not related to transactional editing. When
> I create a new station the gid parameter is incremented by +11 not +1.
> 
> Can anyone confirm this issue? Thanks.
> 
> Le 2016-11-08 14:44, Matthias Kuhn a écrit :
> 
> Nicolas,
> 
> Sorry I forgot: you will probably also need to enable transactional
> editing and set the foreign key constraint check to deferred to make it
> work properly.
> 
> Regards
> Matthias
> 
> On 11/08/2016 02:08 PM, Nicolas Boisteault wrote: This is perfect! Thank you 
> very much Matthias.
> 
> Le 2016-11-08 12:45, Matthias Kuhn a écrit :
> 
> Go to the project properties and on the data sources tab check "evaluate
> default values on provider side".
> 
> Regards
> Matthias
> 
> On 11/08/2016 12:37 PM, Nicolas Boisteault wrote: Hi Matthias Kuhn,
> 
> First thank you very much for your help and your work on this feature
> There is room for improvement but this functionality is already great
> as it.
> 

Re: [Qgis-user] downloading a wms geoservice from QGis

2016-11-08 Per discussione Neumann, Andreas
Hi Juliana, 

Not sure if you figured it out already. But smaller resolution means
better quality and larger file sizes. A resolution of 0.05 degrees means
that each pixel is 0.05 degrees in width and height. Gradually make this
value smaller until you are satisfied and still works. At some point the
WMS may refuse to server or your file will get too big. 

About projection: it is generally not advised to work with EPSG:4326
projection. Depending on the area you work with, I would switch to a
meter based projection, such as UTM zones. 

Greetings, 

Andreas 

On 2016-11-07 22:33, Juliana Mori wrote:

> Yes, I did set a resolution as you explained:
> 
> I could finally get a file but the resolution is too poor (all pixelized)> I 
> tried with none compression but still not good. I guess the horizontal and 
> vertical resolutions are too low, but don´t really understand the parameter 
> to be sure what would be a good value. Any sugestions? 
> 
> 2016-11-07 19:27 GMT-02:00 Andreas Neumann :
> 
> So - have you tried setting a resolution and extent? The resolution input 
> fields need to have values. Empty fields don't work. And no - QGIS can't 
> autodetect it. It does not know the native resolution of WMS services.
> 
> Andreas
> 
> Am 07.11.2016 um 22:23 schrieb Juliana Mori: 
> sorry, I hit enter before finishing the email... Again:
> 
> Hi Andreas,
> 
> for sure it would be much better to use the webservice directly but I´m 
> already investigating with CARTO and it seems there´s no WMS support - if I 
> have any update on this, I´ll share with you.
> 
> EPSG:4326 would be perfect for me, even though I know the original file is in 
> Magna Sirgas (EPSG:4686). So, if I understood right, I need to specify a 
> resolution in decimal degrees, right?
> 
> I´m saving a raster image with only 3 color values (assigned by its column 
> "dn" which indicates if the pixels correspond to forest, no forest or no 
> information). Sorry, I don´t know to say if it´s orthoimage.
> I´ve already polygonized the other tiff files I had from this series (but 
> were not from WMS) and the results were meaningful, probably because there´re 
> only this 3 colors.  
> 
> 2016-11-07 19:18 GMT-02:00 Juliana Mori :
> 
> Hi Andreas,
> 
> for sure it would be much better to use the webservice directly but I´m 
> already investigating with CARTO and it seems there´s no WMS support - if I 
> have any update on this, I´ll share with you.
> 
> EPSG:4326 would be perfect for me, even though I know the original file is in 
> Magna Sirgas (EPSG:4686). 
> 
> 2016-11-07 19:15 GMT-02:00 Andreas Neumann :
> 
> Hi Juliana, 
> 
> First, I would investigate with Carto, if you really cannot embed a WMS. It 
> would be much better to use the webservice directly rather than downloading 
> and uploading and then end up with an outdated image. 
> 
> If that does not work, you need to set a meaningful resolution. As we can see 
> in your screenshot the resolution text input fields are empty. Also check if 
> the projection is correct. Do you really want to save in EPSG:4326 or rather 
> in a meter based system? 
> 
> What kind of data are you saving? Orthoimages or maps with few colors or 
> black and white? If it is orthoimages, I would use JPEG compression in the 
> Geotiff, otherwise probably deflate/LZW. 
> 
> Then you have to find a meaningful resolution. If you really want to save in 
> EPSG:4326, you have to specify a resolution in decimal degrees. Try with 
> larger values first, such as 0.05 and then, if it is too coarse go to smaller 
> values. 
> 
> About polygonizing raster to vector: this really depends on the content - and 
> I kind of doubt it if you really get meaningful results. Maybe it works with 
> few colors and homogeneous areas. It certainly would not work well for aerial 
> images. Hope it helps,
> Andreas
> 
> Am 07.11.2016 um 22:05 schrieb Juliana Mori: 
> Hi Andreas,
> 
> thanks for your reply.
> 
> I chose layer extent for extensions and current layer for resolution but 
> still doesn´t work. 
> 
> Should I do this in a different way?
> 
> About the bigger question, no, CARTO doesn´t allow uploading geotiffs. What 
> I´ve done so far is polygonizing the rasters in QGis and uploading the 
> converted shapefile to CARTO. As you said WMS can´t be converted into shape, 
> I´m not sure this is going to work at all... won´t I be able to polygonize a 
> raster downloaded from a WMS server?
> 
> All the best, Juliana.
> 
> 2016-11-07 18:44 GMT-02:00 Andreas Neumann :
> 
> Hi Juliana, 
> 
> "Save AS" as a WMS should work fine - but you need to specify a useful extent 
> and resolution (in map units of your projection). Otherwise it probably 
> fails. 
> 
> I just tested it and it works fine. 
> 
> The bigger question is: will CARTO allow to upload larger Geotiff files? Did 
> you check that? 
> 
> Note that WMS are always raster. You can't convert it into 

Re: [Qgis-user] Creating parent feature with geometry from child feature

2016-11-08 Per discussione Neumann, Andreas
Hi Nicolas, 

Seems strange to me that you start creating an observation first, and
then want to the station. 

Wouldn't it be more natural to first create the station and then add
observations from the observation form nested in the station form? 

That's how I do it. It seems logical to me and works fine. 

In real live, you also have to first build the house, before you can put
furniture or people in it ... 

But maybe I did not correctly understand the reason why you do it the
other way around. There may be a good reason. 

Greetings,
Andreas 

On 2016-11-08 11:49, Nicolas Boisteault wrote:

> Hi List, 
> 
> I have two tables : 
> 
> * station : gid, geom (point)
> * observation : id, id_station (foreign key)
> 
> There is a 1:N relation; for one station feature there are multiple 
> observation features. 
> I add the relation between my two tables in QGIS -> project properties. 
> I use the relation reference widget on id_station and check 'able the add of 
> new entities' (not sure about my english translation) 
> 
> So now when I create a new observation I can click the plus symbol to add a 
> station but I can't see how I can create the point geometry. I'm not able to 
> click the map. 
> 
> Any hint? Thank you all. 
> 
> -- 
> 
> Nicolas BOISTEAULT
> 
> ___
> 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 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] QGIS server: configuration of grid shift files for datum conversions

2016-10-28 Per discussione Neumann, Andreas
I was able to fix the crash by naming the .gsb files EXACTLY like Andy
wrote below - my name before was chenys06a.gsb. After I created a
symblink to CHENYX06a.gsb the crash was gone. 

This looks really strange. Are thoses .gsb file names hard coded
somewhere? Quite a mystery ... 

Andreas 

On 2016-10-28 16:45, Neumann, Andreas wrote:

> Hi Andy, 
> 
> Thank for these very precise instructions. 
> 
> I was able to do the same on CentOS 7 with only very minor differences 
> (probably because I self-compile QGIS server). 
> 
> Is the id 11 for the swiss datum transformation stable? 
> 
> I think this information should be added to the QGIS user manual, in the 
> server section. I created a pull request: 
> https://github.com/qgis/QGIS-Documentation/pull/1481  
> 
> --- 
> 
> fyi: i get a server crash when I use a request in EPSG:2056, project done in 
> EPSG:21781 - still investigating what the reason is ... 
> 
> Thanks a lot - very useful information! 
> 
> Andreas 
> 
> On 2016-10-24 11:09, Schmid Andreas wrote: 
> Hi,
> 
> At Kanton Solothurn we had the same requirement. And we did not want to 
> fiddle with the original proj.4 definition files. So we paid Sourcepole for 
> solving this directly in QGIS Server 
> (https://github.com/qgis/QGIS/commit/70863ecaf0ccfcb538e3892af4b528304b21a0a2).
> This is how it works under Ubuntu:
> 
> * Place those CHENYX06a.gsb and CHENYX06_etrs.gsb in /usr/share/proj 
> (probably in our case only CHENYX06a.gsb is actually needed)
> 
> * If QGIS Server was installed before placing the .gsb files, run 
> /usr/lib/qgis/crssync (or run it anyway)
> 
> * In /etc/apache2/mods-enabled/fcgid.conf place the following additional 
> option:
> InitialEnv 
> DEFAULT_DATUM_TRANSFORM=EPSG:21781/EPSG:2056/11/-1;EPSG:2056/EPSG:21781/-1/11
> 
> The meaning of this option is: when your .qgs is in EPSG:21781 and the WMS 
> request is in EPSG:2056, then use datum transformation 11; when your .qgs 
> is in EPSG:2056 and the WMS request is in EPSG:21781, then use datum 
> transformation 11 as well, but use it the other way round.
> The datum transformation code 11 can be looked up in 
> /usr/share/qgis/resources/srs.db. Look at attribute coord_op_code of table 
> tbl_datum_transform.
> 
> Regards,
> Andy
> 
> -Ursprüngliche Nachricht-----
> Von: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] Im Auftrag von 
> Richard
> Duivenvoorde
> Gesendet: Montag, 24. Oktober 2016 10:01
> An: Neumann, Andreas
> Cc: QGIS User List
> Betreff: Re: [Qgis-user] QGIS server: configuration of grid shift files for 
> datum
> conversions
> 
> On 2016-10-24 06:23, Neumann, Andreas wrote: Hi,
> 
> I have to configure QGIS server to properly handle grid shift files.
> In Switzerland we need to offer "old" and "new" coordinates (different
> datums) at the same time with our services and the conversion needs to
> be done with grid shift files or tin based interpolation.
> 
> I know that I have to copy the CHENYX06a.gsb file to my proj lib, e.g.
> /usr/local/shar/proj  - but how can I make QGIS Server to actually use
> this file? I assume that I need to copy an additional config file or
> SRS/grid shift file combinations to QGIS server and/or specify an
> environment variable - right?
> 
> Are there any resources explaining how I can configure QGIS server to
> make use of these grid shift files?
> 
> Thank you for any pointers! 
> Hi Andreas,
> 
> funny, in NL we just had a discussion about how to handle different
> available datum transformation too last week...
> 
> we also recently got a grid shift file to better handle datum
> transformation and I found this post of Sourcepole:
> http://blog.sourcepole.ch/2014/02/18/ntv2-transformations-with-qgis/
> Which I think answers your question (at least for the desktop side)
> 
> But from a mini presentation from somebody from our National Cadastre, I
> actually draw the conclusion that the way QGIS represents CRS's is too
> narrow/not complete...
> 
> Please correct me if I'm wrong, but a lot of 'On The Fly'-reprojections
> actually need 2(!) proj configurations/steps:
> - the projection parametes (mostly available in the epsg database)
> - the datum transformation parameters (these is the 'towsg84...'-part,
> AND only needed when you do an actual datum transformation, PARTLY
> available in the epsg database)
> The last part can either be a list of parameters (to calculate it) OR
> (as in your case and in the dutch preferred case) a grid shift file (as
> proj can only handle one of these).
> 
> SO: for example for certain crs's (in QGIS the dutch one is called
> epsg:28992) there is actually a SET o

Re: [Qgis-user] QGIS server: configuration of grid shift files for datum conversions

2016-10-28 Per discussione Neumann, Andreas
Hi again, Andy, 

Just trying to understand where the .gsb files are actually referenced.
The table tbl_datum_transformation does not contain any references to
the .gsb files. How does QGIS find those files? 

Thanks for any hints, 

Andreas 

On 2016-10-24 11:09, Schmid Andreas wrote:

> Hi,
> 
> At Kanton Solothurn we had the same requirement. And we did not want to 
> fiddle with the original proj.4 definition files. So we paid Sourcepole for 
> solving this directly in QGIS Server 
> (https://github.com/qgis/QGIS/commit/70863ecaf0ccfcb538e3892af4b528304b21a0a2).
> This is how it works under Ubuntu:
> 
> * Place those CHENYX06a.gsb and CHENYX06_etrs.gsb in /usr/share/proj 
> (probably in our case only CHENYX06a.gsb is actually needed)
> 
> * If QGIS Server was installed before placing the .gsb files, run 
> /usr/lib/qgis/crssync (or run it anyway)
> 
> * In /etc/apache2/mods-enabled/fcgid.conf place the following additional 
> option:
> InitialEnv 
> DEFAULT_DATUM_TRANSFORM=EPSG:21781/EPSG:2056/11/-1;EPSG:2056/EPSG:21781/-1/11
> 
> The meaning of this option is: when your .qgs is in EPSG:21781 and the WMS 
> request is in EPSG:2056, then use datum transformation 11; when your .qgs 
> is in EPSG:2056 and the WMS request is in EPSG:21781, then use datum 
> transformation 11 as well, but use it the other way round.
> The datum transformation code 11 can be looked up in 
> /usr/share/qgis/resources/srs.db. Look at attribute coord_op_code of table 
> tbl_datum_transform.
> 
> Regards,
> Andy
> 
> -Ursprüngliche Nachricht-
> Von: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] Im Auftrag von 
> Richard
> Duivenvoorde
> Gesendet: Montag, 24. Oktober 2016 10:01
> An: Neumann, Andreas
> Cc: QGIS User List
> Betreff: Re: [Qgis-user] QGIS server: configuration of grid shift files for 
> datum
> conversions
> 
> On 2016-10-24 06:23, Neumann, Andreas wrote: Hi,
> 
> I have to configure QGIS server to properly handle grid shift files.
> In Switzerland we need to offer "old" and "new" coordinates (different
> datums) at the same time with our services and the conversion needs to
> be done with grid shift files or tin based interpolation.
> 
> I know that I have to copy the CHENYX06a.gsb file to my proj lib, e.g.
> /usr/local/shar/proj  - but how can I make QGIS Server to actually use
> this file? I assume that I need to copy an additional config file or
> SRS/grid shift file combinations to QGIS server and/or specify an
> environment variable - right?
> 
> Are there any resources explaining how I can configure QGIS server to
> make use of these grid shift files?
> 
> Thank you for any pointers! 
> Hi Andreas,
> 
> funny, in NL we just had a discussion about how to handle different
> available datum transformation too last week...
> 
> we also recently got a grid shift file to better handle datum
> transformation and I found this post of Sourcepole:
> http://blog.sourcepole.ch/2014/02/18/ntv2-transformations-with-qgis/
> Which I think answers your question (at least for the desktop side)
> 
> But from a mini presentation from somebody from our National Cadastre, I
> actually draw the conclusion that the way QGIS represents CRS's is too
> narrow/not complete...
> 
> Please correct me if I'm wrong, but a lot of 'On The Fly'-reprojections
> actually need 2(!) proj configurations/steps:
> - the projection parametes (mostly available in the epsg database)
> - the datum transformation parameters (these is the 'towsg84...'-part,
> AND only needed when you do an actual datum transformation, PARTLY
> available in the epsg database)
> The last part can either be a list of parameters (to calculate it) OR
> (as in your case and in the dutch preferred case) a grid shift file (as
> proj can only handle one of these).
> 
> SO: for example for certain crs's (in QGIS the dutch one is called
> epsg:28992) there is actually a SET of combinations available: the
> projection and 4 or 5 transformations
> (http://pix.toile-libre.org/upload/original/1477238061.png),
> 
> QGIS actually picks one (from qgis.db) of these and present them to the
> user as THE epsg:28992 crs, while in our case this is actually not the
> best fit, and in your case you actually want to pick two!
> 
> I understood that in ArcGIS, the user actually every time is presented
> with a 'pick the right datum transformation' dialog as soon as the data
> needs a datum transformatio. As a draw back: making it more difficult
> for new users to pick the right one, BUT on the positive side making it
> easier to pick the right projection/datumtransformation pair!
> 
> So what about using both worlds:
> - in the qgis.db / crs table NOT u

Re: [Qgis-user] QGIS server: configuration of grid shift files for datum conversions

2016-10-28 Per discussione Neumann, Andreas
Hi Andy, 

Thank for these very precise instructions. 

I was able to do the same on CentOS 7 with only very minor differences
(probably because I self-compile QGIS server). 

Is the id 11 for the swiss datum transformation stable? 

I think this information should be added to the QGIS user manual, in the
server section. I created a pull request:
https://github.com/qgis/QGIS-Documentation/pull/1481  

--- 

fyi: i get a server crash when I use a request in EPSG:2056, project
done in EPSG:21781 - still investigating what the reason is ... 

Thanks a lot - very useful information! 

Andreas 

On 2016-10-24 11:09, Schmid Andreas wrote:

> Hi,
> 
> At Kanton Solothurn we had the same requirement. And we did not want to 
> fiddle with the original proj.4 definition files. So we paid Sourcepole for 
> solving this directly in QGIS Server 
> (https://github.com/qgis/QGIS/commit/70863ecaf0ccfcb538e3892af4b528304b21a0a2).
> This is how it works under Ubuntu:
> 
> * Place those CHENYX06a.gsb and CHENYX06_etrs.gsb in /usr/share/proj 
> (probably in our case only CHENYX06a.gsb is actually needed)
> 
> * If QGIS Server was installed before placing the .gsb files, run 
> /usr/lib/qgis/crssync (or run it anyway)
> 
> * In /etc/apache2/mods-enabled/fcgid.conf place the following additional 
> option:
> InitialEnv 
> DEFAULT_DATUM_TRANSFORM=EPSG:21781/EPSG:2056/11/-1;EPSG:2056/EPSG:21781/-1/11
> 
> The meaning of this option is: when your .qgs is in EPSG:21781 and the WMS 
> request is in EPSG:2056, then use datum transformation 11; when your .qgs 
> is in EPSG:2056 and the WMS request is in EPSG:21781, then use datum 
> transformation 11 as well, but use it the other way round.
> The datum transformation code 11 can be looked up in 
> /usr/share/qgis/resources/srs.db. Look at attribute coord_op_code of table 
> tbl_datum_transform.
> 
> Regards,
> Andy
> 
> -Ursprüngliche Nachricht-
> Von: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] Im Auftrag von 
> Richard
> Duivenvoorde
> Gesendet: Montag, 24. Oktober 2016 10:01
> An: Neumann, Andreas
> Cc: QGIS User List
> Betreff: Re: [Qgis-user] QGIS server: configuration of grid shift files for 
> datum
> conversions
> 
> On 2016-10-24 06:23, Neumann, Andreas wrote: Hi,
> 
> I have to configure QGIS server to properly handle grid shift files.
> In Switzerland we need to offer "old" and "new" coordinates (different
> datums) at the same time with our services and the conversion needs to
> be done with grid shift files or tin based interpolation.
> 
> I know that I have to copy the CHENYX06a.gsb file to my proj lib, e.g.
> /usr/local/shar/proj  - but how can I make QGIS Server to actually use
> this file? I assume that I need to copy an additional config file or
> SRS/grid shift file combinations to QGIS server and/or specify an
> environment variable - right?
> 
> Are there any resources explaining how I can configure QGIS server to
> make use of these grid shift files?
> 
> Thank you for any pointers! 
> Hi Andreas,
> 
> funny, in NL we just had a discussion about how to handle different
> available datum transformation too last week...
> 
> we also recently got a grid shift file to better handle datum
> transformation and I found this post of Sourcepole:
> http://blog.sourcepole.ch/2014/02/18/ntv2-transformations-with-qgis/
> Which I think answers your question (at least for the desktop side)
> 
> But from a mini presentation from somebody from our National Cadastre, I
> actually draw the conclusion that the way QGIS represents CRS's is too
> narrow/not complete...
> 
> Please correct me if I'm wrong, but a lot of 'On The Fly'-reprojections
> actually need 2(!) proj configurations/steps:
> - the projection parametes (mostly available in the epsg database)
> - the datum transformation parameters (these is the 'towsg84...'-part,
> AND only needed when you do an actual datum transformation, PARTLY
> available in the epsg database)
> The last part can either be a list of parameters (to calculate it) OR
> (as in your case and in the dutch preferred case) a grid shift file (as
> proj can only handle one of these).
> 
> SO: for example for certain crs's (in QGIS the dutch one is called
> epsg:28992) there is actually a SET of combinations available: the
> projection and 4 or 5 transformations
> (http://pix.toile-libre.org/upload/original/1477238061.png),
> 
> QGIS actually picks one (from qgis.db) of these and present them to the
> user as THE epsg:28992 crs, while in our case this is actually not the
> best fit, and in your case you actually want to pick two!
> 
> I understood that in ArcGIS, the user actually every time is presented
> with a 'pick

Re: [Qgis-user] QGIS server: configuration of grid shift files for datum conversions

2016-10-24 Per discussione Neumann, Andreas
On the same topic: there are two different versions of the Swiss datum
grid shift files: 

chenyx06etrs.gsb and chenyx06a.gsb 

Seems like the first translates between european datum ETRS89 and CH1903
(the old system?) and the second translates between old and new version
of the SWISS coordinate system (CH1903 and CH1903+ - I assume EPSG:21781
and EPSG:2056). 

I assume I have to configure both for QGIS server? 

Does QGIS server use the same defintion that already exists in file
/usr/local/share/proj/CH ? 

Thanks, 

Andreas 

On 2016-10-24 08:23, Neumann, Andreas wrote:

> Hi, 
> 
> I have to configure QGIS server to properly handle grid shift files. In 
> Switzerland we need to offer "old" and "new" coordinates (different datums) 
> at the same time with our services and the conversion needs to be done with 
> grid shift files or tin based interpolation. 
> 
> I know that I have to copy the CHENYX06a.gsb file to my proj lib, e.g. 
> /usr/local/shar/proj  - but how can I make QGIS Server to actually use this 
> file? I assume that I need to copy an additional config file or SRS/grid 
> shift file combinations to QGIS server and/or specify an environment variable 
> - right? 
> 
> Are there any resources explaining how I can configure QGIS server to make 
> use of these grid shift files? 
> 
> Thank you for any pointers! 
> 
> Andreas
> 
> ___
> 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 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 server: configuration of grid shift files for datum conversions

2016-10-24 Per discussione Neumann, Andreas
Hi, 

I have to configure QGIS server to properly handle grid shift files. In
Switzerland we need to offer "old" and "new" coordinates (different
datums) at the same time with our services and the conversion needs to
be done with grid shift files or tin based interpolation. 

I know that I have to copy the CHENYX06a.gsb file to my proj lib, e.g.
/usr/local/shar/proj  - but how can I make QGIS Server to actually use
this file? I assume that I need to copy an additional config file or
SRS/grid shift file combinations to QGIS server and/or specify an
environment variable - right? 

Are there any resources explaining how I can configure QGIS server to
make use of these grid shift files? 

Thank you for any pointers! 

Andreas

  ___
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] Split features using Geopackage layer?

2016-10-19 Per discussione Neumann, Andreas
As far as I know, Nyall Dawson is currently working on fixing this, as
part of his work on unique value constraints (provider provided or qgis
provided where the provider doesn't support it). But not sure about the
details. Certainly, PostgreSQL and Geopackage are top priorities for
that. And his work targets QGIS 3.x, not for 2.x 

Greetings, 

Andreas 

On 2016-10-19 14:43, Even Rouault wrote:

> Le mercredi 19 octobre 2016 14:14:40, Chris Buckmaster a écrit : 
> 
>> Hi
>> 
>> I have a geopackage polygon layer and I am trying to split a simple feature
>> within it.
>> 
>> When I try to do it, I get an error message 'failed to insert, UNIQUE
>> constraint failed'.
>> 
>> Is this a known issue with splitting features using the geopackage format,
>> it could it be how the layer is set up?
> 
> No, it is due to the fact that when splitting the feature, the newly created 
> feature receives the same 'fid' value (the first column in the attribute 
> table) 
> as the other part, and that when creating the feature, the fid, when set, is 
> honoured. Hence given the duplication of fid, the failure. Before saving the 
> edits, you can manually unset the fid.
> 
> Although something should probably be done either in the splitting tool to 
> unset the fid column of the new feature. Or perhaps the provider could be 
> made 
> more tolerant in the case of duplicated FID to assign a new one.
> 
> This could happen for other formats handled by OGR like spatialite (if not 
> going throug the QGIS spatialite provider), FileGDB, etc...
> 
> Would probably deserve a ticket in the bug tracker.
> 
> Even

  ___
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] Using aggregates functions to count intersected features from another layer

2016-10-19 Per discussione Neumann, Andreas
Good idea to use a virtual layer for that! It is probably also more
efficient than a QGIS expression. 

Just to understand the virtual layers correctly: 

when is the query behind the virtual layer executed? 

- at every redraw? 

- once at creation? 

- at project reload? 

Aren't the virtual layers automatically updated, at least when the
project reloads? 

Are the results cached or not? 

Would also make sense to add a "update" option for a virtual layer, if
that doesn't exist yet. 

Greetings, 

Andreas 

On 2016-10-19 14:32, Nathan Woodrow wrote:

> Maybe using a virtual layer query via DB Manager will work.  You have full 
> SQL join support. Speed isn't always the best but gives you the full power of 
> SQL which is the correct way to do this IMO. 
> 
> E.g SELECT LayerA.id, COUNT(*) FROM layerA  
> JOIN layerB ON ST_WithIn(layerA.geometry, layerB.geometry) 
> GROUP BY layerA.type 
> 
> Although you can't do an update but you can make a new layer with the new 
> counts.
> 
> - Nathan 
> 
> On Wed, Oct 19, 2016 at 10:22 PM, Neumann, Andreas <a.neum...@carto.net> 
> wrote:
> 
> Well yes - but that is not a "live" point in polygon. It create separate 
> layers which need to be kept up-to-date. 
> 
> Harrissou was after a "live" point in polygon, which is automatically kept 
> up-to-date through a QGIS expression. 
> 
> Maybe Nyall knows how to write the correct aggregate expression for that? 
> 
> Greetings, 
> 
> Andreas
> 
> On 2016-10-19 14:11, Nicolas Cadieux wrote: 
> 
> Try this. 
> 
> http://www.qgistutorials.com/fr/docs/points_in_polygon.html [1] 
> 
> Nicolas 
> 
> Le 19 oct. 2016 à 06:37, DelazJ [via OSGeo.org [2]] <[hidden email]> a écrit :
> 
> Hi,
> 
> I have a polygon layer and a point one. I'd like to calculate for each 
> polygon feature, the number of points that it covers. I thought the 
> aggregates functions could help me find an easier and straight expression to 
> perform this (without creating intermediate layers) but I fail to find any 
> correct syntax. 
> 
> I tried aggregate ('mypoint', 'count', "id", intersects ($geometry, 
> geometry($currentfeature)))
> 
> And many variants of the fourth option but It always return the total of 
> points or an error. Actually this option is a filter and I wonder if i'm not 
> missing a "group by" option in the aggregate function (which seems to be the 
> appropriate one in my case). Is it possible? 
> The work around I found is to populate an ad'hoc field in the point layer 
> with overlapping polygon id, thanks to the SpatialJoin plugin, then I create 
> a one-to-many relation in the project between the two layers in other to use 
> relation_aggregate function. 
> But I expected something more direct. 
> 
> Any hint, please?
> 
> Thanks, Harrissou 
> ___ 
> Qgis-user mailing list 
> [hidden email] 
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user [3]
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user [3] 
> 
> -
> 
> If you reply to this email, your message will be added to the discussion 
> below: 
> http://osgeo-org.1560.x6.nabble.com/Using-aggregates-functions-to-count-intersected-features-from-another-layer-tp5291420.html
>  [4] 
> To start a new topic under Quantum GIS - User, email [hidden email] 
> To unsubscribe from Quantum GIS - User, click here.
> NAML [5] 
> 
> -
> View this message in context: Re: Using aggregates functions to count 
> intersected features from another layer [6]
> Sent from the Quantum GIS - User mailing list archive [7] at Nabble.com.
> 
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user [3]
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user [3]

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user [3]
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user [3] 

  

Links:
--
[1] http://www.qgistutorials.com/fr/docs/points_in_polygon.html
[2] http://OSGeo.org
[3] http://lists.osgeo.org/mailman/listinfo/qgis-user
[4]
http://osgeo-org.1560.x6.nabble.com/Using-aggregates-functions-to-count-intersected-features-from-another-layer-tp5291420.html
[5]
http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=no

Re: [Qgis-user] Using aggregates functions to count intersected features from another layer

2016-10-19 Per discussione Neumann, Andreas
Well yes - but that is not a "live" point in polygon. It create separate
layers which need to be kept up-to-date. 

Harrissou was after a "live" point in polygon, which is automatically
kept up-to-date through a QGIS expression. 

Maybe Nyall knows how to write the correct aggregate expression for
that? 

Greetings, 

Andreas 

On 2016-10-19 14:11, Nicolas Cadieux wrote:

> Try this. 
> 
> http://www.qgistutorials.com/fr/docs/points_in_polygon.html 
> 
> Nicolas 
> 
> Le 19 oct. 2016 à 06:37, DelazJ [via OSGeo.org [2]] <[hidden email]> a écrit :
> 
>> Hi,
>> 
>> I have a polygon layer and a point one. I'd like to calculate for each 
>> polygon feature, the number of points that it covers. I thought the 
>> aggregates functions could help me find an easier and straight expression to 
>> perform this (without creating intermediate layers) but I fail to find any 
>> correct syntax. 
>> 
>> I tried aggregate ('mypoint', 'count', "id", intersects ($geometry, 
>> geometry($currentfeature)))
>> 
>> And many variants of the fourth option but It always return the total of 
>> points or an error. Actually this option is a filter and I wonder if i'm not 
>> missing a "group by" option in the aggregate function (which seems to be the 
>> appropriate one in my case). Is it possible? 
>> The work around I found is to populate an ad'hoc field in the point layer 
>> with overlapping polygon id, thanks to the SpatialJoin plugin, then I create 
>> a one-to-many relation in the project between the two layers in other to use 
>> relation_aggregate function. 
>> But I expected something more direct. 
>> 
>> Any hint, please?
>> 
>> Thanks, Harrissou 
>> ___ 
>> Qgis-user mailing list 
>> [hidden email] 
>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user 
>> 
>> -
>> 
>> If you reply to this email, your message will be added to the discussion 
>> below: 
>> http://osgeo-org.1560.x6.nabble.com/Using-aggregates-functions-to-count-intersected-features-from-another-layer-tp5291420.html
>>  
>> To start a new topic under Quantum GIS - User, email [hidden email] 
>> To unsubscribe from Quantum GIS - User, click here.
>> NAML [1]
> 
> -
> View this message in context: Re: Using aggregates functions to count 
> intersected features from another layer [3]
> Sent from the Quantum GIS - User mailing list archive [4] at Nabble.com.
> 
> ___
> 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

  

Links:
--
[1]
http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
[2] http://OSGeo.org
[3]
http://osgeo-org.1560.x6.nabble.com/Using-aggregates-functions-to-count-intersected-features-from-another-layer-tp5291420p5291443.html
[4] http://osgeo-org.1560.x6.nabble.com/Quantum-GIS-User-f4125267.html
___
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] Details about conversion DWG to SHP format.

2016-10-10 Per discussione Neumann, Andreas
Hi, 

Jürgen Fischer is currently working on a CAD import (DXF and DWG) to
QGIS. It will be released a bit after QGIS 2.18, later this year. It
will be a direct loading of DXF/DWG into QGIS and will try to map
graphical properties to QGIS symbology and labeling as good as possible.


Another option is to use the result of this year's GSOC project:
https://trac.osgeo.org/gdal/wiki/DWG_driver - but note that this pretty
new and you probably have an older GDAL/OGR on your system which does
not provide this functionality. 

If you need something immediately and can't wait, the route your
describe using the dxf2shp plugin or using the old OGR DXF reader are
the only other ways - unless you have some other converter (e.g. FME).
Note that in this case you will probably loose the symbology and
labeling. You would have to redefine the symbology using OGR feature
style attributes. 

Currenty, there is unfortunately not yet a user-friendly way available
to load CAD data in QGIS. 

Greetings, 

Andreas 

On 2016-10-10 12:44, Bonnet Clothilde wrote:

> Dear Qgis Community Team,
> 
> I'm writing because usually I work with SHP file and sometimes I recieve 
> source in DWG format and I can't direct analyse this last format.
> So, I wondered if the conversion of DWG file into SHP file using the 
> following pathway, could induced some modifications in the rendering ?
> 
> step 1: convert DWG file into DXF file with DrafSight software
> step 2: convert DXF file into SHP file with Dxf2shp plugin under Qgis
> 
> How can I detect these modifications and idenfy the nature of them ? Does 
> exist another method to create SHP file from DWG ?
> 
> I use Debian Mate OS and Qgis v2.08. 
> Thanks for your help
> Kind Regards
> 
> Clothilde Bonnet 
> 
> ___
> 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 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] Struggling with datum transformations and grid shift files

2016-10-04 Per discussione Neumann, Andreas
Hi Marco, 

Thanks - now that I know that I need to enter the SRID with the "EPSG:"
prefix, and that I need to use -1 in the Source Datum transformation I
can confirm that it works. 

It would be great, if somewhere in the metadata it would be visible that
this file is now displayed using the nadgrids/GSB file. Otherwise, I
have just to blindly trust, that QGIS does the right thing - which is a
bit scary. 

Do you think it would be possible to add a note in the metadata or
general section of the layer properties confirming that QGIS is using a
datum transformation to display this file? 

I will make sure that the documentation will be improved regarding the
global settings of the datum transformations. 

Thanks,
Andreas 

On 2016-10-04 13:17, Marco Hugentobler wrote:

> Hi Andi
> 
>> 1. As far as I understand, I have to copy the gsb file to the directory 
>> where proj stores the gsb files, in my case "C:\Program 
>> Files\OSGeo4W64\share\proj". Alternatively, one could set another folder 
>> >and adjust the PROJ_LIB env variable accordingly.
> 
> That should work
> 
> to 2. and 3. : In the option dialog, you enter the datum transformation id of 
> the datum transformation(s), not the proj parameter.
> So to get from epsg:21781 to epsg:2056 with CHENYX06a.gsb, you enter:
> 
> Source crs: EPSG:21781 
> Destination crs: EPSG:2056, 
> Source datum transformation: 11
> Destination datum transformation: -1
> 
> An easier way to get to these numbers is to check the box 'Ask for datum 
> transformations if no default is defined'. Then add a layer in 21781 to the 
> map and transform it to 2056 on-the-fly. In the dialog asking for the datum 
> transformation, check 'Remember selection'. The entry will then appear in the 
> options dialog.
> 
> Regards,
> Marco
> 
> On 10/04/16 12:58, Neumann, Andreas wrote: 
> 
>> Hi, 
>> 
>> I am struggling in QGIS 2x with datum transformations. 
>> 
>> The manual is not explicit how to handle this correctly. 
>> 
>> Here are the steps I tried: 
>> 
>> 1. As far as I understand, I have to copy the gsb file to the directory 
>> where proj stores the gsb files, in my case "C:\Program 
>> Files\OSGeo4W64\share\proj". Alternatively, one could set another folder and 
>> adjust the PROJ_LIB env variable accordingly. 
>> 
>> 2. In "Settings" --> "Options" --> "CRS" I can define default datum 
>> transformations. I tried to enter 21781 (Source CRS), 2056 (Destination 
>> CRS), +nadgrids=CHENYX06a.gsb (Source datum transfomation). Destionation 
>> datum has been left empty. 
>> 
>> 3. I would expect that whenever this combination 21781 --> 2056 shows up 
>> that QGIS would ask me to pick one the defaults specified in 2. 
>> 
>> The problem is that 2. does not work. When I close the dialogue and reopen 
>> it, my modifications are gone ... and I never have the chance to select my 
>> datum transformation option. 
>> 
>> Can you help me what I am doing things wrong? 
>> 
>> Thank you, 
>> 
>> Andreas
>> 
>> ___
>> 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
> 
> -- 
> Dr. Marco Hugentobler
> Sourcepole -  Linux & Open Source Solutions
> Weberstrasse 5, CH-8004 Zürich, Switzerland
> marco.hugentob...@sourcepole.ch http://www.sourcepole.ch
> 
> ___
> 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 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] Struggling with datum transformations and grid shift files

2016-10-04 Per discussione Neumann, Andreas
Hi, 

I am struggling in QGIS 2x with datum transformations. 

The manual is not explicit how to handle this correctly. 

Here are the steps I tried: 

1. As far as I understand, I have to copy the gsb file to the directory
where proj stores the gsb files, in my case "C:\Program
Files\OSGeo4W64\share\proj". Alternatively, one could set another folder
and adjust the PROJ_LIB env variable accordingly. 

2. In "Settings" --> "Options" --> "CRS" I can define default datum
transformations. I tried to enter 21781 (Source CRS), 2056 (Destination
CRS), +nadgrids=CHENYX06a.gsb (Source datum transfomation). Destionation
datum has been left empty. 

3. I would expect that whenever this combination 21781 --> 2056 shows up
that QGIS would ask me to pick one the defaults specified in 2. 

The problem is that 2. does not work. When I close the dialogue and
reopen it, my modifications are gone ... and I never have the chance to
select my datum transformation option. 

Can you help me what I am doing things wrong? 

Thank you, 

Andreas

  ___
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] QGIS 2.16 is slowly that 2.8

2016-10-03 Per discussione Neumann, Andreas
Hi Radek, 

In that case would you please create an issue at hub.qgis.org and add
your finding, e.g. rendering in QGIS 2.8 takes xx seconds, and xx
seconds in 2.16. 

You'd also need to upload your data and projects (both in 2.8 version
and 2.16 version). 

This will give developers the chance to investigate. 

Andreas 

On 2016-10-03 22:26, Radek Červenka wrote:

> Hi Andreas 
> 
> Data is on local ssd disk. 
> 
> RCE 
> 
> 2016-10-03 16:44 GMT+02:00 Neumann, Andreas <a.neum...@carto.net>:
> 
> Hi Radek, 
> 
> Is this about data that resides locally on your machine or from a network 
> drive? 
> 
> Andreas 
> 
> On 2016-10-03 15:50, Radek Červenka wrote: 
> 
> Hi, 
> 
> Render in version 2.16 of big (more than 50 000 elements) vektor data  (SHP, 
> DB spatilite) is slowly than in version 2.8. 
> Does anyone have experience with this problem. 
> 
> QGIS 2.16 (1-3) on windows 7-64bit 
> 
> Thank you  
> 
> RCE  
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user [1]
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user [1]

  

Links:
--
[1] http://lists.osgeo.org/mailman/listinfo/qgis-user
___
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] QGIS 2.16 is slowly that 2.8

2016-10-03 Per discussione Neumann, Andreas
Hi Radek, 

Is this about data that resides locally on your machine or from a
network drive? 

Andreas 

On 2016-10-03 15:50, Radek Červenka wrote:

> Hi, 
> 
> Render in version 2.16 of big (more than 50 000 elements) vektor data  (SHP, 
> DB spatilite) is slowly than in version 2.8. 
> Does anyone have experience with this problem. 
> 
> QGIS 2.16 (1-3) on windows 7-64bit 
> 
> Thank you  
> 
> RCE  
> ___
> 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 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] QGIS 2 master: Identify tool and highlights

2016-09-28 Per discussione Neumann, Andreas
Hi and thank you for testing, 

I think I found out what the issue is. My geometries contain circular
arcs (WKB Types CompoundCurve or CurvePolygon). Quite likely, the
highlight does not work with this WKB type. 

Using Simple feature geometry types works fine. One more place in QGIS
where Circular Arcs cause troubles ... sigh!  

I'll file a bug report. 

Andreas 

On 2016-09-27 18:16, Tyler Veinot wrote:

> Settings > Options > Map Tools (Left Hand Side Panel) At the top you should 
> see identify and a drop down for highlight color. If this color is set to 
> 100% Transparent then it would work as if there was no highlight. Other than 
> that I see no other way to turn off the highlight so check there; maybe you 
> accidentally made your highlight transparent. To add to that, white would 
> look like there was no highlight on if the background color was also white, 
> its effect is a very light ghosting of the feature when identified; easily 
> missed. 
> Tyler 
> 
> On Tue, Sep 27, 2016 at 12:50 PM, Neumann, Andreas <a.neum...@carto.net> 
> wrote:
> 
> Thanks for checking. Is there some configuration that might disable this 
> highlighting? 
> 
> I was sure I had this working, but now it doesn't. I checked all my versions 
> I have: 2.14, 2.16, master 2. Neither one works. 
> 
> Andreas
> 
> On 2016-09-27 17:43, DelazJ wrote: 
> 
> Hi, Andreas, I can't confirm (windows 10 and 2.16.3) Features are highlighted 
> when I hover over their id in the context menu.
> 
> Regards, Harrissou 
> 
> 2016-09-27 17:36 GMT+02:00 Neumann, Andreas <a.neum...@carto.net>:
> 
> Hi, 
> 
> I am sure that in a past QGIS 2x version, when the identify tool was set to 
> "layer choice" that one would have gotten a highlight of the selected feature 
> from the context menu. 
> 
> Now, with the current 2.x master (and with 2.16 and 2.14) on Windows, the 
> highlight of the object is gone ;-( so now there is no way to find out what 
> feature I am selecting. The highlight now only displays after I selected the 
> entry, which is not so useful than the previous behavior. 
> 
> Can someone confirm? Or is it just a misconfiguration on my side? 
> 
> Thank you for any hints, 
> 
> Andreas
> 
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user [1]
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user [1]

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user [1]
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user [1] 

  

Links:
--
[1] http://lists.osgeo.org/mailman/listinfo/qgis-user
___
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] QGIS 2 master: Identify tool and highlights

2016-09-27 Per discussione Neumann, Andreas
Thanks for checking. Is there some configuration that might disable this
highlighting? 

I was sure I had this working, but now it doesn't. I checked all my
versions I have: 2.14, 2.16, master 2. Neither one works. 

Andreas 

On 2016-09-27 17:43, DelazJ wrote:

> Hi, Andreas, I can't confirm (windows 10 and 2.16.3) Features are highlighted 
> when I hover over their id in the context menu.
> 
> Regards, Harrissou 
> 
> 2016-09-27 17:36 GMT+02:00 Neumann, Andreas <a.neum...@carto.net>:
> 
>> Hi, 
>> 
>> I am sure that in a past QGIS 2x version, when the identify tool was set to 
>> "layer choice" that one would have gotten a highlight of the selected 
>> feature from the context menu. 
>> 
>> Now, with the current 2.x master (and with 2.16 and 2.14) on Windows, the 
>> highlight of the object is gone ;-( so now there is no way to find out what 
>> feature I am selecting. The highlight now only displays after I selected the 
>> entry, which is not so useful than the previous behavior. 
>> 
>> Can someone confirm? Or is it just a misconfiguration on my side? 
>> 
>> Thank you for any hints, 
>> 
>> Andreas
>> 
>> ___
>> Qgis-user mailing list
>> Qgis-user@lists.osgeo.org
>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user [1]
>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user [1]

  

Links:
--
[1] http://lists.osgeo.org/mailman/listinfo/qgis-user
___
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 2 master: Identify tool and highlights

2016-09-27 Per discussione Neumann, Andreas
Hi, 

I am sure that in a past QGIS 2x version, when the identify tool was set
to "layer choice" that one would have gotten a highlight of the selected
feature from the context menu. 

Now, with the current 2.x master (and with 2.16 and 2.14) on Windows,
the highlight of the object is gone ;-( so now there is no way to find
out what feature I am selecting. The highlight now only displays after I
selected the entry, which is not so useful than the previous behavior. 

Can someone confirm? Or is it just a misconfiguration on my side? 

Thank you for any hints, 

Andreas

  ___
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] Styling dock: changes in symbol levels do not apply

2016-09-27 Per discussione Neumann, Andreas
Hi, 

In QGIS master 2 - I noticed that if I use the styling dock and then
open the symbol levels dialogue, that the changes I make do not apply.
Changes do not trigger any changes and if close and open the dialog, all
changes are gone. 

It works find, if I open the symbol level dialogue from the layer
properties dialogue. 

Is this a known issue? If not, I would open an issue on hub.qgis.org 

Thank you for your reply, 

Andreas

  ___
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] QField

2016-09-22 Per discussione Neumann, Andreas
Hi Matthias, 

Oh - thanks for the hint. So probably Reginald is just missing the
pyramids in the geopackage - to be created, f.e. with gdaladdo. 

Andreas 

On 2016-09-22 09:56, Matthias Kuhn wrote:

> QField does not (yet) support tiff with jpeg compression.
> 
> See:
> http://www.qfield.org/docs/project-management/dataformat.html#raster-data
> 
> GeoPackage worked quite nice in our experience and can also be built in 
> different resolutions (same page further down).
> 
> Matthias
> 
> On 09/22/2016 09:37 AM, Neumann, Andreas wrote: Hi Reginald,
> 
> You can use the JPEG compression inside Geotiff. Note that this can be
> specified separately for both the full resolution and the pyramids. You
> can also select the compression factor to decrease the file size in
> trade off with quality.
> 
> See
> also http://www.gdal.org/frmt_gtiff.html and 
> http://www.gdal.org/gdaladdo.html for
> details.
> 
> I believe that modern QGIS versions have these options exposed in the
> GUI, but probably not as default.
> 
> So maybe there is room for potential to get a smaller size Geotiff.
> 
> Greetings,
> Andreas
> 
> On 2016-09-22 09:32, Reginald Carlier wrote:
> 
> Thanks Andreas,
> 
> Creating a Geotiff with pyramids did the trick. The only disadvantage
> is that it created a file of about 1.7 GB (the original was 90 MB).
> 
> Now I am ready to test the app J.
> 
> Regards,
> 
> *Van:*Neumann, Andreas [mailto:a.neum...@carto.net]
> *Verzonden:* woensdag 21 september 2016 16:19
> *Aan:* Reginald Carlier
> *Onderwerp:* Re: [Qgis-user] QField
> 
> Hi Reginald,
> 
> Did you create pyramids in the gpkg rasters?
> 
> Generally, Geotiff should be well supported - definitely more tested
> than gpkg rasters. I had a 1GB geotiff on qfield (on SD-Card) and it
> displays fast. I haven't tested vrt files with geotiffs - if it works
> as well?
> 
> Andreas
> 
> On 2016-09-21 15:44, Reginald Carlier wrote:
> 
> Hi Erwan,
> 
> You can look in the list of last week where I posted a couple of
> questions about qfield and was pointed to the right website for
> documentation.
> 
> I succeeded to publish a map on my phone but the aereal photo
> which was published as a gpkg file doesn't render. When I use the
> raster.gpkg on my desktop it renders but very slow.
> 
> The gpkg file was created from a 90 MB jp2 file.
> 
> Regards,
> 
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org <mailto: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 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 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] QField

2016-09-22 Per discussione Neumann, Andreas
Hi Reginald, 

You can use the JPEG compression inside Geotiff. Note that this can be
specified separately for both the full resolution and the pyramids. You
can also select the compression factor to decrease the file size in
trade off with quality. 

See also http://www.gdal.org/frmt_gtiff.html and
http://www.gdal.org/gdaladdo.html for details. 

I believe that modern QGIS versions have these options exposed in the
GUI, but probably not as default. 

So maybe there is room for potential to get a smaller size Geotiff. 

Greetings,
Andreas 

On 2016-09-22 09:32, Reginald Carlier wrote:

> Thanks Andreas, 
> 
> Creating a Geotiff with pyramids did the trick. The only disadvantage is that 
> it created a file of about 1.7 GB (the original was 90 MB). 
> 
> Now I am ready to test the app J. 
> 
> Regards, 
> 
> VAN: Neumann, Andreas [mailto:a.neum...@carto.net] 
> VERZONDEN: woensdag 21 september 2016 16:19
> AAN: Reginald Carlier
> ONDERWERP: Re: [Qgis-user] QField 
> 
> Hi Reginald, 
> 
> Did you create pyramids in the gpkg rasters? 
> 
> Generally, Geotiff should be well supported - definitely more tested than 
> gpkg rasters. I had a 1GB geotiff on qfield (on SD-Card) and it displays 
> fast. I haven't tested vrt files with geotiffs - if it works as well? 
> 
> Andreas 
> 
> On 2016-09-21 15:44, Reginald Carlier wrote:
> 
>> Hi Erwan, 
>> 
>> You can look in the list of last week where I posted a couple of questions 
>> about qfield and was pointed to the right website for documentation. 
>> 
>> I succeeded to publish a map on my phone but the aereal photo which was 
>> published as a gpkg file doesn't render. When I use the raster.gpkg on my 
>> desktop it renders but very slow. 
>> 
>> The gpkg file was created from a 90 MB jp2 file. 
>> 
>> Regards, 
>> 
>> ___
>> 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 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] Discussion on the QGIS grant proposals

2016-09-22 Per discussione Neumann, Andreas
Dear QGIS users, developers, voting members and user group
representatives, 

As you may have noticed, there is a first round of a QGIS grant program,
fueled by the donations and sponsorship money we received in the past
months. Tim Sutton, chair of the QGIS project, has publicized this
program repeatedly on several channels. 

The good thing is that we got some very good proposals. In total 18
proposals, adding up to a total grant sum of 101 k EUR. You can see all
proposals at
https://drive.google.com/file/d/0B__vDnQXCKiwYTIyWmRSbi1hMWM/view?usp%3Dsharing=D=1474526025402000=AFQjCNFhp43Lkxw3aBCed9-9luJpnR0oWg


Please note that we can only spend 20k EUR in this first round. So there
are tough decisions to make. Note that proposals that can't make it in
the first round, can be kept in a waiting list and may apply again in
the next round of a grants program. If a proposal can't be accepted in
the first round, this doesn't mean it isn't valuable and useful to the
QGIS.ORG project. 

The QGIS PSC will honor the opinion of the voting members, the OSGEO
representative and the user group representatives on how to spend this
limited money wisely. Alltogether a group of currently 27 people (13
qgis user group represenatives, 13 community voting members, 1 OSGEO
representative). This is kind of the "parliament" of the QGIS project
when it comes to such decisions. 

-- 

Now comes my personal position/opinion - note that this is not the
official opinion of the QGIS.ORG board. 

I would personally welcome, if this round of the QGIS grants program
could focus on the QGIS 3.0 release. 

I personally also think that the QGIS grants program, at least at the
current time, should not pay for development of new features (at least
not features visible in the GUI for the users). These features can be
"relatively easy" funded by companies and government organizations out
there. So our limited QGIS.ORG funds should be rather spent a) to
community work or b) infrastructure work or c) development work in the
core of QGIS, such as API modifications, code redesign - stuff that
isn't really visible to the users, but essential for the success of the
project.  

Documentation and PyQT documentation work is already budgeted in our
annual budget. The money for 2016 hasn't even been spent for both items.
So I think we should first use the budgeted money for such work. I think
that user and developer documentation should be an ongoing effort and
should be supported every year, und budgeted every year as such. We can
increase the documentation budget positions next year, should it be
necessary. In reality, it was more a lack of people willing to do the
work, rather than a lack of funding. So, I am happy to see some
proposals around documentation and developer documentation - so it seems
that we have some volunteers. I just suggest that we consider
documentation work separately and do it anyway - regardless of the
outcome of the voting on these items. 

Several proposals have a very limited local focus, only useful to one
single country, or a very limited subset of our users. I suggest that
such proposals could best be financed by local user groups or interest
groups. It can't be the purpose of the QGIS grants program to finance
such projects. 

--- 

Here is my own personal list of priorities: 

​18)​ QGIS 3 ticket handling and API refactoring 

This is really time critical, and past discussions around QGIS 3.0 has
shown that there is a lack of project management work and coordination.
I regard this proposal as very useful for the QGIS 3.0 release. 

​11)​ Introduce everything necessary for QGIS3 to OSGeo4W 

The majority of our users are on Windows (like it or not). This is the
platform that matters most in our user base. The introduction of QGIS
3.0 means porting everything to newer libraries and means a lot of work.
This should be one of our main priorities. Jürgen does it works silently
in the background many days of work each year that go unnoticed. Jürgen
usually only hears complaints if something fails - maybe not so much
praise. Having Windows nightly builds and releases early on in the life
cycle of QGIS 3.x means that it can be well tested. So - also really
important to our project. 

​2)​ Implement a flexible properties framework in QGIS 

This is the kind of under-the-hood API changes and improvements I
mentioned above. Stuff that brings our project forward, but under the
hood - not visible for the user. This is the basis that later follow-up
work can than build upon and benefit from. Stuff that later can also be
funded by organizations/companies. Also time critical, to be done as
soon as possible. Early in the 3.x life cycle when API changes are still
possible. 

​14)​ Project / Map layer registry refactoring 

Similar reasoning like item 2) above. Under the hood, necessary API
improvements. Also time critical, to be 

Re: [Qgis-user] imagery wrong print composer

2016-09-20 Per discussione Neumann, Andreas
Hi Simon, 

I am assuming that you are using the OpenLayers plugin. 

Please note that this printing offset is a known issue. I recommend you
use the "Quick Map Services" plugin instead. 

Andreas 

On 2016-09-20 11:38, Simon Muirhead wrote:

> Hi, I am using qgis 2.12.0 lyon on the mac, and when i print a map with 
> google satellite imagery the imagery in the wrong location, but it looks 
> perfect in the  work window and the print composer window. Something basic I 
> am doing wrong? 
> -- 
> 
> Regards, Simon Muirhead
> Written from my Nexus 6P so don't expect Tolstoy. 
> ___
> 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 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] lines normal to a curve at defined points

2016-09-19 Per discussione Neumann, Andreas
Hi Danilo, 

Have you looked at "marker lines"? Markers are auto-rotated to be
perpendicular to a certain point along a line. They can be placed at
vertices or at regular interval (defined distance). The combination of a
simple marker (line symbol) and line offsets should do the trick. 

Hope this helps. 

Andreas 

On 2016-09-19 12:26, Danilo Procaccini wrote:

> Hi, 
> there is a method (or a plugin) that can draw lines normal to a curve 
> (shapefile) at defined distance (points) over the same? 
> Regards, 
> Danilo 
> ___
> 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 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] Profile section digitising

2016-09-19 Per discussione Neumann, Andreas
Hi, 

There is a nice profile tool in the plugin called "VoGIS-ProfilTool". It
is really flexible regarding your input data (new temporary line, line
from existing layers), vertex options and output options and it allows
to intersect with a surface layer (e.g. landcover, though this did not
work in my tests). It can handle multiple surfaces, but only creates
lines, no filled areas between the surfaces. 

I suggest, if you consider writing a new tool, that you would have a
look at the "VoGIS-ProfilTool" to either get a head start and improve on
it. 

Greetings, 

Andreas 

On 2016-09-13 08:10, Vincent Picavet (ml) wrote:

> Hi Lester,
> 
> On 12/09/2016 15:49, Lester Anderson wrote: 
> 
>> I was wondering if anyone had advice or ideas about digitising profile
>> data (say on a geological cross-section) that is referenced to a
>> polyline in the project,
> 
> We at Oslandia are currently developping just that.
> It will be available later this year or january 2017 at the latest.
> Please be a bit patient.
> Do not hesitate to ask if you want further information, Vincent Mora
> will be able to answer your questions.
> 
> Regards,
> 
> Vincent 
> 
>> Thanks
>> Lester
>> ___
>> 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 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 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] Linear referencing in QGIS

2016-09-07 Per discussione Neumann, Andreas
Hi, 

Yes, I know about LR expressions in the current master versions. 

So one could visualize the events table through a virtual geometry
column - would that work? 

I will forward all this information to my friend. 

Greetings, 

Andreas 

On 2016-09-07 15:34, Matthias Kuhn wrote:

> Hi Andreas,
> 
> In QGIS 2.18 / QGIS 3.0 this should be possible via expressions:
> 
> https://github.com/qgis/QGIS/commit/e110ba7d54b0ac7d3f63e8ed7eaebb2845f9f38c
> 
> Best regards
> Matthias
> 
> On 09/07/2016 02:24 PM, Neumann, Andreas wrote: 
> 
>> Hi,
>> 
>> A friend of mine asked me if QGIS can do linear referencing - e.g.
>> symbolizing road data speed limits along a road, lets say from km 0 to
>> 0.76 there is a limit of 50 km/h, from 0.76 to 1.23 there is 80 km/h
>> limit, etc.
>> 
>> The idea is to symbolize these road segments without having to actually
>> split the data into bits. And hopefully without having to generate
>> derived tables that have no link to the original data.
>> 
>> Is QGIS able to do this, perhaps with a plugin?
>> 
>> Thanks for any hints,
>> 
>> Andreas
>> 
>> ___
>> 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 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 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] Linear referencing in QGIS

2016-09-07 Per discussione Neumann, Andreas
Hi Paolo, 

Thanks - it looks quite powerful. And yes - they would use it with
Postgis data. 

Can one also create point or linear events interactively in QGIS? I did
not see this in the description of the plugin. I see that one can query
measurements in the "Localize tab" and that an events table can be
defined and visualized (in memory layer) - which is quite cool. But can
one also interactively edit the events table by clicking along a route
and thus filling the events table? 

Thanks,
Andreas 

On 2016-09-07 14:28, Paolo Cavallini wrote:

> Il 07/09/2016 14:24, Neumann, Andreas ha scritto: 
> 
>> Hi,
>> 
>> A friend of mine asked me if QGIS can do linear referencing - e.g.
>> symbolizing road data speed limits along a road, lets say from km 0 to
>> 0.76 there is a limit of 50 km/h, from 0.76 to 1.23 there is 80 km/h
>> limit, etc.
>> 
>> The idea is to symbolize these road segments without having to actually
>> split the data into bits. And hopefully without having to generate
>> derived tables that have no link to the original data.
>> 
>> Is QGIS able to do this, perhaps with a plugin?
> 
> Yes:
> http://plugins.qgis.org/plugins/lrs/
> Best if using PostGIS though.
> All the best.

  ___
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] Linear referencing in QGIS

2016-09-07 Per discussione Neumann, Andreas
Hi, 

A friend of mine asked me if QGIS can do linear referencing - e.g.
symbolizing road data speed limits along a road, lets say from km 0 to
0.76 there is a limit of 50 km/h, from 0.76 to 1.23 there is 80 km/h
limit, etc. 

The idea is to symbolize these road segments without having to actually
split the data into bits. And hopefully without having to generate
derived tables that have no link to the original data. 

Is QGIS able to do this, perhaps with a plugin? 

Thanks for any hints, 

Andreas

  ___
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] Quick Print

2016-08-31 Per discussione Neumann, Andreas
Hi Tyler, 

There are two plugins in the repo: 

* Maps Printer
* InstantPrint

Haven't use either of them, but you can give it a try. 

Greetings, 

Andreas 

On 2016-08-31 13:48, Neumann, Andreas wrote:

> Hi Tyler, 
> 
> There are two plugins in the repo: 
> 
> * Maps Printer
> * InstantPrint
> 
> Haven't use either of them, but you can give it a try. 
> 
> Greetings, 
> 
> Andreas 
> 
> On 2016-08-31 13:24, Tyler Veinot wrote:
> 
>> Hi; 
>> Anyone find a good tool for doing quick prints or exports to PDF? I am 
>> looking for something for light QGIS users to simply "quick print" their 
>> display to a simple map for easy sharing. Would be really excited if it was 
>> something I could setup with a basic layout, scale, and map items but not 
>> necessary. 
>> Any tools come to mind? 
>> Tyler 
>> ___
>> 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 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] HTML rendering in Map Composer

2016-08-31 Per discussione Neumann, Andreas
Specifically watch out for: 

libqt4-webkit 

python-webkit 

libqtwebkit4 

or whatever the packages are called in Ubuntu these days. 

Andreas 

On 2016-08-31 07:28, Neumann, Andreas wrote:

> Perhaps you miss a "webkit" related package? Perhaps do a "apt search webkit" 
> search and see what webkit packages are available. Something around webkit 
> with qt and python. 
> 
> I know that some Debian versions removed Webkit and maybe the newer Ubuntu 
> versions did so as well? 
> 
> Hope this helps, 
> 
> Andreas 
> 
> On 2016-08-30 21:42, SaekBinko wrote:
> 
>> Hello Group!
>> 
>> I have a problem with text field in Map Composer... When I enable HTML
>> rendering on some text field, whole text on map becomes invisible. 
>> 
>> I'm using QGIS 2.16.2 on Linux Mint 18 (Ubuntu 16.04),
>> 
>> Maybe I have to install some libraries? Everything was fine, when I was
>> using QGIS 2.16 on Linux Mint 17 (Ubuntu 14.04)...
>> 
>> Best regards,
>> Slawomir
>> 
>> --
>> View this message in context: 
>> http://osgeo-org.1560.x6.nabble.com/HTML-rendering-in-Map-Composer-tp5283130.html
>> Sent from the Quantum GIS - User mailing list archive at Nabble.com.
>> ___
>> 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 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 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] HTML rendering in Map Composer

2016-08-30 Per discussione Neumann, Andreas
Perhaps you miss a "webkit" related package? Perhaps do a "apt search
webkit" search and see what webkit packages are available. Something
around webkit with qt and python. 

I know that some Debian versions removed Webkit and maybe the newer
Ubuntu versions did so as well? 

Hope this helps, 

Andreas 

On 2016-08-30 21:42, SaekBinko wrote:

> Hello Group!
> 
> I have a problem with text field in Map Composer... When I enable HTML
> rendering on some text field, whole text on map becomes invisible. 
> 
> I'm using QGIS 2.16.2 on Linux Mint 18 (Ubuntu 16.04),
> 
> Maybe I have to install some libraries? Everything was fine, when I was
> using QGIS 2.16 on Linux Mint 17 (Ubuntu 14.04)...
> 
> Best regards,
> Slawomir
> 
> --
> View this message in context: 
> http://osgeo-org.1560.x6.nabble.com/HTML-rendering-in-Map-Composer-tp5283130.html
> Sent from the Quantum GIS - User mailing list archive at Nabble.com.
> ___
> 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 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] QGIS 2.16 - Rule based labelling

2016-08-30 Per discussione Neumann, Andreas
Hi, 

I just discovered this same problem when editing the source of an HTML
frame today. Newly introduced expressions aren't properly kept when
edited in the expression editor. Only when edited directly in the item
property. 

Andreas 

On 2016-08-30 10:58, Chris Buckmaster wrote:

> Hi Benjamin 
> 
> Yes the workarounds are fine for my uses and I will report this as a bug. 
> 
> Many thanks, Chris 
> 
> FROM: fuenfer-koenigstein.benja...@swm.de 
> [mailto:fuenfer-koenigstein.benja...@swm.de] 
> SENT: 30 August 2016 09:57
> TO: Chris Buckmaster; qgis-user@lists.osgeo.org
> SUBJECT: AW: QGIS 2.16 - Rule based labelling 
> 
> Hi Chris, 
> 
> yes, now I can confirm. I forgot to test the expression builder. The issue 
> occurs, as you said, only when I change the rule in the 'expression string 
> builder' window. A workaround might be to create the expression in 
> 'expression string builder' window, copy it and paste it into the 'filter' 
> text field which retains the text. Or you could change the expression in 
> expression builder, OK, type a blank and delete it again in 'edit rule' 
> window, then the expression is retained. Anyway, I think it would be good to 
> report the bug on http://hub.qgis.org/issues. 
> 
> Regards 
> 
> Benjamin Fünfer-Königstein 
> 
> S-IP-AN-TG Techn. Geschäftsfelder 
> 
> VON: Chris Buckmaster [mailto:chris.buckmas...@runnymede.gov.uk] 
> GESENDET: Dienstag, 30. August 2016 10:21
> AN: Fuenfer-Koenigstein.Benjamin S-IP-AN-TG; qgis-user@lists.osgeo.org
> BETREFF: RE: QGIS 2.16 - Rule based labelling 
> 
> Hi Benjamin 
> 
> My process is as follows… 
> 
> Using a point dataset from PostGIS, and the rule based labelling for Labels. 
> 
> My rule says "CLASSIFICA" = 'Woodland Or Forest' AND "FONTHEIGHT" = 'Small', 
> with this I also have a scale range included. 
> 
> When I try to change this (for example to "FONTHEIGHT" = 'Medium'), I click 
> on the browse button next to 'Test', I then manually alter the text within my 
> expression from 'Small' to 'Medium'. 
> 
> I OK this - back at the 'Edit rule window', I do see that the text has 
> changed to 'Medium', I then click OK but back at my rule based labelling 
> screen the text still says 'Small'. 
> 
> If I decide to change the expression from the 'Edit rule' window and not open 
> the expression, it does retain the change, so there looks to be an issue 
> (from my set up anyway) where it is not storing any changes within the 
> expression window. 
> 
> I am using QGIS 2.16.1. 
> 
> Thanks, Chris 
> 
> FROM: fuenfer-koenigstein.benja...@swm.de 
> [mailto:fuenfer-koenigstein.benja...@swm.de] 
> SENT: 30 August 2016 09:03
> TO: Chris Buckmaster; qgis-user@lists.osgeo.org
> SUBJECT: AW: QGIS 2.16 - Rule based labelling 
> 
> Hi Chris, 
> 
> cannot confirm this behavior, my expressions are retained, both when I type 
> them directly in the rule-list and when I type them in the "edit rule" 
> window. I'm using 2.16.2. Can you give more details, e.g. what does your rule 
> look like, what buttons do you use exactly, so I can try exactly the way you 
> do? Did you try the "Test" button in edit rule window to find out if your 
> expression works/makes sense? 
> 
> Regards
> 
> Benjamin Fünfer-Königstein 
> 
> S-IP-AN-TG Techn. Geschäftsfelder 
> 
> VON: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] IM AUFTRAG VON 
> Chris Buckmaster
> GESENDET: Freitag, 26. August 2016 13:28
> AN: qgis-user@lists.osgeo.org
> BETREFF: [Qgis-user] QGIS 2.16 - Rule based labelling 
> 
> Hi 
> 
> I am using the rule based labelling in QGIS 2.16 and am noticing that when I 
> go into a rule then choose the filter and put my expression in, when 
> confirming this it does not retain my expression. 
> 
> Is this a known issue or perhaps something wrong with the workflow I am 
> using? 
> 
> Thanks, Chris 
> 
> ___
> 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 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] Font Markers

2016-08-29 Per discussione Neumann, Andreas
Hi Grant, 

I checked with "Font Markers" and it seems like the "Font family" is the
only parameter that isn't data-defined ;-( I don't know why. 

But if you use "Labels" combined with the "no symbol" renderer you can
easily simulate that. With labels you can data-define both the "Font",
but also the label content (glyph). If you use "offset from point" in
the "placement" setting and use the center, it should appear exactly at
the points location. 

Hope this helps, 

Andreas 

On 2016-08-29 09:44, Grant Boxer wrote:

> Hi Andreas, 
> 
> They may be different font sets, and I think, I may be wrong, that the font 
> codes are not unique and that you probably need to specify the font and the 
> symbol code. Perhaps I am making this too complicated. The easiest way is to 
> have a layer for each font symbol, but then you end up with many layers. 
> 
> I have used the svg file names in the data override option to select 
> different svg markers, but I was wondering if this works for font symbols as 
> well. 
> 
> Cheers Grant 
> 
> FROM: Neumann, Andreas [mailto:a.neum...@carto.net] 
> SENT: Monday, 29 August 2016 3:17 PM
> TO: Grant Boxer
> CC: QGIS User List
> SUBJECT: Re: [Qgis-user] Font Markers 
> 
> On 2016-08-29 09:14, Neumann, Andreas wrote:
> 
>> Hi Grant, 
>> 
>> I assume that all of your symbols are within the same font - correct? 
>> 
>> If yes, if you open the font in your operating system font viewer you will 
>> see each symbol and what character it is representing. You can then use this 
>> character either in classified rendereres, rule-based renderers or in a QGIS 
>> expression, e.g. with a CASE statement. You enter the chosen character in 
>> "Layer properties" --> "Labels" --> "Label with".
> 
> or in your case probably you want to use it directly as a marker: "Layer 
> properties" --> Style --> Marker --> Font Marker --> Chose a character 
> interactively or use a data-defined expression. 
> 
>  
> 
> Please consult the styling chapter of the QGIS manual for more details: 
> http://docs.qgis.org/2.14/en/docs/user_manual/working_with_vector/vector_properties.html#style-menu
>  [1]- it helps you get going. 
> 
> And: please do not forget to cc the Qgis-user@lists.osgeo.org mailing list if 
> you correspond with people. Otherwise only you see the responses and the rest 
> of the world can't read/contribute to the issue. 
> 
> Greetings, 
> 
> Andreas 
> 
> On 2016-08-29 08:50, Grant Boxer wrote:

  

Links:
--
[1]
http://docs.qgis.org/2.14/en/docs/user_manual/working_with_vector/vector_properties.html#style-menu___
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] Font Markers

2016-08-29 Per discussione Neumann, Andreas
On 2016-08-29 09:14, Neumann, Andreas wrote:

> Hi Grant, 
> 
> I assume that all of your symbols are within the same font - correct? 
> 
> If yes, if you open the font in your operating system font viewer you will 
> see each symbol and what character it is representing. You can then use this 
> character either in classified rendereres, rule-based renderers or in a QGIS 
> expression, e.g. with a CASE statement. You enter the chosen character in 
> "Layer properties" --> "Labels" --> "Label with".

or in your case probably you want to use it directly as a marker: "Layer
properties" --> Style --> Marker --> Font Marker --> Chose a character
interactively or use a data-defined expression.

>  
> 
> Please consult the styling chapter of the QGIS manual for more details: 
> http://docs.qgis.org/2.14/en/docs/user_manual/working_with_vector/vector_properties.html#style-menu
>  [1]- it helps you get going. 
> 
> And: please do not forget to cc the Qgis-user@lists.osgeo.org mailing list if 
> you correspond with people. Otherwise only you see the responses and the rest 
> of the world can't read/contribute to the issue. 
> 
> Greetings, 
> 
> Andreas 
> 
> On 2016-08-29 08:50, Grant Boxer wrote:
> 
>> 

  

Links:
--
[1]
http://docs.qgis.org/2.14/en/docs/user_manual/working_with_vector/vector_properties.html#style-menu___
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] Font Markers

2016-08-29 Per discussione Neumann, Andreas
Hi Grant, 

I assume that all of your symbols are within the same font - correct? 

If yes, if you open the font in your operating system font viewer you
will see each symbol and what character it is representing. You can then
use this character either in classified rendereres, rule-based renderers
or in a QGIS expression, e.g. with a CASE statement. You enter the
chosen character in "Layer properties" --> "Labels" --> "Label with". 

 

Please consult the styling chapter of the QGIS manual for more details:
http://docs.qgis.org/2.14/en/docs/user_manual/working_with_vector/vector_properties.html#style-menu
[1]- it helps you get going. 

And: please do not forget to cc the Qgis-user@lists.osgeo.org mailing
list if you correspond with people. Otherwise only you see the responses
and the rest of the world can't read/contribute to the issue. 

Greetings, 

Andreas 

On 2016-08-29 08:50, Grant Boxer wrote:

> Hi Andreas, 
> 
> I was wondering if I can use different font symbols in the same point file, 
> defined by the data-defined properties. How do I reference the individual 
> font symbols? For example, if I have a point file that contains bedding data 
> and joint data, can I get QGIS to allocate the appropriate font symbol to 
> each data type (i.e. font symbol "a" for bedding and font symbol "b" for 
> joints)? Is there say an ASCII code? 
> 
> I hope that makes sense! 
> 
> Cheers Grant 
> 
> Grant Boxer 
> 
> Consultant Geologist (_FAIG R.P. Geo_) 
> 
> Perth, Western Australia 
> 
> Email: box...@iinet.net.au 
> 
> Mobile: 0418 954 059 
> 
> Skype: grantboxer 
> 
> Website: www.iinet.net.au/~gboxer 
> 
> FROM: Neumann, Andreas [mailto:a.neum...@carto.net] 
> SENT: Monday, 29 August 2016 2:03 PM
> TO: Grant Boxer
> CC: qgis-user@lists.osgeo.org
> SUBJECT: Re: [Qgis-user] Font Markers 
> 
> Hi Grant, 
> 
> Are you talking about different glyphs in a single font or that every marker 
> resides is in a different font? 
> 
> Both would be possible using data-defined properties. But it would be easier 
> to maintain and probably also faster/more efficient if you use just a single 
> font and just change the glyph. 
> 
> You use data-defined columns or expressions using this button, which is next 
> to every property in QGIS styling and labeling: 
> http://docs.qgis.org/2.14/en/_images/mIconDataDefine.png 
> 
> Please read in the QGIS manual about the data-defined properties to 
> understand the concept. See 
> http://docs.qgis.org/2.14/en/docs/user_manual/working_with_vector/vector_properties.html#data-defined-labeling
>  
> 
> Greetings, 
> 
> Andreas 
> 
> On 2016-08-26 16:00, Grant Boxer wrote:
> 
>> I have a series of points in one layer that I want to mark with different 
>> font markers. Is there a way I can do this by "defining" a font description 
>> in a "font number/id" column? 
>> 
>> Grant Boxer 
>> 
>> Perth, Western Australia 
>> 
>> ___
>> 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

  

Links:
--
[1]
http://docs.qgis.org/2.14/en/docs/user_manual/working_with_vector/vector_properties.html#style-menu___
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] Font Markers

2016-08-29 Per discussione Neumann, Andreas
Hi Grant, 

Are you talking about different glyphs in a single font or that every
marker resides is in a different font? 

Both would be possible using data-defined properties. But it would be
easier to maintain and probably also faster/more efficient if you use
just a single font and just change the glyph. 

You use data-defined columns or expressions using this button, which is
next to every property in QGIS styling and labeling:
http://docs.qgis.org/2.14/en/_images/mIconDataDefine.png 

Please read in the QGIS manual about the data-defined properties to
understand the concept. See
http://docs.qgis.org/2.14/en/docs/user_manual/working_with_vector/vector_properties.html#data-defined-labeling


Greetings, 

Andreas 

On 2016-08-26 16:00, Grant Boxer wrote:

> I have a series of points in one layer that I want to mark with different 
> font markers. Is there a way I can do this by "defining" a font description 
> in a "font number/id" column? 
> 
> Grant Boxer 
> 
> Perth, Western Australia 
> 
> ___
> 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 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] Labelling certain contours

2016-08-18 Per discussione Neumann, Andreas
Hi Lester/Carlos, 

Even better would be to use a rule-based label (available since 2.14 I
think). 

With rule-based labeling it is most likely a bit faster, since QGIS
doesn't have to deal with all of the contours that are not a multiple of
1000. 

In your case, with the CASE statement it still has to process every
contour line. 

Andreas 

On 2016-08-18 15:31, Lester Anderson wrote:

> Thanks Carlos, that worked fine
> 
> On 18 August 2016 at 14:11, Carlos Cerdán  wrote: Hi 
> Lester.
> 
> I think you're close to do it. Try this label expression:
> 
> case when "ELEV"%1000=0 then "ELEV" end
> 
> Good luck
> 
> Carlos
> 
> 2016-08-18 7:49 GMT-05:00 Lester Anderson : 
> Hello,
> 
> Is there a simple way of labelling only certain contours rather than all?
> 
> I have set up bathymetry styling for thick contours (1000) and thin (100):
> "ELEV" % 1000 = 0  (thick)
> "ELEV" % 1000 <> 0 (thin)
> 
> I would like to label only the 1000 contours, i.e. conditional labelling.
> 
> Thanks
> ___
> 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 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 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 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] My text was cutted by Qgis-server

2016-08-18 Per discussione Neumann, Andreas
Hi zhangkai, 

Please do not reply to me privately. Always reply to the mailing list. 

>From what you describe below, you are doing tiled WMS requests in
OpenLayers 2. Switch to single tile WMS mode and you should be fine. It
will then behave the same like in QGIS Desktop. 

See also
http://gis.stackexchange.com/questions/83033/single-tiled-mapserver-wms-to-avoid-labels-and-features-cut-along-tile-borders-a
or the OpenLayers 2 WMS documentation:
http://dev.openlayers.org/releases/OpenLayers-2.13.1/doc/apidocs/files/OpenLayers/Layer/WMS-js.html


Just use "singleTile: true" and you should be fine. 

Andreas 

On 2016-08-18 07:25, zhangkai.gis wrote:

> Hello Andreas, 
> Thanks for your reply.I made a map then publish to qgis server.Most settings 
> are default.When I use Qgis desktop as a web client It works perfect.But when 
> I use OpenLayers 2 to display the map My font was cutted.I made a label with 
> point layer. 
> My server address is 
> http://222.222.218.51:/cgi-bin/room/qgis_mapserv.fcgi?SERVICE=WMS=1.3.0=GetCapabilities
>   
> 
> Thanks, 
> zhangkai 
> 
> -
> 
> FROM:"Neumann, Andreas" <a.neum...@carto.net> 
> DATE:2016-08-17 14:41 
> SUBJECT:Re: [Qgis-user] My text was cutted by Qgis-server 
> TO:"Paolo Cavallini"<cavall...@faunalia.it> 
> CC:"qgis-user"<qgis-user@lists.osgeo.org> 
> 
> Hi Zhangkai, 
> 
> Please be more specific about what your real issue is. Are you using tiles or 
> a single image WMS? Where exactly are the labels cut? At the image border or 
> somewhere inside the rendered image? 
> 
> What label methods are you using? What settings? 
> 
> Is your server publically available so we can check? Can you share a small 
> demo showing the issue? 
> 
> Best, would be to open a bug report at https://hub.qgis.org/ [1]and upload 
> some project and small sample data set and steps to reproduce. 
> 
> We need much more information in order to help you. 
> 
> Andreas 
> 
> On 2016-08-17 08:33, Paolo Cavallini wrote: 
> Il 15/08/2016 03:07, zhangkai.gis ha scritto: Hello all,
> I published a map(based shp layer) though Qgis-server.I make a layer
> with point,then I add label to the layer.so I got a text layer in
> Qgis.But when I publish it through the Qgis-server.I found that some
> text was cutted and did not shown.Is it the correct way to publish text
> layer?How to improve it? 
> Hi zhangkai,
> pleas euse exactly the same font on the desktop and on the server.
> All the best.

  

Links:
--
[1] https://hub.qgis.org/
___
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] Are there any users working with the Oracle client on Ubuntu?

2016-08-17 Per discussione Neumann, Andreas
Hi Andy, 

In Uster I did this for Ubuntu Server - but mainly for automated OGR
conversions - not really for QGIS server. But it should work for QGIS
Server as well. 

In Kanton Zug I installed the Oracle client on CentOS, which is of
course rpm based and it worked fine. 

Usually you have to set/extend certain environment variables, such as 

* PATH
* LD_LIBRARY_PATH
* ORACLE_HOME
* TNS_ADMIN

Let me know, if you need assistance. 

Andreas 

On 2016-08-17 10:32, Schmid Andreas wrote:

> Hi
> 
> While we're usually working with a PostGIS database, for a specific project 
> we're thinking about connecting from QGIS to an Oracle Database this time. 
> This should basically be possible. However, our QGIS runs on Ubuntu 14.04, 
> and it seems that the Oracle client installation isn't quite straightforward 
> on Ubuntu. The instructions on e.g. 
> https://help.ubuntu.com/community/Oracle%20Instant%20Client suggest to 
> convert RPM packages from Oracle with alien, which I don't feel comfortable 
> about for a production system.
> 
> In order to get a feel if working this way is wise, I'd like to know if there 
> is anybody of you using QGIS with an Oracle client on Ubuntu in a production 
> environment? Do you consider it reasonable? Or would it be crazy to implement 
> such a setup? Does anybody know if there exist any original Ubuntu packages 
> of the Oracle client?
> 
> Thanks for your valuable input.
> 
> Andy
> 
> ___
> 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 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] My text was cutted by Qgis-server

2016-08-17 Per discussione Neumann, Andreas
Hi Zhangkai, 

Please be more specific about what your real issue is. Are you using
tiles or a single image WMS? Where exactly are the labels cut? At the
image border or somewhere inside the rendered image? 

What label methods are you using? What settings? 

Is your server publically available so we can check? Can you share a
small demo showing the issue? 

Best, would be to open a bug report at https://hub.qgis.org/ [1]and
upload some project and small sample data set and steps to reproduce. 

We need much more information in order to help you. 

Andreas 

On 2016-08-17 08:33, Paolo Cavallini wrote:

> Il 15/08/2016 03:07, zhangkai.gis ha scritto: 
> 
>> Hello all,
>> I published a map(based shp layer) though Qgis-server.I make a layer
>> with point,then I add label to the layer.so I got a text layer in
>> Qgis.But when I publish it through the Qgis-server.I found that some
>> text was cutted and did not shown.Is it the correct way to publish text
>> layer?How to improve it?
> 
> Hi zhangkai,
> pleas euse exactly the same font on the desktop and on the server.
> All the best.

  

Links:
--
[1] https://hub.qgis.org/
___
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] Problems with wfs client

2016-07-29 Per discussione Neumann, Andreas
Hi Michael, 

The WFS works fine for me. Tested on QGIS 2.16 on Windows. Tested by
loading layer "gemeinde_rlp". 

Note that from the URL you provided I only used the part up to the
question mark (?) - not sure how sensitive QGIS is about URLs ... 

Greetings, 

Andreas  

On 2016-07-29 11:20, Michael Werner Maur wrote:

> Hello, 
> 
> I'm using QGis 2.16.0 on a Ubuntu 16.04. I want to use the following WFS, 
> that worked fine in the older QGis Versions : 
> 
> http://geo5.service24.rlp.de/wfs/verwaltungsgrenzen_rp.fcgi?=GetCapabilities=1.1.0=WFS
>  
> 
> WhenI try to connect it in the QGis WFS client, the result is the error 
> "enexpected end of file". What do I do in the wrong way ? 
> 
> Mit freundlichen Grüßen
> Im Auftrag
> Michael Maur 
> 
> --
> Michael Maur 
> 
> Zentrale Stelle für Geodateninfrastruktur in Rheinland-Pfalz 
> 
> Von-Kuhl-Straße 49
> 56070 Koblenz
> Telefon 0261 492-152
> Telefax 0261 492-492
> michael.m...@vermkv.rlp.de
> www.geoportal.rlp.de 
> 
> ___
> 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 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] Saving/Loading styles in Postgis

2016-07-29 Per discussione Neumann, Andreas
Hi Burghardt, 

Thanks for the hint. I will keep an eye on dump and restore regarding
the XMLParser. That sounds like an annoying workaround. Hopefully there
can be a better solution rather than having to edit dump files before
restores. 

This is a completely new, self-compiled PostgresQL/Postgis server with
all the newest libraries and versions. Obviously, when compiling, I
missed the XML bit - because personally I did not need XML support so
far. 

Looking forward to get this working, 

Andreas 

On 2016-07-29 07:52, burghardt.scho...@stadt.wolfsburg.de wrote:

> Hi Andreas, 
> 
> To save the layer styles in a PG table is a cool feature J. I have no 
> problems to save the table with a connection based on host/database. 
> 
> A hint from me: QGIS stores the style-information with the data type "xml". 
> For me this made problems when exporting / importing this data. By default, 
> the XMLPARSER from postgresql works with the "CONTENT" option. When importing 
> a dump file from the "layer styles"-table you get an error message: "ERROR: 
> invalid XML content". To prevent this, you need to edit the dump file. Before 
> the insert / copy command to insert the layer styles records you must add the 
> statement "SET xmloption TO DOCUMENT;". 
> 
> Regards 
> 
> Burghardt 
> 
> VON: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] IM AUFTRAG VON 
> Andreas Neumann
> GESENDET: Donnerstag, 28. Juli 2016 18:14
> AN: DelazJ
> CC: QGIS User List
> BETREFF: Re: [Qgis-user] Saving/Loading styles in Postgis 
> 
> Strange. I can see the empty layer_styles table in my public schema. But 
> saving fails. Maybe it fails because my PG connection is based on a service 
> definition and not on host/database?
> 
> On July 28, 2016 6:08:01 PM CEST, DelazJ <del...@gmail.com> wrote:
> 
> Hi,
> Andreas,  Styles are indeed saved in the public schema, in a table named 
> "layer_styles". I had never created such a table so I assume it's created by 
> QGIS. 
> 
> Just made a test and rename my current "layer_styles" table. Then I 
> successfully save a new layer style in PG from QGIS 2.16: a new table 
> "layer_styles" has automatically been created in the public schema. 
> 
> HTH, 
> 
> Harrissou 
> 
> 2016-07-28 17:38 GMT+02:00 Neumann, Andreas <a.neum...@carto.net>:
> 
> Hi, 
> 
> I have never used the Saving/Loading of styles in Postgis (see 
> http://docs.qgis.org/2.14/en/docs/user_manual/working_with_vector/vector_properties.html#storing-style-in-a-file-or-a-database)
>  
> 
> Do I have to create a special styling table for it to enable this? 
> 
> Because when I try to save it (QGIS 2.16) I get an error message along the 
> lines that my user may not have permissions to save the style. However, I am 
> trying to save the style with a user that has full administrator rights in 
> Postgis. 
> 
> In what schema and table are the styles stored? I assume in the public 
> schema. Will QGIS automatically create a styling table or do I have to create 
> one myself? 
> 
> Thank you for any hints! 
> 
> Andreas 
> 
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user [1]
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user [1] 
> 
> -- 
> Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.

  

Links:
--
[1] http://lists.osgeo.org/mailman/listinfo/qgis-user
___
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] Saving/Loading styles in Postgis

2016-07-29 Per discussione Neumann, Andreas
Hi, 

Ok - I further investigated. It is not an issue of using services in the
PG connection. Still having troubles saving styles in PG. 

I created new connections with a PG admin user. I dropped the
layer_styles table from the public schema. 

When I save a style in PostgreSQL, the new empty table is created (so it
can't be a permission thing because the user can create new tables) but
then again the I get the error message: 

"Unabe to save layer style. It's not possible to insert a new record in
to the style table. Maybe this is due to table permissions (user=xxx).
Please contact your database administrator." 

 

I then also made sure that everybody can write to that table and that I
don't use special characters in the style name. 

What else could it be? 

Thanks, 

Andreas 

On 2016-07-28 18:13, Andreas Neumann wrote:

> Strange. I can see the empty layer_styles table in my public schema. But 
> saving fails. Maybe it fails because my PG connection is based on a service 
> definition and not on host/database?
> 
> On July 28, 2016 6:08:01 PM CEST, DelazJ <del...@gmail.com> wrote: 
> 
> Hi,
> Andreas,  Styles are indeed saved in the public schema, in a table named 
> "layer_styles". I had never created such a table so I assume it's created by 
> QGIS.
> 
> Just made a test and rename my current "layer_styles" table. Then I 
> successfully save a new layer style in PG from QGIS 2.16: a new table 
> "layer_styles" has automatically been created in the public schema.
> 
> HTH, 
> Harrissou 
> 
> 2016-07-28 17:38 GMT+02:00 Neumann, Andreas <a.neum...@carto.net>:
> 
> Hi, 
> 
> I have never used the Saving/Loading of styles in Postgis (see 
> http://docs.qgis.org/2.14/en/docs/user_manual/working_with_vector/vector_properties.html#storing-style-in-a-file-or-a-database)
>  
> 
> Do I have to create a special styling table for it to enable this? 
> 
> Because when I try to save it (QGIS 2.16) I get an error message along the 
> lines that my user may not have permissions to save the style. However, I am 
> trying to save the style with a user that has full administrator rights in 
> Postgis. 
> 
> In what schema and table are the styles stored? I assume in the public 
> schema. Will QGIS automatically create a styling table or do I have to create 
> one myself? 
> 
> Thank you for any hints! 
> 
> Andreas 
> 
> ___
> 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

-- 
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail
gesendet.
___
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 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] Saving/Loading styles in Postgis

2016-07-28 Per discussione Neumann, Andreas
Hi, 

I have never used the Saving/Loading of styles in Postgis (see
http://docs.qgis.org/2.14/en/docs/user_manual/working_with_vector/vector_properties.html#storing-style-in-a-file-or-a-database)


Do I have to create a special styling table for it to enable this? 

Because when I try to save it (QGIS 2.16) I get an error message along
the lines that my user may not have permissions to save the style.
However, I am trying to save the style with a user that has full
administrator rights in Postgis. 

In what schema and table are the styles stored? I assume in the public
schema. Will QGIS automatically create a styling table or do I have to
create one myself? 

Thank you for any hints! 

Andreas 

  ___
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] Profiles in QGIS

2016-07-27 Per discussione Neumann, Andreas
Hi, 

And there is also QGEP - a QGIS/Postgis based project for waste-water
network management. 

See
https://www.qgis.ch/de/ressourcen/anwendertreffen/2016/qgep-status-update-2016
and the documentation at https://qgep.github.io/docs/index.html  

It provides network following and an interactive profile view if your
data contains 3d information - see page 10 in
https://www.qgis.ch/de/ressourcen/anwendertreffen/2016/qgep-status-update-2016
 

However, you first have to migrate your data into the QGEP data
structure in a PostgreSQL database - which isn't trivial and probably a
substantial amount of work to do. 

Greetings, 

Andreas 

On 2016-07-27 23:50, Lene Fischer wrote:

> Hi Tyler, 
> 
> At the 2. QGIS User conference in Girona, 
> http://www.sigte.udg.edu/jornadassiglibre/en/international-qgis-user-and-developer-conference/conferencia-qgis/
>  
> 
> Vincent Picavet (Oslandia) did have a speech QWAT : A QGIS-BASED PROJECT FOR 
> WATER NETWORK MANAGEMENT 
> 
> Look at the presentation both as pdf and the video: 
> 
> https://github.com/Oslandia/presentations/blob/master/qgisconf_2016/vincent_picavet_qwat.pdf
>  
> 
> http://diobma.udg.edu/handle/10256.1/4297 
> 
> Regards 
> 
> LENE FISCHER 
> 
> Associate Professor 
> 
> UNIVERSITY OF COPENHAGEN 
> 
> Department of Geoscience and Natural Resource Management 
> 
> Forest and Landscape College 
> 
> Nødebovej 77a 
> 
> 3480 Fredensborg 
> 
> Denmark 
> 
> MOB +45 004540115084 
> 
> l...@ign.ku.dk 
> 
> FRA: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] PÅ VEGNE AF Tyler 
> Veinot
> SENDT: 27. juli 2016 17:54
> TIL: qgis-user@lists.osgeo.org
> EMNE: [Qgis-user] Profiles in QGIS 
> 
> Hi all;
> 
> Anyone here use QGIS for a water and sewer utility that can suggest some good 
> plugins for; structuring, processing, and/or cleaning data? Any plugin 
> repositories that might be of interest to me? 
> 
> Also: 
> 
> Has anyone worked with profile views in QGIS? I tried a few plugins for 
> viewing 3D datasets but I am interested to see what else is out there and/or 
> is being worked on. 
> 
> Currently tried GHydraulics, mmqgis, networks, qgis_epanet, Qgis2threejs 
> 
> Thanks 
> 
> Tyler 
> ___
> 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 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] Bug in Map Composer?

2016-07-25 Per discussione Neumann, Andreas
Hi Benjamin, 

No - you need to submit it at http://hub.qgis.org/ - see also
https://www.qgis.org/en/site/getinvolved/development/bugreporting.html 

Thanks for the efforts and greetings, 

Andreas 

On 2016-07-25 09:36, fuenfer-koenigstein.benja...@swm.de wrote:

> Hi Andreas, 
> 
> I'm using EPSG:31468 (DHDN GK zone 4). The extend in composer is smaller than 
> the extend on project canvas as I use two map boxes in a DIN A4 layout, but 
> the extend which is visible in the composer is fully visible on the project 
> canvas. As the data sources are not public and only available within our 
> company network, I will have to create another test project with public wms 
> and local sources, try to reproduce the issues and send this project and data 
> to your email. Is that all right with you? 
> 
> Regards, 
> 
> Benjamin Fünfer-Königstein 
> 
> S-IP-AN-TG Techn. Geschäftsfelder 
> 
> VON: Neumann, Andreas [mailto:a.neum...@carto.net] 
> GESENDET: Montag, 25. Juli 2016 09:23
> AN: Fuenfer-Koenigstein.Benjamin S-IP-AN-TG
> CC: qgis-user@lists.osgeo.org
> BETREFF: Re: [Qgis-user] Bug in Map Composer? 
> 
> Hi Benjamin, 
> 
> What projection are you using? Is the map extent on canvas and composer 
> exactly the same? 
> 
> There are projections where scale varies according to the latitude of the 
> extent - but I rather assume it is a bug in QGIS and should be reported in 
> our issue tracker. 
> 
> We would need sample data/project and steps to reproduce. 
> 
> Thanks, 
> 
> Andreas 
> 
> On 2016-07-25 08:58, Benni wrote:
> 
>> David, thanks for your answer! The scale in map composer is definitely at
>> 10,000 as I set it in the map-box item properties (numeric scale bar also
>> prints 1:10,000). So the scale in composer is within the threshold of layer
>> visibility. Besides that, as I said, the layer with "scale dependent
>> visibility" set to min 1:10,001 and max 1:9,938 IS visible in map composer
>> but IS NOT in the created pdf. Meanwhile I also found out that with WMS
>> sources displayed in the map, there is a similar issue. The WMS is delivered
>> with different styling at different scale levels. In map composer the style
>> Looks the same as in the project canvas. But in a PDF printed from map
>> composer, the styling looks different (like the one for smaller scales). So
>> all together it still seems to be a bug. Anyone up to test it on your
>> system? I can send the project and files I created for testing. 
>> 
>> Regards
>> Benjamin 
>> 
>> --
>> View this message in context: 
>> http://osgeo-org.1560.x6.nabble.com/Bug-in-Map-Composer-tp5277723p5277953.html
>>  [1]
>> Sent from the Quantum GIS - User mailing list archive at Nabble.com.
>> ___
>> 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

  

Links:
--
[1]
http://osgeo-org.1560.x6.nabble.com/Bug-in-Map-Composer-tp5277723p5277953.html___
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] Bug in Map Composer?

2016-07-25 Per discussione Neumann, Andreas
Hi Benjamin, 

What projection are you using? Is the map extent on canvas and composer
exactly the same? 

There are projections where scale varies according to the latitude of
the extent - but I rather assume it is a bug in QGIS and should be
reported in our issue tracker. 

We would need sample data/project and steps to reproduce. 

Thanks, 

Andreas 

On 2016-07-25 08:58, Benni wrote:

> David, thanks for your answer! The scale in map composer is definitely at
> 10,000 as I set it in the map-box item properties (numeric scale bar also
> prints 1:10,000). So the scale in composer is within the threshold of layer
> visibility. Besides that, as I said, the layer with "scale dependent
> visibility" set to min 1:10,001 and max 1:9,938 IS visible in map composer
> but IS NOT in the created pdf. Meanwhile I also found out that with WMS
> sources displayed in the map, there is a similar issue. The WMS is delivered
> with different styling at different scale levels. In map composer the style
> Looks the same as in the project canvas. But in a PDF printed from map
> composer, the styling looks different (like the one for smaller scales). So
> all together it still seems to be a bug. Anyone up to test it on your
> system? I can send the project and files I created for testing. 
> 
> Regards
> Benjamin 
> 
> --
> View this message in context: 
> http://osgeo-org.1560.x6.nabble.com/Bug-in-Map-Composer-tp5277723p5277953.html
> Sent from the Quantum GIS - User mailing list archive at Nabble.com.
> ___
> 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 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] Zoom to cache level scales in QGIS

2016-07-20 Per discussione Neumann, Andreas
Hi, 

Just tested it and it doesn't seem to work with QuickMapService. It does
work if you connect through WMTS (WMS/WMTS connection). 

QuickMapServices is a different technology and doesn't seem to support
the tile scale panel yet. 

Andreas 

On 2016-07-20 16:05, Chris Buckmaster wrote:

> Hi Andreas 
> 
> Thanks for that - I have added it but the slider is at the bottom of the menu 
> and I cannot seem to move it up, do I move it manually or should the map zoom 
> to the cached scale by just using my mouse wheel? 
> 
> I am using the Positron (retina) map from the CartoDB feed on 
> QuickMapServices. 
> 
> Thanks 
> 
> FROM: Neumann, Andreas [mailto:a.neum...@carto.net] 
> SENT: 20 July 2016 15:01
> TO: Chris Buckmaster
> CC: qgis-user@lists.osgeo.org
> SUBJECT: Re: [Qgis-user] Zoom to cache level scales in QGIS 
> 
> Hi Chris, 
> 
> Yes - see Menu --> View --> Panels --> Tile Scale Panel. 
> 
> Of course you need a tiled layer loaded in the project in order to enable it. 
> 
> Andreas 
> 
> On 2016-07-20 15:55, Chris Buckmaster wrote:
> 
>> Hi 
>> 
>> Is there a way that I am able to zoom to the specific zoom levels that a XYZ 
>> / WMTS service is cached at within QGIS? 
>> 
>> ___
>> 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 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] Zoom to cache level scales in QGIS

2016-07-20 Per discussione Neumann, Andreas
Hi Chris, 

Yes - see Menu --> View --> Panels --> Tile Scale Panel. 

Of course you need a tiled layer loaded in the project in order to
enable it. 

Andreas 

On 2016-07-20 15:55, Chris Buckmaster wrote:

> Hi 
> 
> Is there a way that I am able to zoom to the specific zoom levels that a XYZ 
> / WMTS service is cached at within QGIS? 
> ___
> 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 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] issues with Processing Options

2016-07-20 Per discussione Neumann, Andreas
Hi Johanna, 

Orfeo Toolbox (photogrammetry software) is quite specialized and is not
part of the standard QGIS distribution. I also have no experience with
it and can't help. 

GRASS is different - it's a general purpose GIS and should work well
with QGIS. What are you struggling with regarding GRASS? 

- 

The other question is: are you (I mean your Windows user account) a
long-time QGIS user who upgraded from older versions? If yes, it can
mean that some "out-of-the-box" settings don't apply, since you already
have settings and they won't get overwritten (people wouldn't like
that). So to judge things, it may be interesting to try from a new
Windows user account and test if things work fine for a new and clean
user account. You could then compare the settings and copy them over to
the production user who upgraded from older QGIS. 

Andreas 

On 2016-07-20 10:45, Johanna Botman wrote:

> Hi Andreas, 
> 
> I was having specific issues with Orfeo Toolbox and GRASS. I'm running QGIS 
> 2.14.1. 
> 
> I work where I have no permissions on my PC, so I struggle with basic 
> read/write. My IT unit don't like installing via OSGeo - so that doesn't help 
> either. 
> 
> Johanna 
> 
> FROM: Neumann, Andreas [mailto:a.neum...@carto.net] 
> SENT: Wednesday, 20 July 2016 5:13 PM
> TO: Johanna Botman <johanna.bot...@griffith.nsw.gov.au>
> CC: qgis-user@lists.osgeo.org
> SUBJECT: Re: [Qgis-user] issues with Processing Options 
> 
> Hi Johanna, 
> 
> Which provider are you talking about? 
> 
> You have to understand that Processing is an open and extensible system - 
> many providers can't be shipped with QGIS, because they are very 
> domain-specific and would bloat QGIS or because of licensing issues. Hence 
> they need to be installed and configured separately. 
> 
> However, processing providers that are shipped along with QGIS, such as 
> GDAL/OGR/Postgis/GRASS/Saga should work out of the box and I agree with you, 
> it shouldn't require extra configuration ideally. So what provider are you 
> talking about? 
> 
> Greetings,
> Andreas 
> 
> On 2016-07-20 01:39, Johanna Botman wrote:
> 
>> Hi All,
>> 
>> I always struggle with the Options in Processing when I try to insert the 
>> correct path for a Provider. Is there anywhere that there is some 
>> documentation about what those settings should be?
>> 
>> I do realise that these come from a variety of sources and may vary from 
>> installation to installation. But isn't it time that QGIS moved away from 
>> users needing to know the intricacies of each installation? Why can't QGIS 
>> work straight out from the installation by now? I want to be getting on with 
>> my GIS work and analysis of data. I don't need to know about the details of 
>> the entrails, do I?
>> 
>> And yes, I am a Windows user and I am quite happy with being provided with 
>> an .exe file that just installs everything I need.
>> 
>> 
>> 
>> ___
>> Johanna Botman
>> GIS / Assets Officer
>> 
>> Griffith City Council
>> Ph: 02 6962 8168 
>> 
>> -
>> 
>> This e-mail, together with any attachments, is for the exclusive and 
>> confidential use of the addressee(s). Confidentiality is not waived if you 
>> are not the intended recipient. Any other distribution, use of, or 
>> reproduction without prior written consent is strictly prohibited. 
>> 
>> Views expressed in this e-mail are those of the individual, except where 
>> specifically stated otherwise. If this e-mail has been sent to you in error, 
>> please delete the e-mail completely and immediately from your system. 
>> Although reasonable precautions are taken, Griffith City Council does not 
>> warrant or guarantee this message to be free of errors, interference, 
>> viruses or similar malicious code and does not accept liability for any 
>> consequences to the recipient opening or using this email or attachments. 
>> 
>> This email was scanned and cleared by MailMarshal, Sophos & Kaspersky AV
>> 
>> -
>> 
>> ___
>> 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 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] issues with Processing Options

2016-07-20 Per discussione Neumann, Andreas
Hi Johanna, 

Which provider are you talking about? 

You have to understand that Processing is an open and extensible system
- many providers can't be shipped with QGIS, because they are very
domain-specific and would bloat QGIS or because of licensing issues.
Hence they need to be installed and configured separately. 

However, processing providers that are shipped along with QGIS, such as
GDAL/OGR/Postgis/GRASS/Saga should work out of the box and I agree with
you, it shouldn't require extra configuration ideally. So what provider
are you talking about? 

Greetings,
Andreas 

On 2016-07-20 01:39, Johanna Botman wrote:

> Hi All,
> 
> I always struggle with the Options in Processing when I try to insert the 
> correct path for a Provider. Is there anywhere that there is some 
> documentation about what those settings should be?
> 
> I do realise that these come from a variety of sources and may vary from 
> installation to installation. But isn't it time that QGIS moved away from 
> users needing to know the intricacies of each installation? Why can't QGIS 
> work straight out from the installation by now? I want to be getting on with 
> my GIS work and analysis of data. I don't need to know about the details of 
> the entrails, do I?
> 
> And yes, I am a Windows user and I am quite happy with being provided with an 
> .exe file that just installs everything I need.
> 
> 
> 
> ___
> Johanna Botman
> GIS / Assets Officer
> 
> Griffith City Council
> Ph: 02 6962 8168 
> 
> -
> This e-mail, together with any attachments, is for the exclusive and 
> confidential use of the addressee(s). Confidentiality is not waived if you 
> are not the intended recipient. Any other distribution, use of, or 
> reproduction without prior written consent is strictly prohibited. 
> 
> Views expressed in this e-mail are those of the individual, except where 
> specifically stated otherwise. If this e-mail has been sent to you in error, 
> please delete the e-mail completely and immediately from your system. 
> Although reasonable precautions are taken, Griffith City Council does not 
> warrant or guarantee this message to be free of errors, interference, viruses 
> or similar malicious code and does not accept liability for any consequences 
> to the recipient opening or using this email or attachments. 
> 
> This email was scanned and cleared by MailMarshal, Sophos & Kaspersky AV
> 
> -
> 
> ___
> 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 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] Value relation option in QGIS

2016-07-18 Per discussione Neumann, Andreas
Hi Chris, 

There is the "Value Map" alternative, which loads the value and
descriptions from an existing layer and you can remove that value layer
afterwards. The drawback is that it isn't a "live link". So if you
change your value table you have to manually resync the data. The values
and descriptions are then stored in the project and exported/loaded with
the style. 

- 

There is a project just about to be started that more intelligently
loads data from PostgreSQL (project generator). But this won't be
available until 2017. Meanwhile, if your data is in PostgreSQL, you can
also use the "Data driven input mask" plugin from Bernhard Ströbl -
which does exactly that, but from a Python plugin. 

Greetings, 

Andreas 

On 2016-07-18 13:28, Chris Buckmaster wrote:

> Hi Andreas 
> 
> Thanks for confirming - I think I understand your approach, but is there a 
> way to store these values in the widget properties, perhaps under value map 
> then so the separate table may not be required? 
> 
> There will be occasions where a user will want to add the spatial layer from 
> the PostGIS connection, but they wouldn't necessarily know that other tables 
> need to be added as well which link to that. 
> 
> Thanks 
> 
> FROM: Neumann, Andreas [mailto:a.neum...@carto.net] 
> SENT: 18 July 2016 12:22
> TO: Chris Buckmaster
> CC: qgis-user@lists.osgeo.org
> SUBJECT: Re: [Qgis-user] Value relation option in QGIS 
> 
> Hi Chris, 
> 
> Yes - you need both tables in the QGIS project. I usually create a separate 
> group for the value list tables at the bottom of the layer manager. 
> 
> Andreas 
> 
> On 2016-07-18 12:58, Chris Buckmaster wrote:
> 
>> Hi 
>> 
>> I have a field in a PostGIS table for which I would only like the user to be 
>> able to select a pre-defined value. 
>> 
>> Along with my table, I have created a separate PostGIS table listing out 
>> those values that I would like the user to be able to select. I filled out 
>> the options within the value relation widget for my layer, but have found 
>> that when I bring my table back into my project after saving it, I am unable 
>> to see any options in the drop down menu it shows (I saved my style when I 
>> set the value relation widget properties). 
>> 
>> The error I get is regarding permission denied for the sequence (as I have a 
>> primary key field in my main table, although I have made sure the user has 
>> all access). 
>> 
>> Just wondering what possible issues I might be having? Do I need my non 
>> spatial table in the project as well? I can provide any further information 
>> as required. 
>> 
>> Thanks, Chris 
>> 
>> ___
>> 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 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] Value relation option in QGIS

2016-07-18 Per discussione Neumann, Andreas
Hi Chris, 

Yes - you need both tables in the QGIS project. I usually create a
separate group for the value list tables at the bottom of the layer
manager. 

Andreas 

On 2016-07-18 12:58, Chris Buckmaster wrote:

> Hi 
> 
> I have a field in a PostGIS table for which I would only like the user to be 
> able to select a pre-defined value. 
> 
> Along with my table, I have created a separate PostGIS table listing out 
> those values that I would like the user to be able to select. I filled out 
> the options within the value relation widget for my layer, but have found 
> that when I bring my table back into my project after saving it, I am unable 
> to see any options in the drop down menu it shows (I saved my style when I 
> set the value relation widget properties). 
> 
> The error I get is regarding permission denied for the sequence (as I have a 
> primary key field in my main table, although I have made sure the user has 
> all access). 
> 
> Just wondering what possible issues I might be having? Do I need my non 
> spatial table in the project as well? I can provide any further information 
> as required. 
> 
> Thanks, Chris 
> 
> ___
> 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 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] QGIS communication platforms

2016-07-18 Per discussione Neumann, Andreas
I am not sure if Facebook is our target audience. Isn't this more for
the kids? 

However, if someone volunteers to work on that - feel free to do it. 

On Twitter there is probably more news on QGIS - but I agree with Strk
that the mailing lists should be our primary channels - properly archive
- no restrictions - free for everyone without having to pay with your
personal data. 

Andreas 

On 2016-07-18 11:51, Mats Elfström wrote:

> This is what 20 774 QGIS likers on Facebook get as QGIS news.
> 
> ​
> Surely they are entitled to a bit more attention?
> Why do you cling to old century mailing lists and bulletin board technology?
> How many subscribe to this list?
> 
> Regards, Mats.E 
> 
> -- 
> 
> GISKRAFT, GIS och webbkonsult
> Mats Elfström, Väpplingvägen 21, SE-227 38 LUND, Sweden
> tel: +46 70 595 39 35 / web: www.giskraft.com [1] 
> ___
> 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

  

Links:
--
[1] http://www.giskraft.com
___
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] Contour symbology

2016-07-15 Per discussione Neumann, Andreas
Hi Lester, 

How about just adding  

AND Elev != 0 

 to the rule? Perhaps the first part should be in parenthesis () 

Andreas 

On 2016-07-15 13:07, Lester Anderson wrote:

> Hello,
> 
> I have a rule-based line symbology set up as below:
> 
> "Elev" % 500 = 0 (thick lines - every 500m)
> "Elev" % 500 <> 0 (thin lines - all other lines)
> 
> Is there a quick way to not draw the 0 contour as it is not the same
> level of detail as the coastline. Basically do all contours except 0.
> 
> Thanks
> Lester
> ___
> 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 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] infotool - solved

2016-07-14 Per discussione Neumann, Andreas
Hi Thomas, 

Marking a thread as "solved" as you did is just fine - but don't forget
to also reply to the mailing-list ;-) 

The Shapefiles from Autocad seems to be a separate issue - please report
it at hub.qgis.org and upload sample data to reproduce the issue. 

Andreas 

On 2016-07-14 11:47, Thomas Dunz wrote:

> Hi Andreas
> 
> The problem was, that the panel "Identify Results" didn't show up, but the 
> panel which is used bey inserting new objects.
> I could solve that just now with the help of a friend, who encountered the 
> same.
> 
> The problem occures with shape-files (ESRI) which were exported by AutoCADMap 
> (version 2008). When I save this layers in QGIS as shp-Format, with the new 
> file everything works nicely. Therefore it seems to be an exportproblem auf 
> my ACADMap.
> 
> Thanks a lot for your effort
> 
> Thomas
> 
> PS: How can I mark that thread solved?
> 
> Hi Thomas, 
> 
> What exactly would you expect? To see the form directly? 
> 
> Note that the Info Tool has it's own panel titled "Identify Results". In 
> there you can change to different modes: 
> 
> * Current Layer
> * Top down, stop at first
> * Top down
> * Layer selection
> 
> And there is a checkbox to open the form if there is only one hit. Note that 
> if you have multiple hits, you need to select in the list in the panel for 
> which feature you want to open the form.  
> 
> The "Layer selection" (context menu in the map) and the "Top down, stop at 
> first" are the two most useful modes in my opinion. 
> 
> All of the modes should honor the "identifyable" checkbox in the project 
> properties. 
> 
> Hope this clarifies how it behaves? If not, please clarify what exactly 
> fails. 
> 
> Greetings, 
> 
> Andreas 
> 
> On 2016-07-14 10:27, Thomas Dunz wrote: 
> Hi
> 
> I encouter the following  problem with the infotool in QGIS vers. 8.6, Win 7 
> (please notify that I translatetd the menuitems from german to english, so 
> the might differ a littel from the original wording - but I hope, I made the 
> point clear):
> 
> When hitting the infotool-button or via menu "View->Object identify 
> (Ctrl,Shift,i)", I see only the attributes written in the attributetable. 
> Ctrl,Shift,I doesnt work at all.
> The checkbox in the menu "project->projectproperties->Layer identfiable" 
> doesn't affect that behaviour. The attributetable attributes are shown even 
> when "identifiable" is not marked.
> 
> The same appears when i try out a higher version of QGIS (2.12).
> 
> Any suggestions how to fix? Thanks in advance.
> 
> Thomas

-- 
Dr. Fahlbusch + Partner
Sorge 29
38678 Clausthal - Zellerfeld

Telefon: 05323 / 715830
Telefax: 05323 / 715838

Diese email enthält Informationen, die nur für den Empfänger bestimmt
sind. Sollten Sie nicht der Empfänger sein und diese email irrtümlich
erhalten haben, löschen Sie die email einschließlich aller Anhänge bitte
unverzüglich von Ihrem Rechner /Server und verständigen Sie bitte den
Absender. Sie sind nicht berechtigt, Informationen, die nicht für Sie
bestimmt sind, auf Ihrem Rechner oder sonstwie zu speichern. Sie sind
auch nicht berechtigt, die Ihnen irrtümlicherweise übersandten
Informationen zu nutzen oder weiterzugeben.

  ___
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] infotool

2016-07-14 Per discussione Neumann, Andreas
Hi Thomas, 

What exactly would you expect? To see the form directly? 

Note that the Info Tool has it's own panel titled "Identify Results". In
there you can change to different modes: 

* Current Layer
* Top down, stop at first
* Top down
* Layer selection

And there is a checkbox to open the form if there is only one hit. Note
that if you have multiple hits, you need to select in the list in the
panel for which feature you want to open the form.  

The "Layer selection" (context menu in the map) and the "Top down, stop
at first" are the two most useful modes in my opinion. 

All of the modes should honor the "identifyable" checkbox in the project
properties. 

Hope this clarifies how it behaves? If not, please clarify what exactly
fails. 

Greetings, 

Andreas 

On 2016-07-14 10:27, Thomas Dunz wrote:

> Hi
> 
> I encouter the following  problem with the infotool in QGIS vers. 8.6, Win 7 
> (please notify that I translatetd the menuitems from german to english, so 
> the might differ a littel from the original wording - but I hope, I made the 
> point clear):
> 
> When hitting the infotool-button or via menu "View->Object identify 
> (Ctrl,Shift,i)", I see only the attributes written in the attributetable. 
> Ctrl,Shift,I doesnt work at all.
> The checkbox in the menu "project->projectproperties->Layer identfiable" 
> doesn't affect that behaviour. The attributetable attributes are shown even 
> when "identifiable" is not marked.
> 
> The same appears when i try out a higher version of QGIS (2.12).
> 
> Any suggestions how to fix? Thanks in advance.
> 
> Thomas

  ___
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] Shapefile with file .cpg(codepage)

2016-07-07 Per discussione Neumann, Andreas
Hi, 

I wonder why this is not the default? If a .cpg file is present, one can
assume that the information is correct. Probably in some edge cases it
may be false, but in the majority I assume the .cpg files to contain
correct information. 

Andreas 

On 2016-07-07 16:17, Claas Leiner wrote:

> Hi,
> 
> QGIS uses the .cpg file when you deselect the Option  "Ignore shapefile 
> encoding declaration"
> 
> You find it:
> Settings > Options >  Data Sources
> 
> Then there are no encoding-problems tu use QGIS with Shapefiles in in a mixed 
> environment.
> 
> Cheers
> 
> 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-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 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

  1   2   3   >