I'm trying to test geomondrian and spatialytics.
I installed geomondrian and spatialytics in $PENTAHO/tomcat/webapps
i can visualize the spatialytics test page from localhost:8080/
Spatialytics.
I can execute the simple query on that page, and i can drill down and
roll up over the map.
The point is: every time i try to execute a query that deal with
geometric function for example:
ST_Distance() i receive a 500 error.
Looking at the catalina.out I can see that:
mondrian.olap.MondrianException: Mondrian Error:No function matches
signature 'ST_GeomFromText(<String>)'
For every geometry function that i try.
This is one of the query that i've tested on geofoodmart cube:
SELECT {[Measures].[Unit Sales]} ON columns,
Filter({[Store].[Store City].members},
ST_Distance([Store].CurrentMember.Properties("geom"),
ST_GeomFromText('POINT (-118.383811 34.069609)')) < 1.0) ON
rows
FROM [Sales]
Am i missing something?
Does somebody has any experiences with geomondrian and spatialytics?
Any hint will be greatly appreciated!
tnx for reading!
nick
--
Hai ricevuto questo messaggio perché sei iscritto al gruppo "geobi" di Google Gruppi.
Per postare messaggi in questo gruppo, invia un'email a ge...@googlegroups.com.
Per annullare l'iscrizione a questo gruppo, invia un'email a geobi+un...@googlegroups.com.
Per ulteriori opzioni, visita il gruppo all'indirizzo http://groups.google.com/group/geobi?hl=it.
On 4 Mar, 12:08, nick <nick.za...@gmail.com> wrote:
> The point is: every time i try to execute a query that deal with
> geometric function for example:
> ST_Distance() i receive a 500 error.
>
> Looking at the catalina.out I can see that:
> mondrian.olap.MondrianException: Mondrian Error:No function matches
> signature 'ST_GeomFromText(<String>)'
can you send us the xml cube descriptor, please?
Maybe you must define the spatial function like this:
<UserDefinedFunction name="ST_Distance"
className="mondrian.udf.geo.STDistanceUdf" />
Thank you
Fabio D'Ovidio
<UserDefinedFunction name="ST_Distance"
className="mondrian.udf.geo.STDistanceUdf" />