Importing .json file from an ESRI export

MorganRS
MorganRS Global Mapper UserTrusted User
I'm working on updating some scripts, and I would like to use .json exports from some arcpy scripts. I'm using the arcpy.FeaturesToJSON_conversion tool and can't seem to get an export format that global mapper will read. Has anyone had success importing a .json file created using ESRI tools? And if so, what do I need to change in order to get this to work? I'm using Global Mapper v18.1

Answers

  • MorganRS
    MorganRS Global Mapper User Trusted User
    The export opens fine in QGIS if that helps
  • bmg_bob
    bmg_bob Global Mapper Programmer
    Hello,

    Can you post a zip archive containing a sample JSON file that Global Mapper can't load?

    Cheers,
    Bob
  • MorganRS
    MorganRS Global Mapper User Trusted User
    Here you go, thanks!
  • bmg_bob
    bmg_bob Global Mapper Programmer
    Answer ✓
    Hello,

    I don't think there is anything you will be able to do to read this JSON in Global Mapper 18. Global Mapper 21.1 can't read it, I think the file is a JSON variant called ESRIJSON, and we will need to make some changes to our JSON importer to make this work.

    Cheers,
    Bob
  • MorganRS
    MorganRS Global Mapper User Trusted User
    Thanks for looking at it Bob!
  • I have ArcGIS 10.6.1 and GM 21 installed. I am converting shp to json in Arc, and I can open the total at GM.
    In Arc: