POST
|
I am trying to do this as well. Here is my story map. I don't want the picture (map) to be zoomable. I know this is non-intended use, but that's what is great about technology. http://camarillo.maps.arcgis.com/apps/Shortlist/index.html?appid=38ad42890b624470807ffd0b9bbeed54
... View more
01-15-2020
03:27 PM
|
0
|
0
|
547
|
IDEA
|
It seems like a way to get you to buy image server.
... View more
11-19-2019
05:22 PM
|
1
|
0
|
3558
|
POST
|
Hyperlinks in a web viewer. Our office recently got new windows 10 computers and can no longer use hyperlinks in a browser to local files such as asbuilt tif images or videos of sewer lines. Either the browser blocks the hyperlink for security or it wants to download an entire video before you can view it. It didn't used to be this way in Internet Explorer or older versions of Chrome. What is a proper workflow so our engineers can quickly access asbuilt drawings or videos from a map? Everything is stored on our network. It needs to be with a free viewer. Off the top of my head I know ArcReader will work, but my God, that is an ancient program. I was hoping to never install that again. It seems like we were moving forward for so many years getting everything in a browser and away from small viewer programs. Now thanks to security vulnerabilities I'm afraid we may need to go back to small programs to regain functionality.
... View more
11-05-2019
05:32 PM
|
0
|
0
|
382
|
POST
|
My default printer is a desktop 8.5x11. I don't want word documents accidentally going to the plotter. But if I am updating a map from months ago I don't always recall the dimensions it was plotted at. So I have to inspect the layout and make sure I find the right length and width. This adds needless minutes to the process. In ArcMap under Page and Print Setup it always had the last dimensions used under "Map Page Size", but it would also remember the last settings as well.
... View more
10-02-2019
10:09 AM
|
0
|
0
|
1862
|
POST
|
I have point data stacked on street intersections. They are colored in one of 5 different colors. I was able to extrude the points based on frequency, but the entire column is colored the color of the top point. I would like to have the column show all 4 colors of the different points that make up the stack. Is there a way to do this? See attached picture below. You can see that some of the other colors are showing through. It would be ideal if I could organize them by priority too. So black is on top, then red, then blue, etc and users could quickly gauge not only the frequency but type based on color.
... View more
07-22-2019
10:23 AM
|
0
|
1
|
610
|
POST
|
Hi All, I am working with traffic sign supports. I need to make a button to select a support from the map. I don't know how to code, but I've had good luck modifying other peoples code that is similar. I've looked all through the site and can't figure out how to make a button that allows the user to select by either drawing an envelope or clicking the point. Has the name changed? It should only select one point at a time. May I borrow some code? The button needs to allow the user to drag an envelope or click on a point in a "Supports" feature class (Does the code need to verify the feature class exists in the project?) Find the SupportID field in that feature class Feed that SupportID to another piece of code that will open a specific record in a form in Microsoft Access. (I have a python code for this piece. Will that even work?) If anyone has a code snippet that does something similar I would be very grateful.
... View more
07-03-2019
09:40 AM
|
0
|
1
|
456
|
POST
|
Converting code from ArcMap to Pro for add-in button. I'm lost on the syntax. Where do I find assembly references to update the ArcMap parts to ArcGIS Pro, etc? Two button tools. One links to a database with traffic sign supports. The other creates new supports. I may make a third that creates a sign on an existing support. This used to work in ArcMap but does not work with current builds anymore. Any hints are appreciated. //HyperlinkTSI_Tool //Optionally modify the values for the message box caption and user prompt //If necessary enter the correct name of the Support layer and correct field name for SupportID private const string URL = "F:\APPS\PW\TSI\TSI.accdb "; private const string USER_PROMPT = "Are you sure you want to hyperlink to the TSI program?"; private const string CAPTION = "Hyperlink to TSI"; private const string LAYER_NAME = "Supports"; private const string SUPPORTID_FIELD = "SupportID"; protected override void OnMouseDown(ESRI.ArcGIS.Desktop.AddIns.Tool.MouseEventArgs arg) { //Create envelope for use in spatial filter ESRI.ArcGIS.ArcMapUI.IMxDocument mxDoc = ArcMap.Document; ESRI.ArcGIS.Carto.IMap map = mxDoc.FocusMap; ESRI.ArcGIS.Carto.IActiveView activeView = mxDoc.FocusMap as ESRI.ArcGIS.Carto.IActiveView; ESRI.ArcGIS.Geometry.IPoint point = activeView.ScreenDisplay.DisplayTransformation.ToMapPoint(arg.X, arg.Y); ESRI.ArcGIS.Geometry.IEnvelope envelope = point.Envelope; envelope.Expand(mxDoc.SearchTolerance, mxDoc.SearchTolerance, false); //Make sure Supports layer is present and create its ILayer instance ESRI.ArcGIS.Carto.ILayer layer = null; for (int i = 0; i < map.LayerCount - 1; i++) { if (map.get_Layer(i).Name.Equals(LAYER_NAME)) layer = map.get_Layer(i); } if (layer == null) { System.Windows.Forms.MessageBox.Show(LAYER_NAME + " feature class not found"); return; } //Find features within envelope ESRI.ArcGIS.Carto.IFeatureLayer featureLayer = layer as ESRI.ArcGIS.Carto.IFeatureLayer; ESRI.ArcGIS.Geodatabase.IFeatureClass featureClass = featureLayer.FeatureClass; ESRI.ArcGIS.Geodatabase.ISpatialFilter spatialFilter = new ESRI.ArcGIS.Geodatabase.SpatialFilterClass(); spatialFilter.Geometry = envelope; spatialFilter.GeometryField = featureClass.ShapeFieldName; spatialFilter.set_OutputSpatialReference(featureClass.ShapeFieldName, map.SpatialReference); spatialFilter.SpatialRel = ESRI.ArcGIS.Geodatabase.esriSpatialRelEnum.esriSpatialRelIntersects; ESRI.ArcGIS.Geodatabase.IFeatureCursor featureCursor = featureClass.Search(spatialFilter, false); ESRI.ArcGIS.Geodatabase.IFeature feature = featureCursor.NextFeature(); //If the envelope contains a feature, append its support ID to URL and open in default browser if (feature != null) { var result = System.Windows.Forms.MessageBox.Show(USER_PROMPT, CAPTION, System.Windows.Forms.MessageBoxButtons.YesNo, System.Windows.Forms.MessageBoxIcon.Question); if (result == System.Windows.Forms.DialogResult.Yes) { string supportID = feature.get_Value(feature.Fields.FindField(SUPPORTID_FIELD)).ToString(); System.Diagnostics.Process.Start(URL + supportID); } } System.Runtime.InteropServices.Marshal.ReleaseComObject(featureCursor); } //CreateSupportTool //Optionally modify the following values for the message box caption and user prompt private const string USER_PROMPT = "Are you sure you want to create this support?"; private const string CAPTION = "Create Support"; protected override void OnMouseDown(ESRI.ArcGIS.Desktop.AddIns.Tool.MouseEventArgs arg) { var result = System.Windows.Forms.MessageBox.Show(USER_PROMPT, CAPTION, System.Windows.Forms.MessageBoxButtons.YesNo, System.Windows.Forms.MessageBoxIcon.Question); if (result == System.Windows.Forms.DialogResult.Yes) { //Get coords from MouseEventArgs and insert into TSI Create Support URL parameter string ESRI.ArcGIS.ArcMapUI.IMxDocument mxDoc = ArcMap.Document; ESRI.ArcGIS.Carto.IActiveView activeView = mxDoc.FocusMap as ESRI.ArcGIS.Carto.IActiveView; ESRI.ArcGIS.Geometry.IPoint point = activeView.ScreenDisplay.DisplayTransformation.ToMapPoint(arg.X, arg.Y) as ESRI.ArcGIS.Geometry.IPoint; System.Diagnostics.Process.Start("http://camchdev2k3/tsi/ns.aspx?aid=2&X=" + point.X + "&Y=" + point.Y); } }
... View more
06-25-2019
03:13 PM
|
0
|
1
|
777
|
POST
|
Hi Jennifer, I recently had the misfortune of trying to recreate an ArcMap map in Pro. This particular map has a lot of call outs and they are not in the line feature class, but just text in the map. Trying to do this in Pro would take 10 times as long as in ArcMap. The number of windows, conversions and clicks required is astronomical. But maybe I was missing something? It seems that the workflow in Pro would be to 1. Add all text to a Label field in my Barrier Feature Classs 2. Setup annotation with offset balloon callouts 3. Convert to annotation 4. Select and move each label individually. Problems with this besides all the steps is that it gave me an error when I tried to make it feature linked, so changing the annotation would take more steps and could have mismatched data between the feature class and annotation feature class. Selecting a callout and moving it required much more dexterity in where i grabbed it and how i moved it. It is not as simple. Let me know what you think Tom
... View more
05-31-2019
01:35 PM
|
3
|
2
|
1902
|
IDEA
|
Another task I attempted in ArcGIS Pro and went back to ArcMap. This is just unworkable. I have a table of 10,000 street signs. A large dataset to me, but not huge by database standards. Furthermore these are named things like G1-5 and then G3-6. So scrolling through just one letter is difficult. If Pro were my only option I would have to summarize the table on name, then relate it back to the original dataset. Pro is much faster at processing, but time and again I run into these workflow issues that make it more time consuming to use.
... View more
03-07-2018
03:15 PM
|
2
|
0
|
3898
|
POST
|
When I close are reopen ArcGIS Pro and go to print it always goes to my default printer instead of the plotter. It also resets all the plotter and page size settings etc. In ArcMap it would always save this information. Am I missing something?
... View more
01-23-2018
08:12 AM
|
2
|
9
|
2201
|
POST
|
Thank you Dan and Randy for helping me out! It works now! Another problem I had was that in shapefile form it would error "The field is not nullable". I had to put it in a geodatabase before the field calculations would work.
... View more
08-22-2017
08:12 AM
|
0
|
0
|
297
|
POST
|
I'm looking forward to trying these suggestions on Monday!
... View more
08-17-2017
10:00 PM
|
0
|
0
|
297
|
POST
|
Sorry Dan, I think I get what we are trying to do, but I don't know why it isn't working. See the error below. This is with joined tables so the A and B names are a lot longer.
... View more
08-17-2017
05:34 PM
|
0
|
1
|
1941
|
POST
|
So this is what I enter in the Field Calculator and I get a syntax error. I thought maybe it was the colon in the first line but it makes no difference. Can you spot the error? if !STR_NUM! == !SITUS_NR!: val = " " else: val = !STR_NUM! return val
... View more
08-17-2017
02:04 PM
|
0
|
0
|
1941
|
POST
|
Ok, I'll try that out Dan. It is a model builder that uses the field calculator. I should have clarified that. I converted this to modelbuilder a few years ago from Avenue, but Avenue still works and VB stopped working. Go Figure. With windows 10 probably neither will work so it needs to be in Python now.
... View more
08-07-2017
08:35 AM
|
0
|
2
|
1941
|
Title | Kudos | Posted |
---|---|---|
13 | 09-01-2021 10:42 AM | |
1 | 07-23-2015 02:22 PM | |
1 | 05-26-2015 02:24 PM | |
1 | 11-19-2019 05:22 PM | |
2 | 01-23-2018 08:12 AM |
Online Status |
Offline
|
Date Last Visited |
Monday
|