Modify

Opened 15 years ago

Closed 11 years ago

#5751 closed enhancement (fixed)

problem with my own mappaint-styles

Reported by: berndw OSM-Bonn Owned by: berndw OSM-Bonn
Priority: normal Milestone: 14.05
Component: Core mappaint Version: latest
Keywords: Cc:

Description (last modified by skyper)

Hello

i want to try out some changes for the oepnv-scheme object-presets and mappaint-styles by M. Koerner, this is work in progress, so i didn't contact him.

I put my changed preset in ~/josm/oepnv and the new icons in ~/josm/oepnv/icons/, but JOSM didn't find the PNGs from the mappaint-style, if the path for the icons in the XML didn't include ./josm at the begin.
./josm/oepnv/icons work, ./oepnv/icons did't.

On Windows there is a similar problem, but only at the end of the path.

I have to add the complete path without oepnv/ add the end to the mappaint-styles manually in the config, the entry in the card-configs will be ignored. For object-presets the path is added on the tab for this with oepnv at the end without problem, they are found by JOSM

Why JOSM didn't use a fix directory 'presets' for users-owned presets below c:/users/$USER/josm/ (win) or ~/.josm?

Then JOSM will found the presets wthout any action by user and the user only has to activate them.
The filestructure is clear enough, so JOSM could identify, if it is a mappaint or a object-preset.

If there are more questions, i could answer them, but if they are to complex i want to use german language.

Bernd

Attachments (0)

Change History (3)

comment:1 by skyper, 11 years ago

Component: CoreCore mappaint
Description: modified (diff)

comment:2 by Don-vip, 11 years ago

Owner: changed from team to berndw OSM-Bonn
Status: newneedinfo

Sorry to reply 4 years later...

Is it still a problem? If so, could you please attach custom map styles/presets and icons showing the problem? Thanks.

comment:3 by Don-vip, 11 years ago

Milestone: 14.05
Resolution: fixed
Status: needinfoclosed

I think this is fixed now. See r7058 for the latest changes in path handling.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain berndw OSM-Bonn.
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.