Скрипты для mapserver: mapinfo.py и mapdraw.py
Скрипты давно уже выложены, но приведу еще и здесь, для гарантии, что не потеряются. Реализация на питоне, поскольку именно в питоне лучшая поддержка модуля mapscript. mapinfo.py #!/usr/bin/python # This program comes with ABSOLUTELY NO WARRANTY. This is free software, and # you are welcome to redistribute it under certain conditions. # See the GNU General Public Licence for details. # Copyright (C) 2007, Alexey Pechnikov import sys import mapscript def Usage(): print 'Usage: map.py [-extent ] -conf [-point ] [-width ] [-height ]' sys.exit(1) in_file = None extent = None point = None width = None height = None args = sys.argv arg = args.pop(0) while len(args) > 0: arg = args.pop(0) if arg == '-extent': if len(args) 0: layer.open() results = layer.getResults() for j in range(numResults): result = results.getResult(j) shape = layer.getFeature(result.shapeindex, result.tileindex) numItems = layer.numite...