mirror of https://github.com/MISP/misp-objects
chg: EPSG and spacial-reference add fix #102
Following feedback during the last ENISA Cyber Europe 2018, we updated the geolocation object to the following: - Fixing ui-priority to ensure lat,long in order - Adding the ability to specify an EPSG value instead of coordinates (handy if you want to quickly express a known location/area) - Set a default spacial-reference to avoid confusion between reported value from GPS versus values projected into a specific spacial projection. default is WGS-84.pull/103/head
parent
a5c331038e
commit
07f41b0444
|
@ -4,7 +4,8 @@
|
|||
"longitude",
|
||||
"city",
|
||||
"region",
|
||||
"country"
|
||||
"country",
|
||||
"epsg"
|
||||
],
|
||||
"attributes": {
|
||||
"first-seen": {
|
||||
|
@ -28,13 +29,13 @@
|
|||
"latitude": {
|
||||
"description": "The latitude is the decimal value of the latitude in the World Geodetic System 84 (WGS84) reference.",
|
||||
"disable_correlation": true,
|
||||
"ui-priority": 1,
|
||||
"ui-priority": 90,
|
||||
"misp-attribute": "float"
|
||||
},
|
||||
"longitude": {
|
||||
"description": "The longitude is the decimal value of the longitude in the World Geodetic System 84 (WGS84) reference",
|
||||
"disable_correlation": true,
|
||||
"ui-priority": 1,
|
||||
"ui-priority": 89,
|
||||
"misp-attribute": "float"
|
||||
},
|
||||
"altitude": {
|
||||
|
@ -66,9 +67,23 @@
|
|||
"description": "Country.",
|
||||
"misp-attribute": "text",
|
||||
"ui-priority": 1
|
||||
},
|
||||
"epsg": {
|
||||
"description": "EPSG Geodetic Parameter value. This is an integer value of the EPSG.",
|
||||
"misp-attribute": "text",
|
||||
"ui-priority": 70
|
||||
},
|
||||
"spacial-reference": {
|
||||
"description": "Default spacial or projection refence for this object.",
|
||||
"misp-attribute": "text",
|
||||
"disable_correlation": true,
|
||||
"values_list": [
|
||||
"WGS84 EPSG:4326",
|
||||
"Mercator EPSG:3857"
|
||||
]
|
||||
}
|
||||
},
|
||||
"version": 2,
|
||||
"version": 3,
|
||||
"description": "An object to describe a geographic location.",
|
||||
"meta-category": "misc",
|
||||
"uuid": "fdd30d5f-6752-45ed-bef2-25e8ce4d8a3",
|
||||
|
|
Loading…
Reference in New Issue