From OpenStreetMap Wiki
Jump to: navigation, search


Cgimap is a C++ implementation of the map call using the FastCGI interface. It is currently serving all the map calls on the main OSM API.

Cgimap was developed because the returns from the map call can be very large (often megabytes of XML) and while The Rails Port performance is adequate, it can cause a lot of GC churn and occasionally use so much memory that it would fail. Cgimap is written to consume a constant amount of memory by streaming data from the database and never having to build or buffer the returned document in memory.

Source code

The "master" source code is at github and the running version is in OSM's git repository.


An installation tutorial can be found on the Install page