|
POST
|
Also always be sure when using kmls in google earth that you make sure either terrain is off, or that your kmls are clamped to the ground. THis can distort the lines of kmls and make lines look off.
... View more
06-13-2014
09:13 AM
|
0
|
1
|
1967
|
|
POST
|
That was my suggestion yes, but now looking at it again, I'm doubting it will do anything. It seems to be hanging up on the fact that it is a date field. I really have no experience using them, so not sure how best to handle it. Would it be possible to create a new text field to store the date data in during the feature class to feature class, then afterwards convert it back to a date field? I know that is a bit of a workaround, but I'm not sure why date fields won't work with it. Edit: I tried a fc to fc conversion with field mapping on a test gdb feature class with a date field, and ran into no errors, both in ArcGIS and as a stand-alone script.
... View more
06-11-2014
01:36 PM
|
0
|
0
|
1630
|
|
POST
|
If you aren't actually using the field mapping for anything, you could just not include it in the feature class to feature class conversion, since it is optional. The other thing I was thinking is it is crashing on a joined field from the look of things, perhaps it would be best to create a new field, and hard code those joined values in, instead of using the joined field. It says it is a field type error, so that might be what the problem is.
... View more
06-11-2014
12:43 PM
|
0
|
0
|
1630
|
|
POST
|
Actually, we have had alot of threads about how to format labels with python(and other means). Always be sure to check the forums for similar posts, before starting a new one.
... View more
06-11-2014
12:20 PM
|
0
|
0
|
1617
|
|
POST
|
Are you actually using the fieldmapping at all? If not you can just close your feature class to feature class function parentheses after all the required input. arcpy.FeatureClassToFeatureClass_conversion(inFeatures, outLocation, outFeatureClass, expression)
... View more
06-11-2014
12:18 PM
|
0
|
0
|
1630
|
|
POST
|
I don't think the label expressions take SQL expressions, only Jscript, python, and VBscript For what you want you can use python and check advanced and put in this. def FindLabel ( [[SITE_ADDRE] ): return [SITE_ADDRE][0:6] The [0:6] is an index which return the the values of the string values in your field, from the first(python is zero indexed so first thing is 0) up to 6, but not including it. Should return the first 6 characters of your field value.
... View more
06-11-2014
12:03 PM
|
0
|
0
|
1617
|
|
POST
|
Hi Leo, From the error code, its pretty clear what the problem is in your code. Line 25 outRaster = rasters / rastVal[rast] * 100 TypeError: unsupported operand type(s) for /: 'list' and 'float' From your code I'm not sure exactly what you are trying to do, but you are dividing a list by a float and that throws a type error, since rasters = [os.path.join(raster_ws, r) for r in arcpy.ListRasters()], so your variable rasters is a list. Depending on what you are trying to do, you will probably need to loop through your rasters list to get the actual raster out of it. If you could make it a bit more clear what you are trying to do, it would be a little easier to help you out, but thats why its throwing an error. Edit: Read your post a bit more carefully, if you just need the first raster from your rasters list, use an index, otherwise, you will need to loop through them.
... View more
06-11-2014
05:14 AM
|
0
|
0
|
2251
|
|
POST
|
That is bizarre, I opened your file and the same thing happens, bringing the data in as a layer or a shapefile. What is even stranger is when you do a select by attribute on the field and hit get unique values, it just shows the "Certain" "Probable" and "Uncertain", not those with the delimited values. Even re-doing the values in ArcMap does not fix the issue, I selected each attribute and did a field calculator on each with the string certain, probable, and uncertain and it still shows "Certain , 1, 1" etc. in the unique values symbology. So now you know its not just you. As for a solution, I'm a bit stumped so far.
... View more
06-10-2014
05:41 AM
|
0
|
0
|
1334
|
|
POST
|
Right, summarize takes only numeric fields, so text fields wouldn't be valid. If you need data about how many of each value in the field, I'd try the frequency tool. If you just need to output that field in the table to a dbf, use table to table tool. You won't be able to specify the field you are exporting, but you can edit it in excel.
... View more
06-09-2014
12:43 PM
|
0
|
0
|
1282
|
|
POST
|
If you put in it a zip file then it probably wouldn't be too big.
... View more
06-09-2014
11:27 AM
|
0
|
9
|
3185
|
|
POST
|
You should be able to use the calculate field tool after the add field, then use the summary statistics tool if you need to summarize it.
... View more
06-09-2014
10:58 AM
|
0
|
0
|
1282
|
|
POST
|
If you are merely needing this for labelling purposes, there are several easy python ways to do it without creating a new field. If you really need to populate a field with those, make a new text field, then just use the field calculator, select python as parser and make the field = str(field1here) + str(field2here). Conversely you could make copies of your fields if they are not text type fields, by making two text, new fields and using the field calculator to populate the values in, then create a 3rd new text field and just make it equal to copiedfield1 + copiedfield2
... View more
06-09-2014
10:47 AM
|
0
|
0
|
1282
|
|
POST
|
Would it be possible for you to upload a copy of the csv? Dealing in with all this theoretically makes it a bit hard to deal with. Also which method are you using to create the layer in ArcGIS? Are you bringing the csv sheet into the Table of Contents, then right clicking and selecting "Display XY data" or are you bring it up in the catalog and right clicking on the sheet in the catalog and selecting "Make Feature Class">"From XY data". If you follow the second method, you should be able to make a shapefile out of it, so it wouldn't mess with the lack of projection and move your points like it did when it you made it a gdb feature class.
... View more
06-09-2014
10:39 AM
|
0
|
0
|
3195
|
|
POST
|
Ah, you are creating this from an excel spreadsheet. I just did a test and if you select the column with your values in excel and rightclick and select format cells and change the category to numeric, it will bring the field into ARCgis as a double, instead of text, which is what it bring it in as if the format in excel is general.
... View more
06-09-2014
05:43 AM
|
0
|
0
|
7076
|
|
POST
|
When you bring in the jpg, it will bring in any additional jpgw and jpg.aux.xml files that contain the spatial information automatically(they need to have the same base file names, only different extensions). You will need both the jpgw and the jpg.aux.xml for the image to be georeferenced properly I believe, There is more information in the links below. Read here about world files (.jpgw) and here for auxiliary files that contain the projection and transformation information (jpg.aux.xml). Hope this helps.
... View more
06-06-2014
12:30 PM
|
0
|
0
|
1893
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 02-22-2017 08:58 AM | |
| 1 | 10-05-2015 05:43 AM | |
| 1 | 05-08-2015 07:03 AM | |
| 1 | 10-20-2015 02:20 PM | |
| 1 | 10-05-2015 05:46 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:23 AM
|