|
POST
|
I am unable to Import Cache to another existing cached map service. Always receive Failed to import cache extent xxx No matter what extent or area of interest used. When attempted to use Export I would receive Error 00840 : this is not a feature set. All i need to do is merge two large caches... why is this difficult, does anyone have suggestions?
... View more
04-25-2013
09:01 AM
|
0
|
0
|
1999
|
|
POST
|
This is properly addressed and no longer an issue with any shape.ST () in expressions in arc10.2!
... View more
03-26-2013
03:05 PM
|
0
|
0
|
2558
|
|
POST
|
The SP1 Server side does not fix the issue. Though the workaround discussed works, I do not like how the workaround works as selecting 'no connection' merely means the data is exported OUT of the SDE into a registered database created by the service and copied to ArcServer. This means more datasets to maintain and not a good streamline of updating SDE datasets which would not pass to the service. Is there not a fix for this at all ESRI?
... View more
03-21-2013
12:46 PM
|
0
|
0
|
2558
|
|
POST
|
Just answered my own question... The difference is Synchronous vs Asynchronous. (Execute task vs Submit Job) Syncrhonous is nice because it returns the output when done, async gives you a UID job number, requires to check the job...check if Job Status = esriJobSucceeded then get the URL output file. Which will be in a UID url directory as stated above (scratch). Not sure why both would not do this...
... View more
03-18-2013
02:04 PM
|
0
|
0
|
1026
|
|
POST
|
Even though the output file is the same, the path to this file also contains jobId that is unique every time a print job is submitted. http://.../customexportwebmap_gpserver/jf7b76c7368ab42399f804e0e0f33c3af/scratch/87b62442e49f416698a619818e2ab9fa.png This is what I would expect, but it is not what is occurring. Is there some setting somewhere, or something I am missing? I do not get a /scratch directory as the RETURN value when executing the JSON (Execute Service). I get what is exactly provided in my original post, from executing the JSON of the service. Execution is Synchronous. I see the Scratch folder, but they are under the Arcgisjobs dir and only gdbs exist in there. There are no output pdfs or jpgs there, they go to the gisoutput, this is where the returned value points to as well. I execute(GET) Or (POST) and it returns the following: [ATTACH=CONFIG]22714[/ATTACH] Notice the URL return value and then the directory of where the output is saved to. You will notice, when you run and run within the 10 mins, it will increment with a digit at the end. There is nothing Unique about this. Thoughts?
... View more
03-18-2013
12:52 PM
|
0
|
0
|
1026
|
|
POST
|
Hi everyone, My concern is when passing the JSON to a customized Export Print GP Service (created and running on ArcServer), the output Param given is always the same overall file name. In this case: _ags_0e39f550422945438fa0de5c6e211bae e.g. : h ttp://xxxx/arcgis/rest/directories/arcgisoutput/xxxxx/ExportWebMap_GPServer/_ags_0e39f550422945438fa0de5c6e211bae.pdf If you let the 10min clean up to occur, the next time the service is called, the SAME AGS file name is created and returned. If you send JSON to the service again.. it simply increments. e.g. h ttp://xxxx/arcgis/rest/directories/arcgisoutput/xxxxx/ExportWebMap_GPServer/_ags_0e39f550422945438fa0de5c6e211bae1.pdf If you change format... same thing again. e.g. h ttp://xxxx/arcgis/rest/directories/arcgisoutput/xxxxx/ExportWebMap_GPServer/_ags_0e39f550422945438fa0de5c6e211bae.jpg Is there any way to ensure these file names are unique? (e.g. random generated) There would be nothing stopping a user from entering the same value and watch the various maps being exported as the name is not a random generated file name. I dont understand why the file names are not unique, other than ease for cleanup on server side. Any option to change this is welcome! thanks.
... View more
03-12-2013
12:51 PM
|
0
|
3
|
1129
|
|
POST
|
the ideal example, is not workable as its used through Proxy server... so much for 'sample'. http://help.arcgis.com/en/webapi/javascript/arcgis/samples/widget_print_esri_request/index.html Unable to have the dropdown go through the Template options within the created Geoprocessing Service? Also, all documents throughout ESRI help state, the Widget handles the JSON... so how does one use the widget? seems to be an illusive item. okay, next...So I tried to: write the JSON through the Export Web Map >> Execute. So what do we write in here? [ATTACH=CONFIG]19134[/ATTACH] Where and at what point does one pass the Text element names and their corresponding values to the customized mxd (template) being used for the printing? Any help would be severely appreciated, thanks Final goal to be able to print a PDF from several choices of custom templates, containing several text elements. Also allowing graphics drawn by user to be included to the map service.
... View more
11-07-2012
01:17 PM
|
0
|
0
|
1639
|
|
POST
|
Solution Platform to Any CPU (x64) works. Lesson learned on my part. Thanks So used to all desktop at x86.
... View more
10-24-2012
08:37 AM
|
0
|
0
|
787
|
|
POST
|
Update: The ArcGIS.Version Namespace is not visible to add as a reference in Visual studio on the server, yet, it exists in the Windows/assembly directory. I have made sure that the x86 CPU is targeted, using 3.5 Client Framework. As mentioned, zero issues with Engine or any desktop level, but trying to AoInitialize ArcServer license product code...
... View more
10-23-2012
09:40 AM
|
0
|
0
|
787
|
|
POST
|
Venturing into ArcServer from desktop/engine. I never have an issue w/ binding to Engine or Desktop and AoInitialize. All dlls being used are available in Server Core. simple line of code, even with ArcServer installed and Authorized... Now I see the productCode no problem... Dim Info As IEnumerable(Of ESRI.ArcGIS.RuntimeInfo) = ESRI.ArcGIS.RuntimeManager.InstalledRuntimes ' check installed runtimes for each item in Info pProductCode = ESRI.ArcGIS.ProductCode.Server 'do it all at once... ESRI.ArcGIS.RuntimeManager.BindLicense(pProductCode, ESRI.ArcGIS.LicenseLevel.Standard) *'aoLicenseIntializer = New ESRI.ArcGIS.esriSystem.AoInitialize() ' Must be the first object created Next at BindLicense line... Unable to initialize an ArcGIS 10.1 license. Could not find any of the following product license(s): ArcServer suggestions?
... View more
10-19-2012
01:02 PM
|
0
|
3
|
3048
|
|
POST
|
Copied the SDK before uninstalling 10.0. Installed 10.1, copy back the 10.0 along side reference 10.0 assemblies ignore the 10.1 target warning when building and compiling. There are various dept. some on 10.1 and some on 10.0, there are no issues. (using Addin Server deploy means) Richards answer also answers the Engine question.
... View more
10-19-2012
08:04 AM
|
0
|
0
|
561
|
|
POST
|
Thanks for the quick reply. I do have manual temporary workarounds in place and its good for future reference that you suggested an easy workaround, just wondering why deleting records in dBase tables is no longer possible in 10.1 when it always was before. There are several instances in place automated (coded) which now have to be changed if this is no longer possible.
... View more
10-09-2012
09:36 AM
|
0
|
0
|
1346
|
|
POST
|
As the question states... Never seen this issue before with 10.0 or 9x versions. Standalone dbf III or IV table (dBase table), unable to delete selected record or delete highlighted records in edit mode? These functions are greyed out. In edit mode, the fields are white, indicating editing... I can alter any attributes, even add new rows and add attributes. This can be saved. Everything except delete selected rows or delete highlighted. Thoughts? Setting somewhere?
... View more
10-09-2012
08:29 AM
|
0
|
6
|
4544
|
|
POST
|
This is done in your Config.esriaddin file (XML) in your Menu >> items. This is not showing the entire XML file but shows you where the 'separation' comes into play. When set to true... the space if in the toolbar, will appear BEFORE the tool. If in a menu, will appear above. <Toolbars> <Toolbar id="CompanyToolsToolbar" caption="Our Company Toolbar ©2012 v11.1" showInitially="true"> <Items> <!--Reference to the custom menu to provide access to the custom multiItem --> <Menu refID="CompanyToolsToolbar_Addin_v10_SomeMenu" separator="false"/> <!--Reference to the custom menu to provide access to the custom multiItem --> <Menu refID="CompanyToolsToolbar_Addin_v10_DataCreateMenu" separator="false"/> <!--Reference to the custom menu to provide access to the custom multiItem --> <Menu refID="CompanyToolsToolbar_Addin_v10_DistancesMenu" separator="false"/> <!--Reference to the custom menu to provide access to the custom multiItem --> <Menu refID="CompanyToolsToolbar_Addin_v10_ConverterMenu" separator="false"/> <!--Reference to the custom menu to provide access to the custom multiItem --> <Menu refID="CompanyToolsToolbar_Addin_v10_TableDatasetMenu" separator="false"/> <!--Reference to the custom menu to provide access to the custom multiItem --> <Menu refID="CompanyToolsToolbar_Addin_v10_CoordinatesMenu" separator="false"/> <!--BUTTONS--> <!--Reference to the custom button and tool--> <Button refID="CompanyToolsToolbar_Addin_v10_MapLayoutSpelling" separator="true"/> <!--Reference to the custom button and tool--> <Button refID="CompanyToolsToolbar_Addin_v10_ProjectTracker" separator="true"/> </Items> </Toolbar> </Toolbars> </ArcMap> </AddIn>
... View more
07-17-2012
06:55 AM
|
1
|
0
|
918
|
|
POST
|
I had written a function which is generic, allowing you to create various fields. Just call the AddFieldtoFeature in your main code block. It does check if the field already exists. Yes, the GP works as well, but I prefer this way... full control. You would just call by: AddFieldtoFeature(pFeaturelayer, "FIELDNAME", esriFieldType.esriFieldTypeString, Nothing, Nothing, 20, Nothing, "ALIAS", Nothing) **This works by passing the appropriate information, any info that is to be left out needs to be NOTHING , "" will not work. Copy the entire code below and place somewhere in the Class. you will have to reference the pMxDoc yourself. (m_Application) Sub AddFieldtoFeature(ByVal FeatureLayer As ESRI.ArcGIS.Carto.IFeatureLayer, ByVal FieldName As String, ByVal FieldType As ESRI.ArcGIS.Geodatabase.esriFieldType, ByVal scale As Integer, ByVal Precision As Integer, ByVal Length As Integer, ByVal IsNullable As Boolean, ByVal AliasName As String, ByVal DefaultValue As String)
Dim pMxdoc As ESRI.ArcGIS.ArcMapUI.IMxDocument
Dim pMap As ESRI.ArcGIS.Carto.IMap
Dim pApp As ESRI.ArcGIS.Framework.IApplication
pApp = m_application
pMxdoc = m_application.Document
pMap = pMxdoc.FocusMap ' the active map the button was pressed, use Approt if you want to connect to different map
Dim pFeatureClass As ESRI.ArcGIS.Geodatabase.IFeatureClass
pFeatureClass = FeatureLayer.FeatureClass
Dim pField As ESRI.ArcGIS.Geodatabase.IFieldEdit2
pField = New ESRI.ArcGIS.Geodatabase.Field
Dim pCheckField As ESRI.ArcGIS.Geodatabase.IFields
Dim CheckFieldInt As Integer
Try
pCheckField = pFeatureClass.Fields
CheckFieldInt = pCheckField.FindField(FieldName)
If CheckFieldInt = -1 Then
' lets make sure we are OUT OF editing but do this so if all fields are created... we can stay in edit mode:
Dim pID As New ESRI.ArcGIS.esriSystem.UID
pID.Value = "esriEditor.Editor" ' PROG ID
'or the CLSID
'pID.Value = "{F8842F20-BB23-11D0-802B-0000F8037368}"
Dim pEditor As ESRI.ArcGIS.Editor.IEditor
pEditor = pApp.FindExtensionByCLSID(pID)
If pEditor.EditState = ESRI.ArcGIS.Editor.esriEditState.esriStateEditing Then ' if in edit mode...
Dim pUID As New ESRI.ArcGIS.esriSystem.UID
pUID.Value = "{59D2AFD1-9EA2-11D1-9165-0080C718DF97}" 'STOP EDITING, MUST HAVE {}
Dim pCommandBars As ESRI.ArcGIS.Framework.ICommandBars
Dim pCommandItem As ESRI.ArcGIS.Framework.ICommandItem
pCommandBars = pApp.Document.CommandBars
pCommandItem = pCommandBars.Find(pUID)
pCommandItem.Execute()
'start editing "{59D2AFD0-9EA2-11D1-9165-0080C718DF97}"
System.Threading.Thread.Sleep(100)
End If
pField.Name_2 = FieldName
pField.Type_2 = FieldType
'Select appropriately based on field type selected
If FieldType = esriFieldType.esriFieldTypeDouble Or FieldType = esriFieldType.esriFieldTypeInteger Or FieldType = esriFieldType.esriFieldTypeSmallInteger Then
pField.Scale_2 = scale
pField.Precision_2 = Precision
End If
If FieldType = esriFieldType.esriFieldTypeString Then
pField.Length_2 = Length
End If
If IsNullable <> Nothing Then
pField.IsNullable_2 = IsNullable
End If
If AliasName <> "" Then
pField.AliasName_2 = AliasName
End If
If DefaultValue <> "" Then
pField.DefaultValue_2 = DefaultValue
End If
pFeatureClass.AddField(pField)
End If
Catch ex As Exception
MessageBox.Show("Failed to create field" & vbNewLine & ex.Message & vbNewLine & "Error Details:" & vbNewLine & ex.StackTrace, "Create Feature Field", MessageBoxButtons.OK, MessageBoxIcon.Error)
End Try
End Sub
... View more
07-17-2012
06:40 AM
|
0
|
0
|
672
|
| 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
|