Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chart runtime set PROCESSING "CHART_SIZE_RANGE #4569

Closed
stetou opened this issue Jan 21, 2013 · 5 comments
Closed

chart runtime set PROCESSING "CHART_SIZE_RANGE #4569

stetou opened this issue Jan 21, 2013 · 5 comments

Comments

@stetou
Copy link

stetou commented Jan 21, 2013

I asked on the mailing list, but since there is no answer I suppose it is not possible...
I use this for my pie charts
PROCESSING "CHART_SIZE_RANGE = itemname minsize maxsize minval maxval"
We should be able to modify minval maxval at runtime so we always have nice proportional pie chart. With dynamic data, we can't hard code those values in mapfile

By example, the data of my pie chart come from a postgis view. I use variable substitution (year per example) in FILTER. I would need then to adjust minval and maxval. Programmatically I can get those values and I would like to be able to modify PROCESSING "CHART_SIZE_RANGE

@tbonfort
Copy link
Member

Not sure what you mean exactly:

  • if the minval/maxval values are coming from your datasource, then this is not supported and willprobbaly never be.
  • if the minval/maxval can be set through %substitution% runtime substitutions, then this can be trivially added by allowing substitutions to be applied at the PROCESSING level

@stetou
Copy link
Author

stetou commented Feb 26, 2013

Hi Thomas
This is what I meant
if the minval/maxval can be set through %substitution% runtime
substitutions, then this can be trivially added by allowing substitutions
to be applied at the PROCESSING level

thanks
steve

Steve Toutant, M. Sc.
Analyste en géomatique
Secteur environnement
Direction de la santé environnementale et de la toxicologie
Institut national de santé publique du Québec
Tél.: 418 646-6777 poste 30015
Téléc.: 418 644-4593
steve.toutant@inspq.qc.ca
http://www.inspq.qc.ca
http://www.monclimatmasante.qc.ca
Pour me rejoindre par courrier
Service de l'infrastructure et du réseau
Direction des technologies de l'information
Ministère de la Sécurité Publique
2525 boul. Laurier, 2è étage
Tour Laurentides
Québec, G1V 2L2

Thomas Bonfort notifications@github.com
2013-02-26 03:08
Veuillez répondre à
mapserver/mapserver
reply@reply.github.com

A
mapserver/mapserver mapserver@noreply.github.com
cc
stetou steve.toutant@inspq.qc.ca
Objet
Re: [mapserver] chart runtime set PROCESSING "CHART_SIZE_RANGE (#4569)

Not sure what you mean exactly:
if the minval/maxval values are coming from your datasource, then this is
not supported and willprobbaly never be.
if the minval/maxval can be set through %substitution% runtime
substitutions, then this can be trivially added by allowing substitutions
to be applied at the PROCESSING level
?
Reply to this email directly or view it on GitHub.

@stetou
Copy link
Author

stetou commented Feb 26, 2013

Thomas, I'm confused though.
do you mean that I can already do that? I tried without success
if the minval/maxval can be set through %substitution% runtime
substitutions, then this can be trivially added by allowing substitutions
to be applied at the PROCESSING level

Or you mean that it is a feature that you can easily add to mapserver?
steve

Steve Toutant, M. Sc.
Analyste en géomatique
Secteur environnement
Direction de la santé environnementale et de la toxicologie
Institut national de santé publique du Québec
Tél.: 418 646-6777 poste 30015
Téléc.: 418 644-4593
steve.toutant@inspq.qc.ca
http://www.inspq.qc.ca
http://www.monclimatmasante.qc.ca
Pour me rejoindre par courrier
Service de l'infrastructure et du réseau
Direction des technologies de l'information
Ministère de la Sécurité Publique
2525 boul. Laurier, 2è étage
Tour Laurentides
Québec, G1V 2L2

Steve Toutant/INSPQ/SSSS
2013-02-26 08:11

A
mapserver/mapserver
reply@reply.github.com
cc
mapserver/mapserver mapserver@noreply.github.com
Objet
Re: [mapserver] chart runtime set PROCESSING "CHART_SIZE_RANGE (#4569)

Hi Thomas
This is what I meant
if the minval/maxval can be set through %substitution% runtime
substitutions, then this can be trivially added by allowing substitutions
to be applied at the PROCESSING level

thanks
steve

Steve Toutant, M. Sc.
Analyste en géomatique
Secteur environnement
Direction de la santé environnementale et de la toxicologie
Institut national de santé publique du Québec
Tél.: 418 646-6777 poste 30015
Téléc.: 418 644-4593
steve.toutant@inspq.qc.ca
http://www.inspq.qc.ca
http://www.monclimatmasante.qc.ca
Pour me rejoindre par courrier
Service de l'infrastructure et du réseau
Direction des technologies de l'information
Ministère de la Sécurité Publique
2525 boul. Laurier, 2è étage
Tour Laurentides
Québec, G1V 2L2

Thomas Bonfort notifications@github.com
2013-02-26 03:08
Veuillez répondre à
mapserver/mapserver
reply@reply.github.com

A
mapserver/mapserver mapserver@noreply.github.com
cc
stetou steve.toutant@inspq.qc.ca
Objet
Re: [mapserver] chart runtime set PROCESSING "CHART_SIZE_RANGE (#4569)

Not sure what you mean exactly:
if the minval/maxval values are coming from your datasource, then this is
not supported and willprobbaly never be.
if the minval/maxval can be set through %substitution% runtime
substitutions, then this can be trivially added by allowing substitutions
to be applied at the PROCESSING level
?
Reply to this email directly or view it on GitHub.

@tbonfort
Copy link
Member

substitutions are not yet enabled on processing options, but should be easy to add/implement

@mapserver-bot
Copy link

This is an automated comment

This issue has been closed due to lack of activity. This doesn't mean the issue is invalid, it simply got no attention within the last year. Please reopen with missing/relevant information if still valid.

Typically, issues fall in this state for one of the following reasons:

  • Hard, impossible or not enough information to reproduce
  • Missing test case
  • Lack of a champion with interest and/or funding to address the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants