POST
|
I have a several polygons with certain statistical values. I want to cut the polygon with a fishnet (1000m*1000m). Eventually I want that the tiles of the grid has the percentual values of the polygon and I want to convert that to a raster. Any ideas how to do this? Picture is attached. [ATTACH=CONFIG]18319[/ATTACH]
... View more
10-10-2012
05:14 AM
|
1
|
9
|
2343
|
POST
|
Hi all, I want to convert landuse polygons to raster. The position an size of the new raster with the landuse values shall be based on a fishnet/grid polygon shapefile. Any suggestions how do this? I am completely new to raster data. Thanks, Uli
... View more
10-10-2012
03:25 AM
|
0
|
1
|
881
|
POST
|
what do you mean with working with a new profile. do you mean like acutually logging on the computer, with a different username?
... View more
12-01-2010
05:35 PM
|
0
|
0
|
818
|
POST
|
i am bringing up an old topic, that already was discussed in the old forum. by inserting data in my tool, everything is really slow. does anyone have a idea what causes this. i deleted histroy and log files. it helped a little, but is still slow.
... View more
11-17-2010
02:35 PM
|
0
|
3
|
1395
|
POST
|
arcpy.Select_analysis(locationstands, outfeatureclass, "identify = '%s'" % feature_label) it seems to work. thank you guys!
... View more
11-12-2010
12:47 PM
|
0
|
0
|
387
|
POST
|
yes, you are right. i am describing a layer property. so that is properly not possible with model builder. thanks for your explanation. but i thought, since it is also possible to set the symbology of the output layer, i thought it might be possible as well.
... View more
11-12-2010
11:58 AM
|
0
|
0
|
1172
|
POST
|
okay, i am quite knew to this. just started using python last week. i changed the code to the following
FeatureToPoint = arcpy.GetParameterAsText(0)
feature_label = arcpy.GetParameterAsText(1)
locationstands = arcpy.GetParameterAsText(2)
outfeatureclass = arcpy.GetParameterAsText(3)
if FeatureToPoint == "U:\\Intern\\Ulrich\\fairbanks_biomass\\test.gdb\\%s_FeatureToPoint" % feature_label:
arcpy.Select_analysis(locationstands, outfeatureclass, "identify = '%s'" % feature_label)
arcpy.AddMessage("works%s" % feature_label)
else: arcpy.AddError("doesntwork")
and i made the "feature_label" parameter to string. but what shall i now put in there? here is the part of my model, it might help to understand the process
... View more
11-12-2010
10:34 AM
|
0
|
0
|
387
|
POST
|
thank you for the information, but what i am looking for is that in the field the actual dollar sign appears. if a open the attribute table in arcmap, i can set in the field properties a number format. for example currency. do you know how i can set this number format in model builder, for the field i add?
... View more
11-12-2010
09:23 AM
|
0
|
0
|
1172
|
POST
|
for example when i add a new field to an existing table and then calculate a field in there. i know i can set in "add field" type: double. but what i also need to set is the format to currency.
... View more
11-12-2010
07:52 AM
|
0
|
0
|
1172
|
POST
|
is there a way to set the format of numeric fields in model builder? thanks, uli
... View more
11-10-2010
07:40 PM
|
0
|
6
|
1971
|
POST
|
hi, i wrote the following script. it is supposed to select feature classes out of a featuredataset, based on the feature class stored in another geodatabase. it works fine so far. but i want to make it more flexible. in the following line for example: if FeatureToPoint == "in_memory\\A_FeatureToPoint": arcpy.Select_analysis(locationstands, outfeatureclass, "\"identify\" = 'A'"); arcpy.AddMessage("worksA") "in_memory\\A_FeatureToPoint" shall be somehow get connected to "\"identify\" = 'A'". so the two "A"s shall get connected. i have a hard time expressing what i want. i hope you guys understands me and can help me. thanks, uli here is the full code: # Import: import arcpy import sys import os from arcpy import env # Variables: FeatureToPoint = arcpy.GetParameterAsText(0) locationstands = arcpy.GetParameterAsText(1) outfeatureclass = arcpy.GetParameterAsText(2) if FeatureToPoint == "in_memory\\A_FeatureToPoint": arcpy.Select_analysis(locationstands, outfeatureclass, "\"identify\" = 'A'"); arcpy.AddMessage("worksA") elif FeatureToPoint == "in_memory\\B_FeatureToPoint": arcpy.Select_analysis(locationstands, outfeatureclass, "\"identify\" = 'B'"); arcpy.AddMessage("worksB") elif FeatureToPoint == "in_memory\\C_FeatureToPoint": arcpy.Select_analysis(locationstands, outfeatureclass, "\"identify\" = 'C'"); arcpy.AddMessage("worksC") elif FeatureToPoint == "in_memory\\D_FeatureToPoint": arcpy.Select_analysis(locationstands, outfeatureclass, "\"identify\" = 'D'"); arcpy.AddMessage("worksD") elif FeatureToPoint == "in_memory\\E_FeatureToPoint": arcpy.Select_analysis(locationstands, outfeatureclass, "\"identify\" = 'E'"); arcpy.AddMessage("worksE") elif FeatureToPoint == "in_memory\\F_FeatureToPoint": arcpy.Select_analysis(locationstands, outfeatureclass, "\"identify\" = 'F'"); arcpy.AddMessage("worksF") elif FeatureToPoint == "in_memory\\G_FeatureToPoint": arcpy.Select_analysis(locationstands, outfeatureclass, "\"identify\" = 'G'"); arcpy.AddMessage("worksG") elif FeatureToPoint == "in_memory\\H_FeatureToPoint": arcpy.Select_analysis(locationstands, outfeatureclass, "\"identify\" = 'H'"); arcpy.AddMessage("worksH") elif FeatureToPoint == "in_memory\\I_FeatureToPoint": arcpy.Select_analysis(locationstands, outfeatureclass, "\"identify\" = 'I'"); arcpy.AddMessage("worksI") elif FeatureToPoint == "in_memory\\J_FeatureToPoint": arcpy.Select_analysis(locationstands, outfeatureclass, "\"identify\" = 'J'"); arcpy.AddMessage("worksJ") elif FeatureToPoint == "in_memory\\AA_FeatureToPoint": arcpy.Select_analysis(locationstands, outfeatureclass, "\"identify\" = 'AA'"); arcpy.AddMessage("worksAA") else: arcpy.AddMessage("doesntwork")
... View more
11-10-2010
11:04 AM
|
0
|
5
|
509
|
POST
|
hi, im trying to modify the grid index features layer in order to create data driven pages and im following for this the steps of desktop help . at step 8 it says "Enter 600 for Field Length and click OK". the problem is now, that the maximum length of a text field ist 254. if i continue to step 9 and calculate the utm zone, it obviously doesnt work. any ideas how to get around this? thanks, uli
... View more
10-01-2010
01:03 PM
|
0
|
2
|
1948
|
Title | Kudos | Posted |
---|---|---|
1 | 10-10-2012 05:14 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|