#21527 closed enhancement (othersoftware)
GeoStyler or .., use JOSM mapcss in other applications.
Reported by: | Allroads | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | External mappaint style | Version: | |
Keywords: | geostyler geoparser mapcss mappaint | Cc: |
Description
There lot of nice mapcss JOSM styles. It would be nice to see them on a website. So that others could see the potential, even others can be pointed to a problem by send a url parameter website.
A check function outside JOSM, on a second screen.
Website with Openlayers and OSMXML overpass.
I could use such a visualisation.
There is a issue on geostyler github page
I noticed that GeoStyler or geoparser was not mentioned on josm.openstreetmap.de, when I searched.
A message that was send to me:
In order to transform and use your JOSM styles (MapCSS format when I understood you right) in OpenLayers there needs to be a GeoStyler parser for JOSM styles / MapCSS. So GeoStyler "understands" JOSM styles and can be used. If that is the case you can transform by GeoStyler to every other supported style format. Since OpenLayers styles is one of these [1] it would be possible to transform to OL-styles.
There is an issue which asks for a MapCSS parser for GeoStyler [2] (the issue's topic drifts a bit away towards a discussion of GeoCSS parser). Unfortunately no one volunteered so far for writing a MapCSS parser. We (as the GeoStyler community) would happily accept such a parser and appreciate if someone volunteers for that. Would you like to have a look into implementing a MapCSS parser?
So long story short: Until no GeoStyler-MapCSS-Parser is available I see no chance to use your JOSM styles in OpenLayers (at least with GeoStyler).
[1] https://github.com/geostyler/geostyler-openlayers-parser
[2] https://github.com/geostyler/geostyler/issues/1175
--
Or are there other solutions?
Attachments (0)
Change History (3)
comment:1 by , 3 years ago
Keywords: | geostyler geoparser mapcss mappaint added |
---|
comment:2 by , 3 years ago
Resolution: | → othersoftware |
---|---|
Status: | new → closed |
comment:3 by , 3 years ago
Milestone: | Longterm |
---|
feel free to do whatever you want to promote JOSM styles elsewhere.