{"id":489,"date":"2026-02-17T19:57:54","date_gmt":"2026-02-17T19:57:54","guid":{"rendered":"https:\/\/aurelieng.fr\/?p=489"},"modified":"2026-02-17T19:57:55","modified_gmt":"2026-02-17T19:57:55","slug":"unknown-xy-what-is-the-coordinate-system","status":"publish","type":"post","link":"http:\/\/aurelieng.fr\/index.php\/2026\/02\/17\/unknown-xy-what-is-the-coordinate-system\/","title":{"rendered":"Unknown XY : what is the coordinate system ?"},"content":{"rendered":"\n<p>Coordinates are often embedded in the sgy file. However, the header doesn&#8217;t contain any details about the coordinate system. By chance, you know where the seismic profile is, or you have a map displaying GPS coordinates. Let&#8217;s use QGIS !<\/p>\n\n\n\n<p>First of all, you must open the sgy file using either SeismicExplore (installed with kingdom) or SeiSee (freeware). X and Y coordinates are usuellay located in bytes 73\/81 and 77\/85 respectively.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/paleturquoise-reindeer-331443.hostingersite.com\/wp-content\/uploads\/2025\/05\/image-1-1024x643.png\" alt=\"\" class=\"wp-image-870\"\/><\/figure>\n\n\n\n<p>In this example, X and Y coordinates are unknown, but I know that this profile is located in the gulf of Aigue-Morte (Mediterranean Sea). Copy XY coordinates and paste in excel. Using the map display, you know that the X:339989,Y:4821878 point is located in the top left corner.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/paleturquoise-reindeer-331443.hostingersite.com\/wp-content\/uploads\/2025\/05\/image-2.png\" alt=\"\" class=\"wp-image-871\"\/><\/figure>\n\n\n\n<p>Save the file as &#8220;test_something&#8221; and resave it as txt (tab delimited). Import this txt file in QGIS<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/paleturquoise-reindeer-331443.hostingersite.com\/wp-content\/uploads\/2025\/05\/image-3.png\" alt=\"\" class=\"wp-image-872\"\/><\/figure>\n\n\n\n<p>By default, my QGIS project is in UTM, depending on the zone. Here it is UTM 31 N corresponding to EPSG 32631 (the same as my kingdom project). It&#8217;s tab delimited and X and Y fields correspond to field 2 and field 3 (columns 2 and 3 in the text file).<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/paleturquoise-reindeer-331443.hostingersite.com\/wp-content\/uploads\/2025\/05\/image-4.png\" alt=\"\" class=\"wp-image-873\"\/><\/figure>\n\n\n\n<p>Once imported, the txt file displays one point in the middle of Pyrenees !<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/paleturquoise-reindeer-331443.hostingersite.com\/wp-content\/uploads\/2025\/05\/image-5-1024x460.png\" alt=\"\" class=\"wp-image-874\"\/><\/figure>\n\n\n\n<p>There is something wrong:the CRS (Coordinate Reference System) is not EPSG 32631 ! As I know that the point should be near Montpellier, I can create a small polygon surrounding the area where the point is supposed to be.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/paleturquoise-reindeer-331443.hostingersite.com\/wp-content\/uploads\/2025\/05\/image-6-1024x676.png\" alt=\"\" class=\"wp-image-875\"\/><\/figure>\n\n\n\n<p>In the toolbox you can type &#8220;find projection&#8221;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/paleturquoise-reindeer-331443.hostingersite.com\/wp-content\/uploads\/2025\/05\/image-7.png\" alt=\"\" class=\"wp-image-876\"\/><\/figure>\n\n\n\n<p>Choose the text file as input layer, and the polygon as target area (or create a polygon from there).<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/paleturquoise-reindeer-331443.hostingersite.com\/wp-content\/uploads\/2025\/05\/image-8-1024x520.png\" alt=\"\" class=\"wp-image-877\"\/><\/figure>\n\n\n\n<p>So, using the coordinates, the tool will propose possible candidates, meaning a list of CRS containing the XY values in the area \ud83d\ude42<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/paleturquoise-reindeer-331443.hostingersite.com\/wp-content\/uploads\/2025\/05\/image-9.png\" alt=\"\" class=\"wp-image-878\"\/><\/figure>\n\n\n\n<p>I&#8217;m lucky: only 3 candidates. Let&#8217;s explore them. The first one is EPSG 2311. Type it in google:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/paleturquoise-reindeer-331443.hostingersite.com\/wp-content\/uploads\/2025\/05\/image-10-1024x553.png\" alt=\"\" class=\"wp-image-879\"\/><\/figure>\n\n\n\n<p>This is far from the study area, even if the coordinates match this reference system. Let&#8217;s try ESRI 54027<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/paleturquoise-reindeer-331443.hostingersite.com\/wp-content\/uploads\/2025\/05\/image-11.png\" alt=\"\" class=\"wp-image-880\"\/><\/figure>\n\n\n\n<p>It could be this one. However, sgy files are generally recorded using local geodetic systems. Let&#8217;s try EPSG 5627<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/paleturquoise-reindeer-331443.hostingersite.com\/wp-content\/uploads\/2025\/05\/image-12-1024x275.png\" alt=\"\" class=\"wp-image-881\"\/><\/figure>\n\n\n\n<p>This one looks good !!!<\/p>\n\n\n\n<p>You can change the reference system in properties<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/paleturquoise-reindeer-331443.hostingersite.com\/wp-content\/uploads\/2025\/05\/image-13.png\" alt=\"\" class=\"wp-image-882\"\/><\/figure>\n\n\n\n<p>And now, the point is located within the area although the project is set to UTM 31N:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/paleturquoise-reindeer-331443.hostingersite.com\/wp-content\/uploads\/2025\/05\/image-14.png\" alt=\"\" class=\"wp-image-883\"\/><\/figure>\n\n\n\n<p>ENJOY !<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Coordinates are often embedded in the sgy file. However, the header doesn&#8217;t contain any details about the coordinate system. By chance, you know where the seismic profile is, or you have a map displaying GPS coordinates. Let&#8217;s use QGIS ! First of all, you must open the sgy file using either SeismicExplore (installed with kingdom)&hellip;&nbsp;<a href=\"http:\/\/aurelieng.fr\/index.php\/2026\/02\/17\/unknown-xy-what-is-the-coordinate-system\/\" rel=\"bookmark\"><span class=\"screen-reader-text\">Unknown XY : what is the coordinate system ?<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","_themeisle_gutenberg_block_has_review":false,"footnotes":""},"categories":[10],"tags":[15,44,28],"class_list":["post-489","post","type-post","status-publish","format-standard","hentry","category-tips-and-tricks","tag-coordinates","tag-crs","tag-qgis"],"_links":{"self":[{"href":"http:\/\/aurelieng.fr\/index.php\/wp-json\/wp\/v2\/posts\/489","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/aurelieng.fr\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/aurelieng.fr\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/aurelieng.fr\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/aurelieng.fr\/index.php\/wp-json\/wp\/v2\/comments?post=489"}],"version-history":[{"count":1,"href":"http:\/\/aurelieng.fr\/index.php\/wp-json\/wp\/v2\/posts\/489\/revisions"}],"predecessor-version":[{"id":490,"href":"http:\/\/aurelieng.fr\/index.php\/wp-json\/wp\/v2\/posts\/489\/revisions\/490"}],"wp:attachment":[{"href":"http:\/\/aurelieng.fr\/index.php\/wp-json\/wp\/v2\/media?parent=489"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/aurelieng.fr\/index.php\/wp-json\/wp\/v2\/categories?post=489"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/aurelieng.fr\/index.php\/wp-json\/wp\/v2\/tags?post=489"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}