kopia lustrzana https://github.com/hholzgra/ocitysmap
With this patch, it is now possible to specify different header/label styles when contructing StreetIndexRenederer objects. This will allow the renderer to use the first header/label font from this list that allows to render the index into the specified area. For now the list of possible header/label fonts is hard-coded as the default parameter of the constructor. |
||
|---|---|---|
| images | ||
| locale | ||
| ocitysmap | ||
| ocitysmap2 | ||
| support | ||
| .gitignore | ||
| AUTHORS | ||
| COPYING | ||
| I18N | ||
| INSTALL | ||
| INSTALL.Debian_unstable | ||
| INSTALL.lucid | ||
| README | ||
| i18n.py | ||
| ocitysmap-render | ||
| ocitysmap.conf-template | ||
| setup.py | ||
README
Open City Street Map -------------------- ocitysmap generates a city street map, using the OpenStreetMap project's data and the MapNik map renderer. The generated maps are vector graphics images, including a street index and city grid. For example, for a simple Sanguinet rendering, run: ./ocitysmap-render -f png -c Sanguinet Since several cities can have the same name, it is possible to render according to a polygon OSM id: ./ocitysmap-render -f png -t Brunoy --polygon-osmid -114189 Alternatively you may specify a bounding box rather than a City: ./ocitysmap-render -f png -b 44.4883,-1.0901 44.4778,-1.0637 This is useful when OpenStreetMap does not contain the administrative boundary of the city. See INSTALL for installation instructions. This code is under AGPLv3 (GNU Affero General Public License 3.0) except the included OpenStreetMap logo under CC-BY-SA (Creative Common Attribution-Share Alike) license.