HTML 5 Copying Feature from Feature Layer
I have a feature layer with some features, I would like to copy one of the features there is a box for this in manager... the box is checked however I don't see the option to copy a feature anywhere on the interface is the some magic to make this happen or it does not work in the HTML 5 viewer yet?
0
-
Hi Cattyann,
Unfortunately the copy feature functionality is only available in the silverlight viewer at this time. It should eventually be supported in the HTML5 viewer as we reach for feature parity between silverlight and html5, but the copy feature functionality has yet to be prioritized for a release so I cannot give an estimated time of arrival.
Cory Purnell
Latitude Geographics Quality Assurance Team0 -
This would really help us here in California for a statewide invasive insect trapping project that Latitude is assisting us with.
We require trapping sites to be created by either digitizing a polygon or selecting a parcel to "copy and paste" into the sites layer.
Currently trying to find a work around. Are there any workflows that could do it? If this could be prioritized it would really help for this project that is in the pipeline.0 -
Thanks for answering, Cory.
It would be useful if there was an indication in the Essentials Manager or the Administrator and Developer guide that this is only available in Silverlight for now.0 -
Would this be possible to do with a workflow? For some reason, I am guessing it wouldn't be.
Silverlight Viewer is not maintaining our domains (apparently a known bug) so had to switch to HTML Viewer. But now there aren't the same options for editing. *sigh*
Carmen0 -
Marshall Boyd, I used your worflow to copy features and it works great. Thanks for sharing it overhere. However, I was trying to figure our how to copy feature from more than one layer? Any suggestions would be appreciated. Thank you. 0 -
Nataliya,
There are a couple logic issues you may need to tackle when going this route. Are all the features that you want to copy the same geometry type? Are all the attributes of the copied features the same as the copy to features?
I have put an example of how to fix the attribute issue in a commented out section of the workflow below. This workflow is currently untested, but it is the logic I would use to do what you are looking for. If you have more questions, feel free to email me at mboyd@miottawa.org and I'd be glad help.
Sorry, the code is too long, so I placed it on github: https://github.com/marshboyd/Geocortex_workflows/blob/master/copyFeatures_Advanced.xaml
You can either download the folder of all the workflows as a zip, or just copy and paste in notepad and save as 'yourfilename'.xaml to open in workflow designer.
Marshall0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
6 Kommentare