POST
|
I meant to say we left the original deployment on the first machine and then as I moved each of the other services off, after each was running I turned it off on the first machine. So there is a standalone machine running Portal and the Web Adaptors but at any moment I had the option to move things back there. I guess I still do technically. I highly recommend using separate servers. I don't really see any advantage of a single machine when each "machine" these days is just a partition on a disk (on our server or in JCarlson's case in AWS) Web Adaptors + IIS + Portal all run still on one machine but that's fine for us. It was easiest to leave it that way.
... View more
03-02-2023
08:46 AM
|
0
|
0
|
948
|
POST
|
We started with everything on one machine (virtual). About a year ago we migrated from that machine to separate virtual machines for the Server and Data Store, and we shut off the MS SQL server and moved to using the countywide SQL Server. I had ESRI customer support help when there were glitches. I ended up with Data Store and Server on one machine and the standalone Data Store is in replicated backup mode. Customer Support was not able to help with flipping them around and I lost patience because we ran out of (weekend) down time. I will deal with that someday, like probably when I upgrade to 11. We went to a multimachine set up mostly to get SQL Server off the container with the Esri software. Everytime there was a problem, customer support would ask me to roll back the entire machine to its previous state. That's not an option when it means telling my users all their work from the previous day(s) is gone. Having an enterprise-wide SQL Server means someone else now cares for it, so it's up to date and optimized and on a very fast server + network connection. We have a license restriction for 4 cores only but now we have 4 cores for Server, 4 cores for Portal, and "many" for SQL Server. I also moved the ArcPro License Manager into a standalone machine. If I screw up any one component then restarting or rolling back only that one machine is much less stressful. It's also nice to be able tell our IT dept to reboot the entire server (for example the license manager server) instead of having to tell them how to manage each individual service on a single machine deployment. We are a small rural county so the entire concept of a $25,000 consulting fee for what I do just fine on my own would never fly. I suppose they might go that route when I retire, they might have a hard time finding a GIS person with a deep dark IT past so maybe it's actually economical? Or maybe I will be consulting again soon?
... View more
03-02-2023
08:41 AM
|
0
|
1
|
948
|
POST
|
It's just a problem in Annotation layers. I just did a Vector Tile Layer and a MIL with shadow font and both of the services are fine, I tried to go learn more about Annotation in the Esri training site and found out they only have a course on ArcMap annotation! I have learned regarding anno and the Web is that there are many ways to break it and that it is slow. Maybe all the Esri Annotation people quit. Not hard to understand. Only our cartographers love anno.
... View more
02-01-2023
03:12 PM
|
0
|
0
|
1215
|
POST
|
Thanks, I already followed advice in that exact post, I even made a screenshot to document it when I installed the fonts. Here it is, My possibly faulty assumption is that since I can use the new font in a popup, it should be available to any program running on that machine. That's why I included that comment in the first screenshot. I followed some other post regarding using custom fonts in popups so that I could see the new font really is available. I did that by editing the HTML, like this When I publish from ArcPro, it gives a warning that my doc has special fonts and that they have to be installed on the server. Too bad it does not check instead of issuing the warning. My guess is that they just remove unexpected fonts during the publishing process and that once again, it is a confusing and erroneous warning message. My browser can display the Shadow font so I know it's able to display Shadow. The problem is elsewhere.
... View more
02-01-2023
02:34 PM
|
0
|
3
|
1221
|
POST
|
"The same ArcGIS License Manager that manages concurrent use ArcGIS for Desktop, ArcGIS for Engine, and ArcGIS CityEngine licenses will also manage ArcGIS Pro concurrent use, and ArcGIS Pro or Premium App named user licenses through an ArcGIS Enterprise Portal" If this is true then you should be able to read the output of the lmutil program. I've always used a concurrent licenses so I cannot test the monitor that I wrote with named licenses. It's here in github. https://github.com/Wildsong/arctic-monitor My monitor runs a web server that can run lmutil and parse the results. As long as the monitor can run lmutil then no one needs Admin rights. It displays a table showing who is using what licenses. Someday when bored I intend to make the results more graphic. Anyone who can hit the URL can see who is using licenses. Product: ARCGIS License server version: v11.18.2 License Total In use Users ACT 1 0 ArcGIS Desktop Advanced 6 1 aniles 04-2262 Wed 2/1 8:46 ArcStorm 6 0 ArcStorm "enable" 6 0 ArcGIS Pro Advanced 5 3 bwilson 04-2288 Tue 1/31 14:30 cirvin 04-2289 Wed 2/1 8:03 zhunt 04-2290 Wed 2/1 8:32 Spatial Analyst 1 0 MrSID add on 6 0 ArcPlot extension 6 0 Spatial Analyst Pro 1 0 LZW add on for TIFF 6 0 ANYWAY, let's see if any of this information is of any use to you. If you really have a copy of the license manager running then you should also have a copy of the "lmutil" program. I run my license server on a separate Linux virtual machine. In there I would find the utility in ~/arcgis/licensemanager/bin/lmutil. The docs say it shows up in "C:\Program Files\ArcGIS\LicenseManager" on Windows. If you find it, try running "lmutil lmstat -a" and if that works, paste the output in a reply here.
... View more
02-01-2023
01:59 PM
|
0
|
0
|
645
|
POST
|
I converted an annotation layer created in ArcMap, and published it as a Map Image Layer from Pro. It gives a warning about fonts, but I have installed the fonts on both my Portal and Server machines. When it renders in Map Viewer Classic, I see it's substituted Arial for the Shadow font. I know the font is available on the server. See "Astoria" rendered erroneously in Arial here and the Popup with text that I set to Shadow by changing the HTML. Is there a way to convince Server not to make everything Arial? Maybe a style or css page somewhere?? Here is what the map looks like in ArcGIS Pro, using the map used to publish the MIL. Look at the label "Astoria" in Shadow,
... View more
02-01-2023
10:04 AM
|
0
|
6
|
1272
|
POST
|
Maybe you can load the JSON into an in-memory feature class and then use "Feature Class to Feature Class" to write it to the database. Yes, clumsy, but does it work?
... View more
08-09-2022
09:51 AM
|
0
|
2
|
1346
|
POST
|
My first time out, I am publishing a model that does almost nothing (just runs "buffer"), which of course runs fine in Pro, then I get the same message. ERROR 001249 Here there be dragons. We have reach the edges of the map. I wish there was training or useful documentation on how to publish geoprocessing services. I try to do things The Way Esri Meant It To Be, but often it's very hard because of the cryptic error messages like there were "errors in the result". I get that, it tried to run the tool or validate it, but it validates and runs fine in Pro, so there is nothing left for me to do. HEEEEELLLO we need more detail than that?? So, it's doing something else besides just RUN and check output. WHAT? UNDOCUMENTED. I am going to sweep through training.esri.com one more time to make sure I did not miss something yesterday. Then I will try the Big Internet Search. In the end I will probably try to use Deep Note again, it seems more promising at this point. Someone from Esri will chime in with advice about buffering here, I guarantee it. I don't care about buffering. I am just trying to create a geoprocessing service to test the server. If it worked then I would try to publish a tool written in Python, so that I could do actual work.
... View more
08-09-2022
09:12 AM
|
6
|
0
|
3031
|
POST
|
I am trying to create a geodatabase using the ArcGIS Pro 2.8 "Create Enterprise Geodatabase" tool. The database is PostgreSQL 12.7 running on Ubuntu 20.04 (I have also tested on a Debian 10 server with the same results) After installing Postgres, I copied st_geometry.so from C:/Program Files (x86)/ArcGIS/Desktop10.8/DatabaseSupport/PostgreSQL/12/Linux64/ to /usr/lib/postgresql/12/lib/ (There is also a copy of st_geometry.so in Server 10.9 and I tried that one as well, same error.) I confirmed that the library loads by connecting to the server as user postgres, using the psql command "load 'st_geometry';". Output in ArcGIS Pro from "Create Enterprise Geodatabase" looks like this. Start Time: Thursday, July 1, 2021 10:09:50 AM
User has privileges required to create database objects.
Geodatabase admin user created.
Database created.
Validated authorization file.
User has required privileges for geodatabase setup.
XML support is enabled for the database instance.
You must copy the latest ST_GEOMETRY library to the PostgreSQL software location and ensure the correct dependent libraries are also installed. Refer to the ArcGIS help topics for more details.
Connected RDBMS instance is not setup for Esri spatial type configuration.
Failed to execute (CreateEnterpriseGeodatabase). I have searched community and found several other similar reports, usually the replies talk only about loading st_geometry.dll on a postgresql instance running on Windows; I am running PostgreSQL on Linux not Windows so please don't offer a Windows solution. This is 2021 so everything is 64-bit including the server and the st_geometry.so file. cd /usr/lib/postgresql/12/lib
postgres@fc7d300e3ccd:/usr/lib/postgresql/12/lib$ file st_geometry.so
st_geometry.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, not stripped
psql (12.7 (Ubuntu 12.7-0ubuntu0.20.04.1))
Type "help" for help.
postgres=# select version();
PostgreSQL 12.7 (Ubuntu 12.7-0ubuntu0.20.04.1) on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 9.3.
0-17ubuntu1~20.04) 9.3.0, 64-bit
(1 row)
postgres=# load 'st_geometry';
LOAD
postgres=#
... View more
07-01-2021
11:52 AM
|
0
|
4
|
3590
|
POST
|
I think that option is just warning when any transformation is required, not when one is missing. It shows the missing transformation warning either way.
... View more
06-25-2021
10:38 AM
|
0
|
0
|
1776
|
POST
|
Nice to know where to look for this but the UI gives me a pick list that is empty. Layer coordinate system is NAD83(NRS2007) and map is WGS 1984.
... View more
06-25-2021
09:59 AM
|
0
|
0
|
1781
|
POST
|
It's a pain and won't work until you get the "Redirect URI" setting correct. In my notes I say "https://localhost:3344/" and at some point I added "you must use HTTPS not HTTP". I know you can put many entries in there, if one does not work keep adding more 🙂 For example if you are accessing it from a different machine (using your machines IP address of course) you could put 4 lines in like this just to be sure something works. Good luck, I struggled with connections too. http://192.168.1.1:3344/ https://192.168.1.1:3344/ http://localhost:3344/ https://localhost:3344/
... View more
05-17-2021
08:24 AM
|
0
|
0
|
1281
|
POST
|
If the "ArcGIS API for Python" were an opensource project, it would be version < 1 -- then I'd find it more acceptable and cut some slack. Missing properties, missing methods, documentation errors... I'd just fix some of these and issue pull requests 🙂 If I issue a bug report it will be assigned some value like "3" and then Esri will say "we never fix anything with a priority below 1000". Or it will be changed from "bug" to "feature will not be implemented" and closed. I certainly would run away from today if there were an alternative. I am thinking of trying geopandas?
... View more
03-26-2021
12:33 PM
|
2
|
0
|
2066
|
POST
|
Like everything else I've been trying, this almost works. import pandas as pd from arcgis.geometry import Point p = Point({"x":0,"y":0}) df = pd.DataFrame({'OJECTID': [1,2,3], 'SHAPE':[p,p,p], 'name': ['Stitch', 'Harry', 'Phoebe']}) df.spatial.set_geometry('SHAPE',sr=4326) df.spatial.validate(strict=True) df.spatial.to_featureclass(location="points.shp") It fails complaining about not having a spatial reference, though it's set in the "set_geometry". Note the Esri documentation error which says set_geometry returns a new DF, it does not. If you specify the "inplace=True" option, that fails with an error that there is no such option. The default, to return a new DF, is not true. It returns nothing. If I check the property "geometry" before doing set_geometry, it says "SHAPE" so that's set internally. There does not appear to be any property or method to check to see what spatial reference is set on the DF, for example "df.spatial.sr" or "df.spatial.info()" so I have no way to see if set_geometry "sr" option does anything at all.
... View more
03-26-2021
12:26 PM
|
0
|
1
|
2066
|
POST
|
What if my workflow is 1. Create new empty SEDF 2. Populate it 3. Save it I need the equivalent of "df = SEDF()". At the moment it seems like the workflow needs to be something clumsily hacky like 1. Load an existing dataset as an SEDF 2. Empty it 3 Refill it 4 Save it If I try to create a pd.DataFrame() and copy shapes into it and then write it out with to_featureclass it tells me to use "set_geometry" and if I do that then it fails. Sometimes it tells me not to use SpatialDataFrames because they are deprecated, yet type(points) shows the dataset is a GeoAccessor.
... View more
03-26-2021
08:52 AM
|
0
|
2
|
2069
|
Title | Kudos | Posted |
---|---|---|
6 | 08-09-2022 09:12 AM | |
2 | 03-26-2021 12:33 PM | |
2 | 03-17-2021 04:05 PM | |
3 | 03-11-2021 01:50 PM | |
1 | 08-09-2017 06:18 PM |
Online Status |
Offline
|
Date Last Visited |
4 weeks ago
|