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 )
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 , 11 years ago
| Component: | Core → Core mappaint |
|---|---|
| Description: | modified (diff) |
comment:2 by , 11 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → needinfo |
comment:3 by , 11 years ago
| Milestone: | → 14.05 |
|---|---|
| Resolution: | → fixed |
| Status: | needinfo → closed |
I think this is fixed now. See r7058 for the latest changes in path handling.



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.