Can you add local cooridinate systems on the drop down for import data from csv?
Can you add local cooridinate systems on the drop down for import data from csv?
Currently it only have lat long and Current Map Coordinate system.
Thanks,
Dibya
0
-
Hi Dibya
This is what I did to add extra spatial reference options when importing data from a csv/xlsx
Open the Desktop and Tablet .json files for the viewer in the viewers directory i.e.
\\GeocortexInstance\Sites\SiteName\Viewers\ViewerName\VirtualDirectory\Resources\Config\Default
Find the "sourceSpatialReferences": reference and add the following (obviously your spatial references will be different depending on your region)
"sourceSpatialReferences": [
{
"label": "Geographic (Long/Lat)",
"spatialReference": {
"wkid": 4326
},
"preselected": true
},
{
"label": "Web Mercator",
"spatialReference": {
"wkid": 102100
}
},
{
"label": "MGA Zone 52 (Easting/Northing)",
"spatialReference": {
"wkid": 28352
}
},
{
"label": "MGA Zone 53 (Easting/Northing)",
"spatialReference": {
"wkid": 28353
}
},
{
"label": "MGA Zone 54 (Easting/Northing)",
"spatialReference": {
"wkid": 28354
}
},
{
"label": "Maps Current",
"map": true
},
{
"label": "Custom",
"custom": true
}
]
Hope that helps.
Cheers
Chris0
Please sign in to leave a comment.
Comments
1 comment