mapscript.mapObj

class mapscript.mapObj(*args)

概述

MapObj具有以下关系:

../../../_images/mapObj_layerObj.png ../../../_images/mapObj_legendObj.png ../../../_images/mapObj_outputFormatObj.png ../../../_images/mapObj_referenceMapObj.png ../../../_images/mapObj_scalebarObj.png

属性

cellsize 

TODO 添加文档

configoptions 

TODO 添加文档

datapattern 

TODO 添加文档

debug 

TODO 添加文档

defresolution 

TODO 添加文档

extent 

TODO 添加文档

fontset 

TODO 添加文档

height 

imagecolor 

TODO 添加文档

imagequality 

TODO 添加文档

imagetype 

TODO 添加文档

interlace 

TODO 添加文档

labelcache 

TODO 添加文档

layerorder 

TODO 添加文档

legend 

TODO 添加文档

mappath 

TODO 添加文档

maxlayers 

TODO 添加文档

maxsize 

TODO 添加文档

name 

TODO 添加文档

numlayers 

TODO 添加文档

numoutputformats 

TODO 添加文档

outputformat 

TODO 添加文档

querymap 

TODO 添加文档

refcount 

TODO 添加文档

reference 

TODO 添加文档

resolution 

TODO 添加文档

scalebar 

TODO 添加文档

scaledenom 

TODO 添加文档

shapepath 

TODO 添加文档

sldurl 

TODO 添加文档

status 

TODO 添加文档

symbolset 

TODO 添加文档

templatepattern 

TODO 添加文档

thisown 

会员旗

transparent 

TODO 添加文档

units 

TODO 添加文档

web 

TODO 添加文档

width 

方法

OWSDispatch(req: mapscript.OWSRequest) int[源代码]
__init__(*args)[源代码]
appendOutputFormat(format: mapscript.outputFormatObj) int[源代码]
applyConfigOptions() void[源代码]
applyDefaultSubstitutions(mapObj self)[源代码]

应用在用于运行时替换的验证块中定义的任何缺省值

applySLD(sld: char) int[源代码]
applySLDURL(sld: char) int[源代码]
applySubstitutions(mapObj self, char ** names)[源代码]

姓名:Char**

传入运行时替代键和值,并将它们应用于映射。

Note 此方法当前仅对Python启用。其他MapScript语言也需要类型地图。

clone() mapscript.mapObj[源代码]
convertToString() char[源代码]
draw() mapscript.imageObj[源代码]
drawLabelCache(image: mapscript.imageObj) int[源代码]
drawLegend() mapscript.imageObj[源代码]
drawQuery() mapscript.imageObj[源代码]
drawReferenceMap() mapscript.imageObj[源代码]
drawScalebar() mapscript.imageObj[源代码]
embedLegend(image: mapscript.imageObj) int[源代码]
embedScalebar(image: mapscript.imageObj) int[源代码]
freeQuery(qlayer: int = - 1) void[源代码]
generateSLD(sldVersion: char = None) char[源代码]
getConfigOption(key: char) char[源代码]
getFirstMetaDataKey() char[源代码]
getLayer()[源代码]
getLayerByName()[源代码]
getLayerOrder(mapObj self) PyObject *[源代码]
getLayersDrawingOrder() mapscript.intarray[源代码]
getMetaData(name: char) char[源代码]
getNextMetaDataKey(lastkey: char) char[源代码]
getNumSymbols() int[源代码]
getOutputFormat(i: int) mapscript.outputFormatObj[源代码]
getOutputFormatByName(name: char) outputFormatObj[源代码]
getProjection() char[源代码]
getRotation() double[源代码]
getSize(mapObj self) PyObject *[源代码]
getSymbolByName(name: char) int[源代码]
get_height()[源代码]
get_width()[源代码]
insertLayer()[源代码]
loadMapContext(szFileName: char, useUniqueNames: int = 0) int[源代码]
loadOWSParameters(*args) int[源代码]
loadQuery(filename: char) int[源代码]
moveLayerDown(layerindex: int) int[源代码]
moveLayerUp(layerindex: int) int[源代码]
offsetExtent(x: double, y: double) int[源代码]
pixelToGeoref(pixPosX: double, pixPosY: double, geoPos: pointObj) void[源代码]
prepareImage() mapscript.imageObj[源代码]
prepareQuery() void[源代码]
processLegendTemplate(names: char, values: char, numentries: int) char[源代码]
processQueryTemplate(names: char, values: char, numentries: int) char[源代码]
processTemplate(bGenerateImages: int, names: char, values: char, numentries: int) char[源代码]
queryByFeatures(slayer: int) int[源代码]
queryByFilter(string: char) int[源代码]
queryByPoint(point: pointObj, mode: int, buffer: double) int[源代码]
queryByRect(rect: mapscript.rectObj) int[源代码]
queryByShape(shape: mapscript.shapeObj) int[源代码]
removeLayer(index: int) mapscript.layerObj[源代码]
removeMetaData(name: char) int[源代码]
removeOutputFormat(name: char) int[源代码]
save(filename: char) int[源代码]
saveMapContext(szFileName: char) int[源代码]
saveQuery(filename: char, results: int = 0) int[源代码]
saveQueryAsGML(*args) int[源代码]
scaleExtent(zoomfactor: double, minscaledenom: double, maxscaledenom: double) int[源代码]
selectOutputFormat(imagetype: char) void[源代码]
setCenter(center: mapscript.pointObj) int[源代码]
setConfigOption(key: char, value: char) void[源代码]
setExtent(minx: double, miny: double, maxx: double, maxy: double) int[源代码]
setFontSet(filename: char) int[源代码]
setImageType(imagetype: char) void[源代码]
setLayerOrder(mapObj self, PyObject * order) int[源代码]

顺序:PyObject*

setLayersDrawingOrder(panIndexes: int) int[源代码]
setMetaData(name: char, value: char) int[源代码]
setOutputFormat(format: outputFormatObj) void[源代码]
setProjection(proj4: char) int[源代码]
setRotation(rotation_angle: double) int[源代码]
setSize(width: int, height: int) int[源代码]
setSymbolSet(szFileName: char) int[源代码]
setWKTProjection(wkt: char) int[源代码]
set_height(value)[源代码]
set_width(value)[源代码]
zoomPoint(mapObj self, int zoomfactor, pointObj poPixPos, int width, int height, rectObj poGeorefExt, rectObj poMaxGeorefExt) int[源代码]

缩放因子:int poPixPos:point Obj 宽度:int高度:int poGeorefExt:rectObj PoMaxGeorefExt:rectObj*

zoomRectangle(mapObj self, rectObj poPixRect, int width, int height, rectObj poGeorefExt, rectObj poMaxGeorefExt) int[源代码]

PoPixRect:rectObj 宽度:int高度:int poGeorefExt:rectObj PoMaxGeorefExt:rectObj*

zoomScale(mapObj self, double scale, pointObj poPixPos, int width, int height, rectObj poGeorefExt, rectObj poMaxGeorefExt) int[源代码]

缩放:双位置PixPos:point Obj 宽度:int高度:int poGeorefExt:rectObj PoMaxGeorefExt:rectObj*