POST
|
I am trying to updates some map projects that used \Canvas\World_Light_Gray_Reference as a gray shaded relief background. However today, I can't get any kind of display out of this ArcGIS Online layer. Tried a new map project and tried preview in ArcCatalog, but I don't see anything. Did the layer change or is there something wrong with my system?
... View more
04-24-2013
01:37 PM
|
0
|
1
|
703
|
POST
|
I looked at properties on a 10.1 file geodatabase that I created that was performing slowly. Noticed that the one feature class in there has an index FDO_OBJECTID_1 that it must have inherited from the source county parcel file geodatabase, and that the "Add" button to add an attribute index is greyed out. What's going on there? Is this a clue by it takes this geodatabase to handle its 29 features? What I did was select several batches of parcels from a county parcel 10.1 file geodatabase feature class, made several shapefiles, edited some lines, then APPENDed the several batches of polygons into a feature class of a new file geodatabase. Then I did a join with a table from the original geodatabase just to calculate a new field with Field Calculator, then dropped the join. I only have 29 records in this new feature class, so I couldn't figure out why, after dropping the join, calculating values for two other new fields was taking so long. When I thought about adding an index to improve performance I saw that there already was one, FDO_OBJECT_ID_1, and no other index is permitted. There is a spatial index called FDO_SHAPE. Looking back at the source geodatabase, the parcel feature class has an attribute index OBJECTID and the add index button is greyed out, and no spatial index. It also has three relationship classes that I did not use in the new simplified geodatabase. However, the copy of the whole parcel layer I made back into the old geodatabase has an attribute index FDO_OBJECTID, the "Add" button is available, and a spatial index FDO_SHAPE was created. The relationship classes were also preserved in the new copy.
... View more
03-12-2013
09:18 AM
|
0
|
0
|
1588
|
POST
|
Last night I was thinking that perhaps the routes in WRIA 29 Fishhydro that I got a few years ago are flipped relative to their orientation in WRIA 30 that I've had since 2003. But it turns out that's not the problem (see the black arrows on each.) The reversed taper in WRIA 29 sure makes the stream network look goofy. [ATTACH=CONFIG]21631[/ATTACH]
... View more
02-08-2013
10:13 AM
|
0
|
0
|
530
|
POST
|
I've been using tapered polygons to taper the upstream portion of streams since ArcGIS 9.2 The tapered polygon representations I made in map projects from earlier versions of ArcGIS still work in ArcDesktop 10.1. Now you don't have to download the taper.dll and install it yourself. It's built into 10.1. I tried to create a tapered polygon representation in a stream FC in a WRIA I hadn't mapped before (same data source), and it mostly worked, except this time the direction of the taper is reversed, i.e. with this new representation, streams are thick in the headwaters and taper thinner to the mouth. I don't remember having to set direction back in 9.2. What am I supposed to do?
... View more
02-07-2013
11:54 AM
|
0
|
1
|
2514
|
POST
|
Even a map project I last printed successfully on 1/28 now just prints a 8.5 x 11 in corner of the project. How did this print system get so messed up? Why when the deadline is today? For now, I'm exporting the map to pdf and printing with Adobe Reader.
... View more
02-07-2013
06:24 AM
|
0
|
0
|
358
|
POST
|
I'm up against a deadline, and I sure didn't expect to have problems printing. Using ArcGIS Desktop 10.1, Windows. Made some changes in a poster sized maps that last printed in 2009, so they were probably made on an old PC with an older version of ArcGIS. Why is it now when I go to Page and Print setup, ArcGIS first wanted to use a my default letter size printer, but after selecting the plotter, ArcGIS thinks the only paper available to this T790 plotter is letter? The Properties button next to the printer is not working. The map page size portion shows my map is going to get tiled on multiple letter size sheets. On one of my map projects, Print Preview shows my my map drawn once on a portrait page, then immediately draws it again on a very wide landscape page. Rebooting didn't help.
... View more
02-06-2013
03:08 PM
|
0
|
1
|
698
|
POST
|
Thanks, David. Now I'm finally done with this project.
... View more
02-06-2013
09:40 AM
|
0
|
0
|
2523
|
POST
|
David B's idea is working great. I hadn't noticed that option before. I just have one little detail left to solve. When I first checked the wrap labels box, the default was 72 pts, which severely wrapped the labels and made my legend box way too narrow. I increased the pts until I got it looking just about right except the layer name "Habitat Projects" stayed wrapped no matter how wide I set the label and descriptions wrap. If I could just fix this, I can leave the legend text this size and won't have to edit the callout annotation that it's covering, won't have to move it much. One of the changes the director wanted was to make this annotation text a lot longer. [ATTACH=CONFIG]21499[/ATTACH]
... View more
02-06-2013
07:05 AM
|
0
|
0
|
2523
|
POST
|
Inserting a control - enter into the legend label sounds so great. But why can't I do it? I'm positioning my curser in the label Klickitat Salmon Hatchery (spring & fall chinook, coho) right in front of the left parenthesis, holding down control, pushing the enter key, then going to Ok, apply, but nothing in the legend changes. [ATTACH=CONFIG]21482[/ATTACH] All that Maplex idea did was fold up my scattered fc labels, stuff that fit well enough I didn't have to use annotation.
... View more
02-05-2013
03:28 PM
|
0
|
0
|
2523
|
POST
|
The director wants me to revise a map I made three years ago. I finished all the changes except this last one. So close to being done! He wanted an addition to the legend for one item that results in a 150 character string. This will push the legend box way out of shape to stick the whole string in the label field of the category symbology set up. Is there a way to get the label field in symbology to take a line feed/carriage return or maybe two so I can format this legend better? The only other way I can think of is to make a legend with this one category with no label, another legend of all the other categories, both without frames, position them on a colored rectangle with enough space between them that I can add the 150 character string carefully positioned and aligned so it looks like a legend label. Using ArcGIS Desktop 10.1, windows.
... View more
02-05-2013
01:48 PM
|
0
|
7
|
6194
|
POST
|
I liked Jake's suggestion since I usually have a python window open. I just added a few changes to make it list to a file by creating a writable object: #Open output text file
log = open('listfields.txt', 'w')
for field in arcpy.ListFields(fc):
print >> log, field.name, field.type, field.length
log.close() I tried Richard's suggestion to export to XML. I got so much information out that I thought it didn't work for the field types and widths at first, but after scrolling around in Excel I eventually found it. mdenil's suggestion to export the table to text worked pretty well too. I just had to figure out that to find this option, I had to go to ArcCatalog, preview the table, then at the bottom left is a icon with a pulldown arrow that gives me Export as one of the choices. Thanks, all.
... View more
12-12-2012
08:39 AM
|
0
|
0
|
1171
|
POST
|
I just had a quick Python script blow up on a line arcpy.CalculateField_management(inshape, "PassNum", "PASS", "VB", "") because PassNum is typed SmallInteger 2 while PASS is typed LongInteger 5. I ran it in an ArcCatalog python window and I got a message window right away saying "The calculated value is invalid for the row with ObjectID = 0. For example, the calculated value may be too large for the field or you may be trying to add a string to a number field. ...." However the Calculate Field tool ran successfully. So is there a way to change the data type while calculating the field in arcpy, because I'd like to batch process a bunch of shapefiles like this. This should be an easy one for someone out there.
... View more
12-11-2012
01:35 PM
|
0
|
0
|
2274
|
POST
|
Maybe I'm over thinking this, but I'm trying to MERGE or APPEND some old shapefiles into an existing geodatabase feature class. I know I'm going to be dropping many of the GPS generated fields and adding new ones, typing the fields to so input will match with the existing schema. But I'm disappointed that I can't find a way to list and print out the existing feature class schema so all the types and widths are displayed. ArcCatalog seems to only be able to show with feature class properties only the first 13 items, then I have to page down to see the rest. Then I have to look at the properties of each field to find out the field length. Isn't there a way to list out a summary of the whole schema? Are there any other tools to help get matching schemas before a MERGE?
... View more
12-10-2012
02:18 PM
|
0
|
4
|
2917
|
POST
|
Thanks for the help. While you were posting this I came up with this that's almost the same. I need to read up on glob. Does arcpy.ListFiles do anything better than glob? Is ListFiles superfluous? I suppose I'll run the ASCII 3D To Feature Class tool with a new file list and in a new if loop. import glob import os.path workdir = "G:/elevation/lidar2010/points/asc_grounds/" fileSuffix = ".gnd" outSuffix = ".txt" fileList = glob.glob( workdir+"*"+fileSuffix ) for f in fileList: name, ext = os.path.splitext( f ) infile = open( f, "r" ) outfile = open( name+outSuffix, "w" ) for line in infile: print >> outfile, " ".join( line.strip().split(" ")[1:4] ) outfile.close() infile.close() It was hard to import glob into a python window. The window would try to autocorrect it to "import global". I finally figured out I could type in "import glob" and then a space character to over ride it.
... View more
10-25-2012
08:32 AM
|
0
|
0
|
763
|
POST
|
This worked really well when I ran it in the Win 7 machine's C shell: for f in *.gnd; do cut -d' ' -f2-4 "$f" > "${f%.*}.txt"; done The resulting txt files had unix line endings, but that didn't seem to bother the ASCII 3D To Feature Class tool. However, it would be nice to figure out how to make this work in python so I could loop through the files, chop off the first column, and run them through the ASCII 3D To Feature Class tool in one pass. I'll keep testing your suggestion.
... View more
10-24-2012
02:19 PM
|
0
|
0
|
763
|
Title | Kudos | Posted |
---|---|---|
1 | 11-28-2018 04:57 PM | |
3 | 09-20-2017 02:37 PM | |
1 | 09-20-2017 02:21 PM | |
1 | 03-09-2018 03:25 PM | |
1 | 03-12-2015 02:06 PM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|