You are not logged in.
- Topics: Active | Unanswered
Announcement
Please create new topics on the new site at community.openstreetmap.org. We expect the migration of data will take a few weeks, you can follow its progress here.***
Pages: 1
#1 2012-02-28 10:50:11
- UliBär
- Member

- Registered: 2011-09-15
- Posts: 55
How to "thin out" data to shrink map size?
Hi everyone,
i'm making my own maps since a while now and have reached a limit with the map size. I want to use a 2GB memory card in my etrex Vista HCx, because the units operation slows down dramatically when using a 8GB card. ![]()
Since the data size in OSM is constantly increasing, i want to reduce the size of my generated map to conserve memory. I want to drop data, for example planned motorways, which are rendered on the unit but useless for my needs.
My internet recherche leads to two possibilities:
1) Filtering the data with osmfilter.exe.
2) Changing my mkgmap-style-file to drop specific tags.
For the first alternative i need the tags for planned roads, which i could possibly drop - but i have no idea what these tags are? ![]()
For the second alternative i could not find a way to drop specific tags inside a style-file, but maybe i'm blind? ![]()
Or is there probably another, maybe even better way to do this?
Any help appreciated!
Kind regards, Uli
Aloha, Uli
Fools aren't born, pretty girls make them in their spare time...
Offline
#2 2012-02-28 11:01:35
- chris66
- Member

- From: Germany
- Registered: 2009-05-24
- Posts: 10,128
Re: How to "thin out" data to shrink map size?
Hi,
I'm using both methods.
With 1) I'm filtering buildings and with 2) I filter all tags I don't need.
The advantage of filtering in stage 1) is, that the splitter is generating less and larger tiles.
concerning your questions:
Tag for planned roads is highway=proposed, you can probably also remove highway=construction
To drop a tag in the style file you simply delete the corresponding rule or you can use the --delete-tags-file option
of mkgmap.
Chris
Mapper aus dem Münsterland.
Offline
#3 2012-02-28 12:18:17
- UliBär
- Member

- Registered: 2011-09-15
- Posts: 55
Re: How to "thin out" data to shrink map size?
Hi Chris,
thank you very much, that helped a lot! ![]()
Aloha, Uli
Fools aren't born, pretty girls make them in their spare time...
Offline
#4 2012-02-29 09:11:34
- ajoessen
- Member
- Registered: 2009-09-16
- Posts: 2,074
Re: How to "thin out" data to shrink map size?
Hi everyone,
i'm making my own maps since a while now and have reached a limit with the map size. I want to use a 2GB memory card in my etrex Vista HCx, because the units operation slows down dramatically when using a 8GB card.
Since the data size in OSM is constantly increasing, i want to reduce the size of my generated map to conserve memory. I want to drop data, for example planned motorways, which are rendered on the unit but useless for my needs.
My internet recherche leads to two possibilities:1) Filtering the data with osmfilter.exe.
2) Changing my mkgmap-style-file to drop specific tags.
Have you ever thought of
3) Rendering smaller areas on-demand?
For walking tours I plan the tour with BaseCamp, and make a rough bbox around the area I vist. Then I cut the osm.pbf to that area, having only one tile for OSM data and one tile for SRTM.
The map making process is rapidly fast, and the etrex shows the map quickly.
Moving only the tiles around my trip as offered by BaseCamp is almost the same in most cases.
HTH,
ajoessen
Offline
#5 2012-03-01 07:25:34
- Wim Peeters
- Member
- From: Kessel
- Registered: 2012-01-16
- Posts: 49
Re: How to "thin out" data to shrink map size?
Hello
Where can I find this OSMFILTER.EXE? I'm also interested in filtering before generating tiles.
Update: sorry found it already
gr Wim
Last edited by Wim Peeters (2012-03-01 07:32:28)
Offline
Pages: 1