Oracle Analytics Cloud and Server

Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture

Adding Custom Maps to DV 12.2.3.0.0 Fails

Received Response
51
Views
5
Comments

Summary

Adding Custom Maps to DV 12.2.3.0.0 Fails

Content

One of the new, long awaited, feutures of DV was the ability to add custom Maps.

Since i've created a lot of custom maps/themes with Oracle Map Builder (part of Mapviewer) i used this tool to create a GEO-Json file for me.

My simple strategy was to import this GEO-Json file as a custom map into DV Desktop.

Unfortunily it gives me an error:

This is not a valid Json file.

Can anyone give me an example of a valid Json file and perhaps some explanation of what is wrong or which specifications are expected.

Thanks,

Bertram

Now with attachment as example, added by Bertram

Answers

  • Bertram Hof
    Bertram Hof Rank 2 - Community Beginner

    See attachment on original discussion

  • Ivy Wang-Oracle
    Ivy Wang-Oracle Rank 1 - Community Starter

    Change "srs" value in geoJSON file from 28992 to 8307 will work.

  • Joseph Kuttikat-Oracle
    Joseph Kuttikat-Oracle Rank 3 - Community Apprentice

    Pls email me your geoJSON or attach to this thread. I can take a look.

  • Bertram Hof
    Bertram Hof Rank 2 - Community Beginner

    Joseph,

    Thanks for you quick response.

    It work on my site as well.

    Will transform all of my thems than to 8307 for DV purpose then.

    This kind of coordinate-systems are supported by the WebLogic Mapviewer component and therefor by OBI-EE

    Will there be support for them in the near future as you know?.

  • Joseph Kuttikat-Oracle
    Joseph Kuttikat-Oracle Rank 3 - Community Apprentice

    Changing srs value alone may not work. The uploaded geojson uses an unsupported coordinate system - 28992 and hence it needs to be transformed as well. There are multiple ways to do this. You could load the data into a Oracle table and use Oracle Spatial transform functions. There are other standalone and online tools out there as well. One example: https://mygeodata.cloud/converter/ .

    Set target srid to 8307, 4326 or 3857.

    8307 and 4326 are SRIDs fpr Longitude, Latitude coordinates using the WGS84 datum (which is used by GPS). 3857 is the World Mercator Projections used in Google, Bing, HERE, and Oracle maps.

    Anyways, I'm attaching the transformed file here. Give that a shot. Renders like this ..

    map.png