Modify

Opened 16 years ago

Closed 14 years ago

#2778 closed defect (fixed)

mappaint.useRealWidth does not honor zoom level

Reported by: anonymous Owned by: team
Priority: minor Milestone:
Component: Internal mappaint style Version:
Keywords: Cc:

Description

I set the above option to true, the width of lines containing a "width" attribute are painted proportional to that value, but the same thickness is used in every zoom level. Default width (no width attribute set) is zoomed the correct way.
Version: 1690, 1694

Attachments (2)

bild1.png (2.9 KB ) - added by anonymous 16 years ago.
widht problem on lower highway=residential
bild2.png (7.7 KB ) - added by anonymous 16 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 by ulfl, 16 years ago

Component: CoreInternal mappaint style
Resolution: invalid
Status: newclosed

Objects that should be displayed depending on the zoom level must have an additional "realwidth" attribute in the elemstyles.xml (or alike) file. Have a look at the motorway and alike rules for further details.

comment:2 by anonymous, 16 years ago

Resolution: invalid
Status: closedreopened

the realwidht for the tested style ('highway'='residential') is set in the xml file.
Am I missing something?

comment:3 by ulfl, 16 years ago

Resolution: worksforme
Status: reopenedclosed

Beside the obvious typo realwidht, you may double check mappaint.useRealWidth is really set to true - that dialog is sometimes a bit strange.

Zoom in very deep (scale shows e.g. only 5m).

The default style contains working examples, do they work on your installation?

I've double checked with Version 1669, the real width function is working exactly as expected.

comment:4 by anonymous, 16 years ago

Resolution: worksforme
Status: closedreopened

Here is an example: I drew two highway=residential
the above is without, the lower one with width=3 set.
shown in 2 different zoom versions. (build 2343)

by anonymous, 16 years ago

Attachment: bild1.png added

widht problem on lower highway=residential

by anonymous, 16 years ago

Attachment: bild2.png added

comment:5 by xeen, 14 years ago

Resolution: fixed
Status: reopenedclosed

I believe this has been fixed in the meantime. At least the example you described works fine, i.e. both ways are enlarged on zoom in and not only the one without a specific width set.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.