GetStatsLayerSLD

Get visualizations of this statistics layer.

Parameters

Name Type Description Required?
LAYERID String Id of this statslayer **true**
VIS_ID String Id of this visualization **true**
VIS_CLASSES String Collection of grouped municipality codes. (format: "020,091|186,086,982|111,139,740" - URL encoded) **true**
VIS_NAME String Name of this visualization (e.g. "ows:Kunnat2013" - URL encoded) **true**
VIS_ATTR String Attribute name (e.g. "Kuntakoodi" - URL encoded) **true**
VIS_COLORS String Colors for grouped classes. (format: "choro:ccffcc|99cc99|669966" - URL encoded) **true**

Response

Success

png image with status code 200

Error

error stacktrace with HTTP status code 500

Examples

Example query for Paikkatietoikkuna

(POST|GET) http://www.paikkatietoikkuna.fi/web/fi/kartta?p_p_id=Portti2Map_WAR_portti2mapportlet&p_p_lifecycle=2&action_route=GetStatsTile&LAYERID=276&LAYERS=ows%3Akunnat2013&TRANSPARENT=TRUE&FORMAT=image%2Fpng&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&SRS=EPSG%3A3067&VIS_ID=-1&VIS_NAME=ows%3Akunnat2013&VIS_ATTR=kuntakoodi&VIS_CLASSES=035%2C062%2C318%2C438%2C766%2C941%7C016%2C018%2C043%2C060%2C065%2C074%2C076%2C149%2C170%2C181%2C202%2C211%2C231%2C235%2C236%2C244%2C280%2C283%2C288%2C295%2C304%2C319%2C322%2C416%2C417%2C423%2C440%2C441%2C445%2C478%2C480%2C481%2C499%2C503%2C538%2C545%2C599%2C611%2C624%2C630%2C631%2C636%2C704%2C736%2C753%2C761%2C771%2C783%2C833%2C834%2C838%2C849%2C893%2C946%7C009%2C019%2C049%2C050%2C051%2C061%2C072%2C078%2C082%2C086%2C098%2C099%2C102%2C106%2C108%2C111%2C142%2C143%2C151%2C152%2C165%2C169%2C171%2C172%2C174%2C205%2C208%2C217%2C218%2C224%2C230%2C233%2C257%2C260%2C263%2C271%2C272%2C275%2C284%2C286%2C287%2C290%2C300%2C312%2C399%2C400%2C408%2C418%2C421%2C425%2C430%2C433%2C435%2C442%2C444%2C475%2C476%2C483%2C484%2C489%2C498%2C500%2C504%2C505%2C529%2C535%2C536%2C543%2C560%2C561%2C576%2C577%2C580%2C581%2C584%2C598%2C604%2C616%2C619%2C625%2C635%2C684%2C689%2C691%2C700%2C702%2C734%2C738%2C739%2C747%2C748%2C749%2C751%2C755%2C765%2C790%2C844%2C845%2C846%2C858%2C859%2C886%2C889%2C892%2C895%2C908%2C911%2C918%2C922%2C924%2C927%2C931%2C935%2C977%2C980%2C989%7C005%2C010%2C020%2C046%2C069%2C071%2C075%2C079%2C081%2C091%2C092%2C097%2C103%2C105%2C109%2C139%2C140%2C145%2C146%2C164%2C176%2C177%2C178%2C182%2C186%2C213%2C214%2C216%2C226%2C232%2C239%2C241%2C245%2C249%2C250%2C276%2C285%2C291%2C301%2C305%2C316%2C317%2C398%2C402%2C403%2C407%2C410%2C413%2C420%2C426%2C434%2C436%2C491%2C494%2C495%2C507%2C508%2C531%2C532%2C541%2C562%2C563%2C564%2C578%2C588%2C593%2C595%2C601%2C607%2C608%2C609%2C614%2C623%2C638%2C678%2C680%2C681%2C686%2C687%2C694%2C707%2C710%2C729%2C740%2C743%2C746%2C759%2C762%2C768%2C777%2C781%2C791%2C831%2C837%2C848%2C850%2C851%2C854%2C857%2C887%2C890%2C905%2C915%2C925%2C934%2C976%2C981%2C992%7C047%2C052%2C077%2C090%2C148%2C153%2C167%2C179%2C204%2C240%2C256%2C261%2C265%2C273%2C297%2C309%2C320%2C405%2C422%2C583%2C592%2C615%2C620%2C626%2C683%2C697%2C698%2C732%2C742%2C758%2C778%2C785%2C832%2C853%2C921%2C936&VIS_COLORS=choro%3Aeff3ff%7Cbdd7e7%7C6baed6%7C3182bd%7C08519c&BBOX=-643490,5733064,1426510,8112064&WIDTH=1035&HEIGHT=1189

