|
POST
|
Just taking a stab here. It's possible this is incorrect, i'm not familiar with using a arcpy.polygon as an output. Is it possible you are overwriting your output with each iteration rather than adding to it? Wouldn't you need the output of the first iteration to become the input of the second and so on.. to me it doesnt look like this is happening. Again, i could be wrong. Ben
... View more
02-16-2016
05:43 AM
|
0
|
0
|
1687
|
|
POST
|
With editing enabled try clicking on the "Edit Button" located between "Add" and "Basemap". This should bring up a screen allowing you to add data points. While this screen is active you should be able to relocate existing points.
... View more
01-14-2016
11:52 AM
|
0
|
0
|
6357
|
|
POST
|
Well, that's a bummer. Any alternative solutions on how to included a graph on a Story Map Swiper? (i dont wanna mess with the code if i don't have to) The goal of this swiper project is to swipe between two imageries, one a the beginning of a drought and one at its peak. The graphs accompanying it show that pollutant levels increase as water level decreases due to drought. Right now the only alternative i can think of is including a dummy shapefile with two points next to my waterbody, and customizing the symbology for those points to be a white box with TP inside (Total Phosphorus), and a white box with TN inside (Total Nitrogen). Ideally one would be able to click theses boxs and the graph would be in the pop-up. This solutions seems a bit unintuitive to a user, and im not 100% sure i can customize symbology yet =(
... View more
09-25-2015
07:22 AM
|
0
|
0
|
807
|
|
POST
|
I'm in the process of building a Story Map Swiper and i'm trying to find a way to include a few graphs in the map but cant seem to figure out how. I'm not using a series, its only 1 location included in the swiper. By looking in the gallery section i can see that others have included images in the description section of the map but i cant figure out how to do this. Here is an example of Swiper map with images in the description section http://lra-cha.maps.arcgis.com/apps/StorytellingSwipe/index.html?appid=716b6277db404a5aaf2406f7bb444295&webmap=605e5f82e… Any help would be appreciated. Thanks, Benjamin MIttler
... View more
09-23-2015
07:07 AM
|
0
|
2
|
2523
|
|
POST
|
You may have looked at this already but the ESRI help page on "Trace Geometric Network" specifically mentions some tips for using it in modelbuilder. ArcGIS Help 10.1
... View more
06-19-2015
10:02 AM
|
0
|
1
|
1430
|
|
POST
|
Thanks Kevin, worked like a charm. I actually came across the thread with this information while researching the problem and it ended up that i was just calling it wrong. For all others running into this error in the future this seems to be the workaround.
... View more
06-05-2015
08:56 AM
|
2
|
0
|
2567
|
|
POST
|
Todd, Google Earth, the file actually opens when my addin is run, it just crashes arcmap in the process of doing so. Thanks, Ben
... View more
06-05-2015
08:17 AM
|
0
|
1
|
2567
|
|
POST
|
Hi All, I'm currently attempting to develop an addin that creates a KML from a layer within arcmap, and then opens that KML. All seems to be going well except that every time the tool runs it crashes arcmap. I am aware that this is because i am using the "os.startfile()" command. What possible workaround can i use to get this file to open at the end of my script. Thanks, Ben *Not a python expert by any means
... View more
06-05-2015
07:38 AM
|
1
|
5
|
5925
|
|
POST
|
Well that is certainly unfortunate. Looks like i'll have to code in to turn off those two fields before exporting.
... View more
03-09-2015
08:27 AM
|
0
|
0
|
826
|
|
POST
|
Hello All, I have written a script that takes an input,runs a couple of geoprocesses, exports to an excel sheet, and then runs a couple of manipulations on the excel sheet. I have tried to make it so that by the time you are at the stage where your excel spreadsheet has been created the spreadsheet fields will always look the same no matter how many fields in the input. This allows me to easily manipulate the excel spreadsheet. The one problem i am running into involves my dissolve step. I have it set up so that Dissolve is run on two fields. When my input is a shapefile and dissolve is run the output is a shapefile with those 2 fields. However, if my input is a gdb layer my output will contain those 2 fields with the addition of the Shape_Area / Shape_Length Fields. Does anyone know why Shape_Area / Shape_Length are automatically added when using a gdb but not when using a shapefile? Thanks, Ben
... View more
03-09-2015
07:56 AM
|
0
|
2
|
3378
|
|
POST
|
I have created a tool in model builder that has 2 inputs, a feature and a soils layer. The tool Buffers the input feature, clips the soils layer to the buffered feature, and then erases the area of the input feature, leaving only the buffered area. From here it further manipulates the buffered area. I want to know if its possible within model builder to make the erase process within my tool optional. Ideally there would be a checkbox saying "erase input feature", if the button was checked it would run as stated above, but if it wasnt checked it would completely ignore the erase process and continue with the rest of the model. I know this can be done using if-then logic but i would like to know if there are any tools within modelbuilder that can help me with what i want. Thanks, Ben
... View more
01-20-2015
06:00 AM
|
0
|
2
|
6884
|
|
POST
|
i have created a python tool to use within arcmap that outputs an excel file. I would like to make an addition to the tool so that somewhere in the output excel file is a line that states "the sum of row x is __". The current front runner idea is to use the xlutils module to do this. However, this tool will be shared with others who do not have this module. I know that you can put the module in the addin folder to that it is installed when the script runs but how to do this is a bit cloudy to me. If anyone could shed some light on this subject or has any other ideas as to accomplishing my goal without the use of the xlutils modele it would be greatly appreciated.
... View more
01-12-2015
10:30 AM
|
0
|
1
|
4425
|
|
POST
|
I am having a bit of a problem with what seems like should be a simple field calculator expression. I have a table with about 50 rows and a column with acres for each row. I've created a new column called Percent_Acres (Double) and im looking to calculate the percent each feature makes up of the total acres. I want an expression equal to this Percent_Acres = Acres / Total Acres. Normally this would be easy to do and i would just look up the field statistics for the sum. However this calculation is part of a model that will be automated so i need an expression that will automatically calculate the columns sum while in the field calculator. It appears that i am having a problem with iterating through each row to add up to the total. I have tried numerous expressions and each time i get the same result telling me that "typeerror float object is not iterable" " Any advise on this topic would be greatly appreciated Thanks, Ben
... View more
01-07-2015
10:22 AM
|
3
|
10
|
19188
|
|
POST
|
I'm trying to populate a field with an already defined area but only if the Updat_HYGR variable is = to 'A' i have a column with letters A-D (Updat_HYGR), a Column with areas in sqmi (Sq_Miles) and a new column A_SqMi that i only want populated with the area if the Updat_HYGRP = 'A' i just started using python but my statement looks like this def Reclass(A_SqMi): if (Updat_HYGR == 'A'): return Sq_Miles Reclass(!A_SqMi!) Any help would be appreciated
... View more
06-18-2014
04:39 AM
|
0
|
2
|
856
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 12-05-2025 06:34 AM | |
| 1 | 08-15-2016 06:32 AM | |
| 2 | 09-04-2025 06:07 AM | |
| 1 | 04-09-2020 10:09 AM | |
| 1 | 02-27-2025 11:29 AM |
| Online Status |
Offline
|
| Date Last Visited |
Wednesday
|