|
POST
|
Thanks Mody, that's a good idea. I'll probably just stick with the process of looping through the data looking for nulls (none) since it works and is written. I have done the Add XY before to see the data and so I will play with that. it would add a number of steps to a script, have to remove any existing XY columns and Add them back in and then use a where clause. But I suspect that would save no time over just looping through the points and might even be slower. I can envision why we don't have access to SHAPE info in the where clause since each database type (Oracle, MS SQL, etc...) probably has a very different and complex geo part of the geodatabase. (Try following links through Oracle tables!) And for anything beyond a Point layer, we're into lots of complexity. But still, it would be nice to have that access in the where clause.
... View more
12-21-2015
10:19 AM
|
0
|
0
|
3744
|
|
POST
|
Totally agree that what we're seeing is very odd. I was not aware that arcpy gives a null shape an X,Y of 0,0. I'll have to look for those posts. Thought I'd searched for info on Nulls, Nones, etc... but obviously didn't hit the right search combo. Here's where it gets even stranger. These (None,None) points are not visible on the screen and cannot be selected in ArcMap via the map with the exception of doing an inverted selection. i.e. Select everything in our organization's boundary and then invert the selection and we can pick up the Nones that way. We're working in a Harn State plane projection for New Mexico. We can select the points from within the attribute table and if we zoom to a point, it will jump the map to a location that is basically about halfway between our 0,0 point and our boundary. I suspect that's just an artifact of trying to locate a null. I am pretty sure these points are coming in via an arcpy script/process that I inherited. Still wading through it. In this case, if the points without an XY would be put to 0,0, that would be useful to us as that is how the process was supposedly designed. New, unplaced points go to 0,0 and an analyst can then pick them up and move them to where they belong. Thanks for the info and help.
... View more
12-21-2015
10:14 AM
|
0
|
0
|
3744
|
|
POST
|
Actually Dan, the issue here is we have some squirrely Shape:Point data. For the Nulls, I can “probably” just check the X value, but given what I’ve seen with the 0 data… For 0, I’ve come across data of the format (0, yyyyyyyy) and (xxxxxxxxx,0) How those values got into the data, I have no idea. I believe they have possibly been there for years. Hence the check for X=0 and Y=0 and if I’m doing that and finding those cases, I figurred might as well verify we don’t have some odd stuff with (None,Y) Or (X,None) I haven’t come across any like that but we’re still working on tracking down how this got in there in the first place. While this might be contrived (no argument there) the contrivance is in production data and needs to be cleaned out. My initial code did query first. When you say query the field manually, I’m guessing you mean do an Add XY Coordinates via ToolBox. Did that a day or so back. Interestingly, it seemed to have missed the one (0,0) point and returned it as None,None. Since that makes no sense, it’s more likely I just missed it in the large array or was off by one in an index.
... View more
12-20-2015
11:22 PM
|
0
|
2
|
3744
|
|
POST
|
I saw a posting from 2012 that answered the question if SHAPE@X or SHAPE@Y or SHAPE@XY could be used in forming the where_clause in an arcpy.da.XCursor (search, update or insert) Now that it's 2015, I'm wondering if that's still correct. We have some data with NULLS in the ShapePoint data and I'm flipping them all to 0,0 in our state plane projection by: fields = ['OID@', 'SHAPE@X', 'SHAPE@Y','SP_ID' ] with arcpy.da.UpdateCursor(myFC, fields) as cursor : for row in cursor: if row[1] == None or row[1] == 0.0 or row[2] == None or row[2] == 0.0 : row[1] = 0.0 row[2] = 0.0 cursor.updateRow(row) I thought it would be cleaner to have a query string in the UpdateCursor but so far I've had no luck with queryString = '"SHAPE@X" = NULL or "SHAPE@X" = 0 or "SHAPE@Y" = NULL or "SHAPE@Y" = 0' or queryString = 'SHAPE@X = NULL or SHAPE@X = 0 or SHAPE@Y = NULL or SHAPE@Y = 0' or other variations thereof. I've concluded that using the SHAPE part of a geodatabase in a da.Cursor query string is just not possible. Is that correct? Any suggestions?
... View more
12-20-2015
08:11 PM
|
0
|
8
|
6940
|
|
POST
|
Thanks Derek I'll be trying some wide open anon map services from our intranet unsecured servers. I'm sure it's not BP, but it can help us keep moving forward. I'll report my findings when available.
... View more
11-21-2015
06:24 PM
|
0
|
0
|
1843
|
|
POST
|
Thanks Derek. I also just read that if we have an ArcGIS Server (AGS) setup to use IWA and we want to federate it, then we need to pull IWA off the AGS box and then federate it and let Portal do the authentication. Setting up your portal and federated server to use Windows accounts—Portal for ArcGIS (10.3 and 10.3.1) | ArcGIS for S… Guess that means I jumped the gun in setting up the IWA AGS box. I have one question left (for now): Does this mean that with a Portal setup to use IWA, that any AGS box with map/feature services that you want to use & expose to/from Portal must be federated to Portal? Which implies you can you more than one server federated to Portal. FYI for others who might read this thread: I have found that discussion about federation and single sign on (SSO) to sometimes get confusing. They are not the same thing, similar but different. Cousins from another mother? I have found the following helpful: What is federation? And how is it different from SSO? Hopefully this info applies to the Portal model.
... View more
11-20-2015
04:35 PM
|
0
|
2
|
1843
|
|
POST
|
Yep, I've seen issues like this with Internet Explorer (V11) I have had strange things happen to me with: AGOL, Portal and our custom Silverlight GIS website. I've had your exact issue with Portal. Usually after uploading a Feature Service that had problems but other times just when it's been awhile since a reboot. I try: 1. clearing the cache (Ctrl-F5) - rarely helps 2. Close out all IE browsers, tabs, etc... open one browser only, clear the cache and then delete all temporary internet files - this sometimes fixes problems 3. Reboot my PC - almost always fixes the problem. If this doesn't fix the problem, then I start assuming it's a bug. Sometimes I use Chrome but I've had a lot of problems with Chrome and there are other threads about odd issues with Chrome. The fact though that you see this in all browsers... Try a reboot & clear your temporary files?
... View more
11-16-2015
03:21 PM
|
1
|
0
|
2596
|
|
POST
|
Hi Rob: Yes, that was my understanding too from reading the documentation but it was recently recommended to me to set our Portal into mixed mode so that we could share some older map services that are http only. Other work has had precedence though so I can't offer any practical experience. My recollection from the UC this past summer was that https or https/http mode was now considered best practice. I think pure https is preferred but the reality is that many legacy organizations have older http servers still active. Hopefully, Derek Law can weigh in on this. It seems like a substantive issue.
... View more
11-16-2015
11:24 AM
|
0
|
4
|
1843
|
|
POST
|
Rob: I was under the impression that you could set Portal to use mixed http/https and that would allow you to use mixed content but still have IWA certifying via https? I don't know this for a fact but am curious about it.
... View more
11-16-2015
11:02 AM
|
0
|
6
|
1843
|
|
POST
|
Thanks Derek. And thanks for sharing the info on 10.4's release.
... View more
11-13-2015
10:21 AM
|
0
|
0
|
2040
|
|
POST
|
This might help? Not sure about your case. Workgroup does not come with Portal and I think DataStore is possibly considered a subset of Portal. However ArcGIS Server Basic Edition does allow for PostgreSQL installs, which I believe underlies DataStore. http://www.esri.com/library/brochures/pdfs/arcgis-server-functionality-matrix.pdf
... View more
11-12-2015
09:03 AM
|
0
|
2
|
3760
|
|
POST
|
That is indeed good news.... Derek: is the intent to make a 10.3.1 upgrade to 10.4 fairly painless? Or are we looking at a major release that will require a new install?
... View more
11-11-2015
12:11 PM
|
0
|
2
|
3096
|
|
POST
|
And no issues yet with compatibility? Interesting, have to give that a shot.
... View more
11-10-2015
02:17 PM
|
0
|
1
|
3096
|
|
POST
|
Frequent updates would mean a lot of work for those of us administering portal. It's not always feasible to apply updates in big organizations at the speed they can come out. Based on some info I came across: 10.3.1 is current with AGOL as of the March 2015 updates. That's pretty current. The one exception is the map view analysis tools which are scheduled for release with 10.4. I've seen info regarding 10.4 that says 10.4 MIGHT be released with a Portal Map Viewer which can support custom print layouts and a Utility Service to support setting up custom print templates. CAVEAT: there's no guarantee this stuff makes it into production. Esri is very clear about that. As for when 10.4 gets released? No idea. But hopefully in time for the UC, that's the standard Esri release model. Unfortunately, printing in any app has always been problematic and the more complex the info on a screen (map) the harder it is to get a printer setup that works for the myriad of printers out there.
... View more
11-10-2015
01:06 PM
|
1
|
4
|
3096
|
|
POST
|
The error sounds like your Web Adaptor is still using https and port 6443.
... View more
10-29-2015
09:02 AM
|
1
|
0
|
1243
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 04-11-2016 12:58 PM | |
| 9 | 09-19-2021 04:19 PM | |
| 1 | 05-29-2018 12:13 AM | |
| 1 | 03-21-2017 09:48 AM | |
| 1 | 01-24-2017 09:08 PM |
| Online Status |
Offline
|
| Date Last Visited |
03-23-2026
09:31 AM
|