Skip to content

Allow fancy scale bar (-L+f) in Cartesian projections #8999

@Esteban82

Description

@Esteban82

The fancy map scale option (-L+f) is currently restricted to geographic projections, producing this messagge:

basemap [ERROR]: Option -L: No fancy map scale modifier allowed for Cartesian projections

I would like to use the fancy map scale for maps in UTM coordinates (like the Example 28).

Could support for -L+f be extended to Cartesian projections?

A minimal example:

gmt begin ex28 png
	gmt basemap -R@Kilauea.utm.nc -Jx1:160000 -Baf 
	gmt basemap -LjRB+w5000+o0.5c		# This works
	gmt basemap -LjLB+w5000+o0.5c+f		# This doesn't work.
gmt end

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions