|
POST
|
Agreed. The words keep coming out of their mouths, but actual progress has been painfully slow. Now they have released 10.3 and formally retired SDE command line tools, all while still missing quite a bit of functionality that used to exist. It is not uncommon to find SDE-related bugs, especially relating to views, where Esri's Support documentation says to use SDE command line tools as the workaround. I think the Development teams are putting the screws to their own Support staff as much as they are customers with this one.
... View more
01-05-2015
07:22 PM
|
3
|
0
|
3005
|
|
POST
|
What build number or update number are you running? Complaints about not being able to rename database connections started surfacing 7 or so months ago in the beta community forums. At the time, a bug was logged: NIM101677 - Provide a way to rename database connections. A few months ago, Esri developers stated that renaming connection files would "be supported in Prelease." It appears either the functionality isn't supported yet or there are still some bugs to work out with it. Either way, I encourage you to open an Esri Support case so they can fix what is wrong or know more customers really want this before final release.
... View more
01-05-2015
07:10 PM
|
2
|
2
|
3899
|
|
POST
|
Kirsten Pinkston, thanks for the additional information. Yes, seeing more full releases in MyEsri does assuage some of my concerns. I remain quite interested to see how well partial updates work.
... View more
01-05-2015
06:15 PM
|
0
|
0
|
1574
|
|
BLOG
|
I understand, both the situation and frustration. For reasons only a shrink could speculate about, it bothers me more than it should when I have to stick with a workaround because something that seems so simple simply isn't. Although addressing this issue has gotten easier with Python 3.x, it still seems more complicated than it needs to be.
... View more
01-05-2015
05:41 PM
|
0
|
0
|
324
|
|
BLOG
|
Using a list of key-value pairs is definitely the way to go. Sorting a list of keys works in this example, but in general, it doesn't ensure the original ordering is maintained like using a list of key-value pairs.
... View more
01-05-2015
03:51 PM
|
0
|
0
|
324
|
|
BLOG
|
Dan Patterson wrote: Sorted dictionaries should be the norm for namespace, but alas, that won't happen.. Sorted or ordered? If you meant ordered, there is some light around the corner with ArcGIS Pro since it uses Python 3.x. With Python 3.x, one can create a metaclass and use the __prepare__() method to replace the normal/default/unordered namespace dictionary with an ordered dictionary. I can't recall at the moment whether I have seen someone implement similar functionality in Python 2.x, but it surely wouldn't be as straightforward as in Python 3.x.
... View more
01-05-2015
03:39 PM
|
0
|
0
|
324
|
|
POST
|
How are you setting the workspace environment? Can you post the functional part of the code that isn't working? Do you have more than 1 Python install on the machine?
... View more
12-22-2014
06:54 AM
|
0
|
6
|
2831
|
|
POST
|
When it comes to discrete raster data, especially color maps, I have always thought ArcMap's rendering engine falls short. Looking at how a section of 470012130.tif renders on my screen between Windows Photo Viewer and ArcMap. Windows Photo Viewer: ArcMap: Granted, Windows Photo Viewer is treating the image as RGB while ArcMap is dealing with the color map, but it just seems the quality difference shouldn't be this pronounced.
... View more
12-21-2014
08:54 AM
|
0
|
0
|
700
|
|
POST
|
Switching to bilinear could make things worse in this case because the data is discrete, even densely discrete. Bilinear resampling is more for continuous data, and even the Improving the display of raster data help page is really geared toward continuous data and not discrete data.
... View more
12-21-2014
08:16 AM
|
0
|
0
|
3550
|
|
POST
|
The ZIP file you reference has 2 TIFs. Both are georeferenced, although only one of them has the term "geo" in it. Looking at the TIFF image metadata shows the following, and ArcMap shows the same information. 470012130_geo.tif: Geographic, NAD83 470012130.tif: Projected, NAD83 UTM zone 10N Which image are you having problems with? And what is the projection of the data frame? Your "good" capture didn't come through as an attachment so I am not clear on what you are expecting to see.
... View more
12-21-2014
08:10 AM
|
0
|
1
|
700
|
|
POST
|
Although this is an older thread/message, I stumbled onto this problem recently and noticed some odd behavior with the ArcPy Geometry Classes and spatial references. As Neil Ayres points out, including a spatial reference is a good practice. The documentation of ArcPy Geometry Classes is a bit weak or confusing on this specific issue because spatial_reference is listed as an optional argument with a default value of None. According to the documentation, there is no reason your original code shouldn't work. What is happening might be related to a similar issue that was discussed in detail years back by Dan Patterson and David Wynne in the Errors in arcpy's Polygon class thread. I don't know what exactly is going on, but I would say there is a bug in the ArcPy Geometry Classes. Looking at the same set of coordinates with four different spatial reference scenarios: coords = [(147.7359, -35.5386), (147.7374, -35.5397), (147.7304, -35.5409),
(147.7304, -35.5409), (147.7255, -35.5439), (147.7249, -35.5416)]
SR_list = [['noneSR', None],
['emptySR', arcpy.SpatialReference()],
['webmercSR', arcpy.SpatialReference(3857)],
['wgs84', arcpy.SpatialReference(4326)]]
results = [['SR_Name', 'Type', 'PCSName', 'GCSName', 'XYResolution', 'pointCount']]
for SR_name, SR in SR_list:
pn = arcpy.Polygon(
arcpy.Array([arcpy.Point(*coord) for coord in coords]),
SR
)
pnSR = pn.spatialReference
if pnSR is None:
results.append([SR_name, SR.type, SR.PCSName,
SR.GCSName, SR.XYResolution, pn.pointCount])
else:
results.append([SR_name, pnSR.type, pnSR.PCSName,
pnSR.GCSName, pnSR.XYResolution, pn.pointCount])
for result in results:
print '{:<12}{:<12}{:<36.34}{:<12.10}{:<12.10}{:<4}'.format(*result)
Yields:
SR_Name Type PCSName GCSName XYResoluti pointCount
noneSR Unknown 0.0001 0
emptySR 0.0 6
webmercSR Projected WGS_1984_Web_Mercator_Auxiliary_Sp 0.0001 0
wgs84 Geographic GCS_WGS_19 1e-09 6
To me, this behavior seems odd. Using no spatial reference (None), which is the default, arcpy.Polygon does not generate an error, but it effectively doesn't generate a polygon either (from a practical perspective, I don't consider a polygon with zero points a polygon, especially when it should have six points). Using an empty spatial reference, arcpy.Polygon generates a 6-pt polygon using a spatial reference that has no type, no names, and no XY resolution. Interestingly enough, although a polygon is generated with six points and all the Polygon methods work, none of the geoprocessing tools (CopyFeatures_management, etc...) that I tried would work with it, likely due to its nonexisting spatial reference. Using the Web Mercator projection, arcpy.Polygon fails to create the polygon in question even though the coordinates are valid within the Web Mercator projection. And finally using a geographic coordinate system, arcpy.Polygon generates the polygon we have been after the whole time. From my perspective, the none/default and Web Mercator spatial references should generate a 6-pt polygon but don't while the empty spatial reference should generate an error instead of generating a 6-pt polygon.
... View more
12-18-2014
02:59 PM
|
1
|
6
|
1907
|
|
POST
|
Your current attempt isn't working because you are trying to multiply a string by a floating point number, which Python doesn't like so the CalculateField_management tool won't work either. Try rewriting Line 21 as: Expression = "!Qs_Mt_a! * {}".format(float(LSARqssedret))
... View more
12-17-2014
09:02 AM
|
2
|
5
|
1906
|
|
POST
|
From Database connections in ArcGIS Pro: Note: ArcGIS Pro connects to enterprise geodatabases and enterprise databases (contains no geodatabase repository tables) on supported platforms, however, the contents of an enterprise database cannot be added to the Map at this time. Please read more about the Make Query Layer geoprocessing tool as an alternative to working with data stored in a database.
... View more
12-17-2014
06:08 AM
|
0
|
0
|
581
|
|
POST
|
I have IE11 on Windows 7, the specific path may differ by OS or IE version.
... View more
12-15-2014
12:46 PM
|
0
|
0
|
1574
|
|
POST
|
C:\Users\%username%\AppData\Local\Microsoft\Windows\Temporary Internet Files\{uniquiely_generated_folder_name}\downloads.arcgis.com As soon as the installer is complete, all the files in those folders are deleted, so there is a window of opportunity to copy them out.
... View more
12-15-2014
12:39 PM
|
0
|
2
|
1574
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | a week ago | |
| 1 | 2 weeks ago | |
| 1 | 4 weeks ago | |
| 1 | 12-02-2025 07:31 AM | |
| 1 | 11-03-2025 08:26 AM |
| Online Status |
Offline
|
| Date Last Visited |
12 hours ago
|