|
POST
|
Hello Matt, according to the tool help there are two requirements for attaching the photos to the feature class: 1. You must have at least a Standard license (Basic license does not support attachments). 2. The output feature class must be in a geodatabase of at least version 10. Do you meet these requirements? Thanks, Drew
... View more
11-29-2012
06:31 PM
|
0
|
1
|
3535
|
|
POST
|
Hi Stacywood, Will you please describe more about how the projection is wrong? Are the points on the map in a location that you do not expect? If you could provide one sample image (and the city/area where you think it should draw on the map) I would be happy to look into the problem. All the best, Drew -Esri
... View more
10-18-2012
10:05 AM
|
0
|
0
|
3535
|
|
POST
|
This is a known issue with both the Append (management) and Merge (management) tools, which we will attempt to address as soon as possible -- you can follow the issue by using the identifier NIM081084. Both tools support table views and feature layers, but the bug prevents a table view made from a feature class from being appended or merged with a table. You can append or merge a table view made from a table with another table. For the time being, the recommendation above to copy your table view to a temporary table using the Copy Rows (management) tool is the best solution. You can even copy to the in_memory workspace so that you don't have to consider cleaning up this intermediate data. Regards, Drew - Esri
... View more
05-23-2012
10:59 AM
|
0
|
0
|
652
|
|
POST
|
I've revisited the steps that I set out in the previous email and realized there was some mistakes. Please refer to the steps below for instructions to transfer attachments. This workaround is only valid if the geoprocessing operation you are performing does not reorder ObjectIDs (the Project tool DOES NOT reorder ObjectIDs). You can test this by running the tool, then checking the output dataset -- if each of the records in the input dataset have a corresponding record in the output dataset, and the ObjectIDs match, then you should be able to use the steps below. 1. Run the desired geoprocessing tool, like Project (management). 2. Right-click the output feature class and create/enable Attachments. This will create an empty __ATTACH table and a relationship class relating that table to the output feature class. 3. Use the Append (management) tool to append the original feature class' __ATTACH table into the output feature class' __ATTACH table. The __ATTACH table is where the attachments are actually stored (in a BLOB field) so appending these records is a key step. Input Dataset = input__ATTACH; Target Dataset = output__ATTACH.
... View more
05-18-2012
04:05 PM
|
0
|
0
|
1752
|
|
POST
|
A quick note before my response: for the 10.1 release, 5 new tools have been added to the Data Management Tools toolbox for adding and managing attachments. This will make working with attachments in general much easier, especially when doing batch jobs. With that said, the issue of attachments not being carried over to new geoprocessing outputs has not been addressed, so a workflow like I describe below will still be necessary and applicable. Learn more about the Attachment toolset Geodatabase attachments are stored as BLOBs in a table which is connected to your feature class via a relationship class. You can find this associated table and relationship class in the same geodatabase as your feature class (they are named the same as the feature class, but with __ATTACH and __ATTACHREL suffixes). Like you have observed, when a geoprocessing tool creates a new output from the feature class, as the Project (management) tool does, the attachments associated with the input feature class are not carried over to the output feature class. Here are a few steps you can do to "re-relate" the attachment table that stores the attachments with your new output feature class. 1. Add a Long Integer field to the input named 'IN_FID', and calculate it equal to the input's ObjectID field. We want to keep track of these original ObjectIDs since the attachments relationship class uses ObjectIDs as key fields, and many geoprocessing tools may reorder ObjectIDs, especially in the case where there are some values missing. 2. Run the desired geoprocessing tool, like Project (management). 3. Right-click the output feature class and create/enable Attachments. This will create an empty __ATTACH table and a relationship class relating that table to the output feature class. 4. Delete the output__ATTACHREL relationship class. 5. Use the Append (management) tool to append the original feature class' __ATTACH table into the output feature class' __ATTACH table. The __ATTACH table is where the attachments are actually stored (in a BLOB field) so appending these records is a key step. Input Dataset = input__ATTACH; Target Dataset = output__ATTACH. 6. Right-click on the output geodatabase and select to create a new relationship class. The origin will be your output feature class, and the destination will be the output__ATTACH table (the target dataset from Append). This relationship class should be Composite, 1 - M, with No messaging and no additional attributes. Select IN_FID as the primary key field, and REL_OBJECTID as the foreign key field. That's all! Your output feature class will now have the same attachments as your input. Let me know if you have any questions, and good luck! Drew - Esri
... View more
05-15-2012
11:05 AM
|
0
|
0
|
1752
|
|
POST
|
I'm very sorry for the difficulty everyone is having with the slow-downs for the Feature Class To Feature Class (Conversion) tool. As has been indicated above, Esri knows about a performance issue with this tool that was introduced in 10.0 SP2. In that service pack, new functionality was added so that when geodatabase data with attribute domains is converted to shapefile (which does not support domains), a new field is added to the output shapefile to maintain the domain description information. The short story of the problem is this additional step of adding the domain description text causes large increases in processing time. This issue is being worked on in 10.0 Service Pack 5, and will provide significant improvements in performance. In addition to the performance improvements, in the 10.1 release, a new geoprocessing environment is added so that you can control if domain description information should be maintained in the output. People on this board have replied with some good workarounds -- you can use the ArcMap Export function, or use the Copy Features (Management) geoprocessing tool to copy your geodatabase data to shapefile -- neither of these methods will maintain domain descriptions so performance will be superior. Good luck to everyone, Drew -Esri
... View more
05-14-2012
09:42 AM
|
0
|
1
|
879
|
|
POST
|
There is a sample tool called Divide At Line that you can download from the Geoprocessing Model and Script Tool Gallery. Divide At Line This essentially does a few overlay operations to split the geometries and attributes at either a drawn line or a line layer. The attributes in the output will be divided proportionally by the area of the new geometries divided by the area of the original geometry. A key part of this analysis is the use of the Ratio policy option of the Make Feature Layer (Management) tool. You can learn about that here. Good luck! Drew -Esri
... View more
04-24-2012
01:35 PM
|
0
|
0
|
1198
|
|
POST
|
An easy way to share data is to use the Package Layer (management) tool to convert your feature class/layer to a file that you can email or upload. I'm glad that you've found a workaround, but if you can provide your data I would still like to investigate the problem. Thanks, Drew
... View more
04-20-2012
09:57 AM
|
0
|
0
|
1154
|
|
POST
|
Hi Garret, sorry to hear about your difficulty. I tried reproducing the issue with some basic test data, and did not see an issue when buffering with the dissolve "NONE" setting -- each of the input features had a buffer record in the output, with all attributes from the input. Can you upload a screenshot of the Buffer tool dialog before you click run? Also, if you can provide any test data it will go a long way in tracking down your issue. From your description your workflow is sound. As long as your polygons have some unique identifier there should be no issue in doing the buffer, intersecting the buffers with another layer, then rejoining a length calculation to the original polygons based on that unique ID. But not getting any input attributes in your buffer will definitely put a wrench in this, as you've seen. Look forward to hearing back from you. Drew -Esri
... View more
04-19-2012
02:53 PM
|
0
|
0
|
1154
|
|
POST
|
The Python numeric package NumPy has a good correlation function, and you can also easily convert raster to NumPy arrays in ArcGIS 10.0. Here is a short script that I've used before, to calculate the correlation coefficient between two rasters: import numpy
array1 = arcpy.RasterToNumPyArray("per_under30.tif")
array2 = arcpy.RasterToNumPyArray("per_renter.tif")
print numpy.corrcoef(array1.ravel(), array2.ravel())
You will just need to split your single raster with multiple attributes into multiple rasters. This will return a correlation matrix like this: [[ 1. 0.28250181] [ 0.28250181 1. ]] ...so between my two variables there is a 0.28xxx correlation coefficient (between the same variable of course the correlation coefficient is 1). Here's some more information on the NumPy corrcoef function: http://docs.scipy.org/doc/numpy/reference/generated/numpy.corrcoef.html Good luck! Drew
... View more
03-29-2012
03:58 PM
|
0
|
0
|
526
|
|
POST
|
Hi Ted, what is the format of your input table? If it is a .csv, .txt, or other format that does not have an ObjectID field then SQL expressions will not work (this is a known issue for these types of tables). One thing you might try is to use the Table Select (analysis) tool with the same expression. Drew - Esri
... View more
10-21-2011
11:03 AM
|
0
|
0
|
569
|
|
POST
|
Can I ask what your application is? I wrote this tool, and am always looking for 'typical' cases where someone would want the buffers to be a specified area. Thanks Drew - Esri
... View more
08-17-2011
09:15 AM
|
0
|
0
|
1292
|
|
POST
|
There is a tool on the Geoprocessing resource center for performing this exact operation. You can find the tool here: http://resources.arcgis.com/gallery/file/geoprocessing/details?entryID=946CA3EC-1422-2418-7FCD-4B273EAFD089 If you have any feedback, comments, or questions about the tool please use this forum, as I will get automatic notification. Good luck! Drew - Esri
... View more
08-16-2011
02:32 PM
|
0
|
1
|
1292
|
|
POST
|
Hello, Has anyone used the new GeoTagged Photos To Points tool to convert their geotagged photos to a point feature class? I'm curious if people are able to do this effectively with the new tool and what kind of devices are being used to capture the geotagged photos. Thanks Drew-Esri
... View more
08-04-2011
01:44 PM
|
0
|
22
|
15448
|
|
POST
|
Chris, these same Random Number environments are also available in ArcGIS 9.3 and 9.3.1. In your Python script, set the environments using the code below. import arcgisscripting gp = arcgisscripting.create(9.3) #set the random seed to 4, and the generator type to Mersenne Twister gp.RandomGenerator = "4 MERSENNE_TWISTER"
... View more
11-11-2010
12:01 PM
|
0
|
0
|
1435
|
| Title | Kudos | Posted |
|---|---|---|
| 3 | 03-22-2024 09:27 AM | |
| 2 | 03-08-2024 01:56 PM | |
| 3 | 02-21-2024 11:58 AM | |
| 1 | 05-09-2023 02:24 PM | |
| 3 | 02-27-2023 05:23 PM |
| Online Status |
Offline
|
| Date Last Visited |
a week ago
|