|
POST
|
Hi All Are there any examples showing how to return the distance of objects (points, lines, polygons) that fall within a buffer of a user defined location? I cannot seem to find anything to help me apart from this DistanceParameters | API Reference | ArcGIS API for JavaScript 3.27 Any help or pointers much appreciated. Thanks in advance. Mark
... View more
01-07-2019
03:50 AM
|
0
|
3
|
1877
|
|
POST
|
Hi Dan Specs are i5 quad core, 16gb RAM, 500mb SSD.. I have tried adding a legend to a simple map but same problem..
... View more
11-07-2017
03:25 AM
|
0
|
1
|
545
|
|
POST
|
Hi Am trying to create layout for a map book series (10,000 maps) but having problems with adding a legend. As soon as I add a legend to the layout the CPU maxes out at 100% and ArcGIS pro is unresponsive and I end up having to close it using task manager. I have tried this on several PCs at work but same problem. Has anyone experienced this and what is the solution. I can use data driven pages fine in ArcMap 10.4 without any issues. TIA, Mark
... View more
11-07-2017
01:23 AM
|
0
|
3
|
671
|
|
POST
|
Hi All In case anyone else has had this problem, I managed to work around the problem by using the densify tool. Densifying these tracks has enabled me to clip the tracks much more rapidly than just trying to clip without densifying, somewhat counter intuitive but has worked a treat! Cheers Mark
... View more
07-11-2017
08:18 AM
|
0
|
0
|
1437
|
|
POST
|
Hi Shan Many thanks for suggestions however, both datasets have been run through repair geometry (no issues), both datasets have same coordinate system and it doesn't matter whether the data are geodatabase feature layers or shapefiles, the problem still persists. Best, Mark
... View more
06-28-2017
03:29 AM
|
0
|
0
|
1437
|
|
POST
|
Hi Jayanta Same issue irrespective of shapefile or geodatabase feature class. One thing to add is that the region of interest polygon is complex (spanning numerous countries as well as containing holes e.g. countries not involved). If I generalise this and remove the holes the processing works as expected however this is not an ideal fix though. Many thanks, Mark
... View more
06-21-2017
06:25 AM
|
0
|
1
|
1437
|
|
POST
|
Hi All I have been trying to clip some tracking data to a polygon region of interest and have run into a problem with the resulting clipped track increasing number of vertices as opposed to a reduction. In some cases, a track with 120,170 vertices is increased to 4,886,588 which is unworkable and frustrating. Has anyone else experienced this and if so, how to resolve? I have used both manual clipping (not ideal as I have approx 600 tracks to process) and via model builder, each case is the same. Am using ArcGIS 10.4 and ArcGIS Pro. Hoping someone can point me in the right direction. Cheers Mark
... View more
06-21-2017
05:13 AM
|
0
|
8
|
1926
|
|
POST
|
Hi All I have a web map and I am trying to work out why a graphic layer is not rendered when using 4.2. It works fine in 4.0 and 4.1, the code I am using: var sppURL = " "; var renderer = new UniqueValueRenderer({ field: "SLD", //defaultSymbol: new SimpleFillSymbol({color:null, outline: null}) }); // Add a unique value info renderer.addUniqueValueInfo(1, new SimpleFillSymbol({ color: [51, 160, 44, 0.6], style: "solid", outline: null }) ); renderer.addUniqueValueInfo({ value: 2, symbol: new SimpleFillSymbol({ color: [235, 232, 53, 0.6], outline: null }), var sppLyr = new MapImageLayer({ url: sppURL, popupTemplate: { content: " " }, sublayers: [ { visible: true, definitionExpression: "ID = 'SppID'" } ]}); var resultsLayer = new GraphicsLayer({renderer: renderer}); When switching to 4.2 api I get the following error (in Firefox): Uncaught TypeError: Cannot read property 'type' of null at f.get [as isPolygonMarkerSymbol] (MapView.js:365) at f._projectGeometry (MapView.js:369) at f.render (MapView.js:367) at d.renderChild (MapView.js:364) at d.renderChildren (MapView.js:259) at d.render (MapView.js:255) at m.renderChild (MapView.js:290) at m.d.renderChildren (MapView.js:259) at m.d.render (MapView.js:255) at m.render (MapView.js:289) Any advice welcome as not sure what to do now. Thanks Mark
... View more
02-15-2017
01:50 AM
|
1
|
1
|
1541
|
|
POST
|
Just realised the problem, all to do with projections. my local server layer using web mercator and amazon layer mercator.. how stupid of me.. problem solved!
... View more
08-24-2016
02:46 AM
|
0
|
0
|
410
|
|
POST
|
Hi all Not sure what is happening here and hope someone can enlighten me. I am using jsapi 4 I can pass a value into a text box and click a button which then zooms to the required feature however, this is where the problem (I think) lies, this only works if accessing a layer stored on a local version of ArcGIS for Server 10.4. If I replace this layer with one stored on Amazon ArcGIS for Server, the feature displays only and doesn't zoom. Not sure why this is, can anyone shed some light. The caching is set to dynamically from the data only in both cases. Thanks in advance Mark
... View more
08-24-2016
01:48 AM
|
0
|
1
|
1498
|
|
POST
|
Hi all Using jsapi 4 Am now trying to symbolise some species polygons based on a field where a species distribution range is resident, breeding, non-breeding etc. I am passing a query into a graphic layer and can symbolise ranges using the following: function getQueryResults(response) { var parcelResults = arrayUtils.map(response.features, function(feature) { feature.symbol = new SimpleFillSymbol({ color: [255, 255, 0, 0.25], style: "solid", outline: { color: [255, 255, 0], width: 3 } }); return feature; }); return parcelResults; } Obviously, this returns each species distribution part in yellow when what I want to do is use UniqueValueRenderer but cannot seem to get this to work here, any help/advice much appreciated.
... View more
08-11-2016
02:19 AM
|
0
|
1
|
1115
|
|
POST
|
Thank you for the help. Turns out that my original method was in fact working ok.
... View more
08-11-2016
02:13 AM
|
0
|
0
|
456
|
|
POST
|
I have a layer of species polygons and want to zoom to a specific query where a species can have multiple range parts e.g. breeding and non breeding. I can get it to work if I dissolve the two ranges into one record but struggling to work out how to zoom
... View more
08-10-2016
12:37 AM
|
0
|
2
|
1336
|
|
POST
|
Hi all I can display info in a popup from one layer (using examples on the esri jsapi 4 website) but I am struggling with displaying info from multiple layers in one popup. Can anyone point me in the right direction? I am trying to display information from two polygon MapImageLayers (which are on different servers) Many thanks for any help! Mark
... View more
07-12-2016
02:51 AM
|
0
|
0
|
1506
|
| Title | Kudos | Posted |
|---|---|---|
| 6 | 11-26-2019 07:41 AM | |
| 7 | 08-22-2019 08:01 AM | |
| 4 | 08-23-2019 01:46 AM | |
| 1 | 07-11-2019 06:47 AM | |
| 1 | 02-15-2017 01:50 AM |
| Online Status |
Offline
|
| Date Last Visited |
2 weeks ago
|