source: subversion/applications/rendering/osmps/README @ 2667

Last change on this file since 2667 was 2302, checked in by matthewnc, 13 years ago

Added utils/osmps - OSMPS is a PostScript? renderer for OpenStreetMap.

File size: 1.2 KB
Line 
1OSMPS - a PostScript renderer for OpenStreetMap files
2=====================================================
3
4OSMPS generates Encapsulated PostScript files from OSM XML files.
5Rules for generating parts of the output are currently contained
6within the program and describe PostScript code to be utilised for
7particular tags.
8
9PostScript is sent to standard output. Typical usage would be
10
11  osmps.rb map.osm > map.ps
12
13as a subsequent step a PDF file may be generated with the common
14ps2pdf tool (which is a wrapper around GhostScript), or with Adobe
15Distiller.
16
17  ps2pdf map.ps
18
19Internal data structure
20-----------------------
21
22OSMPS possibly uses an odd method of processing the data. First
23nodes and segments are read from the file. Ways are then read but
24the tags are purely "pushed down" onto the segments that are in
25each way. Finally, paths are created from adjacent segments that
26are (a) pointing in the same direction and (b) have exactly the
27same tag set.
28
29Features
30--------
31
32Current features include basic areas, roads, simple bridges and
33road names. Planned next are oneway arrows and nodes such as
34churches and fuel stations, possibly followed by little dots that
35can tell you where people are. But don't count on it.
36
37
38Matthew Newton
3920 March 2007
40
Note: See TracBrowser for help on using the repository browser.