|
POST
|
I too am having this problem. Is there a solution to this?
... View more
03-21-2025
11:23 AM
|
0
|
0
|
1300
|
|
POST
|
Thanks again, this is a lot of help. The application is mainly an editing application with an Oracle geodatabase. We have a workflow that copies a feature class from a database account schema to the OS authenticated user schema, the user is then the only one who can edit the data and then when the work is complete the data gets pushed into a database account table (no geometry) and the feature class gets deleted. So it is a "temporary" feature class that gets created and destroyed over the course of the workflow. There are other ways to achieve this including file geodatabase or shapefiles but then if the workflow gets interrupted, the data would remain on the local workstation and could be lost. The idea was to create the data in the enterprise geodatabase so the work could be moved to a different workstation or a different user. I supposed we could create a schema with a database authenticated user specifically to host these and prefix the feature classes with the user name and use this second connection to create, grant and delete the feature class.
... View more
01-24-2025
10:41 AM
|
0
|
0
|
1072
|
|
POST
|
Thanks Marcello, I work in a large organization and have no control over the user names and is an unlikely avenue to follow. We currently use Oracle but are looking at moving to PostgreSQL. Using the OS authenticated user as a data user only (not owner) is possible but would require some changes in the application. Looking at the postgresql documentation and doing some tests with upper case database names and users, I have found that I have to "" quote any object names that have upper case or the object is not found. I do not have to do that with lower case names. I suspect the ArcGIS client is not quoting the names so although the connection works, it can't find the schema with the mixed case... The user names seem to work in mixed case though because the connection works. I wonder if anyone has tried to do this... I don't really want to be the first.
... View more
01-23-2025
06:10 AM
|
0
|
2
|
1092
|
|
POST
|
I have create a test postgresql 15 geodatabase 11.4 on windows 11 (my own laptop). I need to be able to connect as OS authenticated sde connection. I created a user using pgAdmin. The user is mixed case (LastnameF) which matches what windows is doing in the OS authentication. I use a membership in a role and I am able to view and edit data in a schema I already loaded through OS authentication connection. This is all local so I don't have ldap set up or anything like that, I assume the os authentication is passing the user name from windows to postgresql as-is and the database accepts it. The problem is when I try to create data in the LastnameF schema. It seems like it sends everything to lower case. I tried creating the user schema as LastnameF and as lastnamef but it both cases I get "Database user name and current user schema do not match" I tried ArcGIS pro 3.4 and ArcGIS 10.8.1 for good measure. If I create the schema as lower case and the user as lower case, I can connect using database authentication and create feature classes. However, I cannot connect as OS authentication in that case which is a requirements for our application.
... View more
01-22-2025
01:59 PM
|
0
|
4
|
1129
|
|
POST
|
I am trying to label features based on multiple fields in a stack way. I added a python expression to line up and stack the values I want to label on (up to 13 fields.) I also want to place a marker symbol as a background (like a highway shield) I have an svg file for the marker. It works surprisingly well but I am getting caught up in some details. I am not using maplex and I am placing the symbol over the point. I use a monospace font so the characters will line up in a predictible way. The problem I have is blank space (\u0020 or \u00A0) is being treated differently than a character in the label. The regular space gets trimmed and the no-break space lines up differently on the left... This is what happens if I use hyphens as a blank space place holder (this is what I want without hyphens): this is with no break space (\u00A0) this is a regular space: \u0020
... View more
12-17-2024
12:13 PM
|
0
|
1
|
644
|
|
POST
|
Dissolve has a multi_part argument that should avoid having to multipart to single part. However if there is a gap in the polygon then from a geometric perspective they are not truely contiguous... Maybe a select feature by location with a distance and then unioning the polygons...
... View more
12-02-2024
10:26 AM
|
1
|
0
|
753
|
|
POST
|
Using ArcGIS pro 3.3 In a stand-alone python script, copying a aprx and changing the source and some other properties... ArcGIS pro is not running. There are two problems. One if the Mapview extent and rotation (heading) is not updated when I open the project. If I close the map view and re-open the map, the extent is set but not the heading. I would like if when the project is open, the mapview would be centered on the extent and the rotation would be set. The activeMap and activeView are None at run time. aprx = arcpy.mp.ArcGISProject(self.templateAPRX) #file name of the default aprx.updateConnectionProperties(current_connection_info= self.templateGDB, new_connection_info= self.projectGDB) I I do this inside ArcGIS pro python window, I get the same problem with the heading if it is applied on the map (closed map) but the set extent works. Heading and extent work on the activeView but these are None for me. Can I set the map extent and rotation for a project without having it open? logging.info("set rotation to {angle}".format(angle=str(self.analysisRotation))) listEditMap = aprx.listMaps(self.editorMap) if len(listEditMap) != 1: raise Exception("There must be exactly one map named {mapname}, {cnt} were found".format(self.editorMap, str(len(listEditMap)))) editMap = listEditMap[0] editMap.defaultCamera.heading = self.analysisRotation *-1 if self.analysisPolygon: editMap.defaultCamera.setExtent(self.analysisPolygon.extent) editMap.openView() #does nothing if the aprx is not current? aprx.saveACopy(self.projectAPRX)
... View more
12-02-2024
10:08 AM
|
0
|
0
|
577
|
|
POST
|
I too have this problem but if I enable just my code, none of my break points are hit at all... I can't debug without this...
... View more
10-31-2024
09:12 AM
|
0
|
0
|
939
|
|
POST
|
All layers are turned off in both maps. In fact I tried with having no layers at all in the second map and it was still slow to activate.
... View more
08-06-2024
09:19 AM
|
0
|
0
|
943
|
|
POST
|
local but some of the data is thru VPN. Those maps I expect to be slow.
... View more
08-02-2024
01:43 PM
|
0
|
1
|
1036
|
|
POST
|
I have a project with two maps. The first map has some layers which are featureclasses in an entreprise geodatabase on a database server and some layers in a local file geodatabase and the second map has some layers in a local fgdb only this one is active by default in the project. The first map is understandably slow to load since I am on a vpn. The problem is the second map is just as slow to activate when I click on the tab even though there are no network layers on it. If I remove all the network layers from the first map, the first map is fast, which I get but the second map is fast too... I don't understand why a map would be slower to activate based on another map that is already loaded.
... View more
08-02-2024
12:02 PM
|
0
|
6
|
1081
|
|
IDEA
|
I am also trying to do something similar. I am able to get part of the way using an arcade expression as the field... In my case I am trying to combine some values based on null or not null. You can check if your field is null and concatenate some string to make a new value. The problem I have is that I am not allowed to add new values to the list... Add new values gives me "Requested operation could not be completed" There are possible values that are not currently in the feature class but will some day be there. I need to add my own classes to the symbol set from the options. if ($feature.DATAHOST == null) return concatenate( Text($feature.NBANDS), " none") else return concatenate( Text($feature.NBANDS), " host")
... View more
07-22-2024
12:54 PM
|
0
|
0
|
713
|
|
POST
|
this sort of works but some layers are not in group layers at all. I can just get all the layers from the map and then iterate through each one and check if supports('datasource') and attempt to change regardless of source database. I still don't know why it doesn't work on the map though. I used updateConnectionProperties on the layer. That way if the source is the other fgdb it won't do anything.
... View more
07-09-2024
12:01 PM
|
0
|
0
|
1106
|
|
POST
|
ArcGIS pro 3.3.1 here I have a map with some group layers. Inside the group layers there are layers pointing to two different filegeodatabase. I need to update one on the fgdbs (the old database) for the entire map and leave the other (otherdatabase) one intact. The problem I am trying to use updateConnectionProperties with the old and the new fgdb but the problem is as soon as a layer where the source is the fgdb I am NOT updating, it stops updating the layers below. So it will do the first few layers then stop and leave the ones at the bottom with the original database. If I take the layers out of group or if I place the ones that I am not changing below, it works. Changing the order is not practical. The schema of the old and the new database is identical. The other database is different. Everything is on the local workstation. aprx = arcpy.mp.ArcGISProject('CURRENT') mymap = aprx.activeMap mymap.updateConnectionProperties(current_connection_info=r'C:\oldpath\database.gdb', new_connection_info=r'C:\newpath\database.gdb', ignore_case=True)
... View more
07-09-2024
10:53 AM
|
0
|
3
|
1134
|
|
POST
|
I am using ArcGIS pro 3.3.1, arcpy I have a layout with a map frame. Map frame has a map, map has a point feature class layer, feature class has point feature, point features have X,Y coordinates in the featureclass's coordinate system. I need to get those coordinates in layout coordinates. Think automatically adding a graphic of an arrow that starts outside the map frame with the end of the arrow pointing to the point on the map (not exactly what I am doing but gets the point across). If I can get the coordinates in layout space, then I can create a graphic on that spot of the layout that covers the point in the map.
... View more
07-05-2024
08:45 AM
|
1
|
0
|
529
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 12-02-2024 10:26 AM | |
| 1 | 07-05-2024 08:45 AM | |
| 1 | 10-05-2022 02:19 PM | |
| 6 | 03-27-2017 01:16 PM | |
| 1 | 05-05-2016 05:46 AM |
| Online Status |
Offline
|
| Date Last Visited |
03-28-2025
07:37 AM
|