Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

Creating custom GeoJSON for ServiceNow Data Visualization Geomap

Yu KIKUCHI
Tera Contributor

I recently published the scripts I used to build municipality-level maps for Japan using public administrative boundary data from Japan’s Ministry of Land, Infrastructure, Transport and Tourism (MLIT):

 

https://github.com/daifuku085/servicenow-japan-geomap-tools

 

If you are trying to build your own custom Geomap, the repository may be useful as a practical reference.

It includes examples of:

  • adding name and hc-key attributes for ServiceNow map regions

  • reprojecting boundary data to Web Mercator (EPSG:3857)

  • dissolving features by hc-key and simplifying geometry with Mapshaper

  • adding crs and hc-transform metadata for Highcharts / ServiceNow

  • generating a ServiceNow-ready Excel file for Location Mapping, using municipality names and the corresponding GeoJSON hc-key values

  • repositioning remote regions using custom hc-transform groups

 

The project is for Japan, but the same approach could also be useful when converting publicly available GIS data for other countries or regions into custom GeoJSON for ServiceNow Geomap.

The generated Japan Geomap is also available on ServiceNow Share:

 

https://developer.servicenow.com/connect.do#!/share/contents/8468202_japan_geomap_for_data_viisualiz...

 

If you are working on a similar custom map, I hope this gives you a useful starting point.

0 REPLIES 0