Response: png

Example curl request

curl --data "p_p_id=Portti2Map_WAR_portti2mapportlet&p_p_lifecycle=2&action_route=GetStatsTile&LAYERID=276&LAYERS=ows%3Akunnat2013&TRANSPARENT=TRUE&FORMAT=image%2Fpng&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&SRS=EPSG%3A3067&VIS_ID=-1&VIS_NAME=ows%3Akunnat2013&VIS_ATTR=kuntakoodi&VIS_CLASSES=035%2C062%2C318%2C438%2C766%2C941%7C016%2C018%2C043%2C060%2C065%2C074%2C076%2C149%2C170%2C181%2C202%2C211%2C231%2C235%2C236%2C244%2C280%2C283%2C288%2C295%2C304%2C319%2C322%2C416%2C417%2C423%2C440%2C441%2C445%2C478%2C480%2C481%2C499%2C503%2C538%2C545%2C599%2C611%2C624%2C630%2C631%2C636%2C704%2C736%2C753%2C761%2C771%2C783%2C833%2C834%2C838%2C849%2C893%2C946%7C009%2C019%2C049%2C050%2C051%2C061%2C072%2C078%2C082%2C086%2C098%2C099%2C102%2C106%2C108%2C111%2C142%2C143%2C151%2C152%2C165%2C169%2C171%2C172%2C174%2C205%2C208%2C217%2C218%2C224%2C230%2C233%2C257%2C260%2C263%2C271%2C272%2C275%2C284%2C286%2C287%2C290%2C300%2C312%2C399%2C400%2C408%2C418%2C421%2C425%2C430%2C433%2C435%2C442%2C444%2C475%2C476%2C483%2C484%2C489%2C498%2C500%2C504%2C505%2C529%2C535%2C536%2C543%2C560%2C561%2C576%2C577%2C580%2C581%2C584%2C598%2C604%2C616%2C619%2C625%2C635%2C684%2C689%2C691%2C700%2C702%2C734%2C738%2C739%2C747%2C748%2C749%2C751%2C755%2C765%2C790%2C844%2C845%2C846%2C858%2C859%2C886%2C889%2C892%2C895%2C908%2C911%2C918%2C922%2C924%2C927%2C931%2C935%2C977%2C980%2C989%7C005%2C010%2C020%2C046%2C069%2C071%2C075%2C079%2C081%2C091%2C092%2C097%2C103%2C105%2C109%2C139%2C140%2C145%2C146%2C164%2C176%2C177%2C178%2C182%2C186%2C213%2C214%2C216%2C226%2C232%2C239%2C241%2C245%2C249%2C250%2C276%2C285%2C291%2C301%2C305%2C316%2C317%2C398%2C402%2C403%2C407%2C410%2C413%2C420%2C426%2C434%2C436%2C491%2C494%2C495%2C507%2C508%2C531%2C532%2C541%2C562%2C563%2C564%2C578%2C588%2C593%2C595%2C601%2C607%2C608%2C609%2C614%2C623%2C638%2C678%2C680%2C681%2C686%2C687%2C694%2C707%2C710%2C729%2C740%2C743%2C746%2C759%2C762%2C768%2C777%2C781%2C791%2C831%2C837%2C848%2C850%2C851%2C854%2C857%2C887%2C890%2C905%2C915%2C925%2C934%2C976%2C981%2C992%7C047%2C052%2C077%2C090%2C148%2C153%2C167%2C179%2C204%2C240%2C256%2C261%2C265%2C273%2C297%2C309%2C320%2C405%2C422%2C583%2C592%2C615%2C620%2C626%2C683%2C697%2C698%2C732%2C742%2C758%2C778%2C785%2C832%2C853%2C921%2C936&VIS_COLORS=choro%3Aeff3ff%7Cbdd7e7%7C6baed6%7C3182bd%7C08519c&BBOX=-643490,5733064,1426510,8112064&WIDTH=1035&HEIGHT=1189" http://www.paikkatietoikkuna.fi/web/fi/kartta

Last modified: Fri Mar 15 2024 14:11:33 GMT+0200 (Eastern European Standard Time)