|
POST
|
Yes you can. Add the tabular data to your MXD Right click on the feature layer and select Join under joins and relates. In the Join Data dialog choose Join Attributes from a Table and fill in the rest of the fields to join you tabular data. However, it will not do your current extent. It will join to all the features in the feature layer. Hello, I have a service with a feature layer (A) and a tabular data (B). In my Air app, I have a AttributeTable with property "featureLayer" set as my feature layer (A), so when I change my map extent, the contents of my attributeTable also changes. So my question is: Is it possible to make JOIN between my tabular data (B) and my attributeTable? I just want tabular data for those features which are within my current map extent. Thanks.
... View more
04-10-2013
06:46 AM
|
0
|
0
|
344
|
|
POST
|
I believe in order to change these values you must delete the geometric network. Make your changes and then rebuild the network with the new weights. Of course always practice on a copy first when dealing with the deletion of GMN's. Always compress your database BEFORE deleting a network. I do it 2 or 3 times just to make sure. Compress it again after deleting. Hey all, I'm just learning how to make edits on network datasets. We have a third-party data provider but when I find errors, instead of waiting n months for it to be fixed I'd like to fix it on my own. What I'm having problems with is changing the ONEWAY from "FT" to "TF" - when I make that modification the network does not rebuild because it does not know any changes have been made. Can someone explain why this happens and how I can fix this?
... View more
04-10-2013
06:40 AM
|
0
|
0
|
1635
|
|
POST
|
Which version are you using? From a blank mxd session. meaning you have nothing loaded. Right click on the toolbar area. When the drop down opens go to the bottom and click customize. One the customize window that pops up select the options tab. There a number of choices there. If you select Save all customizations to document it will only save them to the MXD you are using. Unchecked it will save it the Normal. So what ever you do that change will be there. Not to be used if multiple people use your license. Click Back on the Toolbar Tab Select New The New Toolbar window should pop up. The name should be Custom 1 (or similar) give it a name. Myself I call it Roberts Toolbar. When you hit Ok it should appear in your toolbars. Now click on the Commands tab. Find the individual commands you wan to have in your toolbar. You can find commands using the search box. For example type in Edit On the left it will show all the categories containing a command that contains the word edit. Go down to the Editor category. There should be 7 commands there (depending on ArcGIS version) If you want the Save Edits command simply single click on it and drag it to your new toolbar. Personally I keep 6 customized toolbars depending on what I am doing. Hello, here is what I am trying to do. I want to make my own edit bar. As far as I could go: There is an Start Edit Button, when it clicked Editor is started plus I list all visible layers and under each layer I place IFeatureTemplate control. The only problem now is that FeatureTempale controls look disabled, even thought Editing is on. How can I activate them? Thank you in advance.
... View more
04-10-2013
05:50 AM
|
0
|
0
|
320
|
|
POST
|
No filtering with ArcGIS online. However, if you open the map in ArcGIS Explorer Online you can create queries. Also, if you use the option to Open with ArcGIS Desktop 10 it will create a feature package which can be opened on your desktop and used just like ArcGIS Good morning I am using my trial account of ArcGIS online - and have added the following layer to a map: http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Hurricanes/NOAA_Tracks_1851_2007/MapServer However, I cannot seem to be able to do a filter or query. Under content, Filter does not appear. Any ideas? Eric Walters
... View more
04-08-2013
11:57 AM
|
0
|
0
|
378
|
|
POST
|
Have you tried saving it as a layer file and then using the symbology from the layer file in the new viewer Hello All, Does anybody know if you can pass symbology that is set in you GP Service to your viewer? Eric
... View more
04-08-2013
11:47 AM
|
0
|
0
|
367
|
|
POST
|
Your client cannot view the 10.1 because they only have 10.0 What I would suggest is either upgrading your client to 10.1 (which they have already paid for if they have a current license) or acquire a 10.0 database and doing their work in there and do not upgrade the database to 10.1 I had this issue with 3 of my clients. One of them simply refused to upgrade and I had to work in a 9.3 database for quite some time for them. I have a raster in a geodb. It's just a raster in ArcGIS's native format, not a mosaic dataset. I am working in ArcGIS 10.1, but the client has Arc 10.0. We found that the raster is not recognized in 10.0. The only way to make it viewable in 10.0 is to delete the colormap. But the colormap is actually quite important. Is there a way to have a colormap in 10.0? I could not find any info on this backward incompatability problem in the ArcDoc.
... View more
04-08-2013
11:29 AM
|
0
|
0
|
398
|
|
POST
|
Nate, Personal Geodatabase or SDE or Shapefiles. Are you features Joined to another feature or a table? If so that could be causing issues. If in a Geodatabase, or SDE have you compressed it lately? For the FID compressing your database may take care of that. Especially in SDE. When you create and or delete features it creates a delta table where the edit is saved. You cannot see it but it is there. and it will consider the FID as being used. when you compress your system it should free that up. Hello, I am currently working on ArcGIS 10.1 SP1, every once in a while, when I am editing and click "save edits" the attributes for the last point that I had created disappears. The point itself is still visible but to get the attribute table back to normal I have to close and reopen ArcMap. I have noticed that after point creation, the FID will not be sequential. The problem will occur the next time that I save my edits. Hope to hear from you soon. Thanks. Nate
... View more
04-08-2013
11:14 AM
|
0
|
0
|
4818
|
|
POST
|
Switch to Classic Snapping. also you may have issues if you are working with polygons that are in a topology. Are you finishing the auto complete by hitting the F2 button? I just digitized a parcel and i either hit F2 or double click on the last point. I am digitising a map in ArcMap 10.0 SP 2 with a few hundred polygons. I use auto complete polygons to avoid drawing all the lines twice. I use it using both straight segment and trace (along another layer) to draw the lines. Most polygons end up right, but some aren't created when I finish drawing. Also when trying again and making sure to go from existing polygons' vertices or crossing polygons' boundaries the polygon won't draw. A workaround I found is drawing the polygon in parts. But still, one part may draw and the other may not. I then draw even smaller parts and smaller parts until it works. Eventually I fill the polygon with smaller parts (sometimes 2, sometimes 20) and merge them, but it is costing me a lot of time circumventing around unwanted and strange ArcMap behaviour. I looked up various other posts and errors about auto-complete. The main one if found was about the polygon drawn not being complete visible, but I tried zooming out until I saw the polygon drawn and all the adjacent polygons in full and it still wouldn't draw. Also some polygons will draw regardless of zoomlevel. Anyone encounter this before and found a (better) way to deal with it?
... View more
04-05-2013
12:18 PM
|
0
|
0
|
4483
|
|
POST
|
Unfortunately lots of things change between shapefiles and geodatabases. Like brackets and quotation marks. Kind of late but you best best with custom symbols is to stick with using Fonts then they will work with shapefiles, geodatabases, sde (yea things change again when going to sde) and ArcGIS online. I write a custom symbol component like logomarker symbol ,but i use agg instead of gdi. When I open shape files in arcmap and use my custom symbol to render the data, It is successful. However , when I open geodatabase files,as the same as shape files, It will be fail. It render blank. When I load this data again. It will render with the default symbol correct. Why? I use aggplus which is encapsulated like GDI+. the main code is follow(full code about main class in attachment): Aggplus::Graphics *m_pGraphics; STDMETHODIMP CCartoSymbolMarker::SetupDC(OLE_HANDLE hDC, ITransformation *Transformation) { m_ipTrans = Transformation; m_pGraphics = Graphics::FromHDC((HDC)hDC); return S_OK; } STDMETHODIMP CCartoSymbolMarker::Draw(IGeometry *Geometry) { if (!Geometry) return E_POINTER; IPointPtr spPoint(Geometry); if (spPoint == NULL) return E_FAIL; double x=0, y=0; FromMapPoint((IDisplayTransformation*)m_ipTrans, spPoint, &x, &y); Pen myPen(Color(255,0,0,255), 1); m_pGraphics->DrawRectangle(&myPen, x, y, 10, 20); return S_OK; } STDMETHODIMP CCartoSymbolMarker::ResetDC() { delete m_pGraphics; m_pGraphics = NULL; return S_OK; } Aggplus Graphics class: Graphics *Graphics::FromHDC(HDC hdc) { return(new Graphics(hdc)); } Graphics::Graphics(HDC hdc) : m_dwConfigFlags(0) { RECT clipBox; ::GetClipBox(hdc, &clipBox); int nW=clipBox.right-clipBox.left; int nH=clipBox.bottom-clipBox.top; ASSERT(nW>0 && nH>0); z_Create(nW, nH, -4*nW, NULL); m_dwConfigFlags|=def_flag_G_FromHDC; m_fromhdc_HDC=hdc; m_fromhdc_X=clipBox.left; m_fromhdc_Y=clipBox.top; } Graphics::~Graphics() { #ifdef def_AP_Update_Dc_at_End if(m_dwConfigFlags & def_flag_G_FromHDC) { BITMAPINFO hDib; memset(&hDib, 0, sizeof(BITMAPINFO)); hDib.bmiHeader.biSize = sizeof(BITMAPINFOHEADER); hDib.bmiHeader.biWidth = m_dwWidth; hDib.bmiHeader.biHeight = m_dwHeight; hDib.bmiHeader.biPlanes = 1; hDib.bmiHeader.biBitCount = 32; hDib.bmiHeader.biCompression = BI_RGB; hDib.bmiHeader.biSizeImage = m_dwWidth * m_dwHeight * 4; #ifndef _X_NODCAlpha_ LPVOID pBits; HBITMAP hBitmap = CreateDIBSection(m_fromhdc_HDC, &hDib, DIB_RGB_COLORS, &pBits, NULL, 0); if(!hBitmap) ASSERT(FALSE); else { memcpy(pBits, buffer, m_dwWidth * m_dwHeight * 4); HDC mdc=CreateCompatibleDC( m_fromhdc_HDC ); if(!mdc) ASSERT(FALSE); else { HBITMAP hbmOld=(HBITMAP)::SelectObject(mdc, hBitmap); BLENDFUNCTION bln; bln.BlendOp=AC_SRC_OVER; bln.BlendFlags=0; bln.SourceConstantAlpha=255; bln.AlphaFormat=AC_SRC_ALPHA; AlphaBlend(m_fromhdc_HDC, m_fromhdc_X, m_fromhdc_Y, m_dwWidth, m_dwHeight, mdc, 0, 0, m_dwWidth, m_dwHeight, bln); //BitBlt(m_fromhdc_HDC, m_fromhdc_X, m_fromhdc_Y, m_dwWidth, m_dwHeight, mdc, 0, 0, SRCCOPY); ::SelectObject(mdc, hbmOld); //::GdiFlush(); DeleteDC(mdc); } ::DeleteObject(hBitmap); } #else SetDIBitsToDevice(m_fromhdc_HDC, m_fromhdc_X, m_fromhdc_Y, m_dwWidth, m_dwHeight, 0, 0, 0, m_dwHeight, buffer, &hDib, DIB_RGB_COLORS); #endif //_X_NODCAlpha_ } #endif //def_AP_Update_Dc_at_End delete(m_agg_pREN); delete(m_agg_ppixf); if(!(m_dwConfigFlags&def_flag_G_ExtBuffer)) { delete(buffer); } } result: custom symbol in arcmap symbol selector [ATTACH=CONFIG]23246[/ATTACH] shape file use my custom symbol, correct [ATTACH=CONFIG]23243[/ATTACH] geodatabase use my custom symbol. fail and blank [ATTACH=CONFIG]23244[/ATTACH] load the data again , it render correct with defalut symbol, but data is twice [ATTACH=CONFIG]23245[/ATTACH]
... View more
04-05-2013
12:13 PM
|
0
|
0
|
1043
|
|
POST
|
Have you tried adjusting the visibility scale. You can adjust it so they don't turn on until you get to within a set scale. Unfortunately not a lot of great options in ArcGIS online for displaying as you would on desktop. I am tackling a project that contains several new elements for me since I am a high school social studies teacher and not a full-time GIS professional. For this particular project I am trying to show the various US interventions during the Cold War around the world. I have created individual points for each intervention. These points are in a shapefile that contains a list of 49 different interventions. The fields include the country of the intervention, the year, a short description and whether or not a certain type of action occurred. Example: Guatemala, 1954, (description) and the following values for the six types of action possible: Command=1, Troops=0, Bombing=1, Naval=0, Nuke=1, Jets=0. What this means is that in 1954 we used Command Operations, Bombing and Nuclear Threats to intervene in Guatemalan affairs. On this particular point then I would like to see the three distinct symbols for those types of action. Currently I can achieve this by creating 6 layers but the symbols are all stacked on top of each other. Here is the link to my first attempt at a map service: http://bit.ly/10EHUAU This has all been done in Desktop 10.1 Advanced. I plan to create a feature service on our AGOL account once I have solved this problem. Thanks for any advice.
... View more
04-05-2013
12:06 PM
|
0
|
0
|
539
|
|
POST
|
You can disable editing when you share your service. It will automatically disable editing for every layer. I just wanted to suggest to whomever controls the Content Menu creation of ArcGIS online that it would be a great idea if I didn't have to go into every feature service for one map and disable them one by one. If you created an enable/disable editing column in the content menu, that would be awesome. I have a map with several feature services in it and I have to go into every one to disable editing for publishing. Pain. I'm just throwing it out there. What do you think?
... View more
04-05-2013
12:02 PM
|
0
|
0
|
437
|
|
POST
|
You make the feature in your ArcGIS and then you share it to your ArcGIS Online account. By default it should go to your My Content tab. When sharing it you should adjust the setting so users can edit. Then you have to make a Map with it and share it. I'm new to ArcGIS web applications and server. I want to build webapplication for a webbrowser where users could add new features in my polyline feature layer. New added features should be saved in the layer and later I want to use the layer to make analysis with ArcGIS Desktop. I wonder where I need to store that feature layer to access it in my webapp? I analyzed some ArcGIS API for JavaScript samples and see there links to layers e.g. var rivers = new esri.layers.FeatureLayer("http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Hydrography/Watershed173811/FeatureServer/1" Can I store my feature layer in ArcGIS Online, get similar link and put it to my javascript? The main goal that features added by users would be saved in the layer. How can I achieve this? Thank you, Andrzej
... View more
04-05-2013
11:56 AM
|
0
|
0
|
427
|
|
POST
|
Unfortunately there do not seem to be a lot of good ways to work with ASCII text files. I have never tried TransCAD. I typically duke it out with MS Word and Excel Fortunately I have not had to deal with ASCII for a number of years. I've downloaded an ASCII text file from US Census Bureau website and now need to bring this file into ArcMap but cannot. I can open it in TransCAD save it as an ESRI SHP and then open it in ArcMap. Is there a way to eliminate using TransCAD?
... View more
04-05-2013
11:53 AM
|
0
|
0
|
477
|
|
POST
|
To see the attributes of a feature you either need to use the info tool or be in an edit session and look at the attributes in the attributes window or you can open the table and see only selected features when you select them. You can also symbolize the features based on a specific attribute. For example A phase conductor is all red. You can create symbols based on up to 3 attributes. You can also create labels. For example the A phase conductor. I also want to know what kind of wire it is and the kV going through it. So I label it with Wiretype and kV. Thanks for quick reply What i mean is i have 100 linear features in my shape file and all are having different attributes. Instead of opening attribute table everytime to see attributes of selected feature, can see attributes of selected feature in window.
... View more
04-04-2013
09:30 AM
|
0
|
0
|
879
|
|
POST
|
Do you have to do it with a script? Just click on the new column and use the field calculator. Take a few seconds. Also depending on your environment it may not update them outside of an edit session. Hi, I've written a script that narrows down a selection of points (cities) and then adds a field called CITYNAME to the feature class. I need to update the new CITYNAME field with the same values as the NAME field in the same feature class but it doesn't update them although it shows as having run successfully. I need to do this so that I can spatially join this points (cities) dataset to polygons (counties) and lines (roads) because all three of them have the same fieldname called NAME. I'm using ArcGIS v10.0 and any help would be appreciated as I've tried various methods like CalculateField and UpdateCursor to no avail. Thanks, Scotaidh
# ExtractFeaturesByLocationAndAttribute.py EFLA.py
# Description: Extract features to a new feature class based on a Location and an attribute query
# then add field called CITYNAME and update it with the NAME field from the cities layer
# import system modules
import arcpy
from arcpy import env
import os
# set overwrite option
arcpy.env.overwriteOutput = True
# Put in error trapping in case an error occurs when running tool
try:
# Make a layer from the cities feature class
arcpy.MakeFeatureLayer_management("H:/working/Findsites.gdb/cities","citiesL")
# Select all cities that are within 30km of an interstate
arcpy.SelectLayerByLocation_management("citiesL", "WITHIN_A_DISTANCE", "H:/working/Findsites.gdb/interstates", "30 KILOMETERS", "NEW_SELECTION")
# Within the selection (done above) further select only those cities that have a university and low crime rate
arcpy.SelectLayerByAttribute_management("citiesL", "SUBSET_SELECTION", "UNIVERSITY = 1 AND CRIME_INDE <= 0.02")
# Make a layer from the counties feature class
arcpy.MakeFeatureLayer_management("H://working/Findsites.gdb/counties","countiesL")
# From the counties layer select only those counties with a large enough workforce and number of farms
arcpy.SelectLayerByAttribute_management("countiesL", "NEW_SELECTION", "AGE_18_64 >= 25000 AND NO_FARMS87 >= 500")
# Select all cities that intersect counties that meet work force and number of farms criteria
arcpy.SelectLayerByLocation_management("citiesL", "INTERSECT", "countiesL", "", "SUBSET_SELECTION")
# Write the selected features to a new featureclass
arcpy.CopyFeatures_management("citiesL", "H:/working/Findsites.gdb/CityList")
# create a new field called CITYNAME to replace NAME because other datasets have a NAME field
arcpy.AddField_management("H:/working/Findsites.gdb/CityList", "CITYNAME", "TEXT", "", "", "25")
expression1 = '!MP_VAL!'
arcpy.CalculateField_management(CityList, CITYNAME, expression1, "PYTHON", "")
#Calculate Field - update new CITYNAME field with NAME field
# arcpy.AddMessage("Calculating Updated Field...")
# Expression = "'{0}'".format(arcpy.GetValue(NAME))
# single quoted string literal
# arcpy.CalculateField_management(CityList, CITYNAME, Expression, "PYTHON")
except:
# If an error occurred print the message to the screen
print arcpy.GetMessages()
... View more
04-04-2013
09:23 AM
|
0
|
0
|
821
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 11-04-2019 09:14 AM | |
| 1 | 06-01-2022 05:27 AM | |
| 1 | 05-07-2025 07:28 AM | |
| 1 | 05-18-2018 11:55 AM | |
| 1 | 06-11-2020 08:33 AM |
| Online Status |
Offline
|
| Date Last Visited |
10-20-2025
07:48 AM
|