[Geoserver-users] Heatmap rendering with fixed BBOX

Hi list,

does anyone know if there is a possibility to render a heatmap for a
fixed BBOX of the underlying dataset?
To be more concrete: I have a set of point geometries for which I want
to have heatmap and expose this as WMS. I want to ensure that the
heatmap is rendered based on the points within a fixed BBOX and not the
BBOX of the WMS request. At least it looked to me like GeoServer heatmap
rendering transformation is taking the WMS Request BBOX as a calculation
base.

Thanks in advance for any hint / help
Chris

The best plan is to import your data into QGIS and use the heat map plugin there to produce a new raster layer, then import that into GeoServer.

Ian

ยทยทยท

Ian Turton

Christian,

depending on your data source you could define a sql query with a fixed
bbox.

--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html

Hi Chris,

One approach is to render the heatmap at a suitable resolution and then save the result as a format that GeoServer can render (such as GeoTiff). That GeoTiff can be registered as a new layer, and you can serve up that layer. Users/clients would be able to zoom around that layer and set a consistent picture (e.g., without local scaling).

I was involved in a project where we let users make such a query in an ad hoc manner and then we saved the GeoTiff using a custom WPS (that did some of the underlying wiring).

Alternatively, you could re-write the DensityProcess slightly to work slightly differently.

I believe your use case would require some external tools or some code changes. (That said, maybe I'm missing something clever!)

Cheers,

Jim

On 5/19/2020 8:53 AM, Christian Mayer wrote:

Hi list,

does anyone know if there is a possibility to render a heatmap for a
fixed BBOX of the underlying dataset?
To be more concrete: I have a set of point geometries for which I want
to have heatmap and expose this as WMS. I want to ensure that the
heatmap is rendered based on the points within a fixed BBOX and not the
BBOX of the WMS request. At least it looked to me like GeoServer heatmap
rendering transformation is taking the WMS Request BBOX as a calculation
base.

Thanks in advance for any hint / help
Chris

_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer

Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Hi Ian, Olivier and Jim,

thank you very much for your help by sharing your thoughts on this.

So it seems it needs some external (pre-)processing or adaption of code. For me it seems that preprocessing by an external tool is the more suitable way. I'll dig a bit into this and report back here once I have a running solution.

Thanks again
Chris

Am 19.05.20 um 19:10 schrieb Jim Hughes:

Hi Chris,

One approach is to render the heatmap at a suitable resolution and
then save the result as a format that GeoServer can render (such as
GeoTiff). That GeoTiff can be registered as a new layer, and you can
serve up that layer. Users/clients would be able to zoom around that
layer and set a consistent picture (e.g., without local scaling).

I was involved in a project where we let users make such a query in an
ad hoc manner and then we saved the GeoTiff using a custom WPS (that
did some of the underlying wiring).

Alternatively, you could re-write the DensityProcess slightly to work
slightly differently.

I believe your use case would require some external tools or some code
changes. (That said, maybe I'm missing something clever!)

Cheers,

Jim

On 5/19/2020 8:53 AM, Christian Mayer wrote:

Hi list,

does anyone know if there is a possibility to render a heatmap for a
fixed BBOX of the underlying dataset?
To be more concrete: I have a set of point geometries for which I want
to have heatmap and expose this as WMS. I want to ensure that the
heatmap is rendered based on the points within a fixed BBOX and not the
BBOX of the WMS request. At least it looked to me like GeoServer heatmap
rendering transformation is taking the WMS Request BBOX as a calculation
base.

Thanks in advance for any hint / help
Chris

_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting
to this list:
- Earning your support instead of buying it, but Ian Turton:
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines:
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this:
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer

Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting
to this list:
- Earning your support instead of buying it, but Ian Turton:
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines:
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this:
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer

Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users