POST
|
Hi Michael, I just wanted to add that you can use your organizational account with the arcgis.com map viewer to solve your problem. Create Drive-Time Areas This blog post shows how you can use the Create Drive-Time Areas tool to see the range of electric cars, but it's the same for any kind of driving range: http://blogs.esri.com/esri/arcgis/2013/12/27/33975/ Notes: 300 miles happens to be the max distance you can solve with the Create Drive-Time Areas tool. Any larger and you'll get an error. We hope to increase this limit in the future, but there are several technical hurdles to do that. Since the range is so large, it will take a long time to finish. Expect to wait up to an hour, especially if you choose the 'Split' option since that takes the longest to calculate. 'Overlap' is the quickest. Summarize Within Once you've created your drive-time areas, you can perform the Summarize Within analysis on the layer output by the drive-time tool. (Point to the output layer in the TOC of the map viewer, click the drop-down arrow, choose Perform Analysis, click Summarize Data, and click Summarize Within.) I hope the tool and the pop-up help is clear enough to get you through the task of counting stores, but if not, just send us any questions. Note that instead of running two tools, you have the option of running just one: Summarize Nearby, which is right above Summarize Within tool. I recommend the two step process, however, since your 300-mile range is at our max limit. Your Data There are many ways to add your data, from dragging and dropping a CSV of lat/longs or addresses into the map, to publishing an ArcMap doc of layers as hosted feature services, to uploading shapefiles. You mentioned shapefiles, so if you want to upload them to your My Content page, so you can then add them to a map and perform an analysis...first, create a zip file on your machine, drag and drop all the shapefile files into the zip file, then upload the zip file from your My Contents page. I hope that's helpful. Good luck! Robert
... View more
01-15-2014
07:12 AM
|
0
|
0
|
437
|
POST
|
I think it worked. I'm using the compiled version of ArcGIS Viewer for Flex 3.6, so in case another newb hits this problem, here is exactly what I did. Sorry for the verbose response but I wanted to post this on the off-chance that someone needs a very very simple and obvious step-by-step as a non-developer. 1. Downloaded trial version of Flash Builder 4.7 from Adobe website onto the server where I use ArcGIS Viewer for Flex normally 2. Downloaded Adobe Flex SDK 4.6 from Adobe, which I think was unnecessary because Flash Builder already seemed to have it. Unzipped in C:/Documents. 3. Downloaded Flex API 4.6 library from ESRI and unzipped in C:/Documents 4. Downloaded and DID NOT UNZIP the MASTER source code (see next step) for ArcGIS Viewer for Flex 3.6 from GitHub as a zip file to C:/Documents 5. Backtracked and followed these instructions carefully: http://resources.arcgis.com/en/help/flex-viewer/concepts/ 6. Once the FlexViewer project was imported to Flash Builder (see step 5) I ran it with the green Play button and it launched successfully in a browse. 7. From here, in the FlexViewer project folder created by FB (C:\Users\[me]\Adobe Flash Builder 4.7\FlexViewer) I found the index file that needed editing (C:\Users\[me]\Adobe Flash Builder 4.7\FlexViewer\html-template\index.template) as well as MapManager.mxml (C:\Users\[me]\Adobe Flash Builder 4.7\FlexViewer\src\com\esri\viewer\managers\MapManager.mxml) and edited it in Notepad++. I took the changes from the Forum post listed above: http://forums.arcgis.com/threads/57121-browser-cache. Finally I copied in Eric's 3.6 ConfigManager.as to overwrite the one in there (C:\Users\[me]\Adobe Flash Builder 4.7\FlexViewer\src\com\esri\viewer\managers\ConfigManager.as). 8. I refreshed the FlexViewer project in Flash Builder (I had no idea what I was doing but I had changed files so I figured I should) and then I hit the green play button. A dialog ran saying it was performing a build and mentioned compiling, so I waited. 9. When it was done I went to the output folder for the project to copy what I hoped were the compiled files (C:\Users\[me]\Adobe Flash Builder 4.7\FlexViewer\bin-debug), where bin-debug is that default output folder. I was slightly disturbed that the files' last updated times were from earlier and not since the latest project build...but I moved on, partly because earlier I had also manually changed the index.html file in this folder in addition to the index template. 10. I coped the index Shockwave Flash Object file, and all of the .swz extension files, from the FlexViewer project folder. I then went to my app folder for the web map I had already created using the compiled ArcGIS Viewer for Flex (C:\inetpub\wwwroot\Apps\exampleMap) and overwrote its files with these ones. I tested it in Chrome and after hitting refresh the map was updated with a change I had made in the logo.
... View more
02-21-2014
02:56 PM
|
0
|
0
|
279
|
POST
|
If it is a shapefile, it is vector data...I will move this thread to the geoprocessing forum where it may get more traffic With vector data I always convert from a shapefile to a file geodatabase as the first step I do. Performance increases dramatically and I refuse to work with shapefiles any more. No one would use shapefiles in any significant geoporcessing operations if I had my way. Second, I would create two layers based on the same feature class, with one having a definition query where Productivity = 5 and the other had a definition query where Productivity = 1. Give the layers slightly different names to make it clear which layer contains which data (High Productivity and Low Productivity for example). Use a Spatial Join to intersect these two layers using the One to Many option and 0 tolerance. Keep only shapes that intersect, not all of the target shapes. This will pair all shapes with productivity of 5 with the attributes of the shapes that touch them having a Productivity of 1. Prior to running the tool you may want to turn off the visibility of fields that do not play a role in your analysis and only leave the fields that you need to compare or that provide a unique ID value for each polygon. The Spatially Joined attribute table will have two copies of the productivity field with one being the original name and the other being the original name with _1 appended to it. The Join will contain the original shape of the features with a productivity of 5 and a duplicate set of attributes representing the shape it touched with a productivity of 1. The Target_FID will link to the shape that has a productivity of 5 and the Join_FID fields will link to the touching shape with a productivity of 1. A quick and dirty way to see the related shapes together would be to create a new field in the original feature class to hold a long value. Join the layer with ObjectID of the layer with a productivity of 5 to the spatial Join TargetFID field and calculate the ObjectID of the Spatial Join output to the new field. Join the layer with ObjectID of the layer with a productivity of 1 to the spatial Join JoinFID field and calculate the ObjectID of the Spatial Join output to the new field. Now at least one pair of productivity 5 shapes will have the same value in this new field as the productivity 1 shapes in the original feature class. You could then use a new layer pointing to your original feature class with a definition query where the value in the new field is not null. In the attribute table of that new layer sort on the new field. You could then select or highlight the pairs of shapes with the same value in that field to zoom to them. You could also use that field value to set up a categorized symbology to make the paired shape have the same colors. However, this approach is quick and dirty because in reality you may have areas with productivity of 5 touch multiple areas of productivity 1 or areas of productivity 1 touching multiple areas of productivity 5. These multiple touched areas would not have a complete set of paired shape in all cases using the above method. If that happened you would have to use the Make Query Table tool instead to create a new layer that would contain all shape pairs for all of the Spatial Join IDs (which requires a geodatabases to work not a shapefile, which is another reason to convert). The details of how to set up the Make Query Table require more knowledge of your set up than I have, so I would need more information to lay out how to configure that tool.
... View more
12-26-2013
08:07 AM
|
0
|
0
|
301
|
POST
|
Hello Michael, I am trying to answer your question one by one: 1. Basically, if you want to use the direction widget there are two ways to this workflow, one is consume the pre-configured ArcGIS Online Network Analysis Services. These services require an ArcGIS Online organization subscription. If you choose to work with this default, you will need to specify a valid username and password for ArcGIS Online. Each successful request to the service incurs service credits which are taken from your subscription. More information regarding this can be found at the Accessing Services topic of the Network Analysis Services documentation.f you do not have an active account to test against, you can test drive this functionality by using an Esri-provided sample route service,http://sampleserver6.arcgisonline.com/arcgis/rest/services/NetworkAnalysis/SanDiego/NAServer/Route. I found this youtube video about how to creating service areas using network Analyst:http://www.youtube.com/watch?v=10yAQNiDzNU This guy demo a good start to show you how to create a specific study area. 2. The sample of using Direction Widget from esri website: http://resources.arcgis.com/en/help/flex-viewer/live/index.html?config=apps/config-directions.xml 3. You definitely need to have the not only the streetfiles but also other accurate database if you need to create a network analysis by yourself. Those database you can either gather by yourself or google from USGS or us census tiger files. 4. Sure, you can use your own layer as long as the layer published to the ArcGIS Server. About the layer: http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Layer_tag_overview/01m30000000p000000/ Hope those tips help. Thank you.
... View more
12-02-2013
11:41 AM
|
0
|
0
|
96
|
POST
|
As we start to roll out our new system we are getting a wide variety of request. One of them being that we have a group that is in charge of maintenance at a lof of different locations. So when something breaksdown they would like to be able to find the closest tech/contractor with the ability to service the problem. It seems as though this service will only allow you to do 5,10,15 miles so I guess I need to create my own. http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Network/ESRI_DriveTime_US/GPServer/CreateDriveTimePolygons I was thinking that Network Analyst would be good for this but was not sure about a couple of things so I wanted to test it a little bit. 1.) Should I be looking at ArcGIS Network Anaylst for Server or for Desktop or both? 2.) I think the extension for Desktop is $2500 but what is it for Server? 3.) Does anyone have a link to an example like this, 4.) Also each Tech will have a GPS device on them. Is it possible to use that person's GPS signal and plot it on a map? If so what do you need to do something like that. I think this maybe out of my league. 5.) Can I accomplish this in FlexViewer or is this going to have to be a Flex App? Michael
... View more
08-29-2013
04:29 AM
|
0
|
0
|
1939
|
POST
|
Apologies for the length of this post. You likely will not find much in the way of "basic documentation". My interpretation of what you are asking is that you are looking for a basic help document that covers the basic interface and functionality. The reality is that you will need to create your own. You may find that various folks have shared bits and pieces of documents on the forums over the last few years, but aside from some of the basic graphics (like the navigation bar, for example), you really need to tailor the document to the way your application looks and operates. Your users will be confused if, for example, they are looking at a graphic of the toolbar area in the help document and their application doesn't have the same tools. Earlier this year I created a 4 session training seminar series for our internal staff. I scheduled each session twice (3 times for the '101') and sent out the schedule. Anyone wanting the training could simply show up. For those that attended, the feedback was very positive and overall the training was well-received. I plan on offering the series at regular intervals--once a quarter or Spring and Fall or whatever makes sense. I plan on adding topics as necessary. These training sessions were 1 hour in length and simply a 'show me' type of presentation. In other words, the users were not doing hands-on activities. There were two reasons for this decision. We don't really have a training lab set up for this type of training and I didn't want to tie up staff for much longer than an hour for each session. They usually don't have that much time to commit and I wanted the amount of information presented to be in more "bite-sized" chunks so that they would be encouraged to take notes and go back to their desks and play around on their own. Attached are the handouts for each of those training sessions. The topics covered in each are geared specifically for what my users indicated they wanted to know (like creating a notification list in under 5 minutes from the viewer) or what I believe they need to know to become 'power users' of the viewer application, constrained to an hour long session. I hope these give you some ideas for your own users. These were whipped up the morning before the first training session on that topic, with most of that time spent creating all of the screen shots. I will admit that they could stand some refinement. Enjoy!
... View more
07-26-2013
02:16 PM
|
0
|
0
|
417
|
POST
|
Do I need to have the whole viewer loaded into Flash Builder to update a widget from say 3.1 to 3.3? I've been trying to do this but when I go to run/build it I get a file not found error about a file not found "file:/C:/user/Adobe%20Flash%20Builder%204.6/flexViewer/Bin-debug/index.html" I was thinking maybe I was doing this the hard way. I was thinking maybe I could just load the widget and make the changes and then build to make the swf. Michael Yes, you'll need the Flex API .swc and also the Flex Viewer Source Code because the widgets usually reference things for the widget manager and stuff like that. For example:
<viewer:BaseWidget xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
xmlns:viewer="com.esri.viewer.*"
initialize="basewidget_initializeHandler()"
widgetConfigLoaded="basewidget_widgetConfigLoaded()">
... View more
07-01-2013
05:52 AM
|
0
|
0
|
108
|
POST
|
Thanks for the quick response. So Air is free right? So I can start develping for desktop with the viewer and then customize for an iPad version using Flash/Flex builder.
... View more
09-19-2012
05:19 AM
|
0
|
0
|
105
|
POST
|
I wish that some of the widgets of the Flex Viewer (Navigation Tool, Overview Map) were available for standard Flex applications. It's disappointing to see these components available in the Silverlight API but not Flex, as well as other components like a TOC that has the legend and transparency controls integrated.
... View more
09-05-2012
02:37 PM
|
0
|
0
|
260
|
POST
|
Hi I have ported my ArcGIS Flex API web site 'Sutherland Shire Maps': https://mapping.ssc.nsw.gov.au/Sutherland/ into an ipad app using flex builder. It is in the appstore freely available. It is not a trivial task! Firstly, you NEED a mac to load to the App Store. If you do not want to load to the appstore, you will have to register all devices with the apple dev site which will create the provisioning files etc. that you need. You can then use itunes on pc to load the app to each of the registered devices. Creating the licencing and provisioning files can be quite confusing when starting out. Especially if you are using windows to do it. The emulator is built in to FlashBuilder. When you create a mobile flex app, you can choose run configurations and select the device to emulate , and it will run on your pc when you click the run button in the Fash Builder IDE. There are many controls in Flex spark which are not compatible or recommended for mobile apps. Optimising controls for mobile is where I spent a lot of time when porting my web app to a mobile app. It took about 2 weeks to port across. A lot of the documentaion about flex to ios make it look seemless and easy, but dont be fooled. I found myself scratching my head a few times along the way. The end result runs and looks great on the ipad, so it is worth the effort.
... View more
09-09-2012
03:06 PM
|
0
|
0
|
79
|
POST
|
What was your problem? I think I am having the same issue. Thank you.
... View more
10-11-2012
07:34 AM
|
0
|
0
|
150
|
POST
|
When i don't preload the widget and open it i came across a warning: waarschuwing: De klasse widgets.AddExcel.LocateResult is gebruikt bij een aanroep van net.registerClassAlias() in _AddExcel_FlexInit. Hierdoor zal widgets.AddExcel:AddExcel uitlekken. Definieer widgets.AddExcel.LocateResult in de toepassing op het hoogste niveau om het lek te repareren. I know it is in dutch, and i will try to explain it: it says that the class widgets.AddExcel.LocateResult is used at a call from net.registerClassAlias() in _AddExcel_FlexInit. This will cause a leak by widgets.AddExcel:AddExcel uitlekken. Define widgets.AddExcel.LocateResult in the application at the highest level to fix the leak. Have you seen this before, i just copied your exact code. Or do you have a fix for this? Thanks in advance
... View more
08-08-2013
01:58 AM
|
0
|
0
|
414
|
POST
|
I found a silverlight sample http://help.arcgis.com/en/webapi/silverlight/1.2/samples/start.htm#Bookmarks that will do what I am looking to do in the viewer. It looks pretty straight forward but I would like to do this as an add-in for the viewer. The viewer is so awesome it is a shame it does not have a simple bookmark sample but I am determined to figure this thing out somehow. Is this possible? If so how would I go about doing that? I just wish I understood silverlight and C# a little. Thanks, Michael This is what the code looks like from the silverlight API XAML Code: <UserControl x:Class="ArcGISSilverlightSDK.Bookmarks" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:esri="clr-namespace:ESRI.ArcGIS.Client;assembly=ESRI.ArcGIS.Client" xmlns:esriToolkit="clr-namespace:ESRI.ArcGIS.Client.Toolkit;assembly=ESRI.ArcGIS.Client.Toolkit"> <Grid x:Name="LayoutRoot" Background="White"> <esri:Map x:Name="MyMap" Background="White" Extent="-130,10,-70,60"> <esri:Map.Layers> <esri:ArcGISTiledMapServiceLayer ID="StreetMapLayer" Url="http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_StreetMap_World_2D/MapServer"/> </esri:Map.Layers> </esri:Map> <esriToolkit:Bookmark x:Name="MyBookmarks" Width="125" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,10,10,0" Background="#99257194" BorderBrush="#FF92a8b3" Foreground="Black" Map="{Binding ElementName=MyMap}" Loaded="MyBookmarks_Loaded" /> </Grid> </UserControl> C# Code: using System.Windows; using System.Windows.Controls; namespace ArcGISSilverlightSDK { public partial class Bookmarks : UserControl { public Bookmarks() { InitializeComponent(); } private void MyBookmarks_Loaded(object sender, RoutedEventArgs e) { //MyBookmarks.ClearBookmarks(); // Remove all bookmarks //MyBookmarks.AddBookmark("Mix - Las Vegas", new ESRI.ArcGIS.Client.Geometry.Envelope(-115.212, 36.083, -115.111, 36.157)); //MyBookmarks.AddBookmark("DevSummit - Palm Springs", new ESRI.ArcGIS.Client.Geometry.Envelope(-116.55, 33.816, -113.525, 33.834)); //MyBookmarks.AddBookmark("User Conference - San Diego", new ESRI.ArcGIS.Client.Geometry.Envelope(-117.211, 32.665, -117.11, 32.739)); } } }
... View more
05-03-2012
09:58 AM
|
0
|
0
|
2042
|
Title | Kudos | Posted |
---|---|---|
1 | 04-18-2014 06:58 AM | |
6 | 08-11-2014 06:27 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|