[Qgis-user] Support for reading JSON (not GeoJSON) files?

johnrobot johnrobot at gmail.com
Fri Aug 31 05:26:59 PDT 2018


Hi
My file starts like this:

{
  "meta" : {
    "Version" : "1.0",
    "Create time" : "2018-08-30 18:40:02 UTC"
  },
  "units" : [ {
    "dn" : "ou=test,ou=Org,o=xyz",
    "attributes" : {
      "countryName" : "SE",
      "createTimestamp" : "20180504113600Z",
      "creatorsName" : "cn=improxy,ou=System,o=test",
      "hsaCountyCode" : "14",
      "hsaIdentity" : [ "test" ],
      "hsaMunicipalityCode" : [ "1480" ],
      "modifiersName" : "cn=admin,ou=System,o=test",
      "modifyTimestamp" : "20180829082917Z",
      "ou" : [ "xyz" ],
      "vgrAo3kod" : [ "501" ],
      "vgrModifyTimestamp" : "20180618080954Z",
      "vgrModifyersName" : "cn=user,ou=Personal,o=test"
    }
  }, {
    "dn" : "ou=clients,ou=Org,o=test",
    "attributes" : {
      "createTimestamp" : "20180503113416Z",
      "creatorsName" : "cn=improxy,ou=System,o=test",
      "hsaIdentity" : [ "test" ],
      "modifiersName" : "cn=user,ou=System,o=test",
      "modifyTimestamp" : "20180504030003Z",
      "ou" : [ "clients" ]
    }
  }, {

and it continues for some 200 000 rows. I would like to access the fields as
attribute values.

Magnus



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html



More information about the Qgis-user mailing list