|
POST
|
Interesting approach, I will tinker with this: Just to give you an overview, the overall process requested is full automation controlled by a .net console program which calls python scripts when required for specific tasks. 'there will be no drag drop ability' I have done this in the past and works great! Annotation for this is giving me the grief. (others do not deal with annotation or multple dwgs.) One dwg is no problem. The process is to Download 1000s dwgs from the purchased source and ultimately select out what is wanted and end up truncate/ append in a Direct Connect SQL (SDE). Its unknown the amount of dwgs, or their names at the time of download. Ill go through what you have provided. Thank you.
... View more
07-05-2013
11:51 AM
|
0
|
0
|
1356
|
|
POST
|
Then this becomes an issue,. How does one then iterate through 1000's of dwgs and convert to a GDB. Iterate Datasets gives a Dataset, but not able to 'connect' to CAD to Geodatabase Iterate using DataSet type = CAD will not pick up dwgs. this has been a deceiving term used (discussed in other threads). So how does one cycle through all the dwgs in a folder and use the CAD to Geodatabase Geoprocessor? Also, to state "Feature Layers do Not support Annotation" doesnt quite make sense to me, am I missing something? Make Feature Layer works fine when SELECT data / Child Data Element = Annotation is used and is derived from a Geodatabase. I use this in other pyhon scripts. This works for example, but how would you iterate this through many dwgs (and another downfall is MODEL will overwrite the Dataset name in a FGD, but running through python, will increment the dataset name. (I dont want 1000's of Datasets in a FDG, all separate) if possible
... View more
07-05-2013
09:43 AM
|
0
|
0
|
1356
|
|
POST
|
Polylines have zero issue, all end up appended. Annotation throws this warning: WARNING 000594: Input feature 302: No support for this geometry type.. I am perplexed as doing this without the iteration, using Cad to Geodatabase, then appending, works. Thoughts? Is this something feasable with python? or does one have to resort back to arcObjects?
... View more
07-03-2013
09:25 AM
|
0
|
5
|
1612
|
|
POST
|
Define caching succeeds? "Generation not in progress" could be due to the caching is complete. This does NOT mean you will see 100% as I mentioned above, I have complete caches done showing 18%. There are a lot of variables determining the percents. Did you do what I mentioned and look at the geodatabase status? my bet is it will say SUCCESS for all records.
... View more
07-03-2013
08:55 AM
|
0
|
0
|
4752
|
|
POST
|
I know this is an old thread, but... If anyone comes across this, the above post (#3) does not work. CAD dataset type is not a means to select .dwgs, the model above does not work.
... View more
07-03-2013
08:50 AM
|
0
|
0
|
638
|
|
POST
|
The percentages are somewhat meaningless. A completed cache service could be even at 8% like some I have seen. Especially if you send a GP request at a later time, or cache is moved to an existing service.. it will never reach 100%. go into the cached folders in arcgisserver and look in the GDB, all status spatial and tabular information about the cache is there (very detailed)... You can also check cache status with ArcCatalog against the cached service (which is a finer grain) than checking through ArcServer/Manager. There are several means of adjusting the Time/size of caches. 1. compressed MIXED format, down to 50%.. (these are .bundle files) 2. larger tile sizes 3. More instances / processors 4. Use a cluster purely dedicated for caching. 5. cache based on feature polygon, rather than map extents or full extents 6. cache on demand for certain instances just a few I could think of off the top of my head We have done scales down to 1:286 in some maps, or massive area maps down to L18
... View more
06-03-2013
04:21 PM
|
0
|
0
|
4752
|
|
POST
|
The Answer if ANYONE is wondering: use the templateInfo >> Prototype.properties. Make sure to include the GDB version and for FeatureServiceProxy.add (1, dObjects, "DEFAULT", true, false)
... View more
05-07-2013
07:58 AM
|
0
|
0
|
758
|
|
POST
|
I tried using the TEMPLATE method, meaning, obtain the table as a template, then adjusting the values... Or in other words, setting the properties of the new object equal to the properties from the templateInfo object. The error I get back through an exception (not the Returned result) is "Attribute Column not found" -2146233087 I get the column name through the table template properties object. How is it unable to find the column when It just told me what it is. Dim pDataObjectTable As ESRI.ArcGIS.SOAP.DataObjectTable()
pDataObjectTable = FeatureServiceProxy.GetTables(Nothing, True)
Dim pTemplateInfo As ESRI.ArcGIS.SOAP.TemplateInfo()
pTemplateInfo = pDataObjectTable(0).Templates
Dim pDataObject As New ESRI.ArcGIS.SOAP.DataObject
pDataObject.Properties = pTemplateInfo(0).Prototype.Properties
pDataObject.Properties.PropertyArray(1).Value = "TEST"
pDataObject.Properties.PropertyArray(0).Value = 123
Dim dataArray As ESRI.ArcGIS.SOAP.DataObject() = New ESRI.ArcGIS.SOAP.DataObject(0) {}
dataArray(0) = pDataObject
Dim dObjects As New ESRI.ArcGIS.SOAP.DataObjects()
dObjects.DataObjectArray = dataArray
Dim Result As ESRI.ArcGIS.SOAP.EditResult() = FeatureServiceProxy.Add(1, dObjects, Nothing, False, False) ESRI?
... View more
05-06-2013
04:27 PM
|
0
|
0
|
758
|
|
POST
|
Anyone? Does anyone have Feature Server 10.1 SOAP experience?
... View more
05-06-2013
11:51 AM
|
0
|
0
|
758
|
|
POST
|
More questions: Should the table in the SDE be registered as Versioned ? Does it require Global ID? Do you have to initiate an edit session in code? I tried using the SOAP.graphicFeature and just not pass any geometry just to see... exception: Function requires a state to be set for stream.... Meaning, edit? If Not versioned, I get an unknown error: error code from return : 127592800 and success = "FAIL" How does one initiate an 'edit' through SOAP? Oh and did I ask why ESRI tossed the much easier and more control method of AGSServerConnection, ServerObjectManager ServerContext IMapServerObjects...
... View more
05-03-2013
02:21 PM
|
0
|
0
|
758
|
|
POST
|
I miss the Context server, ArcObjects in 9.3... There are Zero examples of Feature Service SOAP. Delete was easy... Add is a different story... I am talking about this: http://resources.arcgis.com/en/help/soap/10.1/index.html#/Add/01vp0000007v000000/ I have no idea how to get this to work... Ideas? I know if this was a FEATURE, i would then use ESRI.ArcGIS.SOAP.GraphicFeature(), but this is a record for a table that is accessible through a feature service. I am able to get a PropertySet.propertyarray but what to do with it... to get it to a pDataObjects. Dim CatalogServiceProxy As New ESRI.ArcGIS.SOAP.ServiceCatalogProxy CatalogServiceProxy.Url = CatalogServiceURL 'If CatalogServiceProxy.RequiresTokens() = True Then ' Dim ArcToken As New ArcServerToken(CatalogServiceURL, UserID, Password) ' Token = ArcToken.GetToken() 'End If Dim FeatureServiceProxy As New ESRI.ArcGIS.SOAP.FeatureServerProxy 'FeatureServiceProxy.Url = FeatureServiceURL + "token=" + myToken FeatureServiceProxy.Url = FeatureServiceURL Dim inputfields As ESRI.ArcGIS.SOAP.PropertySetProperty() = New ESRI.ArcGIS.SOAP.PropertySetProperty(2) {} ' There are TWO Fields / values Dim pPropertySet As New ESRI.ArcGIS.SOAP.PropertySet Dim pDataObjects As New ESRI.ArcGIS.SOAP.DataObjects Dim pPropertySetPropertyLINCNumber As New ESRI.ArcGIS.SOAP.PropertySetProperty Dim pPropertySetPropertyTrackStatusID As New ESRI.ArcGIS.SOAP.PropertySetProperty pPropertySetPropertyTrackStatusID.Key = adofields.name pPropertySetPropertyTrackStatusID.Value = "Some value" inputfields.SetValue(pPropertySetPropertyTrackStatusID, 0) inputfields.SetValue(pPropertySetPropertyLINCNumber, 1) pPropertySet.PropertyArray = inputfields ******* WHAT TO PUT HERE ******* 'Store the array, ignore the result at this time. Dim Result As ESRI.ArcGIS.SOAP.EditResult() = FeatureServiceProxy.Add(1, pDataObjects, Nothing, True, False)
... View more
05-03-2013
01:47 PM
|
0
|
4
|
3105
|
|
POST
|
I miss the Context server, ArcObjects in 9.3... There are Zero examples of Feature Service SOAP. Delete was easy... Add is a different story... I am talking about this: http://resources.arcgis.com/en/help/soap/10.1/index.html#/Add/01vp0000007v000000/ I have no idea how to get this to work... Ideas? I know if this was a FEATURE, i would then use ESRI.ArcGIS.SOAP.GraphicFeature(), but this is a record for a table that is accessible through a feature service. I am able to get a PropertySet.propertyarray but what to do with it... to get it to a pDataObjects. Dim CatalogServiceProxy As New ESRI.ArcGIS.SOAP.ServiceCatalogProxy
CatalogServiceProxy.Url = CatalogServiceURL
'If CatalogServiceProxy.RequiresTokens() = True Then
' Dim ArcToken As New ArcServerToken(CatalogServiceURL, UserID, Password)
' Token = ArcToken.GetToken()
'End If
Dim FeatureServiceProxy As New ESRI.ArcGIS.SOAP.FeatureServerProxy
'FeatureServiceProxy.Url = FeatureServiceURL + "token=" + myToken
FeatureServiceProxy.Url = FeatureServiceURL
Dim inputfields As ESRI.ArcGIS.SOAP.PropertySetProperty() = New ESRI.ArcGIS.SOAP.PropertySetProperty(2) {} ' There are TWO Fields / values
Dim pPropertySet As New ESRI.ArcGIS.SOAP.PropertySet
Dim pDataObjects As New ESRI.ArcGIS.SOAP.DataObjects
Dim pPropertySetPropertyLINCNumber As New ESRI.ArcGIS.SOAP.PropertySetProperty
Dim pPropertySetPropertyTrackStatusID As New ESRI.ArcGIS.SOAP.PropertySetProperty
pPropertySetPropertyTrackStatusID.Key = adofields.name
pPropertySetPropertyTrackStatusID.Value = "Some value"
inputfields.SetValue(pPropertySetPropertyTrackStatusID, 0)
inputfields.SetValue(pPropertySetPropertyLINCNumber, 1)
pPropertySet.PropertyArray = inputfields
******* WHAT TO PUT HERE *******
'Store the array, ignore the result at this time.
Dim Result As ESRI.ArcGIS.SOAP.EditResult() = FeatureServiceProxy.Add(1, pDataObjects, Nothing, True, False)
... View more
05-03-2013
01:43 PM
|
0
|
0
|
1715
|
|
POST
|
Ive tried everything possible Unable to 'merge' two caches (bundled compressed) from two cached map services. alternatives? Do I explode these huge caches to be able to do the explorer move? I was under the impression this is the purpose of IMPORT Cache and could import the cache from another cached service.
... View more
05-01-2013
09:41 AM
|
0
|
0
|
991
|
|
POST
|
It's a bug NIM081781 in arcmap 10.1. Install SP1 update. If the cache is of small size then you can simply use windows explorer tools to copy the cache from other services to the service you want to in the cache directory. The services should have same tiling schema. Restart the service and the service would recognize the cache. Thanks for the response, Already have build 3143 which is SP1 for 10.1 - so this is not the fix. One is not able to just simply copy over the cache as this is in the compressed format (.batch files), its not the same as exploded, or 9.3 format where they are all individual jpgs and you could move files around. I have two caches with L11 folder, both have .batch files, both will have the same .batch file names (some are different and some are the same), you will either have a choice of renaming, causing failure, or replace files. e.g. R0280C0100.bundle file in one cached map service L11 folder and in the next cached map service L11 folder. R0280C0100.bundle exists as well. I am not familiar with any other method of 'merging' caches other than the Import / Export GP available
... View more
04-29-2013
07:46 AM
|
0
|
0
|
991
|
|
POST
|
ArcServer 10.1 Have two large Cached Map Services, would like to have One Map Service. Using Compressed / Mixed with same Tiling level schema. Attempted several times to manage Cache via Catalog >> Import Cache... always receive "Failed to Import Cache Extent xxxx" (extents of BOTH services are the same) Tried Exporting from the other Map Cache and receive error: 000840 - Value is not a feature set. ?? not sure what this means, what feature? what GP option is this talking about? Tried exporting cache to a registered folder.. same result as above Long story short, have three large cached services in total and would like to have them merged to one. What is the best means of doing so, which will not throw an error as seen above? Does Compact Format not work in Export / Import Geoprocesses?
... View more
04-25-2013
09:18 AM
|
0
|
3
|
1809
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 09-27-2024 09:04 AM | |
| 1 | 01-06-2016 11:32 AM | |
| 1 | 12-13-2021 10:03 PM | |
| 1 | 07-19-2017 07:31 AM | |
| 1 | 01-18-2016 07:23 AM |
| Online Status |
Offline
|
| Date Last Visited |
2 weeks ago
|