Skip to main content

Comments

45 comments

  • Permanently deleted user

    James,

    I ran the site you posted - and it seemed ok until it tried to present the values. I'm not sure why you guys need to double click like crazy. Simple single double click on your site and off it went trying to compute the profile. I did however get a flatline of red dots - not too dissimlar to what I get on my profiles where it thinks there is "NoData"!   as you can see on the top of your profile chart..

    With my setup - I do get the noData points also - but obviously not as many! and it can vary too... sometimes half the profile is red dots, other times it isn't too bad as the attached screen shot shows. So given the amount of red dots / NoData spots on your profile I'd suggest it's the DEM. I have not had time to go and investigate our DEM to find where the noData spikes are coming from, but will get around to it eventually.

    It's weird as you have pretty much the same settings as we have - I compared your REST endpoints to ours and can't see anything wrong with the DEM, it even tells you how long the distance is in the profile, but I hazard a guess it's when it goes to retreive the data it's having issues - which is what's happening with ours. I'll be testing the tool on one of the Charlotte, or ArcGIS online DEMs to see if they are any better.

     

    sorry I could not help that much  more questions than answers!  But just thought I'd share my experiences with it. BTW - it has a little quirk in that once you run the profile you are presented with a flat line! but simply resize the dialog a little and it will stretch the profile to it's correct elevations! 

     

    /customer/servlet/servlet.FileDownload?file=00P6000000e886nEAA

    0
  • Permanently deleted user

    @James

    I'm not quite experiencing the problems you are -- I can certainly use the tool on the map you provide, and a single double click should be all that is required to finish the line. One thing though -- it is quite hard to tell where the DEM is on the map. I was able to find a valid location by trial and error, but you might consider including a visible bounding rectangle on the map, if not the DEM itself, so that it is easier to tell where the data is.

    @Gareth

    There's three possible reasons for 'NoData' in the results -- either a line was drawn off the boundaries of the DEM, or the DEM actually returned this value at that location (which they do sometimes), or the identify request to ArcGIS Server timed out before returning a result. It doesn't look like the first one applies from the picture you attached, so if the tool appears to 'hang' while it waits for a missing point (you'll see that it is missing from the line of dots that display while gathering data) then it is ArcGIS Server -- try reducing the number of sample points until your infrastructure can handle it. I strongly suspect that this is what is happening for you, as the way the tool works right now a resize event will trigger the profile line to draw, whether the point collection is complete or not.

     

    0
  • Permanently deleted user

    Jonathon,

    Interesting points to pursue - thank you.

    The process though seems to run very smoothly - ie. it does not hang at any point waiting to retrieve data, but I will take look at less sampling and see if that makes a difference. Will that then mean the results will populate the dialog correctly without needing to resize the dialog/form? or from what you say - it seems to rely on a resize event - and if so I hazard a guess there is a valid reason for this, as it's not that intuitive for the general user that's all.... 

    It's a nice tool that certainly will get a work out around here!

    cheers

    Gareth

    0
  • Permanently deleted user

    Hi Gareth and Jonathan

    I have ended up getting the same sort of result. I even doubted my DEM when I was getting a 'dotted' horizontal line so I created a new one.

    Unfortunately I can't try a resize of the dialog as something is stopping that dev site from opening and I am out of office currently.

    Thanks

    Ralph Price

    0
  • Permanently deleted user

    Thanks everyone for your quick reply.

    I must say that I'm a little surprised that everyone said they got positive results while testing my site. Nothing really happens when I double-click after drawing a profile line. The diagram box comes up after a little clicking, but it doesn't seem to have received the data through the line profile, but rather a single point; hence the 'Total line distance is 0,00 meters'. See diagram:

    /customer/servlet/servlet.FileDownload?file=00P6000000e88EkEAI

    @ Johnathon

    The DEM is located in the middle of Norway, in the counties of Møre og Romsdal and Sør-Trøndelag (you should be able to find these after zooming in a little bit). I'd appreciate it if you could post a picture of the diagram to obtain through running the profile tool on this site.

    Thanks

    James

     

    0
  • Permanently deleted user

    @James

    I suspect a localization issue then. This won't have been tested against numbers with commas, and that could certainly throw it for a loop. The people testing and having success don't use commas. If I get a chance I'll see if I can take a look at this, but it might not happen quickly -- sorry! 

    @Gareth

    No, it does not require a resize to work -- something is hanging it up before it completes the profile line. I'd check Fiddler first to see what is going on there. Even though this is 'unsupported', you are welcome to open a support request for a more in depth look, if that makes any sense ;) If enough bugs and quirks can be verified and tracked down I'll see about a new version that might bring this out of  'alpha' status. 

    On a related note -- what this needs most right now is testing against a wide variety of DEMs, so if anyone has publicly available services I'd love to test against them. Please let me know if you do.

    0
  • Permanently deleted user

    @Jonathan, 

    I could possible give you secured services with DEM data.  Get in touch.

    Brad

    0
  • Chris Dunlop

    I've got the Profile tool up and running on https://webmaps.orcity.org/maps/index.html?Viewer=OCWebMaps (in the Measure tab).

    DEM service is at http://webmaps.orcity.org/ArcGIS/rest/services/DEM/MapServer

     

    Chris

    0
  • Permanently deleted user

    Hi Chris

    I gave it a try and interestingly the popup appeared, the profile line was gradually rendered as a horizontal line (starting at the left) and once it finally got to the right of the 'drawing area' it figured out that it had to re-render and showed the correct profile. Being able to see the rendering could be related to my current internet connection and netbook being used today.

    Very nice icon for the tool. Is the gif / png available for sharing?

    Thanks

    Ralph

     

    0
  • Chris Dunlop

    Hi Ralph.  I didn't customize the profile code at all - it's what was downloaded directly from the sample.

     

    I can't remember where I stole the icon from.  I've put a copy at https://webmaps.orcity.org/elevation.png which you can grab.

     

    Chris

    0
  • Permanently deleted user

    @Ralph

    That is actually how it works right now. Since sampling many points can take a long time, it displays this as a visual indicator of processing so you know that something is actually happening. Open to suggestions on how this could be improved though. 

    0
  • Permanently deleted user

    @ Chris,

    thanks for sharing up the image - much appreciated. Would you also mind sharing your viewer settings for the intervals and no. sample points etc.

    I've just run yours and it runs well and even opens up the profile - mine's getting stuck on a few NoData entries and opening the actual profile without having to resize the dialog. 

    @ Jonathon - thanks for the suggestion. 

    cheers

    Gareth

    0
  • Permanently deleted user

    Thanks very much Chris

    Much appreciated. Always on the hunt for nice icons at a very low cost

    Ralph

    0
  • Permanently deleted user

    Hi Jonathan

    I guess one other way is the Silverlight BusyIndicator with a textual incation of progress ie 10% of 100% Having that may require less client updates as far as redraws etc only updating as a given percentage is reached since the code will know how many samples are being collected.

    Just a thought

    Ralph

    0
  • Chris Dunlop

    @Gareth

     

    <Libraries>

     

        <Library Id="ProfileTool" Uri="../../../SilverlightViewer_AddIns/ProfileTool/ProfileTool.xap" AssemblyName="CustomModule, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" ClassNameTemplate="CustomModule.{_ModuleName}.{_ModuleName}{_Type}" />

     

      </Libraries>

     

    In the <Modules> section:

    <ProfileTool LibraryId="ProfileTool">

     

          <Views>

     

            <View Id="ProfileToolView" Region="BottomMapRegion" />

     

          </Views>

     

          <Configuration DEMServiceUrl="https://webmaps.orcity.org/ArcGIS/rest/services/DEM/MapServer" DEMLayerID="0" DEMUnits="feet" SamplePoints="200" GraphInterval="100" />

     

        </ProfileTool>

     

    Good luck!

     

    Chris

    0
  • Permanently deleted user

    Thanks Chris...

    much appreciated..

    0
  • Permanently deleted user

    @ Jonathan

    Hi

    Did you ever manage to look at that comma problem? I agree with you that the problem probably lies there. I have changed the regional and language default setting to '.' and ArcGIS is now using that. However it would seem that Silverlight is still running on commas.

    I'm not sure how to fix this.

    You can see the problem on this sample site: http://test.gisportalen.no/silverlightviewer_1_5/index.html?Viewer=DEM_test

     

    Thanks

    James

    0
  • Permanently deleted user

    @James

    For what it's worth, your demo site is running perfectly here. It's clearly some sort of internationalization issue, but I'm not sure what you haven't done that you could have. There don't seem to be any explicit language settings in your Viewer launch page, so it should be picking up whatever is set on the client machine where it is run (as it does seem to be).

    You can force a region setting on the Viewer by adding some lines to the parameters that you will find in the Viewer.html or Index.html pages:

    < param   name ="uiculture"   value ="en-US"/>           

    < param   name ="culture"     value ="en-US"/>

    These will force the Viewer to en-US (or whatever other setting you like) no matter what the client computer is set to.

    0
  • Permanently deleted user

    @ Jonathan

    Thanks for that tip; I can now see that there is full stop instead of a comma. However it hasn't fixed the problem!

    I can draw a transect and double click so that it turns blue, but then nothing happens after that. It's only when I click several times on the same spot that the chart pops up, but showing a total distance of 0.00 meters.

    I'm I using the right type of DEM (GRID), you can find it here: http://test.gisportalen.no/ArcGIS/rest/services/DEM_stor/MapServer

    Thanks for your help

    James

    0
  • Permanently deleted user

    Since this seems to be the most active thread on the Profile Tool, I'll post my quick question here... Sorry to hijack.

    But does the profile tool NOT run on a map service published in ArcGIS Server 10.1? It runs fine on a server running 9.3.1. 

    Has anyone contacted the developer to see about support for AGS 10.1?

    0
  • Permanently deleted user

    We are very sorry, but this tool is not currently compatible with 10.1 hosted DEMs. We hope to update it at the earliest opportunity, but I cannot say when this will be right now.

    0
  • Marc Rempel

    For what it is worth, I have found that I can use this service from ESRI for the profile tool, though it may not be at a sufficient resolution for you, it has been sufficient for my purposes.

    <Configuration DEMServiceUrl="http://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer" DEMLayerID="2" DEMUnits="feet" SamplePoints="100" GraphInterval="100" />

    Regards,

    Marc

    0
  • Permanently deleted user

    Thanks Marc/Jonathan! That should work fine for now.

    If I could get the linear distance measurement to reproject to a better measurement projection, it would be perfect!

    0
  • I took a look at that workflow as well and got stucked with DEM and Elevation layers too.

    It would be great if that tool could integrate the new Elevation Services released by Esri http://blogs.esri.com/esri/arcgis/2014/07/11/introducing-esris-world-elevation-services/ !

    Just to make this post even more spicy!

     

     

     

    Guido Sitta

    GeoGraphics srl - Italy

    0
  • Permanently deleted user

    We don't have any of the sample sites loaded on our server, so I suppose if those were loaded it would shed some light on some of the questions I have about it.

    First, it requires that a chart be configured on the elevation layer? How is that even possible? The Elevation dataset is a raster, I don't see a charting option for a DEM/Raster...

    In the workflow, it maps an Elevation Point Layer within a map service that was provided as an argument to the workflow. What is this? Where is it coming from?

     

    Again, it would be helpful if we had the LA site loaded... Does someone have a working LA sample site I could load so I could use fiddler to intercept some information? I'd be happy to work with someone to get this working and document it.

    0
  • Permanently deleted user

    Ah, I see the Elevation Point layer... Still unclear how it fits into the mix. I assume that perhaps this layer is the one used for charting.

    http://agsdemos2.geocortex.com/arcgis/rest/services/LosAngelesCounty/Dynamic/MapServer/4

    0
  • Permanently deleted user

    Yes, this is a point layer that is used to temporarily store the elevavtion points used for the profile chart.  So you need to create a similar layer in your map service, and need to make sure to have Dynamic symbolization enabled for this layer.

    The layer needs to have the following fields:

    Fields:

    OBJECTID ( type: esriFieldTypeOID )

     

    Shape ( type: esriFieldTypeGeometry )

     

    Elevation ( type: esriFieldTypeSingle )

     

    Distance ( type: esriFieldTypeDouble  )

    Once you have the layer added, you will add a chart to it that has the elevation and distance series added to it to create the profile. 

    The workflow will take care of filling in the values used for the chart series.

    I agree that would be nice if they provided some documenation, else you need to go in a reverse engineer a bit...

     

    0
  • Chris Roberts

    I am trying to look dissect the work flow to see how everything fits...agree with all the other comments that some more detailed documentation on how to implement this tool would be really useful.

    0
  • Permanently deleted user

    So, a useful way to dissect is to copy the LA County demo site into your Sites folder.  This will let you get the tool running with Geocortex's LA County demo map services, then you can see what pieces you need to run on your own site.

    Copy the folder:  C:\Program Files (x86)\Latitude Geographics\Geocortex Essentials\Default\REST Elements\Sample Sites\LA_County

    into the Sites folder with your other sites:

    C:\Program Files (x86)\Latitude Geographics\Geocortex Essentials\Default\REST Elements\Sites

    Once you've done this you can open the site in Manager. Go to the Workflows window and click to edit the ProfileTool workflow.

    Click "Next"  and you will get to the main workflow parameter configuration window, this will let you see the map services you will need and some other inputs needed:

    /customer/servlet/servlet.FileDownload?file=00P6000000em1mAEAQ

    • GeometryServiceUrl:   http://agsdemo.geocortex.com/arcgis/rest/services/Utilities/Geometry/GeometryServer
      • You should point this to your own ArcGIS Serer geometry server endpoint, needed for reprojetions, etc...
    • NumberOfSamples:  100
      • this is where you set the number of sampling points to use along your transect 
    • ElevationPointMapServiceId:  Dynamic
      • This is the ID or Name of the Map Service where your ElevationPoint Layer is served. In this example, Latitude has the ElevationPoint layer in a map service named "Dynamic" 
      • So, if you look at the ArcGIS Rest Endpoint ( http://agsdemo.geocortex.com/arcgis/rest/services/LosAngelesCounty/ ) you will see it:
      • /customer/servlet/servlet.FileDownload?file=00P6000000eluLvEAI
      • And in that layer they have their "Elevation Points" layer:
      • /customer/servlet/servlet.FileDownload?file=00P6000000eluEuEAI
      • You will need to create  an Elevation Points layer in one of your map services (e.g. you will need to create an empty feature class in SDE or geodatabase and add to your MXD for map service) and it has to contain the fields as described in my earlier post.  You also need to make sure that the map service has dynamic symbolization enabled under the map service properties.
    • ElevationPointLayerName:   Elevation Points
      • This is just the name of the Elevation Points map layer (you can actually call it something else if you want)
    • DEMUrl:   http://agsdemo.geocortex.com/arcgis/rest/services/LosAngelesCounty/LA_DEM/MapServer
      • This is the URL to the map service that has the DEM Raster layer you want to use
    • DEMLayerID:   0
      • This is the layer number of the DEM within the Map Service (in this example, the DEM is the first layer in the service, so is Layer "0")

     

    Once you have these layers all set up in your site, you need to create and configure a Chart for the "Elevation Points" map layer.    

    So, go to Map > Layer: Elevation Points > Add Chart   ----> name it  "Profile"       ,   you can look at the details of  how it is configured in the sample LA County site (sorry I'm out of time for tonight to go into more detail...).  

    Once you have all these things set up,  you can add the workflow to viewer button or I want to Menu and it "should" run in.     We finished debugging ours today and have it running on both silverlight and HTML5 viewers, so I can confirm that is possible... so let me know if problems encountered and I can try to help out based on our experience.

     

     

     

     

     

     

    0
  • Permanently deleted user

    Thanks Pascual, that's exactly what I needed. Appreciate your time!

    0

Please sign in to leave a comment.