Polish format

From OpenStreetMap Wiki
Jump to: navigation, search
Help
Available languages
English

Polish format is a format for vector maps. It is mostly used as the input format for cGPSmapper, a compiler of IMG maps for Garmin devices. As such, it is closely related to the IMG format. Files in polish format end in .mp. The format is documented in the cGPSmapper user manual. Polish format can be used as an intermediate format when generating routable IMG maps.

Contents

RouteParams

Some routing information goes in the RouteParams-field of a polyline. It is of the form

RouteParams=speed,class,oneway,toll,emergency,delivery,car,bus,taxi,foot,bike,truck

Format Conversion

To .mp

See osm2mp for a converter to polish format. Besides cGPSmapper, mkgmap also reads .mp-files for generating routable maps, see mkgmap/routing.

From .mp

There is a freeware MS Windows program called Ptxt2shp which will convert .mp files into Shapefiles (it runs fine on Linux using Wine). Once you have a Shapefile you can use OGR tools from the GDAL project to convert to a multitude of other vector formats.

Personal tools
Namespaces
Variants
Actions
site
Toolbox