|
POST
|
And as Dan Patterson says, you can rebuild the car yourself (well, I guess I'm not sure if this is rebuilding or getting one prebuilt. It makes a prj file, that's all I know): prj = open(r"C:\junk\my_new_prj_file.prj", "w")
crs_string = 'PROJCS["NAD_1983_UTM_Zone_10N",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-123],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1]]'
prj.write(crs_string)
prj.close()
... View more
12-01-2015
09:34 AM
|
1
|
14
|
5857
|
|
POST
|
Are you sure it isn't that SetNull is changing both nulls and zeroes to null (it will)? Also, have you set the processing extent environment to match Ecoregion.tif?
... View more
11-30-2015
02:56 PM
|
1
|
1
|
3557
|
|
POST
|
Just make a dummy layer in the map with no symbology and assign my new point layer to that? Yes, you can switch data source of your dummy layer to your new layer using the replaceDataSource method. I'm not sure how to dynamically color your new lines. You may want to open a new question for that.
... View more
11-30-2015
09:53 AM
|
0
|
0
|
2536
|
|
POST
|
I'm not sure what your options are in 9.3, but I don't believe Excel to Table existed then. Have you tried the Copy Rows tool? I don't understand what you mean by you haven't tried the tool as you want to create an automatic model with model builder. I assume you will be using geoprocessing tools in your model?
... View more
11-30-2015
09:48 AM
|
0
|
1
|
1048
|
|
POST
|
I would add the letter as an attribute and label rather than symbolize. So, if the letter in the attribute for a feature was "P" it would be labeled as "P". Do you have a more complex symbol in mind, like a letter on top of a circle or something?
... View more
11-30-2015
09:40 AM
|
1
|
3
|
2536
|
|
POST
|
I think you can achieve this by using an InsertCursor to create the point geometries plus an attribute for the letter, rather than the list/CopyFeatures method. Your insert cursor would use fields like: ['LETTER', 'SHAPE@XY'] As you suggest, you'd need a layer symbolized as you'd like, but I think this would be best done with no symbol and labeling the point with the letter.
... View more
11-30-2015
09:30 AM
|
1
|
5
|
2536
|
|
POST
|
Have you tried (and do you have access to) the Excel to Table tool?
... View more
11-30-2015
09:13 AM
|
1
|
3
|
1048
|
|
POST
|
I believe "Not IsNull(the raster)" should be equivalent to "the raster" (although I'm open to reasons why it's not): SetNull( "water3a", "Ecoregion.tif")
... View more
11-30-2015
09:01 AM
|
0
|
4
|
3557
|
|
POST
|
My point is that a TIFF will drape just as good as a GRID, so conversion should not be your main focus. In any case, I'm curious what you hope to achieve with this overlay? Is it just a visual thing? You can symbolize your imagery to be partially transparent overtop of a hillshade layer (created from your DEM). I'm not sure what you can do with imagery somehow fused to elevation in a single raster.
... View more
11-26-2015
09:42 AM
|
1
|
1
|
11278
|
|
POST
|
The thing that jumps out is that you collect user input into 'model_list', but that value never gets compared to anything in your Oracle DB.
... View more
11-26-2015
09:22 AM
|
0
|
0
|
1981
|
|
POST
|
You can do all of this using a label expression with a VBScript or Python expression equivalent to: "if the number part of the dollar amount is greater than 100,000 but less than 1,000,000, divide it by 1,000, make it an integer, and concatenate that number between "$" and "M" characters. On the other hand, if the number part of the dollar amount is greater than or equal to 1,000,000, divide the number by 1,000,000, make it an integer, and concatenate that number between "$" and "MM"."
... View more
11-26-2015
09:10 AM
|
1
|
2
|
1467
|
|
POST
|
There is no need to convert from TIFF to GRID (although you can) because you can load and overlay the TIFF directly. Is there another part of the process giving you trouble?
... View more
11-26-2015
09:01 AM
|
2
|
3
|
11278
|
|
POST
|
Using Python, you can use: 1.) ListFeatureClasses 2.) GetCount 3.) Delete Reply once you've got a script going for more help.
... View more
11-25-2015
03:48 PM
|
2
|
2
|
1702
|
|
POST
|
Well, I don't believe I answered the question, but maybe thinking about license-levels did the trick...? Anyhow, I'd be interested to see what this looks like through numpy.
... View more
11-25-2015
02:06 PM
|
0
|
1
|
6413
|
|
POST
|
I'm not sure, but I believe this will only get you the closest vertex, not the closest location on a line (which doesn't necessarily mean a vertex). You need to do some trig in between each vertex. But, I could be missing some of the numpy magic going on here.
... View more
11-25-2015
01:51 PM
|
1
|
3
|
6413
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 11-25-2015 01:51 PM | |
| 1 | 08-30-2013 02:22 PM | |
| 1 | 04-12-2011 11:19 AM | |
| 1 | 09-17-2021 09:43 AM | |
| 1 | 04-04-2012 12:05 PM |
| Online Status |
Offline
|
| Date Last Visited |
07-15-2023
12:11 AM
|