[Qgis-user] change CRS of WFS layer

Paul Haakma phaakma at gmail.com
Wed Jun 12 20:12:51 PDT 2013


Hi All

Does anyone know of a way to change the crs of a wfs layer? The 'Add WFS
Layer' dialog box has a 'Change' button but it does not allow you to alter
the CRS at all.

The data set I am trying to access is from LINZ http://data.linz.govt.nz/ and
according to their notes it is possible to alter the CRS within the request
- as per quote copied from their help notes:

"The easiest way to re-project your data on the fly is to add the ‘SRSName’
parameter and an EPSG coordinate system id <http://www.epsg-registry.org/> to
your request:

SRSName=<SRSName>

For example, a request of a NZ Government GNSS CORS layer in
NZTM2000<http://www.linz.govt.nz/geodetic/datums-projections-heights/projections/new-zealand-transverse-mercator-2000>
(EPSG:2193)
would look like the following:

http://wfs.data.linz.govt.nz/
<your-API-key>/v/x1029/wfs?service=WFS&request=GetCapabilities&*
SRSName=EPSG:2193"*

So it is possible but QGIS currently seems to not allow it? Does anyone
know of a way to override this?

Note - downloading and re-projecting is not a solution in this case, I want
the dataset (legal title boundaries) streamed live to various users. If I
leave it in it's current CRS (4167) which is unprojected, it displays
correctly when using on-the-fly reprojection within QGIS, but then trying
to access the $area for a label or using the identify tool crashes QGIS.

Am using Windows version, version 009a7d on Win 8 and also tried latest
build from a couple of nights ago on a Win 7 machine.

Any help appreciated. (Apologies if this comes through twice)

-- 
-Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20130613/c29cf413/attachment.html>


More information about the Qgis-user mailing list