POST
|
How can I select all annotation classes with sql in an Oracle SDE? I can get all feature classes (including annotation) with this: select i.name, i.physicalname, i.path, t.name
from sde.gdb_items_vw i
join sde.gdb_itemtypes t
on i.type = t.uuid
where t.name = 'Feature Class'
... View more
10-26-2022
05:52 PM
|
1
|
1
|
361
|
POST
|
Yes, I can see that. I am in Alaska so getting cut off from the outside is a real risk for us too.
... View more
10-13-2022
01:30 PM
|
0
|
0
|
529
|
POST
|
Right, okay. Thanks Scott. I think we would want them internal if we had a major disaster (like a massive earthquake or a volcanic event) and we lost all connectivity with the outside and the application has to keep working.
... View more
10-13-2022
10:01 AM
|
0
|
2
|
534
|
POST
|
@Scott_Tansley Thanks for the feedback. I am still a little lost. I can hit the urls your provided. I don't see what the down side is for just using the AGOL ones... Clearly I will not be able to update the content myself but on the other had I don't think this is something I would need to do.
... View more
10-12-2022
11:19 AM
|
0
|
0
|
544
|
POST
|
I am working on a SmartWorks to Esri GIS integration to an on site ArcGIS Portal. The SmartWorks folks are asking if we have internal Esri API urls for (CSS and JavaScript). This is an area of Portal I have never had to deal with. How would I go about finding the url's within our systems. And maybe some documentation on this part of Portal. Federated Portal version 10.8.1 AGOL sample url's http://serverapi.arcgisonline.com/jsapi/arcgis/1.6/js/dojo/dijit/themes/tundra/tundra.css http://serverapi.arcgisonline.com/jsapi/arcgis/?v=2.3)
... View more
10-11-2022
05:53 PM
|
0
|
7
|
600
|
POST
|
How do I export and then import a web map's json with python? I took a quick look at the GIS module... but I did not see the right call.
... View more
10-07-2022
04:58 PM
|
0
|
3
|
631
|
POST
|
Okay. The work flow our contractor has put together for this is making me a little unconfutable. I can see that the features on the other side of the relationship are not getting un-versioned when we un-versioned the copied anno classes. In the past I have seen changes to in versioning follow feature classes across relationships. For example, creating a relationship between a versioned feature class and a non-versioned feature class will version everything. It would be a disaster if version data was impacted with this process.
... View more
10-06-2022
02:27 PM
|
0
|
0
|
640
|
POST
|
@MarlonAmaya Thanks for the feedback. So, in our case we are copying the data into new feature classes and then un-versioning them and then versioning. This is all at the feature class level with in the feature dataset. While one cannot do this at the feature level with ArcCatalog, arcpy does appear to support it. So, our workflow is not quite the same as what you outlined. Does our workflow sound okay.
... View more
10-04-2022
10:17 AM
|
0
|
0
|
675
|
POST
|
We are creating a few new anno feature classes within a versioned feature dataset. Copy selected anno features from existing anno classes into new anno classes (all within a feature dataset) with python Un-register the new anno classes with python Update the reference scale for each new anno class by hand with ArcCatalog Register the new anno classes as versioned with python We have a large number of existing versions that we cannot afford to damage. We noticed that when we un-versioned the new anno all versioned editing stops working. And the feature dataset is no longer versioned. But all the versioned feature classes within the feature data still appear to be versioned, , save the new anno classes, e.g. they still have evw's (Esri versioned views) in the database. After we version the new anno classes everything appears to be working normally again. Is this workflow safe for our existing versions and versioned data?
... View more
10-03-2022
04:22 PM
|
0
|
4
|
708
|
POST
|
Yes, I think it is your self-signed certificate. My guess is the first time is asks you and runs fine. The next time it does not ask (for whatever reason) and fails. We used put self signed certificates on our dev and test machines, but now we put "real" ones on all of our servers. Situations like this was one of the motivating factors. Can you put a singed certificate on the server?
... View more
09-29-2022
09:31 AM
|
0
|
1
|
906
|
POST
|
I see, that is weird. But it asks you if you want to trust the machine the first time?
... View more
09-27-2022
10:18 AM
|
0
|
3
|
913
|
POST
|
hmmm.... normally ArcMap only asks me to trust the certificate if there is an issue with it. I wonder if you are using a self signed certificate or maybe one that has expired. You can check your certificate in chrome. Click on the little lock thing to get the info: This is one of mine: Or you may see something like this: Of course you need to check the one on the ArcGIS Server, not the Portal one.
... View more
09-20-2022
12:08 PM
|
0
|
0
|
961
|
POST
|
1. First, off I used python 2.7 to create mine not python 3.x. But I would think they are close to each other. 2. A bad certificate will definitely break things. But I am not certain it is the source of your issues. Normally when I have a certificate issues I get an error with a reference to SSL in it. 3. It looks like the issue is with the server connection parameter (If I am reading the French right?). I would test my server connection with ArcCatalog. You should be able to navigate to it and open it with ArcCatalog.
... View more
09-16-2022
09:31 AM
|
0
|
2
|
1000
|
POST
|
I have script that publishes a service to Arc server that is federated with portal. I posted the two functions that do most of the work. I hope it helps. def build_connection(locator_specs, working_dir):
"""
builds AGS connection
:param working_dir: script working path
:param locator_specs: instance of Specs class
:return: AGS connection
"""
out_folder_path = 'ags_connections'
clean_dir(out_folder_path, working_dir)
use_arcgis_desktop_staging_folder = False
staging_folder_path = out_folder_path
server_info = locator_specs.get_arc_gis_servers()
server = server_info.server
out_name = '{}.ags'.format(server)
server_url = 'https://{}:6443/arcgis/admin'.format(server)
print server_url
username = server_info.admin_user
password = xxxx.security.get_password(server, username)
logger.info(xxxx.indent('Making sever connection: {}'.format(out_name), 2))
arcpy.mapping.CreateGISServerConnectionFile("ADMINISTER_GIS_SERVICES",
out_folder_path,
out_name,
server_url,
"ARCGIS_SERVER",
use_arcgis_desktop_staging_folder,
staging_folder_path,
username,
password,
"SAVE_USERNAME")
return os.path.join(out_folder_path, out_name)
def publish_service(gis_server_connection_file, working_dir, location_dir):
"""
creates sd file and publishes it to server
:param gis_server_connection_file: AGS connection
:param working_dir: script directory
:return: None
"""
gis_server_connection_file = os.path.join(working_dir, gis_server_connection_file)
out_sd_folder = 'sd'
clean_dir(out_sd_folder, working_dir)
service_name = 'CW_Composite'
locator_path = os.path.join(location_dir, service_name)
sddraft_file = os.path.join(working_dir, out_sd_folder, 'cw_composite.sddraft')
sd_file = os.path.join(working_dir, out_sd_folder, 'cw_composite.sd')
summary = 'CEA address locator'
tags = 'address, locator, geocode'
folder_name = 'Locator'
logger.info(xxxx.indent('Building SDDraft: {}'.format(sddraft_file), 2))
analyze_messages = arcpy.CreateGeocodeSDDraft(locator_path, sddraft_file, service_name,
connection_file_path=gis_server_connection_file,
summary=summary,
tags=tags,
max_result_size=20,
max_batch_size=500,
suggested_batch_size=150,
folder_name=folder_name,
copy_data_to_server=True)
if analyze_messages['errors'] == {}:
logger.info(xxxx.indent('Staging service {}:'.format(sd_file), 2))
arcpy.server.StageService(sddraft_file, sd_file)
logger.info(xxxx.indent('Uploading sd: {}'.format(sd_file), 2))
arcpy.server.UploadServiceDefinition(sd_file, gis_server_connection_file)
logger.info(xxxx.indent(arcpy.GetMessages(), 2))
logger.info(xxxx.indent('Success: service published', 2))
else:
logger.error(xxxx.indent(analyze_messages['errors'], 2))
logger.error(xxxx.indent('Failure: service was not published'))
... View more
09-15-2022
06:03 PM
|
0
|
4
|
1010
|
Title | Kudos | Posted |
---|---|---|
1 | 03-20-2024 10:27 AM | |
6 | 03-13-2024 03:38 PM | |
1 | 09-02-2021 12:28 PM | |
1 | 10-26-2022 05:52 PM | |
1 | 10-24-2014 05:04 PM |
Online Status |
Offline
|
Date Last Visited |
a week ago
|