NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

I'm trying to draw a line that will represent data transport cables. I want to make them of a specific colour, thickness, line type etc. I also want to be able to give it some properties, as how many cables exist per line, how many are used etc. And i can't seem to find how to make my custom ways/markers.

asked 25 Oct '11, 09:34

alexz's gravatar image

alexz
225212226
accept rate: 0%


OSM is not about making a map rendering but about making a vector map that is easy for others to use. You should find or make a descriptive tag set to mark data cables.

For Potlatch2 you can create your own mapCSS and add it to stylesheets.xml on a local potlatch2 installation (i assume from your previous posts that you have one). This style sheet can also be used in JOSM.

If you want to customize Potlatch's tagging presets you can edit map_features.xml, but this in itself doesn't alter how anything appears in the editor.

permanent link

answered 25 Oct '11, 10:49

Gnonthgol's gravatar image

Gnonthgol ♦
13.8k16103198
accept rate: 16%

edited 25 Oct '11, 15:41

Jonathan%20Bennett's gravatar image

Jonathan Ben...
8.3k1785108

Hm, i don't think i want to make a totally new map style. All i want is to be able to make custom notations, like misc devices and data cables. It looks like editing map_features.xml is all i need. Unless you can advise me differently? Are there some map making principles i should follow to increase its flexibility? Thx a lot for you answer,btw!

(25 Oct '11, 12:56) alexz

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×352
×210
×167

question asked: 25 Oct '11, 09:34

question was seen: 5,812 times

last updated: 25 Oct '11, 15:41

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum