I want to use the map as a image, but i dont need all of the street names and tags, because i am going to make a new one for myself own, what can i do? Can i remove every tags and street names in a map??

asked 26 Nov '13, 13:19

tj1966's gravatar image

tj1966
16111
accept rate: 0%

edited 27 Nov '13, 12:48

SomeoneElse's gravatar image

SomeoneElse ♦
32.1k63332751

What is "tags" for you? (it seems that you are not using the standard OSM terminology)

(26 Nov '13, 14:10) aseerel4c26 ♦

This seems to be answered already in how-can-i-create-a-map-without-any-names-on-it.

permanent link

answered 26 Nov '13, 14:11

aseerel4c26's gravatar image

aseerel4c26 ♦
32.1k16239550
accept rate: 17%

Thanks~~~~

(27 Nov '13, 12:44) tj1966

Hi, nice that you want to use OSM :)

You need to keep 2 things strictly seperated:

  1. OSM data (that contain tags and geometries
  2. OSM (online) maps (that are rendered as raster images by applying a map style to the OSM data)

So what you are looking for, is a map style without streetnames. You might use for example this online maps:

If you just want to make a single image, you might also use offline OSM data and render a small area with a local renderer. I guess Maperitive suites well and maybe they also have a no-names style.

permanent link

answered 26 Nov '13, 13:55

iii's gravatar image

iii
4.9k63880
accept rate: 11%

edited 26 Nov '13, 13:56

5

Just to state it clearly: do not change the map data to get the rendering (aka resulting picture) you want, because that data is shared by everyone. Instead, find a suitable rendering or make your own.

(26 Nov '13, 15:02) Vincent de P... ♦
2

Tilemill is another popular option if maperitive doesn't suit you.

(26 Nov '13, 15:03) Vincent de P... ♦
2

Thanks, I just knew that I could use Maperitive to remove the names, but could you tell me how to do it? Because I have tried many times, but it didn`t work. Thanks a lot~~~

(27 Nov '13, 12:39) tj1966
1

You might have a look at the preshipped styles or user contributed, before you spend to much time: http://wiki.openstreetmap.org/wiki/Maperitive/SampleRenderings
Otherwise you wan't to adapt an existing one, by removing the 'text' value assigments.

(27 Nov '13, 14:17) iii
1

Thanks, I will try latter~~

(28 Nov '13, 12:34) tj1966

If you're working with leaflet the easiest way is to use https://github.com/mapbox/mapbox-gl-leaflet. Pay attention to the branches if you're using an earlier version of leaflet. You can link to the style in the basic.html in the examples folder (https://raw.githubusercontent.com/osm2vectortiles/mapbox-gl-styles/master/styles/bright-v9-cdn.json) then copy and paste the info into your own file with its own name (such as style-cdn-json). From there you can modify the attributes in the style file to your liking.

permanent link

answered 28 Jun '18, 19:21

JXSC's gravatar image

JXSC
1
accept rate: 0%

Your answer
toggle preview

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:

×147
×91
×41
×24

question asked: 26 Nov '13, 13:19

question was seen: 22,461 times

last updated: 28 Jun '18, 19:21

powered by OSQA