Opened 14 years ago
Closed 13 years ago
#1133 closed enhancement (fixed)
ps.map doesn’t accept more than 10 ‘labels’ instructions
Reported by: | clerici | Owned by: | hamish |
---|---|---|---|
Priority: | minor | Milestone: | 6.4.2 |
Component: | Ps.map | Version: | svn-develbranch6 |
Keywords: | labels | Cc: | grass-dev@… |
CPU: | All | Platform: | Linux |
Description
To check with Spearfish data:
v.label labels=archlab map=archsites column=str1
ps.map in=label.txt out=archlab.ps
label.txt (with 11 labels instructions):
labels archlab
end
labels archlab
end
labels archlab
end
labels archlab
end
labels archlab
end
labels archlab
end
labels archlab
end
labels archlab
end
labels archlab
end
labels archlab
end
labels archlab
end
The error message is:
ERROR: archlab in esercizi : no more label files allowed
With less than 11 labels instructions the ps map is successfully created.
Greetings
- Clerici
Change History (4)
comment:1 by , 14 years ago
Cc: | added |
---|---|
Component: | default → ps.map |
CPU: | Unspecified → All |
Keywords: | labels added |
Milestone: | 6.4.0 → 6.4.1 |
Owner: | changed from | to
Priority: | normal → minor |
Type: | defect → enhancement |
Version: | 6.4.0 RCs → svn-develbranch6 |
comment:2 by , 14 years ago
max number of label instructions bumped to 50 in devbr6 and trunk. (r43608,9)
comment:3 by , 13 years ago
Milestone: | 6.4.1 → 6.4.2 |
---|
now backported to 6.4svn as well. closing bug.
Hamish
comment:4 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
see
and MAXLABELS in
just edit labels.h to however big you want it, and recompile. (how many do you want?)
since the "labels" files are just text, to work around it you can just go into $MAPSET/paint/labels/ and do
to combine them all into a single labels file. (they will remember thier own font sizes, colors, etc)