Tag Info

Hot answers tagged

7

Try lyr.longName longName (Read Only) This property is valuable when trying to determine whether a layer belongs to a group layer. If a layer does not belong to a group layer, the long name will equal the layer name. If a layer does belong to a group layer, the group layer structure will be included in the long name. For example, the name of a ...


6

In ArcMap 10.2 and above, you can use Data Driven Pages so that your attribute information (such as the demographic text listed above) changes when the page changes. You can display any attribute in your attribute table as dynamic text in the map. If the attributes you want to display are not in your feature class, consider doing a join from a table with ...


6

You're almost there! Using the standard buffer tool, enter your desired distance as a negative value, then set the line_side parameter to OUTSIDE_ONLY. This will generate areas inside of each polygon, giving the nice look of country borders on a political map when combined with a transparency setting: Taken from my other answer


5


5

Negative. Adobe Acrobat or Professional is not the program to achieve what you are trying to do. PDF's are meant to be sheets of paper on your screen, that's why they are hard to edit and reproduce. I've done a similar thing with Zoomify, but that doesn't change the layers based on zoom level. Really I think you need a web application to do this. If you ...


4

I agree with Chris that you don't need to do this calculation to create a line from the points. It is impossible for the Field Calculator to directly read ahead one row and write to the row behind. It could read a row before and write to the next line with a Global variable, but the other way around is impossible. The Field Calculator cannot sort a table ...


4

Your syntax is correct. However, yes, your data type for the field you are calculating to is incorrect. The function returns a Boolean string, TRUE or FALSE. You need to have a text field you are calculating on/into. This is explained in the specific error message you are getting. View it by going to Geoprocessing > Results, and expanding Current Session, ...


4

Look into Data Driven Pages. You can use your areas as your layer, and using a Definition Query, can exclude all the other areas.


4

I work in an environment where we use both softwares and here are my impressions. I began to use QGIS about a year ago when I finally became fed up with paying for additional extensions and licence levels. I find QGIS to be good for manipulating data and getting it into more open source friendly formats while ArcGIS is much better for Map creation. That ...


4

you can make some computation using the report designer. Open a report in the Report Designer. From the Design Elements list, click TextBox and drag the element into position on the report layout. Enter an expression in the Data Field area in the Element Properties grid. Expressions always begin with an equals (=) sign In you case, the ...


4

I think your question is pure Python rather than GIS but I put together a simple Python script called test.py below to prove that it can be easily done. import arcpy arcpy.CreateFeatureclass_management("C:/temp","test.shp") I placed test.py in C:\temp and used Windows Explorer to double-click it. A DOS window appeared for about 10-15 seconds, and then ...


3

Unfortunately you cannot. ArcGIS for desktop and ArcGIS for server are two completely different softwares, with different feature sets and different use cases. The gui to do arbitrary analysis is not present in ArcGIS for server and the ability to host and serve services is not present in ArcGIS for desktop.


3

You cannot do this with a simple Field calculation as it requires accessing more than one record in a single calculation which the Field Calculator cannot do. You'd need a different method. One would be the Points to Line tool I mention in my comment. However to actually do what you're wanting, one possible method would be to make a copy of your table, ...


3

The short answer is no, the projection used by the USGS varies with product (map series), application (paper vs web vs GIS data), and department/region/whatever. If you really want some detail, they publish a document on projections called Map Projections: A Working Manual you can find at http://pubs.er.usgs.gov/publication/pp1395


3

With ArcGIS 10.1, the Python Win 32 extension is not included within the software installation exactable. Note: The PythonWin32 extension setup requires an existing installation of Python 2.7 which is installed after installing ArcGIS Desktop, ArcGIS Engine and ArcGIS Server setups. ArcGIS no longer installs PythonWin because the recommended ...


3

