POST
|
I apologize this is a windows 2008 server 64bit if all that matters
... View more
09-06-2012
01:20 PM
|
0
|
0
|
140
|
POST
|
This is a 'Dynamically from the data' service. The manager under caching properties states 'Draw this map service: Dynamically from the data' To take it a step further, all the layers in the map service are/were created the same. So i have eight layers, and they either are interactive by turning on/off or not. The data is being pulled from the same location... One difference that I could point out is that the layers that i am having difficult with making active/inactive are layers that are periodically being refreshed. Railroad crossing is a nightly refresh. State Routes is pretty static data set. hope this explains a little more.
... View more
08-21-2012
07:24 AM
|
0
|
0
|
169
|
POST
|
I have a web application that was developed in silverlight and set up for ArcServer10 in a testing environment. To bypass the upgrade of 10.1 after the applications being in Production, we upgraded and tested in a Development Environment with 10.1 and silverlight 4.1.1. Our application team has the web application in silverlight 5. In working in the Development side some functionality of the legend does not exist. Four particular layers intermingled with other layers seem to not be recognized. Meaning, the user can not interactively make these layers active and inactive. The following is from the 10.1 map service(also attached). [ATTACH=CONFIG]17119[/ATTACH] This proves to me that the legend is being created based on the layers of the map service. What i am having a hard time about is why the silverlight application on the app server is not making these active. **NOTE I don't have the code at this time. if you can help and want to see it i can produce a string of the code. My problem is I do not code in silverlight and the contractor keeps blaming the upgrade of ArcGIS. I need a hint or solution to this problem. nick
... View more
08-21-2012
06:08 AM
|
0
|
3
|
639
|
POST
|
you have the batch file set up as a scheduled task? is there more to it than you are showing? Otherwise, why not just call the python code without embedding it inside the .bat? Perhaps I am missing something? I'm not sure why the .bat wont run in that context though. This screen shot shows how this sort of thing is set up where I am working - we have several services that run on a variety of schedules from every 5 minutes to hourly. This worked perfectly..... Being fairly new to both, I think i over thought this situation. THANKS for you help!!!!!
... View more
08-07-2012
11:41 AM
|
0
|
0
|
292
|
POST
|
I have the following batch file running every night at 4am. It does not complete. However, if I run the command at the command window it runs successfully. My python script (which follows) seems to run well also. Please any assistance of getting this running as a scheduled task in Server 2008 would be much appreciated. Batch file: rem----- D:\Python27\ArcGIS10.1\python.exe D:\ArcGISprj\Ciims\geoProccessing\CIIMS_UPDATE.py Python Script: Called CIIMS_UPDATE.py referenced in the batch file above # Import arcpy module import arcpy # Local variables: fcCrossing = "Database Connections\\sdedev.sde\\SDE.CIIMS\\SDE.Static_Crossings" lyrXYCross = "lyrXYCross" TblAtlasCrossings = "Database Connections\\SDEDev.sde\\SDE.CIIMS_VWCROSSINGGIS3" #this is a view from CANSYS that exists in the CIIMS Schema fldLONG="CROSSINGLONGITUDE" fldLAT="CROSSINGLATITUDE" PrjLL='GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433],AUTHORITY["EPSG",4326]]' locklev ="Database Connections\\sdedev.sde" #CIIMSUser = "SDE" #DisconnectUser will not disconnect the user who is executing the function, so "ALL" is used for now. #outpath = "Database Connections\\sdedev.sde\\SDE.CIIMS\\" #outnames = "sde_Static_Crossings" #SDE_Static_Crossings_1 = "Database Connections\\SDEDev.sde\\SDE.CIIMS\\SDE.Static_Crossings" arcpy.env.overwriteOutput=True # Process: Make XY Event Layer arcpy.MakeXYEventLayer_management(TblAtlasCrossings, fldLONG, fldLAT, lyrXYCross, PrjLL, "") #to avioud Schema alteration, select and delete the data from the crossing feature class in SDE, Static Crossings #arcpy.DeleteRows_management (fcCrossing) #arcpy.DeleteFeatures_Management(fcCrossing) #for some reason, when we deleteFeatures and remove the locks, we dont see any remaining tablespace for hte Static_Crossings. #since its working, we go ahead, disconnect user locks and copy management vs copy_features_Management to copy the event table to the feature class #remove all the locks arcpy.DisconnectUser(locklev, "ALL") #delete the layer of importance fccrossing/static crossings # Process: Delete arcpy.Delete_management(fcCrossing, "FeatureClass") #remove all the locks arcpy.DisconnectUser(locklev, "ALL") # Process: Feature To Point arcpy.FeatureToPoint_management(lyrXYCross, fcCrossing, "INSIDE")
... View more
08-07-2012
07:23 AM
|
0
|
3
|
2181
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|