Skip to content

Commit

Permalink
rename nik2img to mapnik-render
Browse files Browse the repository at this point in the history
  • Loading branch information
Dane Springmeyer committed Oct 12, 2015
1 parent 03cc55f commit 67718ed
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ utils/mapnik-index/mapnik-index
utils/ogrindex/ogrindex
utils/pgsql2sqlite/pgsql2sqlite
utils/svg2png/svg2png
utils/nik2img/nik2img
utils/mapnik-render/mapnik-render
demo/python/demo*
demo/python/map.xml
tests/data/sqlite/*index
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Released: TBD

#### Summary

- Renamed `nik2img` command to `mapnik-render`
- PostGIS: Fixed handling of all attributes when `key_field_as_attribute=false` (https://github.com/mapnik/mapnik/issues/3120)
- PostGIS: Fixed parsing of `key_field_as_attribute` as boolean: now `true/false` can be used in addition to `0/1`

Expand Down
6 changes: 3 additions & 3 deletions SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ opts.AddVariables(
BoolVariable('SHAPEINDEX', 'Compile and install a utility to generate shapefile indexes in the custom format (.index) Mapnik supports', 'True'),
BoolVariable('MAPNIK_INDEX', 'Compile and install a utility to generate file indexes for CSV and GeoJSON in the custom format (.index) Mapnik supports', 'True'),
BoolVariable('SVG2PNG', 'Compile and install a utility to generate render an svg file to a png on the command line', 'False'),
BoolVariable('NIK2IMG', 'Compile and install a utility to generate render a map to an image', 'True'),
BoolVariable('MAPNIK_RENDER', 'Compile and install a utility to render a map to an image', 'True'),
BoolVariable('COLOR_PRINT', 'Print build status information in color', 'True'),
BoolVariable('BIGINT', 'Compile support for 64-bit integers in mapnik::value', 'True'),
)
Expand Down Expand Up @@ -1971,8 +1971,8 @@ if not HELP_REQUESTED:
SConscript('utils/pgsql2sqlite/build.py')
if env['SVG2PNG']:
SConscript('utils/svg2png/build.py')
if env['NIK2IMG']:
SConscript('utils/nik2img/build.py')
if env['MAPNIK_RENDER']:
SConscript('utils/mapnik-render/build.py')
# devtools not ready for public
#SConscript('utils/ogrindex/build.py')
env['LIBS'].remove('boost_program_options%s' % env['BOOST_APPEND'])
Expand Down
10 changes: 5 additions & 5 deletions utils/nik2img/build.py → utils/mapnik-render/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

source = Split(
"""
nik2img.cpp
mapnik-render.cpp
"""
)

Expand All @@ -24,11 +24,11 @@
if env['RUNTIME_LINK'] == 'static' and env['PLATFORM'] == 'Linux':
libraries.append('dl')

nik2img = program_env.Program('nik2img', source, LIBS=libraries)
Depends(nik2img, env.subst('../../src/%s' % env['MAPNIK_LIB_NAME']))
mapnik_render = program_env.Program('mapnik-render', source, LIBS=libraries)
Depends(mapnik-render, env.subst('../../src/%s' % env['MAPNIK_LIB_NAME']))

if 'uninstall' not in COMMAND_LINE_TARGETS:
env.Install(os.path.join(env['INSTALL_PREFIX'],'bin'), nik2img)
env.Install(os.path.join(env['INSTALL_PREFIX'],'bin'), mapnik_render)
env.Alias('install', os.path.join(env['INSTALL_PREFIX'],'bin'))

env['create_uninstall_target'](env, os.path.join(env['INSTALL_PREFIX'],'bin','nik2img'))
env['create_uninstall_target'](env, os.path.join(env['INSTALL_PREFIX'],'bin','mapnik-render'))
File renamed without changes.

0 comments on commit 67718ed

Please sign in to comment.