Add photo when creating feature?
It seems the only way to attach a photo to a feature is to select it after it's been created and add an attachment. Correct? I'd like to add it when the feature is created and the other attributes are being populated. Is that possible?
0
-
+1.
I don't believe there is a way to do this in the default editing behavior. As in not using configuration. We've been trying and honestly have an expectation that LG will already have it noted as a usability issue in the next two viewer releases.0 -
Rebecca,
What is your end use for this and how are you taking the photo (ie location enabled tablet/handheld)? Also are you trying to create a point and attach a single photo of that point on creation?
The reason I ask is I have a module I wrote that will read the EXIF data from the photo to get the lat long, pass that information into a workflow that creates the feature based on the lat/long, then adds the photo to the new feature. If there isn't any lat/long information it allows the user to click on the map where they would like the new feature created. I'm sure it can be adjusted to suit your needs if that is something you'd be interested in.
Marshall
Marshall0 -
We have a field crew who will be capturing point features with a tablet and my hope was that they'd be able to take a photo when they are entering attributes for the new feature. Your workflow sounds interesting. If you'd care to share it, I'd like to take a look at it. I'm hoping this feature will be included in a new release soon. It's a big deal for field crews. 0 -
I would be interested in seeing that workflow too. 0 -
Nice work!
An improvement would be to read the EXIF gps coordinates from the jpeg binary file, so the user does not neet to "plot" his point on the map.
_img_ alt="Jpeg Exif after the "Exif" 4-letter tag" src="https://latitudegeo--c.na53.content.force.com/servlet/rtaImage?eid=907f20000000S0p&feoid=Body&refid=0EMf2000000E3ma" _/_img_0 -
Hey Frederic, here is a sample from a workflow I use to do exactly that: https://github.com/marshboyd/Geocortex_workflows/blob/master/readExif.xaml
Basically, this allows the user to find a jpg photo that has exif data, reads it, and displays the information that was found.
Then a point feature is created from the lat/long found, attributes added, and added to a feature service.
Once the feature is created, an attachment (the photo with exif data) is added to that feature.
Hope this helps,
Marshall0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
6 kommentarer