Use geometry from uploaded data
Hello,
I would like to know if it's possible to use a geometry from any uploaded data in a query. I don't know how to select it (wf5).
Thanks in advance!
-
Hello Franco Panico
You can use the Get Graphics activity https://docs.vertigisstudio.com/workflow/latest/help/Default.htm#wf5/help/activities/get-graphics-layer-features.htm
Check the Graphics Layer Activities sample workflow in https://gedemo.geocortex.com/Html5Viewer/index.html?viewer=GXWF_Sample_Site.GVH
Workflow URL https://latitudegeo.maps.arcgis.com/home/item.html?id=2ba579550636432a9cd38bfab298332e
In this sample workflow, the results of a query will be added to a markup layer as a point over Texas, clear the markup, then have their information displayed in an Alert.0 -
Hi Nico,
Thanks for your quick reaction.
I have already seen that workflow, but my problem is that the Get Graphics Activity asks for a layer ID, but i don't have any (it's not a markup layer as far i can see, the Add Graphics uses a markup layer ID).
0 -
What is your viewer, GVH (HTML5) or Web (Viewer module)?
I expect the layer ID is the name of the uploaded file.
For Geocortex Essentials Vorkflow (WF4) I'm sure it's possible to use the geometry of uploaded data. I would expect is it also possbile with Workflow.
0 -
We use HTML5. I think that the layername is something like *.local (it's in the graphicsLayerIds-attribute). Maybe it's possible to use a a wildcard? Or should i use another attribute?
0 -
How was this data added? Upload Data ('Uploaden gegevens'), Add Layers ('Toevoegen kaartlagen') or the Layer Catalog ('Kaartlagencatalogus') function?
No it's not possible to use a wildcard to find a graphics layer.
0 -
With Uploaded Data (shapefile mostly).
0 -
We use the 'Shapefile to Features' activity from the free geoWidgets activity pack. They even have an example workflow that does exactly what you are looking for on the page below.
0 -
Hi Matt,
Thanks for your help, i didn't know that this site even existed (although i get a security warning when opening this site...), but i will have a look into it!
0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
8 kommentarer