|
POST
|
When using geocoders on 10.7 (Point Address, Street Address) I'm unable to find a match if the City field is not populated. When used in ArcGIS Pro 2.4, the city field is not required and I get good returns. Has anyone else noticed this issue? Shana Britt
... View more
08-12-2019
02:53 PM
|
0
|
20
|
6102
|
|
POST
|
If you have other layers in the app, does the same issue occur? I'm curious if the schema of the layer you are concerned about has been changed recently. d.tagname looks like it might be missing.
... View more
07-01-2019
11:13 AM
|
1
|
0
|
2137
|
|
POST
|
I've circled back to this problem to find there isn't much of an improvement in how AGOL displays ISO metadata. Attribute information is still obscured if your style is set to anything other than FGDC.
... View more
05-24-2019
01:31 PM
|
0
|
0
|
770
|
|
POST
|
Hi, thanks for your reply. Looks like my problem is the oid_fields parameter should be set in this case.
... View more
04-25-2019
09:16 AM
|
0
|
0
|
696
|
|
POST
|
I'd like to do this, which is perfectly acceptable in SSMS: SELECT A, B, NULL AS 'C', Shape FROM database.dbo.PARCELS WHERE PID_NUM IN ( 'someCriteria') When I pass this query to MakeQueryLayer_Management it will create the object but no records are returned. If i drop " NULL AS 'C' " the Query Layer will be populated with rows. I am 100% confident my query returns records. What is the proper syntax in ESRI's implementation of SQL to populate an aliased field with NULL?
... View more
04-24-2019
03:58 PM
|
0
|
2
|
746
|
|
POST
|
I don't think there is a parallel in MSSQL. Results are passed to clients without generating a schema in the database. I couldn't pass a query and find some log parameter that would show a schema name for my connection.
... View more
04-24-2019
02:58 PM
|
0
|
0
|
626
|
|
POST
|
The fully qualified name is the name given in the database. This would include the schema owner rather than the connected user schema. Given the scenario I've discussed at length this is what I would expect: baseName: If I've aliased a table in the FROM clause it should return the alias, if I haven't and there is one table in the FROM clause it should return the full name [Database].[OwnerSchema].[Object], and if for some stupid reason im selecting a cartesian product there should be well documented logic to what name is going to be returned. Regardless, the name should include the owner schema. name: Returns the name I've given the Query Layer in the out_layer_name parameter. I'd submit an Idea if I thought it would get enough votes to make a difference. At this point I'm assuming it won't get traction.
... View more
04-24-2019
09:21 AM
|
0
|
2
|
626
|
|
POST
|
I was expecting that arcpy.Describe would return the fully qualified name of the Query Layer. This would show the true schema owner, as opposed to the user that is connected. In the several examples i've shown my desired return from Describe().baseName: ASSRSDE.dboExample.Vertical_Units what I get is: assrsde.userA.vertical_units <- User connected (Input_database parameter) At the very least, if I am aliasing a table in the FROM clause it would be nice if that was honored as the baseName.
... View more
04-22-2019
02:16 PM
|
0
|
4
|
2327
|
|
POST
|
HI Joshua - The connection is SQL Server with Database Authentication.
... View more
04-22-2019
12:53 PM
|
0
|
6
|
2327
|
|
POST
|
I can't even alias my way out of this problem (example 1). Describe still returns the connected user as the schema owner. It even seems arbitrary which table name is returned (example 2). 1) input = "...\\userA_Staging_ASSRSDE.sde" query = """SELECT pid_num as parcel FROM ASSRSDE. dboExample .vertical_units "ASSRSDE. dboExample .vertical_units" """
parcel = arcpy.MakeQueryLayer_management(input_database=input,out_layer_name="memory\\VU",query=query)
print( arcpy.Describe(parcel).baseName)
# returns: 'ASSRSDE. userA .%vertical_units' 2) input = "...\\userA_Staging_ASSRSDE.sde" query = "SELECT ta.pid_num as parcel FROM ASSRSDE. dboExample .tableA ta, ASSRSDE. dboExample .vertical_units"
parcel = arcpy.MakeQueryLayer_management(input_database=input,out_layer_name="memory\\VU",query=query)
print( arcpy.Describe(parcel).baseName)
# returns: 'ASSRSDE. userA .%vertical_unis'
... View more
04-22-2019
09:24 AM
|
0
|
0
|
2327
|
|
POST
|
Thanks for your reply. That makes some sense. I guess I'll need to alias the table. Connecting as the schema owner just to get the correct name from a simple query is overkill.
... View more
04-22-2019
08:58 AM
|
0
|
1
|
2327
|
|
POST
|
When returning the name of a Feature Class used to create a Query Layer, the schema name is incorrect. It matches the name of the user in the SDE connection file. In this example I'd expect to the see the name with the correct schema owner: dboExample. However I get userA. If I create a Feature Layer with the same SDE connection the correct name is returned: assrsde.dboExample.vertical_units This seems like a bug. Tested on 10.3 and Pro 2.3 arcpy. input = "...\\userA_Staging_ASSRSDE.sde"
query = "SELECT pid_num as parcel, Shape FROM ASSRSDE.dboExample.Vertical_Units WHERE ISNULL(PID_NUM, '') <> ''"
parcel = arcpy.MakeQueryLayer_management(input_database=input,out_layer_name="memory\\VU",query=query)
print( arcpy.Describe(parcel).baseName.lower())
# returns: assrsde.userA.vertical_units
... View more
04-19-2019
01:27 PM
|
0
|
12
|
3124
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 07-06-2022 02:52 PM | |
| 1 | 07-27-2023 10:51 AM | |
| 2 | 11-14-2023 08:48 AM | |
| 1 | 10-27-2021 11:50 AM | |
| 2 | 12-11-2023 04:10 PM |
| Online Status |
Offline
|
| Date Last Visited |
04-29-2024
11:30 AM
|