|
POST
|
The dataframe is constructed from a variety of sources: csvs, other dataframes, shapefiles. After all the joining, merging, etc. etc., I get a dataframe back. Anyway, it seems that if you have a SHAPE field in the dataframe, it just works: sdf = pd.DataFrame.spatial(df) #df has SHAPE field with geometry objects - don't know how this would work with a different field name sdf.to_featureclass(mylocation)
... View more
05-07-2020
12:47 PM
|
0
|
0
|
4201
|
|
POST
|
The most straightfoward thing is elusive: All I want to do is create a spatially enable dataframe from an existing dataframe with a SHAPE column containing the respective arcpy Geometry objects. I can create a SpatialDataFrame (deprecated apparently) from arcpy.features import SpatialDataFrame sdf = SpatialDataFrame(df, geometry='SHAPE'). That works, but in 1.5, I can't export to a feature class - I get the following error: The following rows could not be written to the table: 0,1,2,3........ So apparently I need to use a spatially enabled dataframe, but haven't figured out how to create one similar to above. sdf = pd.DataFrame.spaital.from_df(df, geometry='SHAPE') doesn't work - error says got an unexpected argument geometry sdf = pd.DataFrame.spaital.from_df(df) throws the error Address column not found in dataframe. Anyone figured this out?
... View more
05-07-2020
10:27 AM
|
0
|
5
|
4327
|
|
POST
|
That was working yesterday, but today is requiring a token
... View more
03-20-2020
08:12 AM
|
0
|
0
|
2748
|
|
POST
|
Lots of data by country, and some sites have county based graphics, but nothing that seems thorough, maintained, accessible, or authoritative yet.
... View more
03-19-2020
01:16 PM
|
2
|
8
|
3639
|
|
POST
|
I am trying to create a single webpage with a single iframe that can host my Survey123 survey. The sole reason I am not just sending a link via email is so users think the survey comes from an internal resource. That is, the survey link url starts with Survey123.arcgis.com, but if I can host a page internally, I can make it seem as if it is coming from within my own organization's domain. Below is my single page, which was essentially constructed from the embed code taken directly from Survey123 website. There are essentially two issues I'm seeing: 1. There is a double scrollbar which I can't seem to easily fix 2. When I submit the survey, the data posts correctly, however the submitting button or form never goes away, and there is an error in the console that says Uncaught (in promise) TypeError: Cannot assign to read only property 'message' of object '' Can anyone help me with these two issues? There is lots of examples on stack overflow for getting rid of double scrollbars, but none seem to work in this case, and don't really understand forms within iframes so can't speak to the second issue.... <!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Survey</title>
<meta name="description" content="Survey">
<meta name="author">
<style>
.embed-container {
position: relative;
height: 0;
padding-bottom: 80%;
max-width: 100%;
}
.embed-container iframe,
.embed-container object,
.embed-container iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
small {
position: absolute;
z-index: 40;
bottom: 0;
margin-bottom: -15px;
}
</style>
<script>
var survey123webform = document.getElementsByName('survey123webform')[0];
window.addEventListener("message", function(e) {
if (e.data) {
var t = JSON.parse(e.data);
"survey123:onFormLoaded" === t.event && t.contentHeight && (survey123webform.parentNode.style.height = t.contentHeight + "px") && (survey123webform.parentNode.style["padding-bottom"] = "unset");
}
});
</script>
</head>
<body>
<div class="embed-container">
<iframe name="survey123webform" width="500" height="400" frameborder="0" marginheight="0" marginwidth="0"
title="EON Earth Survey"
src="//mysurveyurls&hide=navbar,footer"></iframe>
</div>
</body>
</html>
... View more
03-13-2020
05:48 AM
|
0
|
1
|
1532
|
|
DOC
|
Has anyone figured out, using a feature layer in a SQL database, how to remove the time portion of the timestamp. So if I only want to filter by events that happened yesterday, BETWEEN (CURRENT_TIMESTAMP-1) and (CURRENT_TIMESTAMP + 1) doesn't really work. I need something like BETWEEN DayBegin(CURRENT_TIMESTAMP-1) and DayEnd(CURRENT_TIMESTAMP - 1); Is there an equivalent query I could set in AGOL Assistant to achieve this?
... View more
02-13-2020
05:57 AM
|
0
|
0
|
6223
|
|
POST
|
It would be great to get an haconfig.properties, nodes.properties, and portal-config.properties examples for a correctly configured ha portal env at 10.6.1. I'm checking out all these files, noticing some strange things, and would like a baseline for what should be correct....
... View more
02-07-2020
01:21 PM
|
0
|
0
|
1896
|
|
POST
|
I have configured two Portal machines as HA in my enterprise 10.6.1 deployment, and am getting some strange performance issues that I can't quite figure out. In short - requests through the web adapter (ie myportal.domain.org/gis/home) are taking an inordinately long time to resolve - sometimes 10 seconds or more (it was not like this before HA configuration). Only if I directly make a request to the standby machine will anything resolve within an acceptable amount of time. For the purposes of this, my base config is: Machine A: Primary Machine B: Secondary If I bypass the web adapter and make a request to each individual machine (mymachine.domain.local:7443/arcgis/home) , making a request to the Machine A (primary, so ostensibly the same machine the web adapter is making the request to) takes an equally long time. However, if I make a request to the Machine B (standby machine), it resolves quickly. Now, if I stop the Portal for ArcGIS service on the Machine A, the Machine B gets promoted to primary. Making a request to machine B (previously standby machine but now primary) takes again, a very long time. This means that it doesn't seem to be machine specific. If I restart the Portal for ArcGIS service on Machine A, Machine B remains as the primary, and Machine A is still standby, but now operational. In this case, making a request to Machine A standby resolves quickly, where as Machine B primary does not resolve quickly. In order to return to my base config from the beginning - I have to stop the Portal service on Machine B, which promotes Machine A to primary, and then restart Portal on Machine B (which keeps Machine A primary and Machine B standby). Yes, my head hurts to. Any idea what could be causing this???
... View more
02-07-2020
12:09 PM
|
0
|
2
|
2005
|
|
POST
|
Mysterious issue - wondering what the community's thoughts are - Suddenly, some Web Apps on my portal (StoryMaps primarily) stopped loading, and I was unable to create new ones - turned out the js and css that the apps were trying to load were referencing the server name on which I have Portal installed instead of by the Web Adaptor - For instance, it should have been trying to load https://myportal.domain.com/webadaptorcontext/jsapi/jsapi/esri/css/esri.css, however it was actually trying to load https://myservername.domain.local:7443/arcgis/jsapi/jsapi/esri/css/esri.css which was failing. It was doing this for multiple css and js resources. On my portal machine, I looked at C:\Program Files\ArcGIS\Portal\framework\jsapi\jsapi\init.js and saw that the baseUrl was https://myservername.domain.local:7443/arcgis/jsapi/jsapi/dojo. In addition, when I looked at C:\Program Files\ArcGIS\Portal\apps\MapJournal\index.html, I also saw that app.pathJSAPI was set to https://myservername.domain.local:7443/arcgis/jsapi/jsapi/. When I changed both of these references back to my web adaptor url, those apps started working. However, I can't check every app on the system - there is too many. So, my questions are: 1. What could have caused this? 2. Since I don't know what other app template might have been changed, is there any way to ensure (via changing some config setting or something else - I already tried rebooting my Portal and it didn't work) that all these app templates and init.js files for the different api version (version 4, compact, etc.) have the correct references in them without going in an manually changing every one? Thanks!
... View more
01-30-2020
09:51 AM
|
0
|
2
|
2845
|
|
POST
|
2+ years going including an upgrade of enterprise to 10.6 and configuring portal as HA (2 nodes @ active/standby), arcgisserver and arcgisportal directories all on a CSV, and no issues we've seen thus far.
... View more
01-17-2020
05:22 AM
|
2
|
3
|
4549
|
|
POST
|
I know that stopping the primary server services will promote the standby’s to primary, but this is a temporary solution (unless I want to keep the original service off). I am curious how to switch the roles permanently. So Portal A (current primary) will be changed to standby and Portal B (current standby) will be changed to primary. Permanently. This is possible to do with data store - to switch the roles - but I haven’t been able to figure out how to do this with Portal.
... View more
12-20-2019
05:58 AM
|
0
|
0
|
5294
|
|
POST
|
Thank you! I wish that was explicitly stated somewhere - a link included in the Esri licensing email that had the .json file attached points to How to license your ArcGIS Enterprise portal at 10.7 prerelease , which just says "When installing ArcGIS Enterprise, you will be asked to provide both the Enterprise portal license file (.json) as well as your server authorization file." Anyway, this clears things up quite nicely. Thanks again.
... View more
12-11-2019
05:27 AM
|
1
|
0
|
1852
|
|
POST
|
I am going to be upgrading my ArcGIS Enterprise from 10.6.1 to 10.7.1, and am confused on the license files required. I have the .json file that seems to include the user types, but my admin did not give me a .prvc file for authorizing the actual software, which has been required in the past. Do I not need that file anymore and just need the .json file, or do I need both files and am just missing the .prvc. Thanks
... View more
12-11-2019
04:48 AM
|
0
|
2
|
1945
|
|
POST
|
I recently configured my ArcGIS Enterprise 10.6.1 environment to be HA, with the addition of a server with Portal and DataStore to an original server also hosting Portal/DataStore (my ArcGIS Server was already HA). This additional server, when I joined it to my original Portal and configured DataStore, was added to the cluster as the standby server (both Portal and DataStore are standby, and my original Portal/DataStore server are primary). I can see this by going to myportalurl/portaladmin/machines. My question is how can I switch the roles of my two servers? I want my new server with Portal and Datastore to be promoted to Primary, and I want to demote my original server to Standby. I need to do this for both Portal, and Datastore, and I'm unsure how. Thanks!
... View more
11-22-2019
07:18 AM
|
0
|
2
|
5641
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 02-23-2026 11:00 AM | |
| 1 | 07-08-2025 11:33 AM | |
| 1 | 11-07-2023 08:32 AM | |
| 2 | 10-01-2025 06:52 AM | |
| 5 | 09-08-2025 07:31 AM |
| Online Status |
Offline
|
| Date Last Visited |
06-04-2026
01:35 PM
|