|
POST
|
I never went the .net route either since I'm not fluent. I do have several python addins, some that are new and others that I'm currently updating. One thing to keep in mind is that ArcGIS Pro cannot use Python addins. However, and addin is just a zip file with the .esriaddin extension instead of .zip (that is, you can change the extension to .zip and unzip to view any of the addin files), so if you get an addin, you can usually unzip it and use the toolbox (if that is the source) directly in Pro. If it's your own addin, you should be able to use the toolbox direct in Pro. What I am finding right now though is the move from python 2.x to 3.x is causing a few issues....and Pro is much more strict in correct syntax (i.e. tabs OR spacing....not mixed)....Desktop is much more forgiving. So, keeping everything clean from the get go helps. I'll probably summarize some and share some of my tips at some point when I figure out the code for being able to test and have it work for both. Have fun....(I really like python addins!)
... View more
07-30-2015
02:52 PM
|
2
|
0
|
2308
|
|
POST
|
You may want to look at this discussion Re: Python add-ins vs. .NET add-ins? I have some tips for getting going on python addins. It's pretty fast and easy to setup if you get all your scripts loaded into a custom Toolbo (toolbox, not toolbar). The outcome is an addin with a custom toolbar.
... View more
07-30-2015
02:16 PM
|
2
|
2
|
2308
|
|
POST
|
Adam, Thomas Colson put out a new blog post Summary of ArcGIS Server SSL Issues that has links to many of the SSL discussion on geonet....might help in your research.
... View more
07-30-2015
01:36 PM
|
1
|
0
|
2580
|
|
POST
|
I don't have time right now to help with the python (although it is an interesting and doable script), but conceptually, one thing you could do to get the points and parallel lines is to create a copy of the line (offlset), then move alone the parallel line creating points at you given distance, then use the near distance. (many apologies for not even looking up the proper python commands...but sometimes getting the concept worked out helps....then the python is much easier)
... View more
07-30-2015
01:27 PM
|
1
|
0
|
5443
|
|
BLOG
|
Maybe there are some "political rules" that don't allow it to be posted? I seem to recall from my Social Studies class, oh so long ago, that there is something about equal time required when in the "media"......but I could be wrong, and it could be for other reasons....and "media" is a very blurred term now. Just a thought.
... View more
07-30-2015
09:24 AM
|
0
|
0
|
1203
|
|
BLOG
|
Thomas, Thanks for putting this list together and sharing. Although there isn't anything WAB specific, there are issues that come up when implementing, so I'm going to add a link to this page in the Web AppBuilder Developer Edition - Customization Resource List
... View more
07-30-2015
08:19 AM
|
0
|
0
|
1753
|
|
POST
|
Hi Xander, Between the isuncpath and the lst = os.path.split(p) I'm getting really close. But I can't hard code the "master.DBO" since that will change. In my case, lst[1] is actually 'sde_wcgis_master.DBO.DWCMasters' What is the correct syntax to end up with just the 'sde_wcgis_master.DBO.' portion (since the lst[1] could change). I'm assuming it is a flavor of strip, I just haven't found the right combo yet. (still testing though) EDIT: getting my last question figured out. I was trying to use strip instead of split zz = lst[1].split('.') I can work with that. Thanks for your help Xander. I think I'm ready to roll in the morning on this!
... View more
07-29-2015
08:25 PM
|
0
|
3
|
4191
|
|
POST
|
I'm working in 10.2.2 (and 10.3.1...and testing in Pro). I'm trying to use a standard set of "connection files" for .sde, .and ags, connection files so running the scripts will work on multiple machines. However, I'm trying to keep it generic enough in case someone else uses with a different (local) connection file type. This is a program that is pretty specific to our needs, but is run often (currently only by me, but that will change). Typically these connection files are stored in a path similar to C:\Users\<user>\AppData\Roaming\ESRI\Desktop10.x\ArcCatalog I would like to store them in a shared network folder with the UNC pathname, e.g. \\<server>\GISStaff\[email protected] The problem: It seems that if I use the connection file, the arcpy.CopyFeatures_management (and probably any other command) it wants: Database Connections\[email protected]\master.DBO.theMasters\thePolys If I use the UNC connection file, the command wants (note "master.DBO" in bold near end): \\newserver\GISStaff\[email protected]\master.DBO.theMasters\master.DBO.thePolys Question: Other than checking for the string "Database Connections" in my variable, does anyone know a way to check whether the .sde file is in the local connection folder vs. a UNC path? If I can test for it reliably, I can strip the data I need and add it to the string before I add the featureclass name. (I'll be able to handle that) Interesting (?) side note: in previous ArcGIS versions (maybe 9.x or 10.0), I always had to have the additional info in the path. Then in one of the updates to ArcGIS, that broken the script and I had take it back to just the featureclass name.....seems this is a combination or maybe a remnant of the old way. (??) I'm trying to keep it simple, but flexible, without having to hard code the path. This is arcpy/python specific, but cross posting since GDB/SDE related Geodatabase Thanks for any suggestions! EDIT: it may be that I will just do the test for the "database Connection' string like this: if 'Database Connection' in masterGDB2:
<leave as is>
else:
<add the database.owner> So in that case, can anyone tell me how to strip everything before and including ".sde\\' from before my database.owner? Message was edited by: Rebecca Strauch
Revised, in case no easy test....then would just need "strip" syntax help.
... View more
07-29-2015
06:40 PM
|
1
|
6
|
7849
|
|
POST
|
The next version of Web App Builder Developer edition (v1.2) is due out in early August, based on information from the user conference. I'll be updating Web AppBuilder Developer Edition - Customization Resource List when I see it release, as I'm sure others will announce it too. If you look at the top in the updates, I've linked to a few of the items that are known to be included, and I believe most of whats listed for the onloine What’s Coming in Web AppBuilder for ArcGIS in the ArcGIS Online July update | ArcGIS Blog is planned to be included.
... View more
07-29-2015
05:27 PM
|
0
|
0
|
959
|
|
POST
|
The online version of Web App Builder is a little ahead of the Developers edition. The next release for Developers edition (v1.2) is due out in (early) August. Hopefully when the new release is out it will import successfully.
... View more
07-29-2015
05:14 PM
|
0
|
0
|
1021
|
|
POST
|
This addin/toolbar (for ArcCatalog) is still in my final developement.....but I'm getting close to getting my addin that will do several things, including listing all your broken links, and then give the option to update. I'll attache the documentation, which is all over the place as far as instructions, and the addin, which has been tested in 10.3.x (but should work in 10.2). Instruction for loading (from an email I sent to test staff earlier this morning) Save the ChkandFixLinks.esriaddin file to anywhere handy. Double click, it will ask if you want to install…click Install Add-in. Then open or reopen ArcCatalog. If you don’t see the toolbar, or not sure, go to Customize (on top menu bar) Click on that and you will see Toolbars> …hover to the right and make sure the toolbar is checked. If you don’t see it, click it off/on until you see where it is. Click on the third icon over (for the one that will give a unique list of all broken links in a folder) In the dialog box, use the folder icon and then navigate to the folder where all you mxd’s are located (it will go thru (walk) all the subfolders underneath too) and leave the other two as they are Then click ok, and it will run. When completed, it will have created a couple files…they are the same, just one is and Excel file, and the other is comma delimited….I suggest opening the Excel (.xls) file to review. They will be called BrokenSrc with the date/time it was run. Sorry this is pretty messy....when it's completed with the additional scripts, I will post (probably to ArcScripts 2.0). The 4th icon over will do a bulk change from drive->drive or drive->UNC look at the Samples folder (if you unzip the esriaddin ("after installing) and there is a samples folder for format. After the bulk updates, it will run a new unique list. The next script which is almost complete, will allow for changing longer paths, shapes or coverages to FGDB, etc. Feedback is welcome and appreciated (especially if it doesn't work at all for you). BTW - the first three tools don't change anything, just create lists/reports so you can see what you need to fix....i.e. other than createing .txt, .xls, and .csv files (all with unique name_date_time for file name, they can not do any damage (but you must have write access to the folder you are analyzing. (although setting the path might work (haven't tested). I hope these tools help.
... View more
07-29-2015
02:08 PM
|
0
|
18
|
7433
|
|
POST
|
Nav Ka, Good luck with you studies. Make sure to mark the answers that you found helpful, and then mark the question as assumed answered so it will be shown as closed.
... View more
07-29-2015
11:03 AM
|
0
|
0
|
3690
|
|
POST
|
My guess is that is a question for your customer service representative or local distributor. Licensing authorization typically must be setup by them. EDN in particular are handled a little different than those on annual maintenance. With that said, I'm interested to hear what you find out.
... View more
07-29-2015
08:08 AM
|
0
|
2
|
1842
|
|
POST
|
Another trick we have done is to open a new mxd, and then copy and paste everything from the old/bloated mxd, to the new. Then save and close the new one without doing anything additional. If that doesn't work, then I would check to see if there really is a different in the data layers you are including in the smaller vs. larger mxd's. Maybe they are similar, but not the same exactly? Edit: by the way, you may want to Moving Content to a more appropriate location like maybe GIS or Mapping . right now it is in the SDK for Android group which will not have see as many users that may have solutions.
... View more
07-27-2015
01:04 PM
|
1
|
0
|
3963
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 02-08-2018 08:21 AM | |
| 1 | 10-07-2015 09:48 AM | |
| 1 | 10-25-2015 12:23 PM | |
| 1 | 11-02-2017 09:00 AM | |
| 1 | 11-04-2016 02:11 PM |
| Online Status |
Offline
|
| Date Last Visited |
03-31-2025
04:56 PM
|