|
POST
|
Well, bummer. Another GOTCHA. After I opened a case regarding "Overwrite" not being available, "Overwrite hosted feature layers" documentation was updated yesterday to highlight that this capability only works if you publish the hosted feature layers by loading a file geodatabase or shapefile and choosing to create a feature layer at loading time. However, the doc does not note (today) that if you published the hosted feature layer from ArcMap, that Overwrite is not provided as an option. Today, that information may only be on this little post in the untraveled hinterlands of GeoNet. Note that if you publish the hosted feature service from a file geodatabase so you can use Overwrite, then you lose metadata (e.g. description, copyright text, constraints, tags, display field, min/max scales, etc.) in the item and in the service catalog. Also note that layer names are not generated from feature class aliases if you publish from file geodatabases. And, I'm not seeing a way to specify max records returned. Kind of a miss. Since retaining and presenting service metadata when publishing from a file geodatabase is not supported and other capabilities are missing, Overwrite is of little use to organizations who have a requirement to make the metadata available at the service endpoint along with their Open Data offerings. I'll have to stick with Scott's customization above until the file geodatabase publishing tools respect the GDB and feature class metadata. Disappointing for our purposes.
... View more
10-09-2014
03:08 PM
|
0
|
4
|
2178
|
|
POST
|
When I request your open data site, Esri's code calls Google Analytics, which suggests that they are tracking and have access to the information you want. You may be able to pursue via a support request for your open data site. tim
... View more
09-22-2014
09:18 AM
|
0
|
0
|
1724
|
|
POST
|
matthew driscoll & Thomas Stanley-Jones Gentlemen, thank you both for your posts. You've pushed me along toward that dubious nirvana of labeling features with relates. I'm Python-deficient at present, and have a need to label a point feature based on a table that is two relates away: Facility (point) has Space (table) has Tenant (table). Your code fired right off after I shortened my table path, so I have Facility (point) has Space (table) no worries. Is there an awesome Python reference that you know of that has examples of traversing multiple relates? thanks again, tim Edit: I'm stunned. I believe I just hacked my way into some nested cursors that did the trick. I'm quite positive it's not optimized, but it works. Now I'm just into the joy of retrieving domain descriptions so I'm not labeling my points with useful info like "3, 8, 2, 6" So, thanks for the kick start, guys. I hope you're off enjoying your weekends early. On that note, I'd best lean back on some laurels and maybe slide on out of here.
def FindLabel( [GlobalID] ):
strSpaceTable = "C:\Facility.gdb\Space"
strTenantTable = "C:\Facility.gdb\Tenant"
strSpaceWhereClause = '"FacilityID" = \'{0}\''.format([GlobalID])
spacecursor = arcpy.da.SearchCursor(strSpaceTable, "GlobalID", strSpaceWhereClause)
for row in spacecursor:
spaceGlobalID = str(row[0])
strTenantWhereClause = '"SpaceID" = \'{0}\''.format(spaceGlobalID)
tenantcursor = arcpy.da.SearchCursor(strTenantTable, "Org3Acronym", strTenantWhereClause)
tenantresult = ""
for row in tenantcursor:
strLabel = str(row[0])
tenantresult += strLabel + "\n"
return tenantresult
return tenantresult.rstrip()
... View more
09-19-2014
02:56 PM
|
1
|
0
|
2238
|
|
POST
|
Here's an upcoming correct answer... hopefully 9/23/2014 ArcGIS Online Update "Feature Layers In the September update we plan to add an improved user experience for updating data in your ArcGIS Online-hosted feature layers. If you need to update data associated with your hosted feature layer, you will be able to update the layer through My Content and maintain the item URL and details."
... View more
09-10-2014
09:03 AM
|
0
|
5
|
2178
|
|
POST
|
Hi Nick, An MXD is a configuration file for ArcMap. A shapefile is a legacy data structure from the mid-1990s which can be added to an ArcMap session and used as one of many data sources. If you then save the ArcMap session to an MXD, then the next time you open the MXD with ArcMap the shapefile will be available as a layer in the ArcMap session. I hope that helps explain the relationship between MXDs and shapefiles. I find the Esri free online training to be an excellent way to find my way: Esri Training | Getting Started with GIS Good luck, tim
... View more
08-26-2014
12:46 PM
|
1
|
0
|
416
|
|
POST
|
Has anyone had any success specifying many-to-many cardinality when creating an ArcMap Relate? What I've tried: The Relate dialog lets me pick the primary key field, the target table, the foreign key field, and then it lets me name the relate. I don't get to specify cardinality as I do when creating a geodatabase relationship class. The end result appears to support a 1:1 or 1:M relate, but befuddles me regarding the advertised and desired M:N relate. The instructions suggest that an ArcMap M:N relate is supported, but the "how to" information is elusive. Hopefully, I'm just slipping up somewhere... surely there's a button to press to specify cardinality and make it work.
... View more
08-15-2014
04:23 PM
|
1
|
1
|
3400
|
|
POST
|
Hi Scott, Good info! I can use this until enterprise geodatabase replication or similar out-of-the-box capabilities show up in the ArcGIS Platform for managing data locally and publishing in ArcGIS Online. Thanks, Tim
... View more
07-31-2014
11:19 AM
|
0
|
0
|
2178
|