Re: [Qgis-user] Polar stereographic (0 - 360 longitudes)

2022-06-19 Thread Brent Wood via Qgis-user
I don't believe you can.

The underlying proj libraries (as used by QGIS) no longer support longitudes > 
180 by default, so any re-projection from EPSG:4326 will only work with +-180 
longitudes.

There isa command line parameter (+over) which can be used with proj on the 
command line but I don't think this is supported by QGIS.

If you use Postgis (or Spatialite), there is an ST_ShiftLongitude() function 
that will switch +-180 to 0-360 or the reverse which makes the operation pretty 
trivial for any sort of geometry.

I have created a custom QGIS/Postgis projection (many years ago) which I 
assigned a code of 4327, this was essentially 4326 in a 0-360 degree space, so 
I could reproject between them, I'm not sure if this is still possible with the 
latest versions of proj with wkt definitions.

Brent Wood

Principal Technician, Fisheries
NIWA
DDI:  +64 (4) 3860529


From: Qgis-user  on behalf of Lester 
Anderson via Qgis-user 
Sent: Sunday, June 19, 2022 22:16
To: qgis-user@lists.osgeo.org 
Subject: [Qgis-user] Polar stereographic (0 - 360 longitudes)

Hi all,

I have data which is in 0-360 degree longitudes and I would like to apply a 
Polar stereographic projection. However, since the EPSG 3995 has limits of 
-180/+180 for longitude, as expected it gives half the plot.

For some reason I cannot create a custom projection with an extent such as:
xmin=0, xmax=360, ymin=60, ymax=90 based on 3995 even removing reference to 
this ID.

Any ideas how to proceed without having to shift it all to +/- 180

Tested in 3.20 and 3.24

Thanks

Lester
[https://www.niwa.co.nz/static/niwa-2018-horizontal-180.png] 

Brent Wood
Principal Technician - GIS and Spatial Data Management
Programme Leader - Environmental Information Delivery
+64-4-386-0529

National Institute of Water & Atmospheric Research Ltd (NIWA)
301 Evans Bay Parade Hataitai Wellington New Zealand
Connect with NIWA: niwa.co.nz 
Facebook 
LinkedIn 
Twitter 
Instagram
To ensure compliance with legal requirements and to maintain cyber security 
standards, NIWA's IT systems are subject to ongoing monitoring, activity 
logging and auditing. This monitoring and auditing service may be provided by 
third parties. Such third parties can access information transmitted to, 
processed by and stored on NIWA's IT systems
___
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] WMTS connection timeouts

2022-06-19 Thread Patrick Dunford via Qgis-user

Good day

Often in my Qgis projects that have WMTS layers I see messages like the 
following


2022-06-20T07:41:15     WARNING Network request 
https://basemaps.linz.govt.nz/v1/tiles/aerial/EPSG:3857/16/64195/41592.jpeg?api= 
timed out


Does anyone know enough about WMTS to know why this might be occurring

The WMTS starts working again if I quit and restart Qgis. Is there any 
way of refreshing the connection from within the open project, or any 
settings that will stop this problem occurring.


Thanks
___
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] Polar stereographic (0 - 360 longitudes)

2022-06-19 Thread Lester Anderson via Qgis-user
Hi all,

I have data which is in 0-360 degree longitudes and I would like to apply a
Polar stereographic projection. However, since the EPSG 3995 has limits of
-180/+180 for longitude, as expected it gives half the plot.

For some reason I cannot create a custom projection with an extent such as:
xmin=0, xmax=360, ymin=60, ymax=90 based on 3995 even removing reference to
this ID.

Any ideas how to proceed without having to shift it all to +/- 180

Tested in 3.20 and 3.24

Thanks

Lester
___
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