Skip to main content
spelling
Source Link
nmtoken
  • 13.6k
  • 5
  • 38
  • 89

How to Convert from GMT Line files to ShapfileShapefile for QGIS?

I have several line text-files of (used in GMT) saved in the format (this is a small sample):

-111.29 42.28
-111.29 42.31
-111.29 42.33
>
-111.37 41.99
-111.38 42.02

I am trying to convert this to a Shape fileShapefile to use in QGIS. I know people convert from shp to GMT with ogr2ogr can you do this in reverse GMT to Shp? I tried using ogr2ogr and had no luck. Maybe I did something wrong or it is not possible with that tool.

I have tried to import this format in QGIS via the delimited text layer tool, but can only figure out how to get points when iI need lines.

How to Convert from GMT Line files to Shapfile for QGIS?

I have several line text-files of (used in GMT) saved in the format (this is a small sample):

-111.29 42.28
-111.29 42.31
-111.29 42.33
>
-111.37 41.99
-111.38 42.02

I am trying to convert this to a Shape file to use in QGIS. I know people convert from shp to GMT with ogr2ogr can you do this in reverse GMT to Shp? I tried using ogr2ogr and had no luck. Maybe I did something wrong or it is not possible with that tool.

I have tried to import this format in QGIS via the delimited text layer tool, but can only figure out how to get points when i need lines.

How to Convert from GMT Line files to Shapefile for QGIS?

I have several line text-files of (used in GMT) saved in the format (this is a small sample):

-111.29 42.28
-111.29 42.31
-111.29 42.33
>
-111.37 41.99
-111.38 42.02

I am trying to convert this to a Shapefile to use in QGIS. I know people convert from shp to GMT with ogr2ogr can you do this in reverse GMT to Shp? I tried using ogr2ogr and had no luck. Maybe I did something wrong or it is not possible with that tool.

I have tried to import this format in QGIS via the delimited text layer tool, but can only figure out how to get points when I need lines.

Bumped by Community user
added 2 characters in body; edited title
Source Link
ahmadhanb
  • 41.4k
  • 5
  • 54
  • 109

How to Convert from GMT Line files to Shapfile for QgisQGIS?

I have several line text-files of (used in GMT) saved in the format (this is a small sample):

-111.29 42.28
-111.29 42.31
-111.29 42.33
>
-111.37 41.99
-111.38 42.02

I am trying to convert this to a Shape file to use in QGIS. I know people convert from shp to GMT with ogr2ogr can you do this in reverse GmtGMT to Shp? I tried using ogr2ogr and had no luck. Maybe I did something wrong or it is not possible with that tool.

I have tried to import this format in QgisQGIS via the delimited text layer tool, but can only figure out how to get points when i need lines.

How to Convert from GMT Line files to Shapfile for Qgis?

I have several line text-files of (used in GMT) saved in the format (this is a small sample):

-111.29 42.28
-111.29 42.31
-111.29 42.33
>
-111.37 41.99
-111.38 42.02

I am trying to convert this to a Shape file to use in QGIS. I know people convert from shp to GMT with ogr2ogr can you do this in reverse Gmt to Shp? I tried using ogr2ogr and had no luck. Maybe I did something wrong or it is not possible with that tool.

I have tried to import this format in Qgis via the delimited text layer tool, but can only figure out how to get points when i need lines.

How to Convert from GMT Line files to Shapfile for QGIS?

I have several line text-files of (used in GMT) saved in the format (this is a small sample):

-111.29 42.28
-111.29 42.31
-111.29 42.33
>
-111.37 41.99
-111.38 42.02

I am trying to convert this to a Shape file to use in QGIS. I know people convert from shp to GMT with ogr2ogr can you do this in reverse GMT to Shp? I tried using ogr2ogr and had no luck. Maybe I did something wrong or it is not possible with that tool.

I have tried to import this format in QGIS via the delimited text layer tool, but can only figure out how to get points when i need lines.

Bumped by Community user
deleted 47 characters in body
Source Link
PolyGeo
  • 65.4k
  • 29
  • 114
  • 345

I have several line text-files of (used in GMT) saved in the format (this is a small sample):

-111.29 42.28
-111.29 42.31
-111.29 42.33
>
-111.37 41.99
-111.38 42.02

I am trying to convert this to a Shape file to use in QGIS. I know people convert from shp to GMT with ogr2ogr can you do this in reverse Gmt to Shp? I tried using ogr2ogr and had no luck. Maybe I did something wrong or it is not possible with that tool. Any help would be much appreciated!

Also - I have tried to import this format in Qgis via the delimited text layer tool, but can only figure out how to get points when i need lines.

I have several line text-files of (used in GMT) saved in the format (this is a small sample):

-111.29 42.28
-111.29 42.31
-111.29 42.33
>
-111.37 41.99
-111.38 42.02

I am trying to convert this to a Shape file to use in QGIS. I know people convert from shp to GMT with ogr2ogr can you do this in reverse Gmt to Shp? I tried using ogr2ogr and had no luck. Maybe I did something wrong or it is not possible with that tool. Any help would be much appreciated!

Also - I have tried to import this format in Qgis via the delimited text layer tool, but can only figure out how to get points when i need lines.

I have several line text-files of (used in GMT) saved in the format (this is a small sample):

-111.29 42.28
-111.29 42.31
-111.29 42.33
>
-111.37 41.99
-111.38 42.02

I am trying to convert this to a Shape file to use in QGIS. I know people convert from shp to GMT with ogr2ogr can you do this in reverse Gmt to Shp? I tried using ogr2ogr and had no luck. Maybe I did something wrong or it is not possible with that tool.

I have tried to import this format in Qgis via the delimited text layer tool, but can only figure out how to get points when i need lines.

edited title
Link
Loading
Source Link
Loading