Profile tool
Trying to implement this workflow in my site:
https://support.geocortex.com/profile-tool
Can anyone explain bit more about this:
This workflow assumes that there is an Elevation layer included in your Essentials site?
Jan-Henrik
-
Thank you this was very helpfull in understanding how this tool is setup using the workflows.
I have completely setup the workflow and feel that I have all of the perameters setup properly and I am recieving an error that I am hoping someone has recieved before and can help me trouble shoot.
/customer/servlet/servlet.FileDownload?file=00P6000000elteSEAQ
It appears to be throwing it when it is casting the objects in the dynamic layer but I can find no reason why. The layer is in a dynamic enabled map service and functions fine otherwise. The workflow configuration is slighlty different now then the example that is not an issue since the biggest difference is that it expects the DEM to be loaded in the map as a service and requests the layer names and service ID's.
Has anyone seen this error before for this tool? Any suggestions?
Thanks for any help
0 -
At first I tried using an image service (ImageServer) of our DEM and I was getting the same error. Then I republished the DEM as a regular map service (MapServer) and I also changed the ElevationPointMapServiceId input argument to the actual Geocortex Essentials map service number id (i.e. "28") instead of the name of the service ("Elevation Points"). The workflow works now. See Below:
/customer/servlet/servlet.FileDownload?file=00P6000000eltoDEAQ
The problem I am having is that the elevation units on the chart are correct but the distance units are incorrect. They are still showing in meters instead of feet. I published the DEM map service in its native projection which is NAD_1983_StatePlane_Georgia_West_FIPS_1002_Feet but the distance units are still showing up on the chart as meters. Is there somewhere in the workflow that is affecting this measurement? Any help would be greatly appreciated.
0 -
Nevermind you can set the unit of the transect length in the DistanceTask under the Calculate Distance Sequence.
0 -
Has anyone figured out how to use an actual feature like "trails" in this workflow to get the profile instead of drawing the transect line? Right now I have switched the workflow up a bit and instead of using the DisplayCaptureGeometry activity I am using a DisplayForm so users can select a trail from a service. Then I am submitting that result to a Query task and taking the geometry of that feature set and assigning the value to the polyline variable in the "Line to Transect Featureset" sequence. The workflow seems to be working for the smaller trail segements we have in the county. However some of the larger trails are throwing a server error when the workflow gets to the DownloadString activity where a densify query is being submitted to the ArcGIS Geometry Server. The error is "Invalid URI: The Uri string is too long." Below is a snapshot of just a small portion of the query that is being submitted to the Geometry Server REST Endpoint. I think the problem is that some of these larger trails have several hundred vertices. If anyone has tried to implement getting profiles for features instead of drawing the cross section I would love some advice. Thanks in advance.
/customer/servlet/servlet.FileDownload?file=00P6000000em1LoEAI
0 -
HI Robert, I agree with your assessment that the longer trails have too many vertices and thus you are exceeding the number characters that can be passed in the URI string. One possible approach would be to use a Simplify geometry call before it is passed in inorder to reduce the length of the geometry array before it is passed along into the Geometry server again for densify. You may lose some spatial resolution in the trail geometry, but may be a work around.
0 -
I thoough I'd add my 2c worth (maybe a bit extra) after mucking around with this tool these last couple of days.
It would seem there are two different workflows doing the rounds...
1. From the Code-gallery I've got up and working in th GVS 2.4, but it's not working all that well in GVH 2.4, with really sporadic results being charted.
2. The LA County Demo site that's installed by default has a ProfileTool.xaml also, and this seems to be the better option. There's one tweak to make and that's changing the ElevationPointServiceId to a Number - which Robert has pointed out, and this workflow is working well in both viewers!
so stick with the installed demo version, not the Code-Gallery one, would be my quick suggestion!
looks good!
GF
0 -
I believe I have the workflow and layer set up correctly but I'm getting an error. Anyone have any idea what the problem is?
(/customer/servlet/servlet.FileDownload?file=00P6000000em1U1EAI) /customer/servlet/servlet.FileDownload?file=00P6000000em1U1EAI
0 -
I'm trying to find a Profile Tool for the HTML5 Viewer. Is one available? When I click the link on this page, https://support.geocortex.com/profile-tool, I get a 'Page not found' error. 0 -
Hi Mark,
Check out the LA County sample site that ships with Essentials. The last tool in the Wokflows section of the toolbar is the Profile Tool for GVH.
Regards,
Wayne Richard
Latitude Geographics Group Ltd.
Head Office: 300 – 1117 Wharf Street Victoria, BC Canada V8W 1T7
Tel: (250) 381-8130 | Fax: (250) 381-8132 | wrichard@latitudegeo.com
Developers of Geocortex web-based mapping software | www.geocortex.com
An Esri Platinum Business Partner0 -
Hi Wayne Richard (https://support.geocortex.com/GSCProfile?communityId=09a6000000008Qu&userId=005600000054mKW&showHeader=false) ,
I tried the workflow on both LA County and my test site and got the attached error, what might be the issue here?
_img_ alt="User-added image" src="https://latitudegeo--c.na53.content.force.com/servlet/rtaImage?eid=907f2000000kAdU&feoid=Body&refid=0EMf2000000fzX8" _/_img_
_img_ alt="User-added image" src="https://latitudegeo--c.na53.content.force.com/servlet/rtaImage?eid=907f2000000kAdU&feoid=Body&refid=0EMf2000000fzXD" _/_img_
error: http://localhost:6080/arcgis/rest/services/dem/MapServer/identify?geometry={0}&geometryType=esriGeometryPoint&layers=all:0&tolerance=1&mapExtent=152945.471919405,95977.4199360266,159464.956466699,98058.4332603101&imageDisplay=1698,542,96&f=json
One more issue on my test site, the distance values is not clear, what might be the issue here?
_img_ alt="User-added image" src="https://latitudegeo--c.na53.content.force.com/servlet/rtaImage?eid=907f2000000kAdU&feoid=Body&refid=0EMf2000000fzXI" _/_img_
Thank you in advance
Best
Majdoleen0 -
Hello Majdoleen,
Is the Alert something you added or was it already in the workflow? From what I can see it doesn't display anything except an http request? Did you try the request in a browser on the server?
The labeling issue is a known issue, I would look to using Reporting 5 to resolve it.
Regards,
Wayne Richard
Latitude Geographics Group Ltd.
Head Office: 300 – 1117 Wharf Street Victoria, BC Canada V8W 1T7
Tel: (250) 381-8130 | Fax: (250) 381-8132 | wrichard@latitudegeo.com
Developers of Geocortex web-based mapping software | www.geocortex.com
An Esri Platinum Business Partner0 -
Hi Wayne,
The Alert is something in the workflow, you can find it when trying the LA county sample site, the labeling issue is solved when minemizing the number of sample, but how to disable the alert message?
Any suggestion?
Thank you
Best
Majdoleen0 -
It looks like it may have been left in by accident. Edit the workflow and in the top search box, search for 'alert'. You will find one alert activity and the text in it is "identifyTaskUrlBase". Simply delete the alert.
Regards,
Wayne Richard
Latitude Geographics Group Ltd.
Head Office: 300 – 1117 Wharf Street Victoria, BC Canada V8W 1T7
Tel: (250) 381-8130 | Fax: (250) 381-8132 | wrichard@latitudegeo.com
Developers of Geocortex web-based mapping software | www.geocortex.com
An Esri Platinum Business Partner0 -
Thanks Pascal. Working good in both SL and HTM5. 0 -
There was a workflow error running activity: Exception has been thrown by the target of an invocation. Workflow 'Profile_Tool' failed Unhandled exception: 'The given key was not present in the dictionary.' in activity '1.55: If'. The given key was not present in the dictionary 0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
45 Kommentare