POST
|
Thanks for the update. I have managed to fix the issue, by changing my account password on the site running the ArcGIS Server connection. I don't know if that's what did it, but it worked for me. Good luck at the new job.
... View more
08-29-2019
11:13 AM
|
0
|
0
|
5396
|
POST
|
Hi Kenneth, Were you ever able to resolve this issue? I'm experiencing it now. I went through the same checklist of suggestions that you did, and none were successful, either. I'm getting this 504 error in both ArcMap and ArcGIS Pro, but my neighbor in the next cubicle can connect perfectly. The only clue I get is in ArcMap. When it fails to connect, I get this error: I don't know where to begin searching for a solution to "Proxy server got bad address from remote server" Hope you had some luck, Justin
... View more
08-29-2019
09:03 AM
|
0
|
2
|
5396
|
POST
|
I'm attempting to write develop a web app using Google Apps Script to handle Survey123 submission using webhooks. I'm wondering if anyone has been able to successfully implement this yet. My web app is not receiving the webhook posts. It appears that everything is being blocked by a CORS issue. In the Chrome DevTools console, I'm seeing this message: Access to XMLHttpRequest at 'https://script.google.com/a..../exec' from origin 'https://survey123.arcgis.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Is there any possible fix or workaround for this, or is it an issue that ESRI and Google need to address between themselves? My organization (which is fairly large) uses Google G Suite to manage email, spreadsheets, and documents. I want to deploy a Google Apps Script, as a web app, to handle the POST from the Survey123 webhook. Then, have the script email various people in my organization to let them know that a new survey form submission has been posted. Any suggestions would be welcome. webhooks webhook survey123 form survey123 support google #google apps script #webapp
... View more
02-08-2019
03:28 PM
|
0
|
3
|
5848
|
POST
|
You can go to the organization's ArcGIS Online Gallery page and look for the layer, or the map, that you want: https://acusy.maps.arcgis.com/home/gallery.html If you find the layer you're looking for, and the owners made it public, you can add it to your web map. If you can't find the exact layer, but can find a map with a layer you want, you can sometimes open the map's information page, with the overview, description, and list of layers. If the layers are public, you can click them and go to their individual REST endpoints. I'm not seeing that this is the case on most of this user's maps, but I'm not exactly sure which one you're looking at. They have 4 pages of maps.
... View more
02-05-2018
11:04 AM
|
0
|
0
|
551
|
POST
|
It turned out to be a web server (IIS) configuration issue. Our IT guy said: I changed the IIS option to say that all gis.hwlochner.com pages can be loaded into iframes on pages from the same site. That enabled us to embed web pages that we were serving into the main stage of a Story Map Journal that we were also hosting on our server. Hope it helps.
... View more
10-27-2017
10:57 AM
|
0
|
0
|
542
|
POST
|
This may be an IE issue, but it's creating problems with a Story Map Journal that I'm trying to serve from my organization's web server. I have created this Story Map Journal on ArcGIS Online: ArcGIS Online Hosted Map Journal This URL displays properly in all browsers. When I follow the instructions to download and deploy a Story Map Journal on my web server, by downloading the template (version 1.12.2) and inserting the appid string into the configOptions object in index.html (full instructions here), everything works as expected in Firefox and Chrome, but IE 11.0 will not display the content embedded in the iFrame. Instead, I see the message: Note: The content in the iFrame is a static HTML page, served from the same server hosting the Story Map Journal template files. It is embedded into the Main Stage as a Web Page Link. Both the template and the embedded page are using HTTPS and I cannot find any links to unsecured content. This is the hosted version of the Story Map Journal, which doesn't work properly in IE: https://gis.hwlochner.com/payson This is the static web page embedded in the Main Stage of the first page, from the same server: https://gis.hwlochner.com/payson/html/titlepage.html Unfortunately, I need to serve this Story Map Journal from a custom URL, as well as overwrite some CSS settings. I can't force all users in my organization, or the public, to change browsers. If you have encountered anything like this in IE before, I would love some suggestions. I suspect it's related to mixed content (HTTP vs HTTPS), but I can't see exactly where those unsecured links are coming from. I have also seen messages about configuring the web server (IIS) to allow embedded content from certain URLs. Everything here should be coming from our own web server, or arcgis.com Thanks
... View more
10-26-2017
11:04 AM
|
0
|
1
|
794
|
POST
|
I have a parcel layer, with official parcel ID numbers from a county assessor. I would like to create a direct link to the assessor's parcel information page inside the popup in ArcGIS Online using the ID attribute. I have done this successfully with sites that use attributes in the URL query string, using the GET method, but now I'm working with a county site that submits data from a form using a POST request. I have successfully reproduced the Form in HTML, and it works when I type a Parcel ID number in the text box and click the Submit button. I'm having no luck getting the Parcel ID from the parcel attribute to properly substitute into the form data. Here is the relevant HTML in the popup: <form action='http://somesite/index.php' method='post'>
<input type='text' name='searchTerm' value='{ACCNO}'>
<input type='submit' value='Assessor Info'>
</form> I want the attribute {ACCNO} to substitute itself for the field value for that parcel, so that the data submitted from the form looks like: searchTerm=123456789 But what actually gets submitted from the popup window is this string: searchTerm=<span class='esriNumericValue'>123456789</span> The external web server doesn't like all of that markup. Is there a way to send attribute values in POST data without adding that extra <span> markup? Message was edited by: Justin Johnson to properly display the unrendered html
... View more
12-02-2015
04:58 PM
|
0
|
0
|
3309
|
POST
|
If you just need to convert the filename from xls to dbf, this is how I did something similar in a recent project. It recursively searches a directory for any files with the extension you want (in this case ".xls"), then generates a filename in an output directory with the other extension (".pdf"). import os.path
rootdir = r'C:\projects'
outpath = r'C:\output'
for (dirName, subdirList, fileList) in os.walk(rootdir):
for filename in fileList:
if os.path.splitext(filename)[1].lower() == ".xls":
pdffilename = os.path.join(outpath, filename[:-3] + "pdf")
// do your conversion here
print pdffilename
... View more
08-26-2015
09:36 AM
|
0
|
0
|
1274
|
POST
|
I have done this by creating a custom projection. The area I normally map is near the center of UTM zone 12, but there is a separate project area that I sometimes map, which is near the boundary of zone 11 and 12. The streets in that city are on a grid, and the distortion is very apparent at the edges of the UTM zones, which is a cosmetic issue for my particular audience. I get around that by creating my own UTM zone for the Data Frame, with the central meridian shifted 3 degrees west from the central meridian of zone 12 (3 degrees east from the central meridian of zone 11). I call it UTM zone 11.5 It fixes the distortion issue, but I would never create data in that coordinate system. It sounds like you're referring to repositioning the central meridian to reduce the appearance of distortion in a similar way. If you're using a conical projection, the lines of latitude appear to bend upward (in the northern hemisphere) away from the meridian over which the projection is centered. If you move the central meridian, you can reduce the appearance of that distortion in your area of focus. I attached two examples of a Lambert Conformal Conic projection, one with a central meridian positioned over the west coast, the other over the New England area. All of the other projection parameters, and the map scale, are identical...
... View more
03-02-2015
11:31 AM
|
1
|
0
|
3912
|
POST
|
If you need to convert a small number of points, you can use the tools on the US National Geodetic Survey site: http://www.ngs.noaa.gov/cgi-bin/utm_getgp.prl There is also a link to download an *.exe file that you can run locally, but it looks like it's an ancient application. I suspect there is a more modern way to do it, possibly involving the GDAL gdaltransform utility GDAL: gdaltransform If you have the locations in a point feature class, you could reproject the feature class to Lat/Lon and then recalculate the geometry values in the attribute table using the new coordinate system.
... View more
02-23-2015
04:05 PM
|
0
|
1
|
495
|