Here is a very simple and quick solution to generate a conic hill in R, using the dnormfunction: library(raster) a <- matrix(rep(dnorm(1:100, 50, sd = 25)), nrow = 100, ncol = 100, byrow = TRUE) hill <- raster(a * dnorm(1:100, 50, sd = 25)) plot(hill) You could also add some variations / heterogeneity with: hill2 <- hill + ...


3

If by previous point you mean the previous feature in the table, here's what you do: Open your field calculator and choose Python as your Parser. Click 'Show Codeblock'. In your code block input the following code: def updateLast (input): try: valreturn = val val = input return valreturn except: global val val = input Then, for your ...


3

In ArcMap, add both the buffer feature class and the cable feature class to your table of contents. Then go to the Selection tab and choose 'Select by Location'. A dialog box will open. With this, you'll be able to select buffer features that intersect the cable features. Once you have made your selection, right-click on the buffer layer in your table of ...


3

I assume that you are using ArcGIS field calculator def CalcD(level): if 1.5 <= level <= 4.5 : return level * 9 else: return level CalcD(!Level_water!)


3

This summer Esri was saying that ArcGIS Pro will go Python 3. The legacy ArcGIS Desktop will stick with Python 2.x as long as it can. I believe there are a bunch of Python 3 migration ArcGIS Pro tutorials on Esri's support page. Edit: Python 3 migration ArcGIS Pro uses Python 3.4. This is a significant change from other ArcGIS products including ...


3

See this discussion: https://geonet.esri.com/thread/94422 regarding versions of ArcGIS and versions of Python. It appears that ArcGIS Pro will have Python 3. I also heard that at the latest Esri UC.


3

To address @CodyBrown comments here: I don't know how this is opinion based. I am asking whether ESRI has plans to move to Python 3x in the near future or not. As answered below by James and Ann, they obviously do with Pro and thus probably will with Desktop, tat is if they continue with Desktop. As of today, there are no plans to move ...


3

there is no such thing as the "sum" operator for difference (which is not permutable), so you should test the validity of each item to decide how you run the substraction. def stack(item1,item2): if item1 != None and item2 != None: return item1-item2 elif item1 != None: return item1 elif item2 != None: return -item2 ...


3

Super simple. Change side type to 'Outside Only' and you got it:


3

As stated in GIS-Jonathan's answer this can be accomplished by setting the file permissions to Read-only. In windows 7 you can accomplish this by navigating to the file in windows explorer, right clicking the file with the .shp extension and clicking 'properties'. There should be two checkboxes near the bottom of the properties window that say 'Read-only' ...


2

Is it possible to use an annotation feature class for the 'DRAFT' text, manually editing the text, and setting the transparency for the layer at 50%? This allows you to see the features under the text, and it is not necessary to export the document for use in another program.


2

URL: http://www.ga.gov.au/geonetwork/srv/en/csw?request=GetCapabilities&service=CSW Profile: "GeoNetwork CSW 2.0.2 APISO" Direct link to record highlighted in the screenshots below. CSW Client config: Search results: Added to TOC:


2

ArcGIS has some issues with exporting and transparency: http://support.esri.com/em/knowledgebase/techarticles/detail/32379 http://support.esri.com/cn/knowledgebase/techarticles/detail/17336 http://support.esri.com/cn/knowledgebase/techarticles/detail/33011 I suspect your issues are related to some of these issues. Whenever I run into a problem like ...


2

ArcGIS Snap tool will do this for you (standard and up license level). You need to fill in what type of snapping you are looking for in the Type column. Also the Distance of the snapping. Also keep in mind this is a tool with no outputs, so make copies of your input data before trying.


2

This can be done in a two step process... Use Merge to combine all your polygons into one polygon (tool found in the Data Management / General toolbox) Use Feature to Raster to change the polygon into a raster (tool found in the Conversion / To Raster toolbox). These are both straightforward tools. The most complicated part with Feature to Raster is ...



Only top voted, non community-wiki answers of a minimum length are eligible