HOW TO: work on ServiceMap for developers

×

Warning message

  • You can't delete this newsletter because it has not been sent to all its subscribers.
  • You can't delete this newsletter because it has not been sent to all its subscribers.

The ServiceMap is accessible for each Organization and the map is centred in the GPS center position of the Organization.

The Servicemap (alias Knowledge Base) can be used to:

  • Recover the ServiceURI
  • Request the serve API query to be used in the Dashboard Builder More Options of  the widgets, especially for the Selectors
  • Pose queries and to request at the system a Query ID to be used in the Dashboard Builder More Options of  the widgets, especially for the Selectors
  • Test eventual shapes loaded as WKT and created according to the WTK editor

Recover a ServiceURI for using on Node-RED, and Dashboard Builder

Please note that the PIN and the data accessible on Servicemap are Public. If you are locking for data which are private you have to use Data Inspector, or Dashboards.

The ServiceURI can be recovered from the pop up of any PIN on map which are present on the ServiceMap once performed a query. The ServiceURI has the following form.

http://www.disit.org/km4city/resource/ARPAT_QA_FI-BOBOLI

The  ServiceURI is a link that bring you the RDF definition of the City Entity.

Every time the user performs some query on ServiceMap, the panel on which the query is performed present a small disk and once clicked the system is sending you an email with example of Smart City API Calls

Posing queries on Servicemap on the basis of Shapes

In the above image, the query on ServiceMap has been performed referring to a specific Area, and the  area has been that of Quartiere_Q1 for Florence. The Area has been loaded into the system as WKT shape created as follows. The query is requesting for entertainment POI in the whole specific are identified.

Loading a WKT

In the ServiceMap it is possible to load a polyline for further use. This is possible thanks to the tools:

Once the PolyLine (open or closed) is created with WICKET it can be loaded on the Servicemap using the above links.

 

 

HOW TO: work on ServiceMap for developers | Snap4City

Error

×

Error message

  • Unable to send e-mail. Contact the site administrator if the problem persists.
  • Unable to send e-mail. Contact the site administrator if the problem persists.
  • Unable to send e-mail. Contact the site administrator if the problem persists.
  • Unable to send e-mail. Contact the site administrator if the problem persists.
  • Unable to send e-mail. Contact the site administrator if the problem persists.
  • Notice: Trying to get property of non-object in user_is_logged_in() (line 1576 of /var/www/html/drupal/modules/user/user.module).
  • Notice: Trying to get property of non-object in user_is_logged_in() (line 1576 of /var/www/html/drupal/modules/user/user.module).
  • Notice: Trying to get property of non-object in og_field_access() (line 578 of /var/www/html/drupal/sites/default/modules/og/og.module).
  • Notice: Trying to get property of non-object in user_access() (line 806 of /var/www/html/drupal/modules/user/user.module).
  • Notice: Trying to get property of non-object in user_access() (line 818 of /var/www/html/drupal/modules/user/user.module).
  • Notice: Trying to get property of non-object in user_access() (line 819 of /var/www/html/drupal/modules/user/user.module).
  • Notice: Trying to get property of non-object in user_access() (line 825 of /var/www/html/drupal/modules/user/user.module).
  • Notice: Trying to get property of non-object in user_access() (line 828 of /var/www/html/drupal/modules/user/user.module).
  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/drupal/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/drupal/includes/bootstrap.inc).
  • Error: __clone method called on non-object in og_user_access_entity() (line 2249 of /var/www/html/drupal/sites/default/modules/og/og.module).
The website encountered an unexpected error. Please try again later.