|
POST
|
If we had a large feature class (polygons for example) that changed regularly that we wanted to host on AGOL, what would be the best way to automate a "replication" of the data. We don't use versioning and we would prefer to host the data on AGOL instead of on our ArcGIS Server to separate our loads. We currently have an Amazon account which we're doing some not-so-robust python to either delete/append or copy zipped file geodatabases. So the data will be a feature service on AGOL and we want to change the data regularly. And it's not just simple data so we can't do things like GeoRSS or KML.... Thanks, Peter
... View more
09-04-2012
05:42 PM
|
0
|
17
|
4373
|
|
POST
|
I'd be interested to know this one also... How about Advanced on one cluster and Standard on another?
... View more
08-09-2012
02:39 PM
|
0
|
0
|
783
|
|
POST
|
I've got ~200 mosaic datasets (>7TB raw data) containing DEM that cover a very large area that were provided to us with paths that aren't appropriate now the data has been moved. Interesting enough if I open one of those mosaic datasets they work, but if try to create a mosaic dataset of a bunch of those mosaic datasets the overviews and raw data don't appear. It's like mosaic datasets are now smart enough to recognise the data is nearby and find them, but when you mosaic the mosaics you lose that capability. I tried repairing paths and only the overviews are being remapped. All the raw data is sitting as File Geodatabase Raster Datasets. Those paths can't be fixed. I've done this repairing before quite successfully in 10.1 with geotiffs and overviews. How come the mosaic datasets work initially? I'm working with UNC addresses for all of this.
... View more
08-01-2012
05:41 PM
|
0
|
0
|
2926
|
|
POST
|
Any help on this one? No. I've rolled back to 10.0 till I can get this worked out. Other people have said it does it automatically. We could be a special case, we did have trouble with 10 and SSL and firewalls/load balancers.
... View more
07-25-2012
05:21 PM
|
0
|
0
|
873
|
|
POST
|
I went to run the repair path tool in 10.1 on a mosaic dataset and got the message that the mosaic dataset needed "Upgrading". I see the "Upgrade..." tool and it works, but how do I batch the upgrade? I've got 50+ mosaic datasets to do. Am I going to get RSI? <Never mind, I found the Upgrade Dataset tool>
... View more
07-15-2012
08:08 PM
|
0
|
0
|
1978
|
|
POST
|
Just a quick dumb question for 10.1 - haven't found it in help yet. How do you remap the virtual directory of the output (and other) directories so the output in the rest is being published to an external address... Not the internal machines name but what it appears if we're using an external url? ie. http://internalmachinename:6080/arcgis/rest/directories/arcgisoutput/.... to http://myurl.com/arcgis/rest/directories/arcgisoutput/... I'm using the webadaptor and the firewall can only go through port 80....(another note, do I need to open port 6080 as well?) 10.0 wasn't that hard.
... View more
07-05-2012
11:28 PM
|
0
|
7
|
1184
|
|
POST
|
Nope that has no impact. Mind you there is no (or little) cpu activity after the cancel, even though Caching Status says it's still happening. There must he a job list somewhere. I'm thinking it's the following directory. <directories>\arcgisjobs\system\cachingtools_gpserver When you start a job the associated job id directory gets created, then a bunch of worker jobs. Cancelling was always a bit hit and miss in 10.0... but you could always restart the service.
... View more
06-21-2012
02:35 PM
|
0
|
0
|
998
|
|
POST
|
I have what looks like rogue caching jobs that won't cancel. Clicking "Cancel Caching" in Cache Status doesn't work. Cancelling Job in "Job Status" doesn't work. Restarting ArcGIS service doesn't work. Any ideas? Can you go into the jobs directory (cachingtools_gpserver) and have deleting session? EDIT: And now getting the following error when starting any new caching. Could not service request. java.rmi.UnmarshalException: Error unmarshaling return header; nested exception is: java.net.SocketException: Connection reset
... View more
06-20-2012
10:31 PM
|
0
|
6
|
3935
|
|
POST
|
I've been having trouble with synchronize download agents. I was having synchronize trouble in general where it made my layers disappear so I split my upload and download agents, and now I've narrowed it down to just the download agent. Any ideas? Work around will be to use BeginDownloadExtent..... Nothing special about data
... View more
02-22-2012
03:27 PM
|
0
|
0
|
389
|
|
POST
|
You cannot move vertices in out-of-the-box ArcGIS Mobile.
... View more
02-21-2012
08:23 PM
|
0
|
0
|
208
|
|
POST
|
I guess you could take that arcobjects code and place it in a windows service. Currently (because I'm hoping esri will fix this problem with 10.1) I'm just running it as a bit of scheduled windows form minimized (horrible - I'm over this problem). It works. It does require an info or editor licence and I'm running it on a server. You can run it anywhere as long as you have access to the final file destination. Once it's spat out the file and it's got the filename in a field in sde I just construct the rest of the url in the web app. The only annoying thing about the whole process is the need for an info or editor licence (floating - sometimes not available).
... View more
10-24-2011
02:50 PM
|
0
|
0
|
903
|
|
POST
|
I know people who have link up the timestamp of the photos to the timestamp of the dataentry in arcgis mobile. Not very pretty.
... View more
10-05-2011
09:22 PM
|
0
|
0
|
301
|
|
POST
|
We're having trouble logging into our reverse proxy address. If I connect to the internal address it works fine. I get the directories a particular user has permission to get to. If I use the machines reverse proxy external address and I type the login I just go back to the root and no directories have appeared and it's still got a login link up the top right (ie. it hasn't logged in). I've checked the web.configs in "rest", "Tokens" and "Services" and changed things like the TokenServiceURL. I'm not using SSL so my TokenServiceURL is something like: http://<external address>/ArcGIS/tokens/ I've gone into the rest.config and changed <SoarpUrl>, <SoapSslUrl> and <ServicesDirectoryHelpUrl>. If I go to the external admin login http://<external address>/ArcGIS/rest/Admin I get this modification to the url: http://<external address>/ArcGIS/rest/admin/login?redirect=http%3a%2f%2f<internal address>%2farcgis%2frest%2fadmin note the internal address in the referer. Is that a hint of what is happening?
... View more
08-30-2011
03:05 PM
|
0
|
2
|
919
|
|
POST
|
As far as I know the web api's can't handle raster fields. (please someone tell me I'm wrong)... and yes attachments might answer our problem. I've attached some partial code on how to export to jpg. I store the resulting jpg's name in a field but you could construct that on the fly. I also empty the raster field. And I apologize for my messy code... There are references in that code to functions that aren't in there. There's probably more in there than you need. We've got quite a few mobile projects.... some do overlap, using the same service. Some apps use multiple services. Dim pValue As IRasterValue
Dim pRasterDataset As IRasterDataset3
Dim pWorkspaceFactory As IWorkspaceFactory
Dim pWorkspace As IWorkspace
Dim pSaveAs As ISaveAs
Dim pPropSet As IPropertySet = New PropertySetClass()
With pPropSet
.SetProperty("Server", My.Settings.Server)
.SetProperty("Instance", My.Settings.Instance)
.SetProperty("Database", My.Settings.Database)
.SetProperty("AUTHENTICATION_MODE", My.Settings.AUTHENTICATION_MODE)
.SetProperty("USER", My.Settings.USER)
.SetProperty("PASSWORD", My.Settings.PASSWORD)
.SetProperty("version", "sde.DEFAULT")
End With
Dim pSDEWorkspace As IWorkspace
Dim pSDEWorkspaceFactory As New SdeWorkspaceFactory
pSDEWorkspace = pSDEWorkspaceFactory.Open(pPropSet, 0)
Dim pFeatureWorkspace As IFeatureWorkspace = pSDEWorkspace
Dim pFeatureClass As IFeatureClass = pFeatureWorkspace.OpenFeatureClass(My.Settings.FCName)
Dim pFeatcursor As IFeatureCursor = pFeatureClass.Search(Nothing, True)
Dim pfeature As IFeature = pFeatcursor.NextFeature
Dim pFlds As IFields = pFeatureClass.Fields
Dim rasterfieldidx = FindCheckField(My.Settings.RasterFieldName, esriFieldType.esriFieldTypeRaster, pFlds)
Dim datefieldidx = FindCheckField(My.Settings.DateField, esriFieldType.esriFieldTypeDate, pFlds)
Dim photofileidx = FindCheckField(My.Settings.RasterPhotoLink, esriFieldType.esriFieldTypeString, pFlds)
Dim globalididx = FindCheckField("GlobalID", esriFieldType.esriFieldTypeGlobalID, pFlds)
Dim fcount As Integer = 0
While Not pfeature Is Nothing
Try
'Export Raster
If Not pfeature.Value(rasterfieldidx) Is System.DBNull.Value Then
pValue = pfeature.Value(rasterfieldidx)
pRasterDataset = pValue.RasterDataset
pWorkspaceFactory = New RasterWorkspaceFactoryClass
pWorkspace = pWorkspaceFactory.OpenFromFile(My.Settings.DestDir, 0)
pSaveAs = pRasterDataset
Dim filename As String = My.Settings.DestDir & "\" + Mid(pfeature.Value(globalididx), 2, Len(pfeature.Value(globalididx)) - 2) + ".jpg"
If pSaveAs.CanSaveAs("JPEG") And System.IO.File.Exists(filename) = False Then
pSaveAs.SaveAs(filename, pWorkspace, "JPEG")
If IO.File.Exists(filename) Then
'Add filename
pfeature.Value(photofileidx) = IO.Path.GetFileName(filename)
'Clear Raster Field
pfeature.Value(rasterfieldidx) = System.DBNull.Value
pfeature.Store()
fcount += 1
End If
ElseIf System.IO.File.Exists(filename) Then
pfeature.Value(rasterfieldidx) = System.DBNull.Value
pfeature.Store()
End If
End If
Catch ex1 As System.InvalidCastException
m_evlog.WriteEntry(ex1.Message + " CONTINUING")
Catch ex As Exception
m_evlog.WriteEntry("Exception: " & ex.Message)
End Try
pfeature = pFeatcursor.NextFeature
End While
... View more
08-02-2011
02:53 PM
|
0
|
0
|
903
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 10-23-2013 08:49 PM | |
| 1 | 02-21-2017 04:04 PM | |
| 1 | 06-23-2015 04:22 PM | |
| 1 | 08-01-2017 07:18 PM | |
| 1 | 01-10-2017 03:35 PM |
| Online Status |
Offline
|
| Date Last Visited |
04-19-2021
10:19 AM
|