Search:
Login
Preferences
Help/Guide
About Trac
Register
Forgot your password?
Wiki
Timeline
Changelog
Browse Source
View Tickets
New Ticket
Roadmap
Builds
Sonar
Search
Context Navigation
+0
Start Page
Index
History
Editing Es:Styles
Adjust edit area height:
8
12
16
20
24
28
32
36
40
Edit side-by-side
{{{ #!comment Note for translators: - The above list and this note can be stripped from translation. - The reference below to change the source of this page should be modified, so it tells the reader to modify the English page. }}} [[TranslatedPages(revision=62,outdated=translation incomplete)]] = Estilos de JOSM = La visualización del mapa de JOSM se puede personalizar con diferentes estilos. == Elija Estilos == JOSM ofrece una preselección de estilos, que pueden activarse o desactivarse en el [[Help/Dialog/MapPaint|diálogo de estilo de mapa]]. Hay estilos de base (por ejemplo [http://josm.openstreetmap.de/svn/trunk/styles/standard/elemstyles.xml JOSM estándar] o [http://josm.openstreetmap.de/svn/trunk/styles/standard/potlatch2.mapcss Potlatch 2]) que cubren una amplia gama de características cada uno. Se pueden combinar con el complemento estilos que cubren temas más especiales: [[Styles(es|styles|short description|author|description|version|More details)]] Para agregar más estilos a su lista, abrir las preferencias de estilo de mapa haciendo clic en el botón [[Image(source:/trunk/images/dialogs/mappaintpreference.png)]][[Help/Dialog/MapPaint#MapStyleSettings|Ajustes]] en el diálogo de estilo de mapa. {{{#!html <span style="font-size:70%">(Alternativamente, usted puede navegar directamente a las Preferencias de estilos de Mapa: Editar > Preferencias > 3er botón a la izquierda ("Configuración de proyección e interpretación de datos")> 2da ficha ("estilos de pintura Mapa"))</span> }}} Supongamos que usted está interesado en los mapas del mar, entonces es probable que haga uso del estilo "SeaMap FreieTonne": Basta con resaltar esta entrada en la lista de "Estilos disponibles" haciendo clic sobre ella y presionando botón [[Image(source:/trunk/images/preferences/activate-right.png)]] en el centro. Ahora bien, debe ser uno de sus "Estilos Activos". Bueno, vamos a continuar con el uso de estilo avanzado! Ha creado su propio estilo (ver más abajo de esta página)? Haz clic en el signo [[Image(source:/trunk/images/dialogs/add.png)]] a la derecha y entrar cualquier ruta y nombre o la dirección URL de su archivo de estilo. == Crea tu propio estilo == ¿No te gusta el estilo estándar? Cambialo a tu gusto: * En el [[Help/Dialog/MapPaint|cuadro de diálogo estilo de mapa]], haga clic derecho en uno de los estilos y seleccione [[Image(source:/trunk/images/copy.png)]]"guardar como...". Una copia se agregará a la lista de estilos. Usted puede abrir el archivo en un editor de texto y volverlo a cargar después de hacer algunos cambios. * O crear un estilo desde cero y añadir esto en las preferencias de estilo de mapa de JOSM. JOSM soporta dos formatos para definir un estilo: JOSM XML:: El formato de estilo tradicional en JOSM. El [http://josm.openstreetmap.de/svn/trunk/styles/standard/elemstyles.xml estilo estándar] contiene alguna documentación. MapCSS:: Lenguaje de estilo similar a [http://en.wikipedia.org/wiki/Cascading_Style_Sheets CSS] desarrollado originalmente para Potlatch 2, pero que pretende ser un estándar para los estilos de mapas. (desde r3902) * Información general se pueden encontrar en el [http://wiki.openstreetmap.org/wiki/Category:MapCSS wiki de OSM]. * Un [[Help/Styles/MapCSSTutorial|tutorial corto] para empezar. * La [[Help/Styles/MapCSSImplementation|implementación de referencia de JOSM]] muestra las características compatibles con más detalle. Los archivos de estilo con diferentes formatos son compatibles, pueden ser cargados al mismo tiempo. == Haga que su estilo esté disponible para otros usuarios == * Cualquiera puede editar esta página wiki y añadir las direcciones URL para archivos de un nuevo estilo a la lista en la parte superior. * O crear una página wiki similar a [[Styles/Maxspeed]] (XML) o [[Styles/Modified]] (MapCSS). En ambos casos, el nuevo estilo será enumerado automáticamente en la tabla de arriba después de unos minutos. Entonces también estará disponible en las opciones de estilo de mapa de JOSM (después de hacer clic en el botón de recargar). === Icon handling === There are different forms to handle icons: * Icons distributed with JOSM can be entered directly with the path (relative to JOSM's internal image directory). * Use a path relative to your local style file. * New icons can be directly referenced using a http-link. These are downloaded and cached internally. * Since JOSM version 2289 Zip-Files are supported. * The zip file must contain at least one file with extension xml. * Icon names and path are relative to the topmost zip directory. * If there are multiple XML files, a file with "style" in the name is preferred (to allow packaging styles and presets in one archive). * When the JOSM wiki is used for designing of new styles you have some additional options: * Each file attached to the wiki page is automatically included in the Zip downloaded by JOSM. * If you don't want a file in the Zip file, add the text '''(NOZIP)''' in the description of the attachment. * If you add a Zip file and want its contents included, you may add '''(EXTRACT)''' in the description of the attachment. * The server automatically switches from download of single file to Zip download when files are attached. == Styles managed in JOSM wiki == [[TitleIndex(Styles/)]] == Rendering == Mappaint renders the map data so it looks much more like a map (colors, icons, annotations, ...) - compared to the JOSM wireframe mode. === Nodes === Most nodes that corresponds to tags in the [http://wiki.openstreetmap.org/wiki/Map_Features Map Features] page will show an appropriate icon, e.g. a "P" on blue ground for amenity=parking. There are some special icons for missing/incomplete things: [[Image(wiki:Styles:Mappaint_no_icon.png)]] missing icon We don't have the right icon for every node tag in map features yet, e.g. icons for most natural=xy tags are still missing. If you encounter such a "missing icon", feel free to create a nice 16*16 pixel icon that matches the tag. To submit your work, open a [/newticket new ticket] and add your image or zip archive as attachment. [[Image(wiki:Styles:Mappaint_deprecated.png)]] warning icon The corresponding tag was once used but is no longer recommended to be used - or - it is not suitable for a node, e.g. highway=motorway just doesn't make sense on a node. Probably not all deprecated tags will show this icon. === Ways === Most ways that correspond to tags in the map features page will get special color, thickness and line style (e.g. dashed lines for railways). === Areas === Areas are ways that form a sort of ring. Most areas that corresponds to tags in the map features page will be filled with a special color (the filling will be transparent to some degree). == Advanced Preferences == You can use the following hidden preferences: * mappaint.fillalpha * alpha "opacity level", that is used to fill areas. An integer value between 0 (transparent) and 255 (solid) with the default of 50. * mappaint.fillareas (show areas) * 10000000 (default) - areas will be filled with their corresponding colour and name will be rendered * 0 - areas will be surrounded by lines only and name will not be rendered * any other number - areas will be filled with their corresponding colour and name will be rendered at any zoom level below the given number in meters * mappaint.showicons * select whether icons are shown - same values as mappaint.fillareas * mappaint.shownames * select whether names are shown - same values as mappaint.fillareas * mappaint.strokes * select whether strokes or full lines are used - same values as mappaint.fillareas * mappaint.useRealWidth * true - ways will change width corresponding to the real width in meters set in the elemstyle.xml file * false (default) - ways will have the same width on every zoom level * mappaint.zoomLevelDisplay * true - elements visibility depends on zoom level * false (default) - all elements are displayed * mappaint.fontsize * 8 - size of mappaint texts
Note:
See
WikiFormatting
and
TracWiki
for help on editing wiki content.
Change information
Your email or username:
E-mail address and name can be saved in the
Preferences
Comment about this change (optional):
Note:
See
TracWiki
for help on using the wiki.