Display Featureset
Hi all,
My users needs the possibility to import a shapefile and click on the layer to see the attribute values.
The default functionality "upload data" is not working for me, because when selecting a .prj file there is a error message all the time (and the options for name and color are not needed). Ignoring the .prj file is no problem, I know the projection of the shapefile and it is the same as my map.
I've created a workfow in which I use ShapeFileToFeatureSet to import the shapefile, I then have a FeatureSet.
The question how do I display this featureset and make it clickable. Now I UpdateGraphicsLayers, but that only gives me the geometry and not the attributes.
Is there a possibility to somehow show the featureset directly (without putting it in a grapicslayer) or to let the grahicslayer be clickable with all the attributes attached.
Ronnie
0
-
Hi Ronnie,
The only way to add a shapefile to the layer list would be to use the Upload Data tool. Your .prj file issue may be something to do with RD_New projection for the Netherlands. Are you using this spatial reference? Since version 4.9 of Essentials, we have improved support for this (and other) spatial references.
In a workflow, you can make your attributes visible from a featureset by selecting the featureset using the "SelectFeatures" activity. It does not add the layer to the layer list, but the attributes can be seen for each feature.
Thanks,
Marion.0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
1 kommentar