|
POST
|
Yes, in forground. In Visual Studio and C# I have all kinds of progress bars so I want this ArcGIS/Python script to have that kind of bar and as it creates layers and GDBs (Hundreds of them) it has a progress bar that shows up how far it is along. Thanks, I'll study it. Paul
... View more
06-24-2016
08:18 AM
|
0
|
0
|
994
|
|
POST
|
I made a tool in the 'My Toolboxes', part of ArcMAPS. Now it does several functions and I want it to show a progress bar in the dialog box that pops up at first when one runs the script. I put the SetProgressor and nothing shows up. The box just takes the input from the parms and does it's think while shutting down after I click the 'OK' button at the bottom. How does it work? Also same for the AddMessage. It goes to the log but not on the popup window when I run it. Thanks!
... View more
06-24-2016
07:39 AM
|
0
|
2
|
2201
|
|
POST
|
Thanks. I would have made the sniplet if the license they got for my ArcMap allowed it. And it would have made my life MUCH simpler. I'll now research the Append and get it to work. Thanks.
... View more
06-21-2016
06:22 AM
|
0
|
0
|
1503
|
|
POST
|
Thanks guys. I got the first part to work perfect (creating features for all 189 of 'em!) using arcpy.CreateFeatureclass_management. Now on FeatureClassToFeatureClass_conversion (copying a template to the newly created feature classes.) My ArcMap shows the template I wish to copy/convert as: c:\output - maps - code_mapgrid.mdb - Mapgrid [] Block_template_number (feature class I wan to copy but rename with such as Block_002_003) Does the arcpy.env.workspace point to the mdb where the class is? How does it know where to find the inFeatures? arcpy.FeatureClassToFeatureClass_conversion(inFeatures, outLocation, outFeatureClass, expression) All want it to do is copy over the blank features (Block_002_003) I made in the new GDB with features in the template mdb (Block_template_number). Thanks, Paul
... View more
06-20-2016
09:15 AM
|
0
|
0
|
1503
|
|
POST
|
Thanks guys, here is where I'm at. In a created GDB we have four classes already there (in hundreds of these.) MAPGRID_003_076.gdb MapGrid A_003_076 - Geodatabase Feature Class B_003_076 - Geodatabase Feature Class C_003_076 - Geodatabase Feature Class D_003_076 - Geodatabase Feature Class And in a template GDB they have the same Classes but three more they want to copy. But these three Feature Classes have some data. CountyCode_MapGrid-template.gdb MapGrid F_mapgrid_number <--want to copy this Geodatabase Feature Class A_mapgrid_number G_mapgrid_number <--want to copy this Geodatabase Feature Class B_mapgrid_number H_mapgrid_number <--want to copy this Geodatabase Feature Class C_mapgrid_number D_mapgrid_number So F, G, and H have to be copied AND renamed so the 'mapgrid_number' = such as '003_076'. I created them using... arcpy.CreateFeatureclass_management(out_path, out_name, geometry_type, template, has_m, has_z, spatial_reference) Which works fine and ArcMap shows it up. But now I need to copy INTO the new created F, G, and H Geodatabase Feature Class from another GDB that already has a F, G, and H Geodatabase Feature Classes that has data they want to show up on ALL of them. Now do I create as I did above and then use arcpy.CopyFeatures_management to overlay the new F, G, and H I already have or is there some way to skip the create and just copy it across. Thanks, Paul
... View more
06-17-2016
01:42 PM
|
0
|
1
|
2881
|
|
POST
|
No. I now see I first run the CreateFeatureclass_management and then MakeFeatureLayer. But it is going to be complicated as I have to find out where the spatial_reference template they want me to use! Sadly they are on vacation.... Thanks anyway.
... View more
06-17-2016
09:13 AM
|
0
|
0
|
2881
|
|
POST
|
Question.. which comes first. the layer or the feature class? Thanks.
... View more
06-17-2016
08:32 AM
|
0
|
1
|
2881
|
|
POST
|
I intend to do MANY recursive operations to match quit a few GDBs and I need to run it that way instead of spending the day doing them one at a time? Is there a library that has the Python/ArcGIS code behind the toolbox folder? Thanks.
... View more
06-17-2016
06:35 AM
|
0
|
1
|
2980
|
|
POST
|
Thanks but the create feature class has linkrot. At least it cannot find it. How did you find it? Paul
... View more
06-15-2016
09:13 AM
|
0
|
0
|
2881
|
|
POST
|
I'm a self taught (well still learning) Python/ArcGis programmer. The company I work for does well maps. How does one use python to create a layer? I know I can click down to the personal Geodatabase.mdb on ArcMaps and right click and do a 'create layer' but we have a huge number of maps to create and we have a large library of GDB to make into layers on maps. I would hope the script behind that 'create layer' would be visible but it isn't. I want to make a batch process to do all the work instead of getting on ArcMap 10.4 and doing them one by one. I presume arcpy and one (or several of the functions/methods) are used. Thanks for any help!
... View more
06-15-2016
08:48 AM
|
0
|
16
|
8864
|
|
POST
|
Didn't know we had a Python in GIS Developers! Thanks, I'll use that for any problems needing Python code.
... View more
06-14-2016
12:38 PM
|
0
|
0
|
694
|
|
POST
|
How does one use python to create a layer? I know I can click down to the personal Geodatabase.mdb and right click and do a 'create layer' but we have a huge number of maps to create and we have a large library of GDB to make into layers on maps. I want to make a batch process to do all the work instead of getting on ArcMap 10.4 and doing them one by one. Thanks for any help!
... View more
06-14-2016
08:12 AM
|
0
|
2
|
2473
|
|
POST
|
Thanks. But can one convert linestring data to shapefile via such as Python or C#? I have such as LINESTRING (1981440.31013335 10450262.42901984 2272, 1981440.31013335 10450262.42901984 2272, 1981443.31013335 10450265.42901984 2273) and I would like to make shapefiles out of the data. Thanks!
... View more
06-13-2016
01:53 PM
|
0
|
1
|
4167
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 06-28-2016 06:45 AM | |
| 1 | 07-07-2016 12:21 PM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:25 AM
|