Skip to content

No worldfile for EPS if -F is used #7976

Closed

Description

@seisman
# Produce an example PS file
$ gmt psbasemap -R0/10/0/10 -JM10c -Baf > map.ps

# Call psconvert with -F option
$ gmt psconvert map.ps -Te -W -Fnewname      

# No .esw file is generated
$ ls
gmt.history  map.ps  newname.eps

# Without -Te, .esw is generated
$ gmt psconvert map.ps -Te -W          
$ ls                                                        
gmt.history  map.eps  map.esw  map.ps  newname.eps

All other formats like bmp, pdf work as expected.

gmt --version: 6.5.0_f30bd45_2023.10.20

Activity

  1. added
    bug
    on Oct 26, 2023
  2. joa-quim commented on Oct 26, 2023

    @joa-quim
    Member

    Well, if any, the issue would be why there is a epw at all? Those are completely useless because nothing can use them.

  3. seisman commented on Oct 26, 2023

    @seisman
    MemberAuthor

    So, a world file only makes sense for raster formats, including bmp, png, jpeg, ppm and tif, right?

  4. joa-quim commented on Oct 26, 2023

    @joa-quim
    Member

    Yes. World files are read by GDAL that cannot read PS.

  5. seisman commented on Oct 26, 2023

    @seisman
    MemberAuthor

    Then we can give an error if a world file is requested for vector formats, or just do nothing and close this issue.

  6. joa-quim commented on Oct 26, 2023

    @joa-quim
    Member

    Just close it. It doesn't worth spending time on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions