|
POST
|
Thank you, but we cannot stop using ArcMap for some projetcs right now. I did try to reboot ArcMap and SQLServer as well without success
... View more
05-28-2021
12:57 PM
|
0
|
1
|
1943
|
|
POST
|
Hi, Im facing a weird problem with coded values. Im trying to change the description inside a domain in ArcMap. I can save it without any error, but when I close and re-open ArcMap, I see the change was not saved. However, if I inspect the same domain in Pro, I see the changes in the description just as I had modified them in ArcMap. Here is some of the specifications of our installations: ArcMap 10.6.1 Pro 2.7.1 SQLServer 2012 on Windows Server 2012R2 Any idea what could be tried to resolve this?
... View more
05-28-2021
12:40 PM
|
0
|
4
|
1965
|
|
POST
|
Hi Andrea, Thank you very much for your reply. You were absolutely right about the first day of the week difference between my desktop and my mobile device. However, now I doubt their is a solution to make the date filters working correctly on all platforms for all users. I feel ESRI should not have built the date filters based on a local setting like that. Thank you again for the info and have a good day!
... View more
05-14-2021
06:33 AM
|
0
|
1
|
3605
|
|
POST
|
Hi, Im facing the same issue with JSAP 3.29 and upgrading to 3.35 solved it. However, I wonder if anybody can tell me if it is safe to upgrade the JSAPI when using web app builder? Is there a possibility that some widgets stop working? Thank you!
... View more
04-09-2021
02:07 PM
|
1
|
0
|
7991
|
|
POST
|
Hi! Very good suggestion but meanwhile I think I have found the source of the problem. It seems it is related with the attachments. The destination feature class has attachment enabled. If I remove the attachments the insert cursor is working as expected with SHAPE@JSON token. If I enable the attachment again, the problem is reappearing. I still wonder why...
... View more
03-30-2021
07:42 AM
|
0
|
0
|
3348
|
|
POST
|
Hi! That's the first thing I verified to debug, but everything seems correct with the inserted rows. You can see my edited post
... View more
03-30-2021
05:58 AM
|
0
|
0
|
3361
|
|
POST
|
Hi, I am using a arcpy to insert rows from a feature class into another but I realize that the features in the destination are loosing their location. They are all positionned at the location of the first one. Curiously, if I am using the SHAPE@ token for the geometry field, the features location are correct but if I use SHAPE@XY or SHAPE@JSON they are all at the location of the first feature. Also, the problem does not occur if I create the destination feature class manually with ArcMap, but only when creating it using arcpy.CreateFeatureClass_management like in the code below. The shape type is point and the feature class is in a non-versioned dataset in 3857 (web mercator). This is a geodatabase enterprise (v10.6) with a postgresql (v9.6) database. I am using arcpy 64bits. The destination feature class has attchments enabled and it seems to be the cause of the problem (see Edit 2 below) import os, arcpy
WORKSPACE = os.path.join(r"\\sgoappwp01", "Script", "Connections", "sgopubwt02 - PostgrSQL.sde")
INPUT_FC = os.path.join(WORKSPACE, "CollecteEncombrants", "CollecteEncombrants_Formulaire")
OUTPUT_FC = os.path.join(WORKSPACE, "CollecteEncombrants", "CollecteEncombrants_Terrain")
arcpy.CreateFeatureclass_management(
out_path = os.path.join(WORKSPACE, "CollecteEncombrants"),
out_name = "CollecteEncombrants_Terrain",
geometry_type = "POINT",
spatial_reference = arcpy.SpatialReference(3857),
has_m = "DISABLED",
has_z = "DISABLED"
)
edit = arcpy.da.Editor(WORKSPACE)
edit.startEditing(False, False)
edit.startOperation()
rows = []
with arcpy.da.SearchCursor(INPUT_FC, ["SHAPE@JSON"]) as sCursor:
for row in sCursor:
rows.append(row)
with arcpy.da.InsertCursor(OUTPUT_FC, ["SHAPE@JSON"]) as iCursor:
for row in rows:
iCursor.insertRow(row)
edit.stopOperation()
edit.stopEditing(True) Any idea what could be wrong? EDIT: here some printed rows before and after the insert #some rows just before being inserted
with arcpy.da.InsertCursor(OUTPUT_FC, ["SHAPE@JSON"]) as iCursor:
for row in rows:
print
iCursor.insertRow(row)
(u'{"x":-7994810.0683999993,"y":5685131.9157000035,"spatialReference":{"wkid":102100,"latestWkid":3857}}',)
(u'{"x":-8007290.4016999993,"y":5685999.8158999979,"spatialReference":{"wkid":102100,"latestWkid":3857}}',)
(u'{"x":-8005971.6404999997,"y":5685563.5265000015,"spatialReference":{"wkid":102100,"latestWkid":3857}}',)
(u'{"x":-8003287.4274000004,"y":5684056.8937999979,"spatialReference":{"wkid":102100,"latestWkid":3857}}',)
#rows after being inserted
with arcpy.da.SearchCursor(OUTPUT_FC, ["SHAPE@JSON"]) as sCursor:
for row in sCursor:
print(row)
(u'{"x":-7994810.0683999993,"y":5685131.9157000035,"spatialReference":{"wkid":102100,"latestWkid":3857}}',)
(u'{"x":-7994810.0683999993,"y":5685131.9157000035,"spatialReference":{"wkid":102100,"latestWkid":3857}}',)
(u'{"x":-7994810.0683999993,"y":5685131.9157000035,"spatialReference":{"wkid":102100,"latestWkid":3857}}',)
(u'{"x":-7994810.0683999993,"y":5685131.9157000035,"spatialReference":{"wkid":102100,"latestWkid":3857}}',) EDIT 2: I think I have found the source of the problem. It seems it is related with the attachments. The destination feature class has attachment enabled. If I remove the attachments the insert cursor is working as expected with SHAPE@JSON token. If I enable the attachment again, the problem is reappearing. I still wonder why...
... View more
03-29-2021
06:03 PM
|
0
|
5
|
3449
|
|
IDEA
|
That's right. If interested, we are using this bash script on unix to convert the folder structure to Z/X/Y.png You could adapt it to convert it to Z/Y/X easily #!/bin/bash
#Run this script in the directory containing the Zoom Level directories in ESRI's standard Online output format (L00-L19).
#Copy all the content in the 'ConvertedFiles' folder into the location that is symbolically linked in '/var/www/'.
#Time Counter
SECONDS=0
#Rename Zoom Level Directories
shopt -s extglob
for i in L0[^1-9];
do mv "$i" "${i##*(L0)}";
done
for i in L0[^0];
do mv "$i" "${i##*(L0)}";
done
for i in L*;
do mv "$i" "${i##*(L)}";
done
#Convert folder and filenames from Hex to Decimal and reorder+rename data to be ../zoom_level/X/Y.png.
set -m # Enable Job Control
convert()
{
OLDNAME=`basename $I .png`
SEP1=${I#./}
SEP2=${SEP1%%/*.png}
SEP3=${SEP1%%/C*}
SEP4=${SEP3#*/R}
SEP5=${OLDNAME#C}
YDECIMAL=$(echo $((16#$SEP4)))
XDECIMAL=$(echo $((16#$SEP5)))
mkdir -p "ConvertedFiles/$SEP2/$XDECIMAL"
mv "$I" "ConvertedFiles/$SEP2/$XDECIMAL/$YDECIMAL.png"
echo -n \|
}
for I in `find . -type f -maxdepth 3 -mindepth 2 -name *.png`
do
convert $I &
done
echo '-----------END-----------'
echo 'Completed in' $(($SECONDS)) 'seconds.'
... View more
03-04-2021
06:36 AM
|
0
|
0
|
2017
|
|
POST
|
I wonder if there is a simple parameter in my profile that I am missing or if there something wrong with my account? Should I contact esri support?
... View more
02-02-2021
06:20 AM
|
0
|
1
|
3329
|
|
POST
|
Hello, I am admistrator of my organization. In MyEsri, I have access to my organization parameters such licenses or users, etc... However, when I log in ArcGIS Online, I am redirected to the public version of AO not to my organization. I have a similar problem when I try to log to ArcGIS Pro, I have an error message that say that my account is public. I have search on the web for a solution, but I can't find any. What should I do? Thanks
... View more
02-01-2021
08:30 AM
|
0
|
5
|
3349
|
|
POST
|
Hi, We would like to migrate from Collector to ArcGIS Fields Maps soon with the new functionalities like form, default field data, etc... We want to host and configure the web maps for ArcGIS Fields Map from within our ArcGIS Enterprise 10.6.1 From what I have readed, it's possible to install the ArcGIS Fields Maps webmap configuration app in 10.6.1 but some steps are required to register the app. See: https://support.esri.com/en/Technical-Article/000024488 My question is, is it really possible to install the Portal app just like the one in ArcGIS Online (Map Viewer Beta) on Portal 10.6.1? If yes, is there something to download? Can someone helps me understand how ArcGIS Fields Maps can be deployed with Enterprise 10.6.1. Thank you very much.
... View more
12-17-2020
12:08 PM
|
0
|
17
|
7720
|
|
POST
|
Hi Andrew, thank you for your help! As you suspected the package did not pass the i3s validation even if it's opening correctly in ArcGIS Pro. Here is the validation result. Is there something I could try to correct the problem?
... View more
12-01-2020
10:01 AM
|
0
|
1
|
2584
|
|
POST
|
Hi, I have shared a textured mesh scene layer package (.slpk) from NearMap into our enterprise federated Portal (v10.6.1) with the Share Package geoprocessing tool in ArcGIS Pro 2.4.1. When I log in Portal, I see the shared Scene Layer Package, but if I try to Publish it using the Publish button in Portal, I got an error withtout any further explanations. Is it because textured mesh are not supported by ArcGIS Enterprise 10.6.1?
... View more
12-01-2020
06:29 AM
|
0
|
3
|
2622
|
|
POST
|
I am using arcpy to automatize the publishing of map services. I want to toggle on the "build your cache manually" option but I can't find the part in the sddraft that controls that option. Someone knows what sddraft property control the "build your cache manually" option when publishing a map service? Thank you
... View more
07-09-2020
06:08 AM
|
0
|
1
|
1019
|
|
POST
|
This is really weird because if I open the dashboard on my mobile device, the dates are filtered correctly. How dates could be managed differently on desktop and on mobile devices?
... View more
06-26-2020
06:20 AM
|
0
|
0
|
3844
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 11-13-2025 05:45 AM | |
| 2 | 06-03-2024 10:33 AM | |
| 2 | 05-14-2025 10:45 AM | |
| 2 | 04-12-2022 07:00 AM | |
| 1 | 02-26-2025 05:37 AM |
| Online Status |
Offline
|
| Date Last Visited |
2 weeks ago
|