Re: [mapserver-users] Is kerneldensity_attribute implemented?
Jukka, All the functionality is tested in msautotest, the KERNELDENSITY_ATTRIBUTE is an error is the RFC. To use an attribute use STYLE SIZE [attribute] END in your linked vector layer. -- thomas On 23 October 2014 06:55, Rahkonen Jukka (Tike) jukka.rahko...@mmmtike.fi wrote: Hi, I have tried to use attribute based weights in heatmaps as in RFC 108 example http://mapserver.org/development/rfc/ms-rfc-108.html processing KERNELDENSITY_ATTRIBUTE=POP2010 However, this processing option does not seem to have any affect. It is not used in the MS autotest mapfile and I wonder if it has been implemented at all yet. Does somebody know? -Jukka Rahkonen- ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Is kerneldensity_attribute implemented?
Hi, Fine, I could make is work with this knowledge. Is it so that the only documentation right now is in the RFC and main documentation page http://mapserver.org/documentation.html does not know about dynamic heatmaps yet? Might be worth having an own entry in the Output section. I was trying to normalize my source data. There seems to be some limited possibilities for doing that with source layer and kerneldensity layer: - In source LAYER the attribute to be used for weighting can be selected with STYLE SIZE [attribute] END. The [attribute] is selected as it stands and no expressions can be used in STYLE - SIZE - In the kerneldensity LAYER processing KERNELDENSITY_NORMALIZATION can be used for normalizing data by a multiplication factor. - For more advanced normalization it must be done in the data because for example expression [POPULATION]/[AREA] can't be resolved on-the-fly because expressions are not supported in STYLE - SIZE. Have I understood right? With some sources of the point layer data there could perhaps be a workaround by computing new field on-the-fly inside LAYER - DATA: select geometry, population/area as popar from source and by using then popar as size attribute. I made some trials with connnectiontype OGR but it was not trivial to make my selection to work from a shapefile. -Jukka Rahkonen- thomas bonfort wrote: Jukka, All the functionality is tested in msautotest, the KERNELDENSITY_ATTRIBUTE is an error is the RFC. To use an attribute use STYLE SIZE [attribute] END in your linked vector layer. -- thomas On 23 October 2014 06:55, Rahkonen Jukka (Tike) jukka.rahko...@mmmtike.fi wrote: Hi, I have tried to use attribute based weights in heatmaps as in RFC 108 example http://mapserver.org/development/rfc/ms-rfc-108.html processing KERNELDENSITY_ATTRIBUTE=POP2010 However, this processing option does not seem to have any affect. It is not used in the MS autotest mapfile and I wonder if it has been implemented at all yet. Does somebody know? -Jukka Rahkonen- ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Is kerneldensity_attribute implemented?
Hello, If documentation is not uptodate you can either send a PR or create an issue with some text and information (where? what?). More information you give, easier and better it is for us. Y. On Thursday, October 23, 2014 8:21:03 Rahkonen Jukka wrote: Hi, Fine, I could make is work with this knowledge. Is it so that the only documentation right now is in the RFC and main documentation page http://mapserver.org/documentation.html does not know about dynamic heatmaps yet? Might be worth having an own entry in the Output section. I was trying to normalize my source data. There seems to be some limited possibilities for doing that with source layer and kerneldensity layer: - In source LAYER the attribute to be used for weighting can be selected with STYLE SIZE [attribute] END. The [attribute] is selected as it stands and no expressions can be used in STYLE - SIZE - In the kerneldensity LAYER processing KERNELDENSITY_NORMALIZATION can be used for normalizing data by a multiplication factor. - For more advanced normalization it must be done in the data because for example expression [POPULATION]/[AREA] can't be resolved on-the-fly because expressions are not supported in STYLE - SIZE. Have I understood right? With some sources of the point layer data there could perhaps be a workaround by computing new field on-the-fly inside LAYER - DATA: select geometry, population/area as popar from source and by using then popar as size attribute. I made some trials with connnectiontype OGR but it was not trivial to make my selection to work from a shapefile. -Jukka Rahkonen- thomas bonfort wrote: Jukka, All the functionality is tested in msautotest, the KERNELDENSITY_ATTRIBUTE is an error is the RFC. To use an attribute use STYLE SIZE [attribute] END in your linked vector layer. -- thomas On 23 October 2014 06:55, Rahkonen Jukka (Tike) jukka.rahko...@mmmtike.fi wrote: Hi, I have tried to use attribute based weights in heatmaps as in RFC 108 example http://mapserver.org/development/rfc/ms-rfc-108.html processing KERNELDENSITY_ATTRIBUTE=POP2010 However, this processing option does not seem to have any affect. It is not used in the MS autotest mapfile and I wonder if it has been implemented at all yet. Does somebody know? -Jukka Rahkonen- ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- Responsable Formation et Support Camptocamp France SAS Savoie Technolac, BP 352 73377 Le Bourget du Lac, Cedex Tel (France) : +33 4 79 26 57 98 Tel (Suisse) : 021 619 10 43 Mob. : +33 6 18 75 42 21 Fax : 04 79 70 15 81 Mail : yves.jaco...@camptocamp.com http://www.camptocamp.com ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Is kerneldensity_attribute implemented?
Hi, I made an issue to Github. By browsing through the list of RFCs there may be also some other features in Mapserver which are best or only documented in corresponding RFCs. That is OK as an initial documentation but if things are a 'changing and usage is perhaps no more exactly as it was written to RFC. It looks like there is usually no considerations in RFCs about how and where to document the fine new features for the users. -Jukka Rahkonen- Yves Jacolin wrote: Hello, If documentation is not uptodate you can either send a PR or create an issue with some text and information (where? what?). More information you give, easier and better it is for us. Y. On Thursday, October 23, 2014 8:21:03 Rahkonen Jukka wrote: Hi, Fine, I could make is work with this knowledge. Is it so that the only documentation right now is in the RFC and main documentation page http://mapserver.org/documentation.html does not know about dynamic heatmaps yet? Might be worth having an own entry in the Output section. I was trying to normalize my source data. There seems to be some limited possibilities for doing that with source layer and kerneldensity layer: - In source LAYER the attribute to be used for weighting can be selected with STYLE SIZE [attribute] END. The [attribute] is selected as it stands and no expressions can be used in STYLE - SIZE - In the kerneldensity LAYER processing KERNELDENSITY_NORMALIZATION can be used for normalizing data by a multiplication factor. - For more advanced normalization it must be done in the data because for example expression [POPULATION]/[AREA] can't be resolved on-the-fly because expressions are not supported in STYLE - SIZE. Have I understood right? With some sources of the point layer data there could perhaps be a workaround by computing new field on-the-fly inside LAYER - DATA: select geometry, population/area as popar from source and by using then popar as size attribute. I made some trials with connnectiontype OGR but it was not trivial to make my selection to work from a shapefile. -Jukka Rahkonen- thomas bonfort wrote: Jukka, All the functionality is tested in msautotest, the KERNELDENSITY_ATTRIBUTE is an error is the RFC. To use an attribute use STYLE SIZE [attribute] END in your linked vector layer. -- thomas On 23 October 2014 06:55, Rahkonen Jukka (Tike) jukka.rahko...@mmmtike.fi wrote: Hi, I have tried to use attribute based weights in heatmaps as in RFC 108 example http://mapserver.org/development/rfc/ms-rfc-108.html processing KERNELDENSITY_ATTRIBUTE=POP2010 However, this processing option does not seem to have any affect. It is not used in the MS autotest mapfile and I wonder if it has been implemented at all yet. Does somebody know? -Jukka Rahkonen- ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- Responsable Formation et Support Camptocamp France SAS Savoie Technolac, BP 352 73377 Le Bourget du Lac, Cedex Tel (France) : +33 4 79 26 57 98 Tel (Suisse) : 021 619 10 43 Mob. : +33 6 18 75 42 21 Fax : 04 79 70 15 81 Mail : yves.jaco...@camptocamp.com http://www.camptocamp.com ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Color-ramps for features?
All, Can color ramp/ranges be used to style features, based on attribute value? Thanks ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users