﻿{"id":5382,"date":"2018-05-30T05:19:03","date_gmt":"2018-05-30T03:19:03","guid":{"rendered":"http:\/\/www.sigterritoires.fr\/?p=5382"},"modified":"2023-04-28T14:56:43","modified_gmt":"2023-04-28T12:56:43","slug":"how-to-find-the-coordinates-system-of-a-layer-in-qgis","status":"publish","type":"post","link":"https:\/\/www.sigterritoires.fr\/index.php\/en\/how-to-find-the-coordinates-system-of-a-layer-in-qgis\/","title":{"rendered":"How to find the coordinates system of a layer in QGis?"},"content":{"rendered":"<p>Generally, all layers of geographic data have the description of the coordinates system.\u00a0Unfortunately, this is not always the case.\u00a0Usually, this problem increases by not being able to contact the creator of the data.<\/p>\n<p><strong>Diagnosis of the problem<\/strong><\/p>\n<p>A- You ask QGis to load a vector layer and you see a window displayed that reads \u201cReference Coordinates System Selector\u00a0\u201c.\u00a0If it&rsquo;s a layer with a \u201cshape\u201d format, the data must not have a defined coordinates system.\u00a0In the case of shapefiles, the PRJ file is missing.<\/p>\n<p>B- You ask QGis to load the layer and, without any window opening, you do not see your new data, or they elsewhere from where they should be.<br \/>\nBefore believing that there is, actually, a problem with your data, make sure that you have checked the Projection in \u00a0\u00bb\u00a0\u00a0\u00a0Project Properties\u00a0\u00a0\u00a0\u00bb-&gt;\u00ab\u00a0\u00a0\u00a0SCR\u00a0\u00a0\u00a0\u00ab\u00a0.<br \/>\nIf the box is checked, the data has a defined coordinates system, but it is false.\u00a0The PRJ file exists, but its contents is wrong.<!--more--><\/p>\n<p><strong>Search procedure<\/strong><\/p>\n<p>In this article we try to supply you a guide to determine the projection system of a layer of GIS data, when it is unknown.<\/p>\n<p>We have limited ourselves to the systems commonly used in France by the different organizations and administrations: Lambert and Lambert93 projections, the UTM projections and the non-projected data (geographical latitude \/ longitude).<\/p>\n<p>Of course, there are many others, used occasionally.\u00a0But it is impossible to determine them without real detective work.<\/p>\n<p>We assume that you know how to use QGis and that you have other reference data that will allow you to compare and judge the results obtained.<\/p>\n<p>You can download the pdf document of this article on the website of\u00a0\u00a0\u00a0<a href=\"https:\/\/translate.google.com\/translate?hl=en&amp;prev=_t&amp;sl=fr&amp;tl=en&amp;u=http:\/\/www.nasca.ovh\/\">NASCA<\/a>\u00a0, by clicking\u00a0\u00a0\u00a0here\u00a0.<\/p>\n<p><strong>You must find the range of X and Y values <\/strong><strong>for<\/strong><strong> the data.<\/strong><\/p>\n<p><strong>1- Start QGis with a new empty project<\/strong><br \/>\n<strong>2- Add data with the unknown coordinates system.<\/strong>\u00a0<strong>The data must not have a defined coordinates system.<\/strong>\u00a0<strong>In the case of shapefiles, it must not have PRJ files.<\/strong>\u00a0<strong>If there is one, rename it differently.<\/strong><br \/>\n<strong>3- In the window \u00ab<\/strong>\u00a0<strong>\u00a0<\/strong>\u00a0<strong>Reference Coordinate System Selector<\/strong>\u00a0<strong>\u00a0<\/strong>\u00a0<strong>\u00bb, Select the system WGS84, EPSG: 4326<\/strong><\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"5383\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/how-to-find-the-coordinates-system-of-a-layer-in-qgis\/coord1\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/05\/coord1.png?fit=623%2C606&amp;ssl=1\" data-orig-size=\"623,606\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"coord1\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/05\/coord1.png?fit=300%2C292&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/05\/coord1.png?fit=623%2C606&amp;ssl=1\" class=\"alignnone size-medium wp-image-5383\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/05\/coord1-300x292.png?resize=300%2C292\" alt=\"\" width=\"300\" height=\"292\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/05\/coord1.png?resize=300%2C292&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/05\/coord1.png?w=623&amp;ssl=1 623w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p><strong>4- On the loaded layer, open the context menu<\/strong><br \/>\n<strong>5- Click Properties to open the Layer Properties dialog box.<\/strong><br \/>\n<strong>6- Select the tab \u00ab<\/strong>\u00a0<strong>\u00a0<\/strong>\u00a0<strong>metadata<\/strong>\u00a0<strong>\u00a0<\/strong>\u00a0<strong>\u00bb, then<\/strong>\u00a0<strong>\u00ab<\/strong>\u00a0<strong>\u00a0<\/strong>\u00a0<strong>properties<\/strong>\u00a0<strong>\u00a0<\/strong>\u00a0<strong>\u00bband click on \u00ab<\/strong>\u00a0<strong>\u00a0<\/strong>\u00a0<strong>hold<\/strong>\u00a0<strong>\u00a0<\/strong>\u00a0<strong>\u00ab\u00a0.<\/strong><\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"5384\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/how-to-find-the-coordinates-system-of-a-layer-in-qgis\/coord2\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/05\/coord2.png?fit=630%2C388&amp;ssl=1\" data-orig-size=\"630,388\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"coord2\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/05\/coord2.png?fit=300%2C185&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/05\/coord2.png?fit=630%2C388&amp;ssl=1\" class=\"alignnone size-medium wp-image-5384\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/05\/coord2-300x185.png?resize=300%2C185\" alt=\"\" width=\"300\" height=\"185\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/05\/coord2.png?resize=300%2C185&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/05\/coord2.png?w=630&amp;ssl=1 630w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>Line\u00a0\u00a0\u00a0<em>\u00ab\u00a0<\/em>\u00a0<em>\u00a0<\/em>\u00a0<em>xMin, yMin -13146.9,6755689.52: xMax, yMax 169765.86,6890746.18<\/em>\u00a0<em>\u00a0<\/em>\u00a0<em>\u00ab\u00a0<\/em>\u00a0\u00a0\u00a0gives you the\u00a0\u00a0\u00a0\u00ab\u00a0Scope\u201d\u00a0\u00a0\u00a0which we will use later.<br \/>\nYou will have the range Y: yMin to yMax (6755689.52, 6890746.18) and,<br \/>\nthe range of X: xMin to Xmax (-13146.9, 169765.86)<\/p>\n<p>The term coordinates system can be applied to data expressed in decimal degrees (geographic coordinates) or a projected coordinates system expressed in meters.<br \/>\nIf the coordinates found for the Range are expressed in decimal degrees, they will range from -180 to +180 for longitudes (X range) and between -90 and +90 for latitudes (Y range).\u00a0The data system (SCR) will be searched among Geographic Coordinates Systems.\u00a0It remains to find out the geodetic system (Datum) of the data.\u00a0(See later)<\/p>\n<p>If the coordinates found for the Extent are of the order of hundreds of thousands or millions, then are meters.\u00a0The data system will be searched among the projected coordinates systems. You still have to find the datum system of the data.<\/p>\n<p>For the time being it is enough to resume the method described in the article\u00a0\u00a0\u00a0<a href=\"https:\/\/translate.google.com\/translate?hl=en&amp;prev=_t&amp;sl=fr&amp;tl=en&amp;u=http:\/\/www.sigterritoires.fr\/%3Fp%3D329\">How to find the coordinates system of a layer in ArcGis 10.X?<\/a>\u00a0\u00a0\u00a0using the values \u200b\u200bfound for the\u00a0\u00a0\u00a0\u00ab\u00a0Scope\u201d starting at\u00a0<a href=\"https:\/\/translate.google.com\/translate?hl=en&amp;prev=_t&amp;sl=fr&amp;tl=en&amp;u=http:\/\/www.sigterritoires.fr\/%3Fp%3D329%23TrouverSyst%25C3%25A8me#TrouverSyst%C3%A8me\">Find the projection system<\/a>\u00a0.<\/p>\n<p>When you have found the projection system, come back here to finish the job by determining the DATUM of your data.<\/p>\n<p><strong>How to find the geodetic system (DATUM)<\/strong><\/p>\n<p>Once you have accomplished the first two stages, you have one last point to determine.\u00a0Any location system necessarily refers to a centre of the Earth.\u00a0Since the Earth is not a perfect sphere, and its centre has to be calculated, there are several ways to calculate it and, consequently, several different \u00ab\u00a0centres\u00a0\u00bb.\u00a0The difference is not huge and until a few decades ago it was a rather theoretical discussion, the resulting positioning difference being, in general, less than 300m.<br \/>\nIn theory, a coordinates system is always associated with a geodetic system.<br \/>\nThe Lambert 1, 2, 3,4 and 2 extended projections are always associated with the NTF system (New French Triangulation)<br \/>\nThe Lambert 93 and CC42 to 50 projections are still associated with the RGF system.<br \/>\nSo, if in the previous step you succeded to define one of these projections, the work is finished.<br \/>\nFor UTM 30 to 32 projections, theoretically the associated system is the WGS84 system.\u00a0But, can also be associated with the Europe 50 system.<br \/>\nIn the case of geographical (non-projected) data, they are also generally associated with the WGS84 system, but, also with the NTF or Europe 50 system.<br \/>\nIn the previous step we chose, by default, the WGS84 systems.\u00a0But we must now verify that this choice is the right one.<br \/>\nHow to find out?<br \/>\n\u2022 It is necessary to have a reference data layer, with the projection system defined correctly and especially, good precision (detail).<br \/>\n\u2022 In a new QGis project, load this reference layer.<br \/>\n\u2022 Make sure the option \u00ab\u00a0Enable on-the-fly projection\u00a0\u00bb is checked in \u00ab\u00a0Project Properties\u00a0\u00bb<br \/>\n\u2022 Load the layer to be determined in QGis, indicating the projection found in the previous step in the \u00ab\u00a0Reference Coordinate System Selector\u00a0\u00bb window.<\/p>\n<p>If<\/p>\n<ul>\n<li>the data appears in the right place and there is no slight shift (100-300m), you have finished.The definition you have adopted is the right one.<br \/>\n\u2022 you have an offset of all your entities, of the order of 100 to 300m, your data is not in WGS84.\u00a0The coordinate system (UTM or geographic) is good, but your data is not in WGS84. It must be in Europe 50 or NTF.<\/li>\n<\/ul>\n<p>In order to discover which is the good Datum, you have to change the <a href=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/qgis-projections-crs\/\">SRC<\/a> of the layer you have loaded:<br \/>\n1-Open the context menu by right clicking on the layer,<br \/>\n2-click Set the SCR of a layer,<br \/>\nIf the projection found in the previous step is<br \/>\nUTM spindle 30N: enter in \u00ab\u00a0Filter\u00a0\u00bb the IGNF code: UTM30<br \/>\nUTM spindle 31N: enter in \u00ab\u00a0Filter\u00a0\u00bb the IGNF code: UTM31<br \/>\nUTM spindle 32N: enter in \u00ab\u00a0Filter\u00a0\u00bb the IGNF code: UTM33<br \/>\n3-In the list of global SCRs, select this projection and click on OK<br \/>\nIf you no longer notice a general data shift, you have found the correct coordinates system.\u00a0If this is not the case, you are in front of a layer that falls outside the scope of this article.<\/p>\n<p>If the system found in the previous step is a Geographic Coordinates System (X range between -180 and 180 and Y from -90 to 90)<br \/>\n1-Open the context menu by right clicking on the layer,<br \/>\n2-click Set the SCR of a layer,<br \/>\n3-Go into ED50 filter and select the SRC EPSG: 4230<br \/>\nIf now you no longer observe a general data shift, you have found the correct coordinates system (EPSG: 4230): your data is in geographical Europe 50.<\/p>\n<p>If it&rsquo;s not the case,<\/p>\n<p>1-Open the context menu by right clicking on the layer,<br \/>\n2-click Set the SCR of a layer,<br \/>\n3-Go into NTF filter and select the SRC EPSG: 4275<br \/>\nIf now you no longer observe a general data offset, you have found the correct coordinates system (EPSG: 4275): your data is in NTF geographic.<\/p>\n<p>If this is not the case, you are facing a layer that is outside the scope of this article<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Generally, all layers of geographic data have the description of the coordinates system.\u00a0Unfortunately, this is not always the case.\u00a0Usually, this problem increases by not being able to contact the creator of the data. Diagnosis of the&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"give_campaign_id":0,"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"sfsi_plus_gutenberg_text_before_share":"","sfsi_plus_gutenberg_show_text_before_share":"","sfsi_plus_gutenberg_icon_type":"","sfsi_plus_gutenberg_icon_alignemt":"","sfsi_plus_gutenburg_max_per_row":"","_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1260],"tags":[],"class_list":["post-5382","post","type-post","status-publish","format-standard","hentry","category-non-classe-en"],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p6XU0A-1oO","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/posts\/5382","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/comments?post=5382"}],"version-history":[{"count":0,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/posts\/5382\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/media?parent=5382"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/categories?post=5382"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/tags?post=5382"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}