Opened 17 years ago
Last modified 9 years ago
#192 assigned enhancement
ps.map: geogrid RGB color and ellipsoid
Reported by: | hamish | Owned by: | hamish |
---|---|---|---|
Priority: | normal | Milestone: | 6.4.6 |
Component: | Ps.map | Version: | svn-trunk |
Keywords: | ps.map, geogrid, ellipsoid, RGB | Cc: | grass-dev@… |
CPU: | Unspecified | Platform: | Unspecified |
Description
Hi,
ps.map's geogrid command only accepts named colors currently. it should be updated to accept R:G:B as well.
Also it is unclear to me which ellipsoid geogrid uses. I suspect it is the current one, which is fine, but it would be nice to add an option to use WGS84's instead, like "d.grid -w".
thanks Hamish
ps- can we have "ps.map" added to the trac Component drop down list?
Change History (14)
comment:1 by , 16 years ago
Component: | default → ps.map |
---|---|
CPU: | → Unspecified |
Platform: | → Unspecified |
comment:2 by , 16 years ago
Milestone: | 6.4.0 → 6.5.0 |
---|
comment:3 by , 14 years ago
comment:4 by , 14 years ago
Cc: | added |
---|---|
Owner: | changed from | to
Priority: | trivial → normal |
Status: | new → assigned |
Anna:
R:G:B is not supported by other commands, too. Mapinfo (color, background, border) and vlegend (border) are supported by the new GUI, so they should be fixed first.
ok, will-do.
Hamish
follow-up: 6 comment:5 by , 14 years ago
RGB support added to mapinfo in 6.5&7 in r45774,5. RGB support added to vlegend in 6.5&7 in r45776,7.
example showing mapinfo background working just until the point where the mapinfo box does not overlap the main map box: (change y=6.45 to 6.50 to see it fall off the edge)
#spearfish g.region -d ps.map out=test.ps << EOF raster elevation.dem mapinfo where 2 6.45 color 200:10:200 background 150:200:200 border 250:220:50 end end EOF
Hamish
comment:6 by , 14 years ago
Replying to hamish:
RGB support added to mapinfo in 6.5&7 in r45774,5. RGB support added to vlegend in 6.5&7 in r45776,7.
Thanks, I made the correction you suggested (use named color in the instruction file if possible).
example showing mapinfo background working just until the point where the mapinfo box does not overlap the main map box: (change y=6.45 to 6.50 to see it fall off the edge)
I know about this, I suppose this behaviour is a bug. I forgot to mention it.
Anna
comment:7 by , 13 years ago
full support fro RGB colors added to the grid and geogrid instructions in devbr6 and trunk in r47689,90.
todo: PS.outline_color and hdr.color.
Hamish
follow-up: 10 comment:8 by , 13 years ago
header, outline, and setcolor instructions now accept full RGB colors.
Hamish
comment:9 by , 13 years ago
Milestone: | 6.5.0 → 6.4.2 |
---|
comment:10 by , 13 years ago
Milestone: | 6.4.2 → 6.4.3 |
---|
Replying to hamish:
header, outline, and setcolor instructions now accept full RGB colors.
todo: backport to 6.4
Hamish
comment:12 by , 12 years ago
Keywords: | ps.map geogrid ellipsoid RGB → ps.map, geogrid, ellipsoid, RGB |
---|
backported RGB support for a number of instructions and various small bugfixes in r55176.
please test(!).
Hamish
comment:13 by , 12 years ago
full RGB support for 'setcolor' backported to relbr64 in r55981. the rest which were already backported tested ok.
still todo before closing this ticket:
Also it is unclear to me which ellipsoid geogrid uses. I suspect it is the current one, which is fine, but it would be nice to add an option to use WGS84's instead, like "d.grid -w".
Hamish
comment:14 by , 9 years ago
Milestone: | 6.4.3 → 6.4.6 |
---|
Replying to hamish:
R:G:B is not supported by other commands, too. Mapinfo (color, background, border) and vlegend (border) are supported by the new GUI, so they should be fixed first.
Other commands which accept only named colors are: grid, geogrid, header, outline, setcolor. GUI does't support them yet, so these can wait.
Thanks
Anna