POST
|
Hi Chris, I just found this thread, i hope its still active. I am faced with a task to do a spatial join of points to polygon and read from the points fc, the rows with a null street name and copy values from 6 fields in the join table to the original feature class. My code looks like this right now: arcpy.env.workspace = r"path" arcpy.env.overwriteOutput = True GaR = "points" Parcel = "Parcels" Join_table = "Join_table" arcpy.MakeFeatureLayer_management("points", GaR) arcpy.MakeFeatureLayer_management("Parcels", Parcel) arcpy.SpatialJoin_analysis (GFR, Parcel, Join_table, "", "", "", "WITHIN") where = "STREET_NAME" + " IS NULL" with arcpy.da.SearchCursor(GFR, ["STREET_NAME"], where) as cursor: for row in cursor: CopyFields (GaR, "ID", Join_table, "ID", fields) Join_table has ID, Name, street, location, state and zip and i am trying to copy these into the fields in GaR and then delete the Join-table. Looking forward to hearing from you Thanks Ayo
... View more
09-21-2016
10:39 AM
|
0
|
0
|
2696
|
POST
|
Non-python related, I suppose one workaround is to symbolize your features by unique values, many fields. Then the feature template is created with both default values. The name of the template, however, is a combination of the two values. Hmm...
... View more
02-14-2014
07:54 AM
|
0
|
0
|
574
|
POST
|
Posting here to bring this topic back to life. Any new development on this functionality? For example: Creating a feature class for street signs based on MUTCD standard, which totals about 350 signs. This will be used in a web app with a pull down list for creating features (you can start typing a sign name to filter the list of available templates so you're not scrolling through hundreds of options). Need to have one field with the MUTCD code and another the actual name of the sign. Sure, a domain will allow you to store the code and have the name display in a single field, but I need the values in two different fields. It will take a LONG time to manual edit the default value in that second field for 350 feature templates - not to mention the issue of data integrity with all that typing. It would be nice to create an updateCursor or something to fly through these values which are already contained in a table.
... View more
02-14-2014
07:29 AM
|
0
|
1
|
574
|
POST
|
ArcGIS 10.1 Let's say I have a python addin with a single tool. The tool creates a new in_memory point feature class with a single point when the onMouseDownMap event occurs. It then utilizes pythonaddins.GPToolDialog to launch the buffer tool. The buffer tool uses the in_memory point feature as the input and then deletes it and removes it from the map when the tool finished. This all works fine if the GP tool is completed successfully. However, if the user chooses "Cancel" on the GP tool dialog, the tool quits but the in_memory point feature class that was created initially still remains in the TOC. Anybody have a good workflow to remove that in_memory feature class from the map if the GP tool is cancelled instead of completed??
... View more
10-18-2013
09:18 AM
|
0
|
1
|
2083
|
POST
|
I'm nearly positive that you can't change the symbology for the TrackLog. The only attributes that the TrackLog has (that can be accessed via the GUI or programatically) are visible, interval, measure, name, and qualitycontrol.
... View more
08-21-2013
01:50 PM
|
0
|
0
|
253
|
POST
|
Just upgrade to the newest version, 10.2. You'll be able to edit your forms (I assume .apl files) just fine. Those forms can then be integrated very easily into the axf file format.
... View more
08-21-2013
12:36 PM
|
0
|
0
|
269
|
POST
|
My guess is that it's the tiling scheme that you used to create the tile cache. If you use the Google / Bing maps tiling scheme when creating the cache I've found that it throws off Mobile Project Center when it looks at the underlying coordinate system. 1. Create a custom tiling scheme (you can mimic the google / bing tiling scheme if you want) using the 'Generate Tile Cache Tiling Scheme' geoprocessing tool. 2. Create a new tile cache using your state plane raster and the tiling scheme created in step 1. I'd bet that your basemap will be accepted in MPC after this.
... View more
08-12-2013
12:36 PM
|
0
|
0
|
511
|
POST
|
You have to have the original geodatabase / feature classes that the mobile project was created from. You can't export features from a mobile cache - you can only synchronize with the original features that were used to create the cache. Normally the workflow goes: 1. Create mxd from feature classes in a geodatabase. 2. Create mobile cache via geoprocessing tools or by publishing as a service. 3. Create mobile project in Mobile Project Center and incorporate the mobile cache or service created in step 2. 4. Perform field work in the mobile app. 5. Synchronize edits using geoprocessing tools or via the mobile application by synchronizing with a service. These files (mobile caches) were never meant to be exported out to a set of feature classes, only synchronized with the feature classes they were originally created from. There's a mobile cache tool on the resource center that you can use to export features out to shapefiles (which you could then import into a geodatabase and create a new map / mobile service), but it's pretty touchy and only works in select older versions. My advice would be to contact the consultant who gave you the project originally and ask for the geodatabase / feature classes and the mxd if they're willing.
... View more
08-12-2013
12:21 PM
|
1
|
0
|
431
|
POST
|
If you store relative pathnames to the sources in your map you can accomplish this without packaging at all. Put all of your data into a single folder, store relative paths in your mxd, publish the map (without packaging), and then you can send the folder of data along with the pmf. Creating a map with relative path data
... View more
08-08-2013
11:29 AM
|
0
|
0
|
204
|
POST
|
You can get it from your customer care portal (customers.esri.com).
... View more
08-08-2013
11:19 AM
|
0
|
0
|
785
|
POST
|
If you know the features are there (by verifying in ArcPad) but yet see 0 new feature created - odds are you started an editing session, checked in your features, stopped your editing session but did NOT save your edits. The changes to the geodatabase were reverted, yet the axf file still thinks that it has been checked in. The only way around this is (a) hopefully you have an original copy of the data that wasn't checked in or (b) you need to use ArcPad Studio and SQL statements to update the values in the AXF_STATUS column of the newly created features to trick those records into thinking they've never been checked in. The following blog posts don't directly show how to update the AXF_STATUS column, but you would use the same theory to do so. How to use SQL for working with data in ArcPad �?? Part 1 How to use ArcPad with SQL - Part 2 1. Open your axf file in ArcPad Studio. 2. Expand "Feature Layers" and right-click the problematic layer > select "Show Data". 3. Write a SQL statement in the top box to select all of your features from a certain date, date range, or any other selection method to select the rows which need to be checked in. fyi... clicking the red exclamation mark in the top toolbar will execute your SQL statement 4. Write an UPDATE statement to update the AXF_STATUS column of the returned records from your select statement to set them to "1". This will make those records in the AXF file appear as if they haven't been checked in. Then you can just go back through your normal "Get Data From ArcPad" workflow. If you're not SQL savvy, a quick search on the interconnecting webs should lead you towards the simple statements you can use to accomplish this. A little trial and error via the "show data" dialog and you should get what you need. I suppose that your other option would be to open the axf file in ArcPad Studio, right-click your feature class and export to a shapefile. You can then bring the shapefile into ArcMap and copy / paste your features into your existing feature class, or use the simple data loader via ArcCatalog. Hope this helps.
... View more
08-05-2013
10:29 AM
|
0
|
0
|
210
|
POST
|
Did you try the suggestions above? Checking on the extension, manually registering the dll, etc? What versions of ArcPad and ArcGIS Desktop are you using?
... View more
08-05-2013
07:12 AM
|
0
|
0
|
638
|
POST
|
Perhaps you didn't copy the .prj file to the device?
... View more
02-25-2013
11:10 AM
|
0
|
0
|
176
|
POST
|
No. You do not have to go through that for each device. Check out one time, then copy that folder of data and paste it onto each device. Simple as that.
... View more
02-11-2013
11:55 AM
|
0
|
0
|
336
|
POST
|
So I guess the real answer to your question is yes, each device will need their own checked out version of the feature class. Ideally, after you check their edits back into the geodatabase, you check out a fresh version of the data (so the changes from all of the other versions are included) for each device.
... View more
02-11-2013
11:35 AM
|
0
|
0
|
336
|
Title | Kudos | Posted |
---|---|---|
1 | 05-25-2012 09:02 AM | |
1 | 05-25-2012 09:14 AM | |
2 | 06-04-2012 11:11 AM | |
1 | 03-19-2012 12:00 PM | |
1 | 08-12-2013 12:21 PM |
Online Status |
Offline
|
Date Last Visited |
12-15-2021
03:48 PM
|