|
POST
|
I tried running the ring into the Geometry service simplify task and it didn't seem to format the point order correctly.
... View more
10-18-2019
12:52 PM
|
0
|
0
|
2196
|
|
POST
|
Ah. Maybe I can just run the ring thru the Geometry service after I get it. This is a python implementation but it's just another REST request.
... View more
10-18-2019
12:43 PM
|
0
|
0
|
2196
|
|
POST
|
Robert -- I think I will take this over to the Python forum section. You've identified the issue and I've marked your post correct answer. Thanks!
... View more
10-18-2019
12:27 PM
|
0
|
0
|
2196
|
|
POST
|
I'm not sure how best to handle this. If I query an existing map service and get a ring, is there any way to guarantee its point order?
... View more
10-18-2019
12:12 PM
|
0
|
3
|
2196
|
|
POST
|
Yes that sounds like the issue. I will look to see if there's any sorting problems I am having.
... View more
10-18-2019
11:51 AM
|
0
|
0
|
2196
|
|
POST
|
I'm getting odd result attempting to select points by an input ring geometry. It's actually selecting all of the points that fall outside of the input ring! I'm missing the obvious here.
... View more
10-18-2019
11:30 AM
|
0
|
7
|
2254
|
|
POST
|
arghhhh… I forgot it needs the 1=1 in the where clause. Thanks.
... View more
10-18-2019
07:28 AM
|
1
|
0
|
11837
|
|
POST
|
All I'm trying to do is work out the query against the ESRI USA counties service using an input geometry. https://services.arcgis.com/P3ePLMYs2RVChkJx/ArcGIS/rest/services/USA_Counties/FeatureServer/0/query Point: -80.08364145199994, 26.69091499900003 I've tried setting the input spatial reference but still not getting the result I expect. At this point I simply want to work out the query at the REST interface. Thanks
... View more
10-18-2019
07:18 AM
|
0
|
2
|
12023
|
|
POST
|
I guess it may depend upon how the original service was published. 1. If it was designed and published from an mxd to AGOL as a hosted feature service then perhaps setup the relationship class and republish. I would think the hosted item would be overwritten with the new design. 2. If it was created in AGOL then perhaps you would need to update the JSON of that item directly. Definitely a trickier proposition but maybe one workflow that could potentially work is: Publish a brand new service to AGOL with the desired design. Use AGO Assistant to copy down the JSON of that new service. Use AGO Assistant to edit the JSON original service and paste in the JSON from the new service. This is likely full of pitfalls and trials that would be fun to figure out.
... View more
10-11-2019
07:54 AM
|
0
|
0
|
6381
|
|
BLOG
|
I put this into a premium support case and confirmed that this is a bug (only on iOS). Also, it was mentioned that this issue would possibly be fixed in v3.6 however it doesn't appear to be the case. I'll move to join the Beta tester program asap in hopes to find a resolution to this issue. Just need to get TestFlight installed on the dev device.
... View more
10-07-2019
08:00 AM
|
0
|
0
|
19089
|
|
POST
|
That's what it should be doing as it's simply using whatever you add to the "inFiles" list. In my example it would only add the 3 items. If you had populated the list with 20 file references then it would have added 20 rows to the table. Not sure if that answers your question.
... View more
09-16-2019
11:05 AM
|
0
|
0
|
2638
|
|
POST
|
Looks like you just need to update the list of files to remove the path, leaving a file name then just append to a new list to use in the InsertCursor. Also, MakeTableView_management is expecting another parameter (you only provided a single "inTable" and it needs the output name of the table view you want to create. inFiles = ['H:\\file1.txt','H:\\file2.txt','H:\\file3.txt']
inTable = r'\\computer1\home$\user\Docs\ArcGIS\Default.gdb\tabSourceIn'
inField = ['filenames']
rowvalues = []
for file in inFiles:
rowvalues.append(os.path.splitext(os.path.basename(file))[0])
cursor = arcpy.da.InsertCursor(inTable, ['filenames'])
for row in rowvalues:
cursor.insertRow([row])
del cursor
arcpy.MakeTableView_management(inTable, 'outputTableView')
... View more
09-16-2019
07:49 AM
|
1
|
3
|
4918
|
|
POST
|
Hi Philip, Is there anything else more I can look into to resolve this? Also, is this something that can be looked into by ESRI support? Thanks again!
... View more
09-04-2019
12:07 PM
|
0
|
2
|
2706
|
|
POST
|
Hi all, I'm successfully generating buffered polygons for input polyline features and the requirement has changed to show "square ends" rather than the rounded ends the current buffer is creating. Is there a simple parameter I'm missing for the BufferParameters() of a call to the geometryService.Buffer()? Thanks for any input! //populate the polyline geometries
var features = layer.featureSet.features;
arrayUtils.forEach(features, lang.hitch(this, function (feature) {
this.shapeGeometries.push(new Polyline(feature.geometry));
}));
////setup the buffer parameters
var params = new BufferParameters();
params.distances = [buffDist]
params.outSpatialReference = map.spatialReference;
params.bufferSpatialReference = new esri.SpatialReference({ "wkid": "102258" }); //spatial reference info https://spatialreference.org/ref/esri/nad-1983-harn-stateplane-florida-east-fips-0901/
params.unit = GeometryService["UNIT_METER"];
params.geometries = this.shapeGeometries;
esriConfig.defaults.geometryService.buffer(params, showBuffer);
//show bufferedGeometries and then continue processing to union them
function showBuffer(bufferedGeometries) {
var symbol = new SimpleFillSymbol(
SimpleFillSymbol.STYLE_SOLID,
new SimpleLineSymbol(
SimpleLineSymbol.STYLE_SOLID,
new Color([255, 0, 0, 0.65]), 2
),
new Color([255, 0, 0, 0.35])
);
var bFeatures = [];
array.forEach(bufferedGeometries, function (geometry) {
var graphic = new Graphic(geometry, symbol);
bFeatures.push(graphic)
});
... View more
09-04-2019
05:53 AM
|
0
|
1
|
810
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 02-17-2020 10:47 AM | |
| 1 | 10-25-2022 11:46 AM | |
| 1 | 08-08-2022 01:40 PM | |
| 1 | 02-15-2019 08:21 AM | |
| 2 | 08-14-2023 07:14 AM |
| Online Status |
Offline
|
| Date Last Visited |
01-22-2025
02:28 PM
|