xy coordinate to map point
I collect a result from an database table. This can contains 1000+ rows with X,Y and other attributes. I want to present the rows as mappoint with the attribute. Have anyone any suggestion how this can be solved.
Best regards
Jan-Henrik Nilsen
0
-
Hi Jan-Henrik,
In the HTML5 viewer, there is an Upload Data tool that allows you to upload a table (such as an Excel or CSV file). So if you export your database table into one of these files, you can then upload it into the viewer using that tool and it would convert your coordinate points into mappoints for you.
If you want to feed the database table directly into the viewer without any exports, then your other option would be to create a workflow. It would read the database table using the SQL Query activity, then convert your rows into mappoints by using a series of Assign activities and then add that to the map using the UpdateGraphicsLayer activity or a command called "AddMarkup" in a RunExternalCommand.
I hope this helps.
Carmen0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
1 Kommentar