|
POST
|
But I see this for wkid 43041 >>> import arcpy
>>> sr = arcpy.SpatialReference(43041)
Traceback (most recent call last):
File "<interactive input>", line 1, in <module>
File "C:\Program Files (x86)\ArcGIS\Desktop10.4\ArcPy\arcpy\arcobjects\mixins.py", line 962, in __init__
self._arc_object.createFromFile(item)
RuntimeError: ERROR 999999: Error executing function.
the input is not a geographic or projected coordinate system
>>> So, what sort of Orthographic projection are we talking about here?
... View more
01-10-2017
01:56 AM
|
0
|
3
|
5062
|
|
POST
|
I have done this in the past by using a "template" string. You can copy this from your known, existing projection. Then use the string formatting in python to modify the parameters to what you want. A bit like this : prjTemplate = 'PROJCS["My_local_projection",GEOGCS["GCS_Cape",DATUM["D_Cape",SPHEROID["Clarke_1880_Arc",6378249.145,293.466307656]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Local"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Scale_Factor",{0}],PARAMETER["Azimuth",{1}],PARAMETER["Longitude_Of_Center",16.661764589799],PARAMETER["Latitude_Of_Center",-28.407083714978],UNIT["Meter",1.0]]'
srLocalString = prjTemplate.format(1.0, 40.0) # set new parameters here, see placeholders in prjTemplate
srLocal = arcpy.SpatialReference()
srLocal.loadFromString(srLocalString)
... View more
01-09-2017
10:58 PM
|
2
|
4
|
5062
|
|
POST
|
Sorry for the long delay, holidays.... Can you post a snapshot of the first few lines in each file? What do the numbers look like?
... View more
01-09-2017
12:49 AM
|
0
|
2
|
2127
|
|
POST
|
Well the answer is yes, of course. I haven't looked at your zip file, but the basic workflow would be to construct a list of the rasters to clip, then cycle through them using clip_raster.
... View more
12-20-2016
10:12 PM
|
0
|
1
|
814
|
|
POST
|
Most of the issues around empty output revolve around coordinates systems (both must be the same) and whether the 2 rasters actually overlap. Have you looked at your inputs in ArcMap?
... View more
12-15-2016
04:31 AM
|
2
|
1
|
6252
|
|
POST
|
Well I think this bit says it all Either use "overwrite service", or provide a different service name.
... View more
12-14-2016
02:51 AM
|
1
|
0
|
1911
|
|
POST
|
I think server is running 64bit. What is this tool using which is trying to execute something in 32bit. Having had some recent experience getting GP services to run, its a bit of an art. Stuff can work perfectly as a tool in Desktop, but then just do nothing at all running as a service on the server.
... View more
12-08-2016
05:08 AM
|
0
|
1
|
2475
|
|
POST
|
Well you can't indicate a transformation without the output coordinate system. So I am not sure what you are saying here.
... View more
12-07-2016
08:30 AM
|
0
|
2
|
5839
|
|
BLOG
|
"you can really mess with your head by parsing stacked lines with variable starred assignment." Couldn't agree more Dan_Patterson
... View more
12-07-2016
07:52 AM
|
0
|
0
|
427
|
|
POST
|
Sorry but what do you mean here : "First I established both systems" Was the data already georeferenced, as is normal. Or have you been fiddling with it?
... View more
12-07-2016
06:58 AM
|
0
|
4
|
5839
|
|
POST
|
You can do a lot of stuff with QGIS, but this is the esri forum!
... View more
12-07-2016
06:56 AM
|
0
|
5
|
2127
|
|
POST
|
Not sure, I would probably go with spatial analyst, but that's just me. spatial-analyst-toolbox 3d-analyst-toolbox
... View more
12-07-2016
06:47 AM
|
0
|
7
|
2127
|
|
POST
|
A few ideas : Paths with spaces in them or other nasty characters. Is it tif format both sides, input and output? Or into a geodatabase? No leading numbers for the name if gdb and no extension. Are you specifying a datum transformation here as well?
... View more
12-07-2016
06:37 AM
|
1
|
6
|
5839
|
|
POST
|
What are your regional settings for the decimal separator? "." or ","?
... View more
12-07-2016
06:29 AM
|
0
|
0
|
3278
|
|
POST
|
No 3D analyst is not the same as Spatial Analyst. They are separate extensions (but some of use have wondered for years why they are not bundled together. SA does most of the raster and raster surface stuff. 3DA tins and you can do quite a lot with 3d geometries (Multipatches). If you are dealing with comparisons of surfaces (like bathymetry), you will probably want to do that with raster surfaces and use SA. But could also do this with 3DA using tins. Confusing, huh...
... View more
12-07-2016
06:26 AM
|
0
|
15
|
2127
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 09-08-2015 11:28 PM | |
| 1 | 12-20-2013 08:59 PM | |
| 1 | 05-14-2014 10:38 PM | |
| 1 | 12-16-2013 09:05 PM | |
| 1 | 05-31-2019 02:50 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:23 AM
|