POST
|
Anyone out there know about the AVF (I assume this is a custom rendition of GeoJSON from Apple) format? I am hoping to find some converter that works with Esri formats or AutoCAD formats to AVF. Right now I have tripped across Esri/Terraformer · GitHub and Esri/geojson-utils · GitHub but not quite sure if these are the correct track to go down. Thanks! Michael
... View more
12-10-2015
09:43 AM
|
0
|
0
|
2982
|
POST
|
OK, Thanks Jake, that is good to know. My original question still stands, though: Is there a setting in ArcGIS.com (cloud service or SAAS) that can be set to send the geoprocessing results of ArcGIS.com to a local (internal to us) ArcGIS Server instance? Michael
... View more
11-04-2014
08:35 AM
|
0
|
1
|
415
|
POST
|
Thanks Mike, I'm not sure you understood my original question: Basically I want to know how to get geoprocessing results from ArcGIS.com to go to my internal ArcGIS Server instead of to the cloud. I asked if I need Portal to be internal to do this (do you know that you can actually buy an internal Portal that is installed on your local/internal servers instead of using the default cloud Portal? Obviously there is another cost associated with this, so I would like to NOT go that way if I can help it)...or if there is some other setting in ArcGIS.com that I can set to send the geoprocessing results to my internal ArcGIS Server instances. Do you know the answer to that? Michael
... View more
10-30-2014
03:21 PM
|
0
|
1
|
415
|
POST
|
Do I need internal Portal in order to get my ArcGIS.com geoprocessing task results to be sent to my internal ArcGIS server instances? Or is there some configuration I can do to send geoprocessing tasks from ArcGIS.com to something other than Esri's cloud? Michael
... View more
10-28-2014
01:57 PM
|
0
|
5
|
1772
|
POST
|
The only reason it is hard to find it is that it doesn't exist. 😉 It is found in the user forum only as far as I have seen. Users had to do the same for VBA back when it used to work. So be grateful for the furums. Thanks for your help! Bad news that it isn't documented. That seems like a BIG oversight to me :mad:. I am totally grateful for the forums! Thanks again. 🙂
... View more
09-13-2013
01:54 PM
|
0
|
0
|
2281
|
POST
|
Thanks, But I bet your fc is a line feature class. My feature class is a point. Does XMax work for points?? Amazingly, I tried it with a capital "S" in Shape (like !Shape...!) and also a lowercase "s" in shape (like !shape...!). The interpreter doesn't seem to care if it is upper or lower case...but for me the correct answer is !Shape.Centroid.X! and !Shape.Centroid.Y! (It also works for !shape.Centroid.X! & !shape.Centroid.Y! or !shape.centroid.x! & !shape.centroid.y!...you get the picture.) I suppose it is easier to read when it is title case, but not necessary.
... View more
09-13-2013
01:51 PM
|
0
|
0
|
2281
|
POST
|
No. It does not. There is no extent for a point, only for a buffer polygon around a point. For the X coordinate of the point itself you calculate the X of the point's Centroid. So it is: !Shape.Centroid.X! Here is the help that lists the valid geometry calculations allowed for each feature class type through the Geometry calculator. There are several others available through the Field Calculator, like extent, but an extent means an object has at least the potential to have both height and width, which a point cannot have. Thanks for That! Where is this documented? I'm having a hard time finding this kind of info.
... View more
09-13-2013
01:38 PM
|
0
|
0
|
2281
|
POST
|
Many of the geometry calculation examples are contained in this help page. This specific example seems to match the one you are doing, but is written as though you are doing the calculation in Desktop: Parser: Python Expression: !shape.extent.XMax! This was built using ModelBuilder and I know it works for my data. # Import arcpy module import arcpy # Local variables: CENTERLINE_ROUTES_MERGED = "\\\\Agency\\agencydfs\\Trans\\rfairhur\\Layers\\Centerline_Synch.gdb\\CL_Maint\\CENTERLINE_ROUTES_MERGED" # Process: Calculate Field arcpy.CalculateField_management(CENTERLINE_ROUTES_MERGED, "EXTENT_MAXX", "!Shape.extent.XMax!", "PYTHON_9.3", "") It appears the syntax is identically configured to yours (assuming the fc name and field name were changed for our respective databases), so perhaps the problem is with the rest of your model. Possibly a lock is being placed on the fc that prevents the calculation from occurring or you mistyped something in the fc name. Try capitalizing the word Shape in the calculation, since at 10.0 or later it gets picky about capitalization and in my fgdb Shape is capitalized. Thanks, But I bet your fc is a line feature class. My feature class is a point. Does XMax work for points??
... View more
09-13-2013
11:44 AM
|
0
|
0
|
2281
|
POST
|
If you use a cursor, you can query each feature for its extent object, which has the properties you seek. the Extent (arcpy) page in the Help should be of assistance. There is a sample on that page that queries each feature in a fc for its extent, and prints the values You would instead use an Update Cursor to perform the same query and then update the table's fields you have provided for holding these values. This seems a bit tedious (and slow) when there is a way to calculate geometry in the ArcMap interface. Isn't there something analgous in Arcpy that will allow me to just calculate the values from the shape properties instead of having to cursor through each record??
... View more
09-13-2013
11:31 AM
|
0
|
0
|
2281
|
POST
|
This seems very easy, but I cannot figure it out. I need to calculate the X-Coordinate and Y-Coordinate to the appropriate fields in my featureclass (XCoord, YCoord). I am trying something like this to no avail: arcpy.CalculateField_management(Maxtbl, "XCoord", "!shape.extent.XMax!", "PYTHON_9.3", "") Maxtbl is set to: r"V:\is\work\mb\Util\MaximoMobile\geodb\TestSnappingSigns.gdb\MaximoSigns_Test" (my feature class). The shape properties/methods don't seem to be documented very well--where do I find those?
... View more
09-13-2013
10:34 AM
|
0
|
11
|
10572
|
POST
|
I have overlapping points in my ArcPad project that I want to be able to edit in ArcPad. Is there a way to get at overlapping points through the attribute editor? It seems like the only option I have currently is to edit the top point--which is not what I want. Do I have to "spread" the points in ArcMap before exporting the ArcPad project? Thanks beforehand, Michael
... View more
04-11-2013
10:43 AM
|
0
|
1
|
326
|
POST
|
Did you figure this out? I'm looking to do something similar. I did find some code that got me started. Here it is:
'autopopulate a field based on entry in another field
Sub AutoPop
Dim objDBF, strCode, strTest, i , strObs, pageGen
'pageGen = Layers("SignsTest3").Forms("EDITFORM").Pages("General") 'SignsTest3 is the layer
strObs= Layers("SignsTest3").Forms("EDITFORM").Pages("General").Controls("domDescription").value 'get value user selected in domDescription field
Set objDBF = Application.CreateAppObject("recordset")
objDBF.Open "C:\Users\mbishopp\Documents\SignsTestData1\dbase\Example.dbf", 1 'open the external DBF table <--this should probably be placed somewhere else, like with the apl or axf, but I was just experimenting at the time.
objDBF.MoveFirst
For i=0 to objDBF.RecordCount-1 'loop through DBF list until end of list
If strObs=objDBF.Fields("Descriptio").Value then 'compare selected obs value form with 1st CODE value from table
strTest = objDBF.Fields("SignType").Value 'if form value = CODE value then store associated TEST value in variable
MsgBox(strTest)
Layers("SignsTest3").Forms("EDITFORM").Pages("General").Controls("tbSignType").value = strTest 'Populate the tbSignType control with var strTest
Layers("SignsTest3").Forms("EDITFORM").Pages("General").Controls("tbDescription").value = strObs 'Populate the tbDescription control with var strObs
'ThisEvent.Object.value=strTest 'enter stored variable into text box on form <--didn't use this, legacy from other user that I stole this from :)
Else
End If
objDBF.MoveNext 'goto next record in DBF table
Next
objDBF.Close 'close DBF table
Set objDBF = Nothing
End Sub
Hopefully that helps!
... View more
04-03-2013
03:32 PM
|
0
|
0
|
196
|
POST
|
Just came across this oldish post. Ran into this issue last year too. I found that if you loaded the combobox with a .dbf for your domain values it would limit results based on the user typing in the first few characters. No need to write code around all the events of the combo box changing or anything. Hope this helps if you haven't already found the answer. Ryan Thanks Ryan, Your solution worked with a caveat: I have an axf, so the .dbf has to be relative to this axf to make it all go. To make it work on the mobile device, make sure the .dbf is in the same directory as the .axf and then copy the entire project folder to the mobile device. This will do the trick. Also, when you type in the combo box, the list is not really filtered, but by typing you are automatically paged to the nearest match in the list. Since my list is 800 values long, this is a big relief that I don't have to write code to make this work. Awesome!
... View more
04-01-2013
03:11 PM
|
0
|
0
|
397
|
POST
|
I have a rather large (800+) domain list (street sign text) that I would like to put into an ArcPad combo box. I am wondering if anyone has a solution (existing code) to filter the list while someone is typing. In other words, as the user types in the first few words of the sign text, the domain list is filtered via a wildcard search and the list becomes shortened and more manageable to pick from. FYI, the domain list is very random and does not really lend itself well to categorical organization. I have thought of the solution of creating categories of signs and then filtering the list based on the user choosing a category and then just that category of signs shows in the list, but this just doesn't seem to be possible for this very unstructured list. I have included a sample of the domain as a spreadsheet so that you can get a flavor of what I am dealing with.
... View more
03-28-2013
04:39 PM
|
0
|
3
|
3856
|
POST
|
I am new to ArcPad and new to VBS, so this might be a bit more than I can chew, but here goes: I have a rather long table that has a code field (sign type) and a description field (sign description). I want my ArcPad users to be able to choose from the Description field and have the code field automatically fill in based on that choice. I'm assuming that I need to create some sort of a domain table (maybe a .dbf table??) that can be linked to the Description field. From this table the coded value (sign type) would be known, so that it could be automatically populated into the "sign type" field. Can anyone help direct me on how to go about this? Michael:confused:
... View more
03-25-2013
08:59 AM
|
0
|
3
|
2222
|
Title | Kudos | Posted |
---|---|---|
1 | 12-14-2021 01:09 PM | |
2 | 09-10-2019 11:17 AM | |
2 | 09-10-2019 11:17 AM | |
3 | 09-10-2019 11:17 AM | |
49 | 07-08-2010 08:35 AM |
Online Status |
Offline
|
Date Last Visited |
2 weeks ago
|