[Qgis-user] Http range search in cloud optimized geotiff and flatgeobuf with PyQGIS

2023-06-06 Thread nagyrobi_r--- via QGIS-User
Hi All!
I've been checking out these "new" formats that are cloud friendly and i've 
stumbled upon the fact that you can do http range searches on both of these 
formats. I've seen that QGIS does this out of the box. Does anybody know how 
this would look like using PyQGIS? or how QGIS does this "under the hood"?
What i would like to reach is a scenario, where i can insert a cloud storage 
location, an extent and the return the raster/vector within the extent?
Any help would be appreciated!
Kind regards, Robert Nagy
___
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] OGC API and paging

2022-08-01 Thread nagyrobi_r--- via Qgis-user
Hei everybody! 
As far as i see, adding a new OGC-API layer is done much in the same way as 
adding a WFS layer.I just need to sediment some information in my head, so:1. 
Max number of features would be the number of features that the service would 
respond even though the number of rows can be larger than the max number of 
features.2. Page size would then split up the response so one response would 
only have the number of rows that correspond to page size. For example max 
number of features is 100, page size is 20, we would then have 5 responses, 
since 20*5 = 100.
 I was curious, does Enabling feature paging, and setting the page size have 
any effect on an OGC api? 
Cheers,Robert___
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] Adding python package dependencies to a QGIS plugin

2022-04-21 Thread nagyrobi_r--- via Qgis-user
Thank you Richard for the answer. I'll see what i can cook up. 

Sent from Yahoo Mail on Android 
 
  On Wed, Apr 20, 2022 at 8:11 PM, Richard Duivenvoorde via 
Qgis-user wrote:   Hi,

if you would ask me, I'd advice:
- small (python) modules? Add a copy in your plugin
- others: instruct users to install them (depending on OS this is more or less 
difficult)

Your methods all need some 'magic' to happen, which will probably break, but 
feel free to try.

Regards,

Richard Duivenvoorde

On 4/19/22 23:08, nagyrobi_r--- via Qgis-user wrote:
> Hei everybody!
> 
> I am trying to develop a QGIS plugin, and the plugin requires python modules 
> that are not present in the basic QGIS python install. Since i want these 
> packages to install for users that might wish to use the plugin, what method 
> would be the correct one to install the dependencies? I am thinking that some 
> users might have multiple python installs at once, multiple pythonpaths etc.
> 
> 1. Method using setup.py when installing the module. But how would that run? 
> or when would it run? Very open for suggestions here.
> 2. Using subprocess with a try and except clause: prone for errors, since any 
> python instance might be called :
>  import sys
>      import subprocess
> 
>  # implement pip as a subprocess:
>  subprocess.check_call(['python', '-m', 'pip', 'install',
>  ''])
> 3. Using pip.main, which seems to warn about a deprecation possibilities for 
> the future
> import pip
> pip.main(['install', package])
> 
> Method 1 could run one time at the plugin install, whilst methods 2 and 3 
> would run at every plugin load.
> How do you go about adding dependencies to your package?
> 
> Kind regards,
> Robert Nagy
> 
> 
> ___
> 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


[Qgis-user] Adding python package dependencies to a QGIS plugin

2022-04-19 Thread nagyrobi_r--- via Qgis-user
Hei everybody!
I am trying to develop a QGIS plugin, and the plugin requires python modules 
that are not present in the basic QGIS python install. Since i want these 
packages to install for users that might wish to use the plugin, what method 
would be the correct one to install the dependencies? I am thinking that some 
users might have multiple python installs at once, multiple pythonpaths etc.
1. Method using setup.py when installing the module. But how would that run? or 
when would it run? Very open for suggestions here.2. Using subprocess with a 
try and except clause: prone for errors, since any python instance might be 
called :import sys    import subprocess
# implement pip as a subprocess:subprocess.check_call(['python', '-m', 
'pip', 'install', ''])3. Using pip.main, which seems to warn 
about a deprecation possibilities for the futureimport pippip.main(['install', 
package])
Method 1 could run one time at the plugin install, whilst methods 2 and 3 would 
run at every plugin load.How do you go about adding dependencies to your 
package?
Kind regards,Robert Nagy
___
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] Vector marker

2022-04-19 Thread nagyrobi_r--- via Qgis-user
BunăCiprian! 
Try using your own SVG symbols. As an SVG marker. Go to properties - symbology- 
single symbol, under symbol layer type choose SVG marker. Navigate to SVG 
Browser and choose religion. You will find some good markers there. 
Succes! 
robert

Sent from Yahoo Mail on Android 
 
  On Tue, Apr 19, 2022 at 1:09 PM, Lazanu Ciprian-Cătălin via 
Qgis-user wrote:#yiv7557026802 P 
{margin-top:0;margin-bottom:0;}Hello,I want to make a map with all the 
churches, monasteries and museums in my county. For each category, l create a 
shapefile. As a marker symbol l don't find any image/picture which could be a 
symbol of a church or cultural building. For my map l want to look 
historic/vintage so l want the markers not to be a dot or star s.a.How could l 
do it?Thank you
___
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] Questions regarding WMS layers

2022-04-14 Thread nagyrobi_r--- via Qgis-user
Very helpful Burghardt! Thank you a lot! 

Sent from Yahoo Mail on Android 
 
  On Thu, Apr 14, 2022 at 6:40 AM, 
burghardt.scho...@stadt.wolfsburg.de 
wrote:   Hi Robert,

the "request step size" can be used to affect the tiling when printing a map. 
Particularly when printing larger formats, elements are often cut off by 
tiling, e.g. in the case of texts.
By defining a (higher) initial size, tiling can be prevented for this format.

Regards
Burghardt


***

Stadt Wolfsburg
Referat 21-2 Geoinformation und Gedatenanalyse
Rathaus E, Zi. E 313, Porschestraße 47A, D-38440 Wolfsburg
Tel +49 5361 28-2531
Fax +49 5361 28-1765
mailto:burghardt.scho...@stadt.wolfsburg.de


  
___
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] Questions regarding WMS layers

2022-04-13 Thread nagyrobi_r--- via Qgis-user
Hei Everybody. I have skimming the documentation, but couldn't find anything 
regarding these settings. I have 2 questions regarding adding WMS layers.
1. I have seen these settings in ADD new WMS connection. Could anybody explain 
to me what are the settings marked with yellow? What do they do? When to use 
them? HTTP headers?  Advanced? Ignore GetMap URI reported in the get 
capabilities? Ignore Getfeatureinfo URI reported in the get capabilities? 

2. When adding a new WMS layer. Could anybody explain what does the Step Size 
mean? when to use it? What is "contextual WMS legend" when to use it?

Thank you a lot,Kind regards,Robert Nagy___
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