Welcome to Knowage Q&A, where you can ask questions and receive answers from other members of the community.
0 votes
1 view

Hi Good Day,

I've read the Knowage_6.x_CE_Manual.pdf and see some old videos (SpagoBI with Location Inteliigence) but still cannot get it.
Could you shared the easy steps to create map location intelligence from beginning until end (more screenshots or link of Video)?
How to define the feature detail SVG Catalog, Layers catalog and what's template needed?

Here's the SVG map i use :  https://www.dropbox.com/s/zki59f6n4zi1m5d/WordMap.SVG?dl=0

I appreciate your help and efforts.

Thank you.
Regards,
Herman.

Environment Knowage 6.1.1,Windows Server2012 R2,Google Chrome.
in Data Set by (1.1k points)
reopened by

1 Answer

0 votes
 
Best answer
Hi,

   first of all check the svg  content (xml version).. it should have some <g> tag with specific id that should references  a column of the dataset linked.

Pay attention that this engine version is total different from the SpagoBI, so if you had an old template it isn't compatible because the new one uses the hierarchical concepts.

If you had installed the demos' documents, you should be able to see the svg catalog definition, the dataset structure and the document template.

Hope this help!
by (4.4k points)
selected by
Hi Good Day,

I tried to follow the demo version steps and have issue on the target layers and the legends. I used svg map and json layer file from highcharts.com. Is it compatible? or did i missed out some steps?
Please refer to below links :
SVG and Json File.
https://www.dropbox.com/s/e8tsogmx84t593q/MapFiles%28Highcharts.com%29.zip?dl=0

My steps to create Maps.
https://www.dropbox.com/s/6z9z59ig1zhnea5/Steps%20of%20creating%20location%20intelligence%20%28Map%29.doc?dl=0

Thank you in advance.
Regards,
Herman.
Hi,

    the definition of the svg  in catalog (first screenshot)  isn't necessary to use Gis Location engine.

Instead, the geojson file must be  a EPSG:4326 and not EPSG:23836, so please convert it (usually I'm using geoserver to do that).

  The rest seems correct and it's strange that the system doesn't give you the joined layer (IDALL) as target layer (into the right panel), maybe are there some errors (js or on logs)?

Hi Giachino,

Noted and thank you for your guide.
I'm really new to this development. May you share the way to use geoserver?
I notice that map type has polygon and multi-polygon. is it any different?

I think maybe due to the json file i uploaded was not compatible.
Here's the log:

06 Mar 2018 12:49:16,366 ERROR it.eng.spagobi.engines.georeport.api.restfull.geoUtils.targetLayerAction:127 - Impossible to load layer [IDALL] from source of type [] whose endpoint is [ ]

it.eng.spagobi.utilities.exceptions.SpagoBIRuntimeException: An unexpected error occured while retrieving features from src file [C:\TEMP\Knowage-Server-CE\resources\DEFAULT_TENANT\Layer\IDALL]

at it.eng.spagobi.georeport.dao.FeaturesProviderDAOFileImpl.getAllFeatures(FeaturesProviderDAOFileImpl.java:126)

at it.eng.spagobi.engines.georeport.api.restfull.geoUtils.targetLayerAction(geoUtils.java:118)

at it.eng.spagobi.engines.georeport.api.restfull.GeoResource.getTargetLayer(GeoResource.java:142)

at sun.reflect.GeneratedMethodAccessor2070.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:498)

at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:140)

at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:294)

at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:248)

at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:235)

at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:398)

at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:205)

at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:228)

at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56)

at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:51)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)

at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)

at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:409)

at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1044)

at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)

at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2441)

at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2430)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

at java.lang.Thread.run(Thread.java:748)

Thank you.
Regards,

Herman.

Hi,

   I think there are some tools to convert the projection... usually I'm using geoserver but I start from a shp file

(and it's documented very well if you need)

Maybe you can set a sepcific projection system when download the layer? As you told  the problem could be the json format file.

Regards.

Hi Giachino,

I'm able to create the map.
Can we able to change the legend of map type when run the document and will show map point type instead of map zone type?

Thank you for your response.
Regards,
Herman.

Hi Giachino,

I've done it. I'm able to change what i want.

Thank you.
Regards,

Herman.

hi everyone. I have the same error. Note that i have a geojson file with EPGS:4326..
So how to resolve it?
thank you.

hi, 

I used knowage version 7.4.6 and all the same steps and guide in :

https://www.dropbox.com/s/6z9z59ig1zhnea5/Steps%20of%20creating%20location%20intelligence%20%28Map%29.doc?dl=0

but, there is an error show up:

what can I do in this situation???

Thank you

...