|
POST
|
Hi again Akhil. 1600x1200 photos!! I'm amazed they work. I'm betting we'll see attachments in 10.1. (maybe it's hoping) You could code up a web service that takes the photos independently and writes their filename in the feature class... (goes against my the out-of-the-box with minimal code strategy). That's quite a reasonable number of points before it slows down/crashes... we get that slowing down even earlier on the trimbles. We have a photo on each point and the users wanted to be able to "get data" what points have already been done (reasonable enough request right?!). Can you imagine that when they had close to 1000 points, each with a photo, over 3G!! I now have a bit of dotnet which strips the raster field into a file and puts it's filename in the feature class.... that works much better. I'd love not to have to do photos. Oh our guys currently don't have internet when in the field (i.e. in disaster zones with dead 3G towers quite often). We might have to change that somehow though.
... View more
07-28-2011
02:17 PM
|
0
|
0
|
903
|
|
POST
|
Seems logical though doesn't it. And since the synchronization task can do it, you'd think it must be in the structure... More doco please ESRI. I want to reuse a custom collect feature task with different settings a number of times in a single project. I suppose I can setup a workflow with multiple pages... but to code what I was thinking of would be simpler. Or another idea -- say you've written a project for a specific event and you want to tag all that data collected with the event name... having it in the amp file and prefilling that value on a collect feature would be good!! I'm hoping someone at esri inc is listening.
... View more
07-28-2011
02:05 PM
|
0
|
0
|
628
|
|
POST
|
Has anyone done that? Is there anyway of accessing the amp file setting through the code? I've looked ... but haven't found anything yet. The update Synchronize task obviously gets settings from the Amp file (see below). <Task assemblyQualifiedName="CustomizationSamples.CustomCollectFeaturesTask, CustomCollectFeaturesTask, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null">
<CustomCollectFeaturesTask name="Collect Feature" description="Custom Collect Features Task" />
</Task> <Task assemblyQualifiedName="ESRI.ArcGIS.Mobile.Client.Tasks.Synchronization.SynchronizeTask, ESRI.ArcGIS.Mobile.Client">
<SynchronizeTask xmlns:amp="http://www.esri.com/schemas/ArcGIS/Mobile/1" name="Manage Edits" description="View and manage local updates">
<PostUpdatesSettings autoPostOption="Never">
<TimeInterval minutes="-1" hours="1" />
</PostUpdatesSettings>
<GetDataSettings>
<Layers />
</GetDataSettings>
</SynchronizeTask>
... View more
07-27-2011
09:04 PM
|
0
|
5
|
790
|
|
POST
|
When posting updates to a server we're regularly getting "Out of Memory" errors. I've tried to report this problem before to our resellers when we had build 2475 and we were told to try build 2500. We've got 40+ trimble nomads with mobile 2500 collecting points with photo raster field. It only happens every now and then. But it's enough that we lose data. Exporting to a shapefile isn't helpful either. We try to keep photo size to below 800x600. I've talked about the problem before on the forums. Now it's build 2500 and it's still not fixed. Has anyone had this happen to them?
... View more
07-27-2011
06:18 PM
|
0
|
9
|
1288
|
|
POST
|
I've got a model which constructs a feature class in SDE. It then adds fields. I'm getting the following error: ERROR 999999: Error executing function. The column must not have a NOT NULL constraint [The column must not have a NOT NULL constraint[GIS.GIS.OTH_LIV_AGM_QRACYS3.OCCUPIED]] Failed to execute (Add Field). It is just a point feature class with nothing special. I can only add NOT NULL constraints if I construct the feature class and add all the fields with Desktop not as a model.
... View more
06-15-2011
06:08 PM
|
0
|
0
|
721
|
|
POST
|
Are there other changes besides bug fixes? I use a modified version of sample "Customized Data Collection" which changed the workflow so when you when to add a feature it took you straight to the map then straight to the attributes page. I upgraded to 2500 on a Windows Mobile (Trimble) and now my workflow is skipping the attributes page altogether. Something has happened to the attribute page. Where if you had a field previously that wasn't filled it would give you a red dot unless you had a valid default. Is it now letting you put in empty fields? Is this something to do with "Allow Null"? ???
... View more
06-14-2011
08:55 PM
|
0
|
0
|
550
|
|
POST
|
Playing with the zorder doesn't appear to fix the problem. e.g. I've got a 2m spot image which now has a zorder value of 2 and a 50cm aerial with a zorder of -1 and rest is still not presenting the correct image. We've got a web app in 1.3 flex api which has no way of modifying at the mosaicing method. I've modified the zorder and republished and cleared the rest cache and still nothing happens. Rebuilding the mosaic dataset every time we add new imagery is not the ideal workflow.
... View more
06-08-2011
09:14 PM
|
0
|
0
|
861
|
|
POST
|
Interestingly I had a similar Post Updates failure. Like yours there were a large number of updates (90 in our case). In our case (and I didn't know about the tool above) it looks like the points still went through. I blamed it on the fact we had a raster field with a photo in each... Maybe it's timing out?
... View more
06-02-2011
02:49 PM
|
0
|
0
|
1108
|
|
POST
|
Can I clarify whether you can do vertex editing in 10.0 when you're developing in the SDK? The only part of my 9.3.1 code I can't get working is my vertex editing. I did another post elsewhere and saw this one. I have a feature selected and then turn on the VertexMoveSketchTool mapaction and it used to bring up the sketchlayer but nothing happens now. There doesn't seem to be any examples anywhere. We've had some successful large scale trials with mobile 10 on nomad trimbles. Mind you we had to simplify the workflow with a task modification (pretty much the custom task that's given in the examples). Our users were happy with it... most hiccups were with the hardware (mostly the GPSs and SD cards). Getting our Windows app moved to 10.0 from 9.3.1 has taken me longer than I thought it would. I'm assuming any talks on 10.1 Mobile will be published online after the UC. Some of us can't make it.
... View more
05-31-2011
03:59 PM
|
0
|
0
|
1415
|
|
POST
|
We've got a fully functioning mobile project in 9.3.1 which I am currently exploring moving to 10 with as little change as possible. I've just had a little play with MoveVertex. I can't seem to get it to work and there is no example in the doco or code samples I can find. You select the featurelayer with the Select map action then what. You turn the MoveVertex mapaction on. What am I missing? Does it recognize the feature from the selection? SelectionMapAction1.SelectionLayers.Clear()
SelectionMapAction1.SelectionLayers.Add(MobileCache1.Layers(1))
Map1.CurrentMapAction = SelectionMapAction1 Map1.CurrentMapAction = MoveVertexSketchTool1
... View more
05-30-2011
10:26 PM
|
0
|
0
|
705
|
|
POST
|
I've had the opposite occur, which I'm trying to get my local support to report upwards... 90+ points with a raster field were giving an error when posting but points appeared in db. But of course the error continued and withdrew Nomad from pool. I suspected timeout because of the number of photos. Still happened when on ethernet cable. I'd have to say if you locate your caches not on SD cards you will have a much happier time of it. On a positive note we just had a group of non-gis staff who had 3 hours of training take out quite a few Trimble nomads with mobile 10 and they managed to collect 1500+ points with photos in raster fields in trying conditions.
... View more
05-30-2011
10:15 PM
|
0
|
0
|
448
|
|
POST
|
If I had a date field with local time zone datetimes how would I get it to stop showing times 10 hours ahead? ie. point collected 10am local time gets shown as 8pm.
... View more
05-23-2011
06:20 PM
|
0
|
0
|
2475
|
|
POST
|
That worked a treat. I modified it to strip straight from sde... Got lazy with Db.null. If it appears in arcpy I imagine I'll be able to do the below in about a dozen lines. Private Sub ExtractRasters(ByVal FCName As String, ByVal Fieldx As Integer, ByVal OutputDir As String)
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(FCName)
Dim pFeatcursor As IFeatureCursor = pFeatureClass.Search(Nothing, True)
Dim pfeature As IFeature = pFeatcursor.NextFeature
Dim pFlds As IFields = pFeatureClass.Fields
If pFlds.Field(Fieldx).Type <> esriFieldType.esriFieldTypeRaster Then
Console.WriteLine("Field chosen (" + Fieldx.ToString + ") is not a raster field!")
Exit Sub
End If
Dim fcount As Integer = 0
While Not pfeature Is Nothing
Try
pValue = pfeature.Value(Fieldx)
pRasterDataset = pValue.RasterDataset
pWorkspaceFactory = New RasterWorkspaceFactoryClass
pWorkspace = pWorkspaceFactory.OpenFromFile(OutputDir, 0)
pSaveAs = pRasterDataset
Dim filename As String = "JPG_Raster" + pfeature.OID.ToString + ".jpg"
If pSaveAs.CanSaveAs("JPEG") And System.IO.File.Exists(OutputDir + "\" + filename) = False Then
pSaveAs.SaveAs(filename, pWorkspace, "JPEG")
fcount += 1
End If
Catch ex As Exception
Console.WriteLine(ex.Message + " CONTINUING")
End Try
pfeature = pFeatcursor.NextFeature
End While
pfeature = Nothing
Console.WriteLine(fcount.ToString + " file/s written out.")
End Sub
... View more
05-16-2011
03:39 PM
|
0
|
0
|
444
|
|
POST
|
Does anyone know of a way to take a raster dataset field and write it to a file in arcpy? I'm talking about writing a raster field to a jpg. You're pretty much forced to store photos as a raster field if you want to do it out of the box in windows mobile.
... View more
05-12-2011
06:52 PM
|
0
|
2
|
2343
|
| 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
|