|
POST
|
I think i get what you are saying. In my master pyt python toolbox file i just have the definitions of the tools and the params for each. Each tool has an execute method and in that method i will just place a link to the actual py script file that i already have from pre-10.1 days. I think that will work, but i may have to add a path to the environ variable so python knows where to look for my scripts. Hopefully this will let me keep my 10.0 py scripts intact and i can better manage the params using the 10.1 pyt structure. One thing about 10.1 - we are spending alot of time figuring out where ags puts things during a publish and then trying to rig things to work better than that. thanks for the tip.
... View more
09-06-2012
05:32 AM
|
0
|
0
|
3486
|
|
POST
|
What exactly is the issue you are having with the changing oids? Do you have some other external data that is linked by those ids? It's always been recommended practice to never tie anything to oids as they are subject to change, especially when replicating or copying data to other formats. Additionally, some feature classes can have multiple oid fields (like OBJECTID_1) which also makes it bad practice to rely on that field being named whatever you think it may be named. The solution is to provide your own unique identifier (preferably a guid) or use esri's globalid. I believe, however, that the globalId will never repeat such that if you export the data or replicate it you will always get new globalIds.
... View more
09-06-2012
05:28 AM
|
0
|
0
|
2696
|
|
POST
|
Thanks for those tips. I will look into the seminar and samples. My greatest concern now is that these examples are designed with one tool in one toolbox. I have over 30 tools that i would like to present as services for my applications. Running each one of those in ArcMap and publishing the results as a service is just not an option. It is too much work. I know the code works because i have been using the tools at 10.0 I just want a painless way to expose many py scripts as services.
... View more
09-05-2012
09:55 AM
|
0
|
0
|
3486
|
|
POST
|
Just wondering if anyone has used the new Python toolboxes at 10.1? The .pyt I am experimenting with one and could use some tips. fyi, if you want to edit that pyt file in your favorite python editor you may have to go into the options of your editor and set it up to explicitly recognize pyt files. Mine (Wing, pyScripter) did not do that by default and there was no coloring or intellisense until i modified the program under options to read that pyt. I want to use pyt because at 10.0 we had such a hassle with deploying script tools and toolboxes because you always need arcatalog to setup the dang params. And they seem to get out of whack on their own over time. I'm hoping these python-based toolboxes don't work like that. One drawback is that you only get the one pyt file - so if you want to cram 20 custom tools in there you are looking at a huge file.
... View more
09-05-2012
05:48 AM
|
2
|
10
|
9098
|
|
POST
|
i have two javaw.exe processes - one is at 191 and the other is at 278,000K. I also have 14 ArcSOC.exe processes at the moment, each of those is about 100,000K average. This is a new box and if we add map services at the rate we normally do we are quickly going to be out of memory.
... View more
09-05-2012
05:42 AM
|
0
|
0
|
2409
|
|
POST
|
Did you try to build it again in a different solution just to see if it was a fluke? what version of studio are you using? i have heard about issues with which was installed first and all that jazz.
... View more
09-04-2012
12:42 PM
|
0
|
0
|
748
|
|
POST
|
You need to be using a feature service as opposed to a map service if you wish to support editing. To create a feature service you go through the same steps as a map service but you enable Feature Access in the capabilities tab. ags should then generate a feature service to accompany your map service. This is where you should be configuring your editing capabilities.
... View more
08-30-2012
10:26 AM
|
0
|
0
|
842
|
|
POST
|
the change at 10.1 involves DCOM communication from within things like SOEs. You can no longer make connections like that at 10.1 this would be things in code using IMap, ILayer, IFeatureLayer. I'm still not clear what you are trying to do. Is this for a web application? are you publishing a map service? feature service?
... View more
08-30-2012
10:10 AM
|
0
|
0
|
842
|
|
POST
|
what is your source dataset? shapefile, personal, file gdb, sde? do you have a map document? can it display the data? is that what you are basing your published service on?
... View more
08-30-2012
09:22 AM
|
0
|
0
|
842
|
|
POST
|
not exactly a solution but you could try changing the name of your data table or possibly copying to a different location or geodatbase to see if that solves the issue. also, have you registered your data source with arcserver or are you allowing it to copy it?
... View more
08-30-2012
09:21 AM
|
0
|
0
|
686
|
|
POST
|
Some times there can be issues about the order that things were installed. Did you install studio or sdk first? uninstalling one or the other may solve the issue. i don't know anything about express vs, i have the full blown version.
... View more
08-30-2012
09:19 AM
|
0
|
0
|
1308
|
|
POST
|
DSMapper - our apps sound strikingly similar. In my case I'm pairing the ags generated map with an SSRS report and merging them into a single pdf like you do with your multiple maps. Unlike your app though I'm thinking of moving toward having a map in mine so that i can allow the user to further refine the mapping print output before it gets generated. But there will always be a version that has no mapping capabilities because it is just not relevant to the workflow.
... View more
08-30-2012
06:10 AM
|
0
|
0
|
755
|
|
POST
|
what do you mean by 'unable to read'? Are you using System.Configuration? do you have appSetting keys in the config file? what happens when you try to read those keys? what is the error?
... View more
08-30-2012
05:55 AM
|
0
|
0
|
1809
|
|
POST
|
I am able to compile the solution directly using vs2010.
... View more
08-30-2012
05:50 AM
|
0
|
0
|
1308
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 07-03-2012 10:21 AM | |
| 4 | 01-02-2018 12:11 PM | |
| 1 | 01-04-2011 07:47 AM | |
| 2 | 09-05-2012 05:48 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:23 AM
|