[Qgis-user] QGIS 2.6.1 Brighton and GeoJSON CRS 2770

Saber Razmjooei saber.razmjooei at lutraconsulting.co.uk
Thu Apr 30 09:32:43 PDT 2015


Both file#1 and #3 are actually failing to load in the correct CRS, but if
you turn off the OTF you should be able still to see the files. The reason
file #1 loads fine is probably because your default CRS in QGIS is set to
4326.

Your link doesn't appear to be a valid proj4 definition. How about trying it
with:

 

"crs": {

  "type": "link",

  "properties": {

    "href": "http://spatialreference.org/ref/epsg/27700/proj4/",

    "type": "proj4"

    }

  }

 

Cheers,

Saber

 

 

From: qgis-user-bounces at lists.osgeo.org
[mailto:qgis-user-bounces at lists.osgeo.org] On Behalf Of Paul Cleverley
Sent: 30 April 2015 15:29
To: 'qgis-user at lists.osgeo.org'
Subject: [Qgis-user] QGIS 2.6.1 Brighton and GeoJSON CRS 2770

 

Hi 

 

I have three geojson files.

 

File #1 is in 4326 and has the following crs :

"crs": 

              {

            "type": "link", 

            "properties": 

                            {

                                  "href":
"http://www.opengis.net/def/crs/EPSG/0/4326",

                                  "type": "proj4"

                           }

              },

 

File #2 is in 27700 and has the following crs:

"crs": 

        {

            "type": "name",

            "properties": 

                {

                    "name": "EPSG:27700"

                }

        },

 

File #3 is identical to File #2 except for the crs which is 

"crs": 

        {

            "type": "link", 

            "properties": 

            {

                "href": "http://www.opengis.net/def/crs/EPSG/0/27700",

                "type": "proj4"

            }

        },

 

 

File #1 and #2 load into QGIS and display as I would expect.

 

File #3 loads but does not display. While its properties shows an extent in
BNG 

 

xMin,yMin 476285.30,230902.30 : xMax,yMax 496530.40,256158.20

 

the layer spatial reference system shows:

 

+proj=longlat +datum=WGS84 +no_defs

 

I suspect what's going on is that the link type crs is ignored and QGIS
defaults make it ok - but with the link crs in File #3 it goes kerplooie.

 

Any thoughts? 

 

Much appreciated
Paul

 

Paul Cleverley
Software Developer, Hydrodynamics & Metocean

E:  <mailto:p.cleverley at hrwallingford.com> p.cleverley at hrwallingford.com
T: +44 (0)1491 822483

 <http://www.hrwallingford.com/banner.html> HR Wallingford Banner

  _____  


 HR Wallingford Logo <http://www.hrwallingford.com/site/images/HRW_Logo.gif>


HR Wallingford
Howbery Park, Wallingford, Oxfordshire OX10 8BA, United Kingdom
T: +44 (0)1491 835381     F: +44 (0)1491 832233
www.hrwallingford.com 

 HR Wallingford Secondary Logo
<http://www.hrwallingford.com/site/images/HRW_Logo2.gif> 

  _____  

 

  _____  

HR Wallingford and its subsidiaries uses faxes and emails for confidential
and legally privileged business communications. They do not of themselves
create legal commitments. Disclosure to parties other than addressees
requires our specific consent. We are not liable for unauthorised
disclosures nor reliance upon them. 
If you have received this message in error please advise us immediately and
destroy all copies of it. 

HR Wallingford Limited
Howbery Park, Wallingford, Oxfordshire, OX10 8BA, United Kingdom
Registered in England No. 02562099

  _____  



--
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the
individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately
by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified
that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.

Whilst reasonable care has been taken to avoid virus transmission, no responsibility for viruses is taken and it is your responsibility to carry out
such checks as you feel appropriate.

If this email contains a quote or offer to sell products, carry out work or perform services then our standard terms and conditions (which can be found at http://www.lutraconsulting.co.uk/downloads/Lutra%20Consulting%20Standard%20Terms%20and%20Conditions.pdf shall apply unless explicitly stated otherwise.

Saber Razmjooei and Peter Wells trading as Lutra Consulting.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20150430/6d533d64/attachment.html>


More information about the Qgis-user mailing list