Hi Ankur,
This is a good question. I haven't thought to try the
geomesa:Join WPS in a Style. The good news is that it ought to
work.
If you can make it work in the WPS Request Builder, you likely
have the XML/input for both layers. If one of those is static,
you could hardcode it into the SLD for the secondary source.
From looking at the code for the DensityProcess and heatmap[1],
it looks like the SLD might have a literal called 'data' which
represents the WMS request. That might give you some room to
select what should be from GeoMesa in C*.
Perhaps you take a look at the source for the DensityProcess, the
SLD, and the JoinProcess to see if you can find another idea or
two to try?
The idea of joining makes me think of the GeoServer Cross-Layer
Filtering plugin[2]. That may or may not apply here.
Cheers,
Jim
1.
https://github.com/locationtech/geomesa/blob/master/geomesa-process/geomesa-process-vector/src/main/scala/org/locationtech/geomesa/process/analytic/DensityProcess.scala
https://github.com/locationtech/geomesa/blob/master/docs/tutorials/_static/geomesa-quickstart-storm/heatmap.sld
https://github.com/locationtech/geomesa/blob/master/geomesa-process/geomesa-process-vector/src/main/scala/org/locationtech/geomesa/process/query/JoinProcess.scala
2.
https://docs.geoserver.org/stable/en/user/extensions/querylayer/index.html
On 7/8/19 5:53 AM, Ankur Agarwal wrote:
Hi All,
I am using geomesa-Cassandra with geoserver. I want to join
two tables (spatial-spatial or spatial-temporal) and get the
output as WMS layer.
For this, I was trying to use geomesa:Join function of WPS
plugin in GeoServer. It works fine if I use it in Demos-WPS
request Builder. But to get WMS layer output, I was using it in
Transformation tag in SLD styles.
I am unable to figure out how to provide two layers as input as
I can assign this style to one layer and that layer is only
getting passed in as input layer.
Please suggest how to pass two layers as input in this
function.or Is there any better method to join
two tables in geomesa-cassandra and get the output as WMS
layer?
PFA for reference.
Thanks.
Ankur
_______________________________________________
geomesa-users mailing list
geomesa-users@xxxxxxxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.locationtech.org/mailman/listinfo/geomesa-users